Fix tst-dlsym-error build
[glibc.git] / ChangeLog
blob4fc73b13b22c756c44e3c7e11579e722ec71fe0e
1 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7         [BZ #19509]
8         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9         skip_map != NULL.
10         * elf/tst-dlsym-error.c: New file.
11         * elf/Makefile (tests): Add tst-dlsym-error.
12         (tst-dlsym-error): Link against libdl.
14 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
16         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17         (__ASSUME_FUTIMESAT): Remove macro.
18         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
20 2016-03-29  Florian Weimer  <fweimer@redhat.com>
22         [BZ #19879]
23         CVE-2016-3075
24         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
25         copy name.
27 2016-03-29  Florian Weimer  <fweimer@redhat.com>
29         [BZ #19837]
30         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
31         error if parse_line fails.
33 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
35         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
36         (index_cpu_ERMS): Likewise.
37         (reg_ERMS): Likewise.
39 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
41         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
42         PER_LINUX_FDPIC): Add.
44 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
46         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
47         memcpy-avx512-no-vzeroupper.
48         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
49         to ...
50         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
51         (MEMCPY): Don't define.
52         (MEMCPY_CHK): Likewise.
53         (MEMPCPY): Likewise.
54         (MEMPCPY_CHK): Likewise.
55         (MEMPCPY_CHK): Renamed to ...
56         (__mempcpy_chk_avx512_no_vzeroupper): This.
57         (MEMPCPY_CHK): Renamed to ...
58         (__mempcpy_chk_avx512_no_vzeroupper): This.
59         (MEMCPY_CHK): Renamed to ...
60         (__memmove_chk_avx512_no_vzeroupper): This.
61         (MEMCPY): Renamed to ...
62         (__memmove_avx512_no_vzeroupper): This.
63         (__memcpy_avx512_no_vzeroupper): New alias.
64         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
66 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
68         [BZ #18858]
69         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
70         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
71         and mempcpy-avx512-no-vzeroupper.
72         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
73         New.
74         (MEMPCPY): Likewise.
75         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
76         (MEMPCPY_CHK): New.
77         (MEMPCPY): Likewise.
78         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
79         (MEMPCPY): Likewise.
80         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
81         (MEMPCPY): Likewise.
82         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
83         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
84         Likewise.
85         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
86         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
88 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
89              Amit Pawar  <Amit.Pawar@amd.com>
91         [BZ #19583]
92         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
93         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
94         processors.  Set Fast_Copy_Backward for AMD Excavator
95         processors.
96         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
97         New.
98         (index_arch_Fast_Unaligned_Copy): Likewise.
99         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
100         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
102 2016-03-25  Florian Weimer  <fweimer@redhat.com>
104         [BZ #19791]
105         * resolv/res_send.c (close_and_return_error): New function.
106         (send_dg): Initialize *resplen2 after reopen failure.  Call
107         close_and_return_error for error returns.  On error paths without
108         __res_iclose, initialze *resplen2 explicitly.  Update comment for
109         successful return.
111 2016-03-25  Florian Weimer  <fweimer@redhat.com>
113         [BZ# 19860]
114         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
115         zero if the compiler does not provide the AVX512F bit.
117 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
119         [BZ #19848]
120         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
121         from 8 to 4.
122         (__ieee754_powl): Compare integer exponent against 4 not 8.
123         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
124         from 8 to 4.
125         (__ieee754_powl): Compare integer exponent against 4 not 8.
126         * math/auto-libm-test-in: Add more tests of pow.
127         * math/auto-libm-test-out: Regenerated.
128         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
131 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
133         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
134         Make code unconditional.
135         [!__NR_utimensat]: Remove conditional code.
136         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
137         Make code unconditional.
138         [!__NR_utimensat]: Remove conditional code.
139         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
140         Make code unconditional.
141         [!__NR_utimensat]: Remove conditional code.
143 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
145         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
146         Make code unconditional.
148 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
150         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
151         call-clobbered %eax on retry path.
152         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
154 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
156         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
157         Don't set %rcx twice before "rep movsb".
159 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
161         [BZ #19583]
162         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
163         inline.  Check family before setting family, model and
164         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
165         bits here.
166         (init_cpu_features): Replace HAS_CPU_FEATURE and
167         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
168         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
169         for Intel processors with usable AVX2.  Call get_common_indeces
170         for other processors with family == NULL.
171         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
172         (CPU_FEATURES_ARCH_P): Likewise.
173         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
174         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
176 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
178         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
179         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
180         $(shared-thread-library) instead of hardcoding the path to libpthread.
182 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
184         * sysdeps/unix/sysv/linux/kernel-features.h
185         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
186         * sysdeps/unix/sysv/linux/getdents.c
187         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
188         [!have_no_getdents64_defined]: Likewise.
189         (__GETDENTS): Remove __have_no_getdents64 conditional.
191 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
193         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
194         Remove macro.
195         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
196         <kernel-features.h>.
197         (signalfd) [__NR_signalfd4]: Make code unconditional.
198         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
200 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
202         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
203         style.
205 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
207         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
208         (__pthread_enable_asynccancel): Use JUMPTARGET to call
209         __pthread_unwind.
210         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
211         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
212         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
213         (__condvar_cleanup1): Likewise.
215 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
217         [BZ #19822]
218         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
219         move it to the final $@ location.
221 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
223         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
224         access where posix_spawn success and pid argument is null.
225         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
226         success case.
228 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
230         * sysdeps/mach/hurd/i386/c++-types.data: New file.
232         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
234         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
235         and __fcntl.
236         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
237         __fcntl only.
238         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
239         adding attribute_hidden to __open and __fcntl.
241         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
242         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
243         depend on libc-modules.h,
244         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
246 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
249         Remove macro.
250         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
251         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
252         entry.
254         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
255         Remove macro.
256         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
257         include <kernel-features.h>.
258         [!__ASSUME_FALLOCATE]: Remove conditional code.
259         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
261 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
263         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
264         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
265         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
266         (_ZGVdN4v_cos_avx2): Likewise.
267         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
268         (_ZGVdN4v_cos): Likewise.
269         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
270         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
271         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
272         (_ZGVdN4v_exp_avx2): Likewise.
273         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
274         (_ZGVdN4v_exp): Likewise.
275         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
276         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
277         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
278         (_ZGVdN4v_log_avx2): Likewise.
279         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
280         (_ZGVdN4v_log): Likewise.
281         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
282         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
283         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
284         (_ZGVdN4vv_pow_avx2): Likewise.
285         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
286         (_ZGVdN4vv_pow): Likewise.
287         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
288         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
289         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
290         (_ZGVdN4v_sin_avx2): Likewise.
291         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
292         (_ZGVdN4v_sin): Likewise.
293         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
294         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
295         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
296         (_ZGVdN4vvv_sincos_avx2): Likewise.
297         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
298         (_ZGVdN4vvv_sincos): Likewise.
299         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
300         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
301         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
302         (_ZGVbN4v_cosf_sse4): Likewise.
303         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
304         (_ZGVdN8v_cosf_avx2): Likewise.
305         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
306         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
307         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
308         (_ZGVbN4v_expf_sse4): Likewise.
309         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
310         (_ZGVdN8v_expf_avx2): Likewise.
311         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
312         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
313         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
314         (_ZGVbN4v_logf_sse4): Likewise.
315         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
316         (_ZGVdN8v_logf_avx2): Likewise.
317         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
318         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
319         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
320         (_ZGVbN4vv_powf_sse4): Likewise.
321         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
322         (_ZGVdN8vv_powf_avx2): Likewise.
323         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
324         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
325         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
326         (_ZGVbN4vvv_sincosf_sse4): Likewise.
327         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
328         (_ZGVdN8vvv_sincosf_avx2): Likewise.
329         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
330         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
331         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
332         (_ZGVbN4v_sinf_sse4): Likewise.
333         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
334         (_ZGVdN8v_sinf_avx2): Likewise.
335         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
336         Use JUMPTARGET to call callee.
337         (WRAPPER_IMPL_SSE2_ff): Likewise.
338         (WRAPPER_IMPL_SSE2_fFF): Likewise.
339         (WRAPPER_IMPL_AVX): Likewise.
340         (WRAPPER_IMPL_AVX_ff): Likewise.
341         (WRAPPER_IMPL_AVX_fFF): Likewise.
342         (WRAPPER_IMPL_AVX512): Likewise.
343         (WRAPPER_IMPL_AVX512_ff): Likewise.
344         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
345         Likewise.
346         (WRAPPER_IMPL_SSE2_ff): Likewise.
347         (WRAPPER_IMPL_SSE2_fFF): Likewise.
348         (WRAPPER_IMPL_AVX): Likewise.
349         (WRAPPER_IMPL_AVX_ff): Likewise.
350         (WRAPPER_IMPL_AVX_fFF): Likewise.
351         (WRAPPER_IMPL_AVX512): Likewise.
352         (WRAPPER_IMPL_AVX512_ff): Likewise.
353         (WRAPPER_IMPL_AVX512_fFF): Likewise.
355 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
357         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
358         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
359         qualifier.
360         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
361         internal_function qualifiers.
363 2016-03-15  Carlos O'Donell <carlos@redhat.com>
365         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
366         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
367         * math/atest-exp.c (exp_mpn): Mark chk unused.
368         * math/atest-exp2.c (exp_mpn): Likwise.
369         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
370         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
372 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
374         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
375         Remove macro.
376         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
377         <kernel-features.h>.
378         [__NR_ppoll]: Make code unconditional.
379         [!__ASSUME_PPOLL]: Remove conditional code.
381         * sysdeps/unix/sysv/linux/kernel-features.h
382         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
383         (__ASSUME_ACCEPT4): Likewise.
384         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
385         Define.
386         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
387         Likewise.
388         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
389         Likewise.
390         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
391         Likewise.
392         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
393         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
394         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
395         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
396         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
397         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
399         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
400         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
401         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
402         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
403         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
404         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
405         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
406         * sysdeps/unix/sysv/linux/i386/kernel-features.h
407         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
408         Likewise.
409         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
410         Likewise.
411         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
412         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
413         0x040300].
414         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
415         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
416         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
417         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
418         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
419         0x030300].
420         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
421         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
422         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
423         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
424         0x040300].
425         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
426         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
427         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
428         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
429         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
430         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
431         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
432         0x030300].
433         * sysdeps/unix/sysv/linux/mips/kernel-features.h
434         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
435         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
437         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
438         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
439         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
440         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
441         * sysdeps/unix/sysv/linux/s390/kernel-features.h
442         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
443         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
444         0x040300].
445         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
446         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
447         * sysdeps/unix/sysv/linux/sh/kernel-features.h
448         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
449         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
450         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
451         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
452         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
453         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
454         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
455         * sysdeps/unix/sysv/linux/tile/kernel-features.h
456         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
457         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
458         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
459         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
460         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
461         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
462         Likewise.
463         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
464         Likewise.
466 2016-03-15  Andreas Schwab  <schwab@suse.de>
468         [BZ #19257]
469         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
470         statp->_u._ext.nscount as loop count.
472 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
474         * math/test-signgam-finite-c99.c: Also #undef
475         __LIBC_INTERNAL_MATH_INLINES.
476         * math/test-signgam-main.c: Likewise.
478 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
480         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
481         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
482         (MADV_FREE): Likewise.
483         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
484         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
485         EPOLLEXCLUSIVE.
487 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
489         * timezone/README: Remove mention of checktab.awk. Mention wiki
490         SharedSourceFiles.
492 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
494         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
495         WUNTRACED.
497 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
499         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
500         order to match the type of p when calling atomic_exchange_acq().
502 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
504         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
505         cfi_offset calls.
506         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
507         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
508         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
509         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
510         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
512 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
514         * timezone/checktab.awk: Removed.
516 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
518         * manual/math.texi (Errors in Math Functions): Document relaxed
519         accuracy goals for IBM long double.
520         * math/libm-test.inc (test_exceptions): Always allow spurious
521         "underflow" and "inexact" exceptions for IBM long double.
523 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
525         [BZ #19762]
526         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
527         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
528         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
529         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
530         (bit_arch_*): This for feature array.
531         (bit_*): Renamed to ...
532         (bit_cpu_*): This for cpu array.
533         (index_*): Renamed to ...
534         (index_arch_*): This for feature array.
535         (index_*): Renamed to ...
536         (index_cpu_*): This for cpu array.
537         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
538         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
539         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
540         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
541         bit_##name with index_cpu_##name and bit_cpu_##name.
542         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
543         bit_##name with index_arch_##name and bit_arch_##name.
545 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
547         [BZ #19792]
548         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
549         Terminate FDE before return label.
551 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
553         [BZ #19790]
554         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
555         (rintl): Define as macro.
556         [USE_AS_NEARBYINTL] (__rintl): Likewise.
557         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
558         of fesetround.  Ensure results are evaluated before end of scope.
559         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
560         USE_AS_NEARBYINTL and include s_rintl.c.
561         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
562         Disable exception traps in new environment.
563         (libc_feholdsetround_ppc_ctx): Likewise.
565 2016-03-08  Roland McGrath  <roland@hack.frob.com>
567         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
568         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
569         (tst_audit10_aux) [__AVX512F__]: ... here.
571 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
573         * include/sys/auxv.h: New file.
575 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
577         [BZ #19759]
578         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
580 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
582         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
583         operand modifier.
584         (feclearexcept): Likewise.
586 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
588         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
589         to reflect the entire 32-bit HWCAP.
590         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
591         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
593 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
595         [BZ #19783]
596         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
597         $(test-via-rtld-prefix).
598         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
600 2016-03-08  Florian Weimer  <fweimer@redhat.com>
602         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
603         union wait.  Report any non-zero exit status as error.
605 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
607         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
608         configured with --enable-hardcoded-path-in-tests.
610 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
612         [BZ #19677]
613         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
614         (__ieee754_remainderl): Put zero low parts in canonical form.
615         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
616         file.  Based on
617         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
618         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
619         with wrapper round test-fmodrem-ldbl-128ibm.c.
620         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
621         file.
622         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
623         Likewise.
624         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
625         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
627 2016-03-07  Florian Weimer  <fweimer@redhat.com>
629         [BZ #19610]
630         * elf/ldconfig.c (opt_link): Update comment.
631         (options): Update help string for option -X.
632         (search_dir): Unlink stale symbolic link only if updating symbolic
633         links.
634         * elf/tst-ldconfig-X.sh: New file.
635         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
636         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
638 2016-03-07  Andreas Schwab  <schwab@suse.de>
640         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
641         needed arguments.
643 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
645         [BZ #15333]
646         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
647         to lstat64.
649 2016-03-07  Florian Weimer  <fweimer@redhat.com>
651         * libio/filedoalloc.c (isatty): Remove.
652         (local_isatty): Add comment.  Call __isatty directly.
653         (_IO_file_doallocate): Update comment.  Assume _LIBC.
654         * libio/wfiledoalloc.c (isatty): Remove.
655         (_IO_wfile_doallocate): Update comment.
657 2016-03-07  Florian Weimer  <fweimer@redhat.com>
659         [BZ #19269]
660         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
661         tst-audit4-aux.o.
662         (tst-audit10): Depend on tst-audit10-aux.o.
663         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
664         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
665         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
666         instead of inline AVX code.
667         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
668         instead of inline AVX512 code.
669         * sysdeps/x86_64/tst-audit4-aux.c: New file
670         * sysdeps/x86_64/tst-audit10-aux.c: New file
672         [BZ #19648]
673         * test-skeleton.c (main): Do not set RLIMIT_DATA.
675 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
677         [BZ #14750]
678         [BZ #10354]
679         [BZ #18433]
680         * include/sched.h (__clone): Add hidden prototype.
681         (__clone2): Likewise.
682         * include/unistd.h (__dup): Likewise.
683         * posix/Makefile (tests): Add tst-spawn2.
684         * posix/tst-spawn2.c: New file.
685         * sysdeps/posix/dup.c (__dup): Add hidden definition.
686         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
687         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
688         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
689         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
690         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
691         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
692         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
693         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
694         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
695         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
697         Likewise.
698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
699         Likewise.
700         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
701         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
702         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
703         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
704         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
705         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
706         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
707         * sysdeps/unix/sysv/linux/nptl-signals.h
708         (____nptl_is_internal_signal): New function.
709         * sysdeps/unix/sysv/linux/spawni.c: New file.
711         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
712         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
713         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
714         * posix/tst-execvp2.c (do_test): Likewise.
715         * posix/tst-execvp3.c (do_test): Likewise.
716         * posix/tst-execvp4.c (do_test): Likewise.
717         * posix/tst-execvpe1.c: New file.
718         * posix/tst-execvpe2.c: Likewise.
719         * posix/tst-execvpe3.c: Likewise.
720         * posix/tst-execvpe4.c: Likewise.
721         * posix/tst-execvpe5.c: Likewise.
722         * posix/tst-execvpe6.c: Likewise.
724         [BZ #19534]
725         * posix/execl.c (execl): Remove dynamic memory allocation.
726         * posix/execle.c (execle): Likewise.
727         * posix/execlp.c (execlp): Likewise.
729 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
731         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
732         Replace .text with .text.avx512.
733         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
734         Likewise.
736 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
738         * sysdeps/generic/libnsl.abilist: New file.
739         * sysdeps/generic/libutil.abilist: New file.
741 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
743         [BZ #19762]
744         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
745         HAS_ARCH_FEATURE with Fast_Rep_String.
746         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
747         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
748         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
749         Likewise.
750         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
751         Likewise.
752         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
753         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
754         Likewise.
755         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
756         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
757         Likewise.
759 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
761         [BZ #19745]
762         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
763         with *%rax in call.
765 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
767         [BZ #19745]
768         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
769         with *__libc_start_main@GOTPCREL(%rip) in call.
771 2016-03-04  Roland McGrath  <roland@hack.frob.com>
773         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
774         inside conditional for nonempty $(CXX).
776         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
777         nonempty.
779         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
780         to test for empty $(CXX) rather than $(CXX) of "no".
782 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
784         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
786 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
787             H.J. Lu  <hongjiu.lu@intel.com>
789         [BZ #18880]
790         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
791         instead of Slow_BSF, and also check for Fast_Copy_Backward to
792         enable __memcpy_ssse3_back.
794 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
796         [BZ #19758]
797         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
798         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
800 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
802         [BZ #19490]
803         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
804         (__fentry__): Likewise.
806 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
808         * gmon/Makefile (noprof): Add $(sysdep_noprof).
809         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
811 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
813         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
814         __mcount_internal directly.
815         (C_LABEL(__fentry__)): Likewise.
816         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
817         directly.
819 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
821         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
822         (__start_context): Call __setcontext directly.
824 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
826         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
827         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
828         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
829         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
830         * sysdeps/unix/sysv/linux/arm/kernel-features.h
831         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
832         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
833         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
834         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
835         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
836         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
837         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
838         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
839         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
840         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
841         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
842         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
843         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
844         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
845         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
846         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
847         * sysdeps/unix/sysv/linux/mips/kernel-features.h
848         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
849         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
850         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
851         Remove conditional code.
852         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
853         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
854         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
855         * sysdeps/unix/sysv/linux/sh/kernel-features.h
856         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
857         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
858         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
859         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
860         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
861         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
862         * sysdeps/unix/sysv/linux/tile/kernel-features.h
863         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
865 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
867         * NEWS (2.23): Fix typo in bug 19048 text.
869 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
871         [BZ #14259]
872         * Makeconfig: Rename msgcatdir to localedir.
873         Rename inst_msgcatdir to inst_localedir.
874         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
875         * config.make.in: Add localedir.
876         * elf/Makefile ($(objpfx)sotruss): Use localedir.
877         (ldd-rewrite): Likewise.
878         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
879         (install-others): Use inst_localedir.
880         (CPPFLAGS): Use localedir.
881         * locale/Makefile (locale-CPPFLAGS): Likewise.
882         * po/Makefile (mo-installed): Use inst_localedir.
884         [BZ #19575]
885         * localedata/charmaps/GB18030: Update comments regarding PAU to
886         non-PUA mappings.
888 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
890         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
891         test for header.
892         * sysdeps/unix/sysv/linux/configure: Regenerated.
893         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
894         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
895         Remove conditional code.
896         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
898         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
899         Define to 3.2.0.
900         (arch_minimum_kernel): Likewise.
901         * sysdeps/unix/sysv/linux/configure: Regenerated.
902         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
903         Define to 2.6.32.
904         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
905         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
906         (arch_minimum_kernel): Define to 2.6.32.
907         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
908         * README: Document Linux 3.2 requirement.
909         * manual/install.texi (Linux): Document Linux 3.2 headers
910         requirement.
911         * INSTALL: Regenerated.
913 2016-02-24  Andreas Schwab  <schwab@suse.de>
915         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
916         if !NO_LONG_DOUBLE.
918 2016-02-22  Roland McGrath  <roland@hack.frob.com>
920         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
921         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
923 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
925         [BZ #19512]
926         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
928 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
930         * posix/tst-dir.c: Include libc-internal.h.
932 2016-02-20  Florian Weimer  <fweimer@redhat.com>
934         [BZ #19056]
935         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
936         * manual/filesys.texi (Reading/Closing Directory): Mention
937         deprecaion.
938         * posix/tst-dir.c (main): Disable deprecation warning in test.
940 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
942         [BZ #19679]
943         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
944         Renamed to ...
945         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
946         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
947         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
948         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
949         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
950         * sysdeps/x86_64/dl-trampoline.h
951         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
952         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
954 2016-02-19  Mark Wielaard  <mjw@redhat.com>
956         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
958 2016-02-19  Mark Wielaard  <mjw@redhat.com>
960         * elf/elf.h (R_386_GOT32X): New.
961         (R_386_NUM): Update.
962         (R_X86_64_GOTPCRELX: New.
963         (R_X86_64_REX_GOTPCRELX): New.
964         (R_X86_64_NUM): Update.
966 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
968         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
970 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
972         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
973         assign attr->stackaddr to it, and adjust it down when
974         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
975         [_STACK_GROWS_UP]: Delete assert.
976         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
977         Implement stack grows up logic.
978         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
979         stack grows up logic.
981 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
983         * NEWS: Update with 2.24 template.
985 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
987         [BZ #19678]
988         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
989         Ensure +0.0 is returned when taking the next value below the least
990         positive value.
992 2016-02-19  Florian Weimer  <fweimer@redhat.com>
994         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
995         available.  Do not define NO_THREADS.
996         * malloc/malloc.c: Do not check NO_THREADS.
997         * malloc/arena.c: Likewise.
999 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1001         * malloc/malloc.c (__libc_mallinfo): Update comment.
1002         (struct malloc_par): Remove max_total_mem member, it was always 0.
1003         (int_mallinfo): Store 0 into usmblks (no functional change).
1004         * malloc/hooks.c (struct malloc_state): Document that
1005         max_total_mem is always 0.
1006         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1007         always 0.
1008         * manual/memory.texi (Statistics of Malloc): Likewise.
1010 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1012         * malloc/malloc.c (sysmalloc): Do not update arena_max.
1013         * malloc/arena.c (arena_max): Remove.
1014         (heap_trim, _int_new_arena): Do not update arena_max.
1016 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1018         * resolv/res_init.c (res_ninit): Update comment.
1020 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1022         [BZ #19505]
1023         * posix/spawn_int.h: Add headers and include guard.
1024         (__spawn_valid_fd): New function.
1025         * posix/spawn_faction_addopen.c
1026         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1027         * posix/spawn_faction_addclose.c
1028         (posix_spawn_file_actions_addclose): Likewise.
1029         * posix/spawn_faction_adddup2.c
1030         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
1031         second file descriptor.
1032         * posix/spawn_valid_fd.c: New file.
1033         * posix/tst-posix_spawn-fd.c: New file.
1034         * posix/Makefile (routines): Add spawn_valid_fd.
1035         (tests): Add tst-posix_spawn-fd.
1037 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1039         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1040         (do_test): Limit the number of arenas, so that we can use fewer
1041         outer threads.  Limit timeout to 3 seconds, in preparation for a
1042         larger TIMEOUT value.
1044 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1046         [BZ #19674]
1047         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1048         sign in overflowing and underflowing results when overflow or
1049         underflow is detected early.  Include sign in result before rather
1050         than after scaling.
1052         [BZ #19603]
1053         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1054         (__ieee754_remainderl): Adjust sign of integer version of low part
1055         when taking absolute value of high part.
1056         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1057         * math/libm-test.inc (remainder_test_data): Add another test.
1058         (remquo_test_data): Likewise.
1060 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
1062         [BZ #19602]
1063         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1064         equal high parts and both low parts zero specially.
1065         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1066         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1067         Add test-fmodl-ldbl-128ibm.
1069         [BZ #19595]
1070         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1071         common logic for all cases of shifting subnormal results.  Do not
1072         insert sign bit in shifted mantissa.  Always pass -1023 as biased
1073         exponent to ldbl_insert_mantissa in subnormal case.
1075         [BZ #19594]
1076         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1077         on high and low parts then adjust result and use
1078         ldbl_canonicalize_int if needed.
1080         [BZ #19593]
1081         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1082         on high part and __floor or __ceil on low part then use
1083         ldbl_canonicalize_int if needed.
1085         [BZ #19592]
1086         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1087         high and low parts then use ldbl_canonicalize_int if needed.
1089         [BZ #17899]
1090         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1091         New function.
1092         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1093         on high and low parts then use ldbl_canonicalize_int if needed.
1095 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1097         * configure: Regenerated.
1099         * po/libc.pot: Regenerated.
1101         * po/be.po: Updated translation.
1102         * po/bg.po: Likewise.
1103         * po/ca.po: Likewise.
1104         * po/cs.po: Likewise.
1105         * po/da.po: Likewise.
1106         * po/el.po: Likewise.
1107         * po/eo.po: Likewise.
1108         * po/es.po: Likewise.
1109         * po/fi.po: Likewise.
1110         * po/fr.po: Likewise.
1111         * po/gl.po: Likewise.
1112         * po/hr.po: Likewise.
1113         * po/hu.po: Likewise.
1114         * po/ia.po: Likewise.
1115         * po/id.po: Likewise.
1116         * po/it.po: Likewise.
1117         * po/ja.po: Likewise.
1118         * po/lt.po: Likewise.
1119         * po/nb.po: Likewise.
1120         * po/nl.po: Likewise.
1121         * po/pt_BR.po: Likewise.
1122         * po/rw.po: Likewise.
1123         * po/sk.po: Likewise.
1124         * po/sl.po: Likewise.
1125         * po/sv.po: Likewise.
1126         * po/tr.po: Likewise.
1127         * po/zh_CN.po: Likewise.
1128         * po/zh_TW.po: Likewise.
1130         * version.h (RELEAES): Set to "development".
1131         (VERSION): Set to 2.23.90.
1133         * version.h (RELEASE): Set to "stable".
1134         (VERSION): Set to 2.23.
1135         * include/feature.h (__GLIBC_MINOR__): Set to 23.
1137         * NEWS: Updated fixed bugs.
1139 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1140             Wilco Dijkstra  <wdijkstr@arm.com>
1142         [BZ #19462]
1143         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1144         (_STRING_INLINE_unaligned): This.
1145         * include/string.h: Include <string_private.h>.
1146         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1147         _STRING_INLINE_unaligned.
1148         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1149         (_STRING_INLINE_unaligned): New.
1150         * sysdeps/aarch64/string_private.h: New file.
1151         * sysdeps/generic/string_private.h: Likewise.
1152         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1153         * sysdeps/s390/string_private.h: Likewise.
1154         * sysdeps/x86/string_private.h: Likewise.
1155         * sysdeps/m68k/m680x0/m68020/bits/string.h
1156         (_STRING_ARCH_unaligned): Renamed to ...
1157         (_STRING_INLINE_unaligned): This.
1158         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1159         to ...
1160         (_STRING_INLINE_unaligned): This.
1161         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1162         to ...
1163         (_STRING_INLINE_unaligned): This.
1164         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1165         to ...
1166         (_STRING_INLINE_unaligned): This.
1168 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1169             H.J. Lu  <hongjiu.lu@intel.com>
1171         [BZ #19590]
1172         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1173         relocation.
1175 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1177         [BZ #18665]
1178         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1179         *herrno_p.
1180         (gaih_getanswer): Document functional behviour. Return tryagain
1181         if any result is tryagain.
1182         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1183         when freed.
1184         * resolv/res_send.c: Add copyright text.
1185         (__libc_res_nsend): Document that MAXPACKET is expected.
1186         (send_vc): Document. Remove buffer reuse.
1187         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1188         size of the buffer. Add Dprint for truncated UDP buffer.
1190 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1192         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1193         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1194         * INSTALL: Regenerate.
1196 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1197             Jonathan Wakely  <jwakely@redhat.com>
1198             Carlos O'Donell  <carlos@redhat.com>
1200         [BZ 19439]
1201         * math/Makefile (tests): Add test-math-isinff.
1202         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1203         * math/bits/mathcalls.h [__USE_MISC]: Use
1204         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1205         functions not in C++11 and which don't conflict e.g. isinff,
1206         isinfl etc.
1207         * math/test-math-isinff.cc: New file.
1209 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1211         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1213 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1215         [BZ #19529]
1216         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1218 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1220         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1222 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1224         [BZ #19550]
1225         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1226         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1227         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1228         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1229         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1230         New syscall entry.
1231         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1232         New syscall entry.
1233         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1234         syscall entry.
1236 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1238         [BZ #18240]
1239         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1240         unsigned int wraparound.
1242 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1244         [BZ #18240]
1245         * misc/bug18240.c: New test.
1246         * misc/Makefile (tests): Add it.
1248 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1249             Joseph Myers  <joseph@codesourcery.com>
1251         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1252         load in branch delay slot when less than a word of input left.
1254 2016-01-27  Andreas Schwab  <schwab@suse.de>
1256         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1257         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1258         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1259         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1261 2016-01-26  David S. Miller  <davem@davemloft.net>
1263         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1265 2016-01-25  David S. Miller  <davem@davemloft.net>
1267         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1268         __sqrtl_finite.
1269         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1270         instead using versioned_symbol.
1271         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1272         of entries.
1274         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1275         __sqrtl_finite to GLIBC_2.23
1277 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1279         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1281 2016-01-25  Andreas Schwab  <schwab@suse.de>
1283         [BZ #17514]
1284         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1285         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1286         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1287         * nptl/tst-mutex-errorcheck.c: New file.
1289 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1291         [BZ #18560]
1292         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1293         (IPCOP_semop): Likewise.
1294         (IPCOP_semget): Likewise.
1295         (IPCOP_semctl): Likewise.
1296         (IPCOP_msgsnd): Likewise.
1297         (IPCOP_msgrcv): Likewise.
1298         (IPCOP_msgget): Likewise.
1299         (IPCOP_msgctl): Likewise.
1300         (IPCOP_shmat): Likewise.
1301         (IPCOP_shmdt): Likewise.
1302         (IPCOP_shmget): Likewise.
1303         (IPCOP_shmctl): Likewise.
1305 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1307         * string/tst-endian.c: Include <libc-internal.h>.
1308         (do_test): Ignore tautological-compare warnings around
1309         "htobeXX (beXXtoh (i)) != i" and
1310         "htoleXX (leXXtoh (i)) != i" if-statements.
1312 2016-01-24  David S. Miller  <davem@davemloft.net>
1314         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1315         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1316         alias.
1317         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1318         __sqrtl_finite.
1320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1322 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
1324         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1325         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1326         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1328 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1330         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1331         (thread_func): Use new function to simplify barrier check.
1332         (do_test): Use new function to simplify checking barrier exit
1333         code, and actually join the child thread.
1335 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1337         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1338         semicolon.
1339         (__libc_tend): Likewise.
1340         (__libc_tabort): Likewise.
1342 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
1344         * sysdeps/nios2/libm-test-ulps: Update.
1345         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1346         (__gtsf2): Likewise.
1347         (__unorddf2): Likewise.
1348         (__unordsf2): Likewise.
1349         (__ledf2): Likewise.
1351 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
1353         * nis/nis_table.c (__follow_path): Disable diagnostic for
1354         uninitialized variable that is a false positive for gcc 4.7.
1355         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1357 2016-01-20  Roland McGrath  <roland@hack.frob.com>
1359         * sysdeps/nacl/lowlevellock-futex.h
1360         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1361         Always evaluate PRIVATE argument.
1363 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
1365         [BZ #19490]
1366         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1367         (pthread_cond_broadcast): Use ENTRY/END
1368         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1369         (pthread_cond_signal): Likewise.
1370         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1371         Likewise.
1372         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1373         Likewise.
1374         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1375         Likewise.
1377 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1379         * sysdeps/ieee754/dbl-64/s_finite.c
1380         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1381         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1382         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1383         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1384         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1387         (__gtsf2): Add as optional for libc.so.
1388         (__unordsf2): Likewise.
1389         (__signbit): Remove for libc.so.
1390         (__signbitl): Likewise.
1392 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1394         * iconvdata/bug-iconv11.c (test_ibm93x):
1395         Use %zu printf format specifier for size_t argument.
1397 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1399         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1400         already-recorded ulps.
1401         * sysdeps/arm/libm-test-ulps: Regenerated.
1402         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1403         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1404         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1406 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1407             Paul Pluzhnikov  <ppluzhnikov@google.com>
1409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1410         assembler not supporting AVX-512.
1412 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1414         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1416 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1418         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1419         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1421         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1423         * sysdeps/arm/libm-test-ulps: Regenerated.
1425 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1427         [BZ #19451]
1428         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1430 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1432         [BZ #19486]
1433         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1434         * sysdeps/generic/fix-fp-int-convert-overflow.h
1435         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1436         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1437         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1438         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1439         Likewise.
1440         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1441         Avoid conversions to long int where inexact exceptions
1442         could be raised.
1443         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1444         Likewise.
1445         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1446         Avoid conversions to long long int where inexact exceptions
1447         could be raised.
1448         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1449         Likewise.
1451 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1453         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1454         * configure: Regenerated.
1456 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1458         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1460 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1462         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1463         outside of comment.
1465 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1467         * nptl/tst-barrier1.c: Add description on first line.
1468         * nptl/tst-barrier2.c: Likewise.
1469         * nptl/tst-barrier3.c: Likewise.
1470         * nptl/tst-barrier4.c: Likewise.
1471         * nptl/tst-barrier5.c: Likewise.
1473 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1475         [BZ #18868]
1476         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1478 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1482         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1483         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1484         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1485         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1486         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1487         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1488         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1489         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1490         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1492 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1494         [BZ #13065]
1495         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1496         new implementation.
1497         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1498         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1499         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1500         (BARRIER_IN_THRESHOLD): New macro.
1501         * nptl/pthread_barrierattr_setpshared.c
1502         (pthread_barrierattr_setpshared): Clean up.
1503         * nptl/tst-barrier4.c: Correct comment.
1504         * nptl/tst-barrier5.c: New file.
1505         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1506         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1507         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1508         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1509         * nptl/lowlevelbarrier.sym: Remove.
1510         * nptl/DESIGN-barrier.txt: Remove.
1511         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1512         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1513         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1514         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1515         error.
1516         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1517         implementation.
1519 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1521         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1522         (do_child): Mask SIGRTMIN while thr is running.
1524 2016-01-15  Martin Sebor  <msebor@redhat.com>
1526         [BZ #19432]
1527         * iconvdata/Makefile: Add bug-iconv11.
1528         * iconvdata/bug-iconv11.c: New test.
1529         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1530         * iconvdata/ibm933.c: Same.
1531         * iconvdata/ibm935.c: Same.
1532         * iconvdata/ibm937.c: Same.
1533         * iconvdata/ibm939.c: Same.
1535 2016-01-15  Martin Sebor  <msebor@redhat.com>
1537         [BZ #19443]
1538         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1539         [DEBUG] (_ufc_set_bits): Declare used.
1540         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1541         [DEBUG] (print_all): Declare used.
1542         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1543         operands of the ternary ?: expression to target type.
1544         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1545         calling the undeclared abort.
1546         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1548 2016-01-15  Martin Sebor  <msebor@redhat.com>
1550         [BZ #18755]
1551         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1552         warnings.
1553         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1554         (__gai_create_helper_thread): Same.
1555         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1556         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1557         to suppress -Wmaybe-uninitialized warnings.
1559 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1561         [BZ #19465]
1562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1563         inside if.
1564         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1565         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1568 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1570         [BZ #19466]
1571         * time/tst-mktime2.c (time_t_max): Removed.
1572         (time_t_min): Likewise.
1573         (TYPE_SIGNED): New.
1574         (TYPE_MINIMUM): Likewise.
1575         (TYPE_MAXIMUM): Likewise.
1576         (TIME_T_MIN): Likewise.
1577         (TIME_T_MAX): Likewise.
1578         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1579         and TIME_T_MIN.
1580         (do_test): Likewise.
1582 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1584         [BZ #19467]
1585         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1586         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1588 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1590         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1592 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1594         * benchtests/Makefile (PYTHON): Define.
1595         (bench-func): Use $(PYTHON) to run python scripts.
1596         ($(objpfx)bench-%.c): Likewise.
1598 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1600         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1601         leading slash when `file_name' is "/".
1603 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1605         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1606         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1607         Likewise.
1608         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1609         Likewise.
1610         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1611         Likewise.
1612         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1613         enum constant and macro.
1614         (PTRACE_SETSIGMASK): Likewise.
1615         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1616         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1617         (PTRACE_GETSIGMASK): Likewise.
1618         (PTRACE_SETSIGMASK): Likewise.
1619         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1620         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1621         Likewise.
1622         (PTRACE_SETSIGMASK): Likewise.
1623         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1624         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1625         (PTRACE_GETSIGMASK): Likewise.
1626         (PTRACE_SETSIGMASK): Likewise.
1627         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1628         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1629         Likewise.
1630         (PTRACE_SETSIGMASK): Likewise.
1631         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1632         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1633         Likewise.
1634         (PTRACE_SETSIGMASK): Likewise.
1635         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1636         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1637         Likewise.
1638         (PTRACE_SETSIGMASK): Likewise.
1639         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1641 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1642             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1644         [BZ #19439]
1645         * math/bits/mathcalls.h
1646         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1647         prototype.
1648         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1650 2016-01-11  Andreas Schwab  <schwab@suse.de>
1652         [BZ #19253]
1653         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1654         cache when TZDEFRULES was used.
1655         * time/tst-tzname.c: New file.
1656         * time/Makefile (test): Add tst-tzname.
1657         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1658         * timezone/Makefile (test-zones): Add $(posixrules-file).
1659         ($(testdata)/$(posixrules-file)): New rule.
1661 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1663         Fix doc quoting problems with Texinfo 5
1664         Without this change, in the info file output, Texinfo 5 quotes code
1665         in text with undirected single quotes 'like this' and generates
1666         code examples that with many PDF readers cannot be cut out of PDFs
1667         and pasted into code.
1668         * manual/libc.texinfo: Configure the libc manual like the GNU
1669         Emacs manual, by using @documentencoding and setting
1670         txicodequoteundirected and txicodequotebacktick.  This way,
1671         Texinfo 5 quotes code in text with directed single quotes ‘like
1672         this’ and produces examples that can be cut out of PDFs.  This
1673         change causes Texinfo 5 to generate info files that contain UTF-8
1674         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1675         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1677 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1679         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1680         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1681         barriers to their respective compiler built-ins.
1682         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1683         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1684         * sysdeps/powerpc/sysdep.h: Likewise.
1685         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1686         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1687         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1689 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1691         * scripts/config.guess: Revert previous shebang change.
1692         * scripts/config.sub: Likewise.
1693         * scripts/mkinstalldirs: Likewise.
1695 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1697         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1698         PPC_FEATURE2_HAS_IEEE128.
1699         * sysdeps/powerpc/dl-procinfo.c:
1700         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1702 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1704         [BZ #19415]
1705         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1706         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1707         (_dl_lookup_address): Rewrite using function resolver trampoline.
1708         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1709         two bits in address.
1711 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1713         * longlong.h: Change !__SHMEDIA__ to
1714         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1715         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1717 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1718             Joseph Myers  <joseph@codesourcery.com>
1719             Mark Shinwell  <shinwell@codesourcery.com>
1720             Andrew Stubbs  <ams@codesourcery.com>
1721             Rich Felker <dalias@libc.org>
1723         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1725 2016-01-07  Richard Henderson  <rth@redhat.com>
1727         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1729 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1731         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1732         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1733         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1734         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1735         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1737 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1738             Joseph Myers  <joseph@codesourcery.com>
1740         * timezone/private.h: Update from tzcode 2015g.
1741         * timezone/tzfile.h: Likewise.
1742         * timezone/tzselect.ksh: Likewise.
1743         * timezone/zdump.c: Likewise.
1744         * timezone/zic.c: Likewise.
1745         * timezone/ialloc.c: Remove file.
1746         * timezone/scheck.c: Likewise.
1747         * timezone/Makefile (extra-objs): Remove variable.
1748         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1749         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1750         -Wno-maybe-uninitialized.
1751         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1752         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1753         (CFLAGS-ialloc.c): Remove variable.
1754         (CFLAGS-scheck.c): Likewise.
1755         * timezone/README: Update list of files from tzcode.
1757 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1759         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1760         instead of __fxprintf when _LIBC is undefined.
1762 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
1764         * catgets/test-gencat.sh: Remove space after shebang.
1765         * conform/GlibcConform.pm: Likewise.
1766         * conform/check-header-lists.sh: Likewise.
1767         * conform/conformtest.pl: Likewise.
1768         * conform/linknamespace.pl: Likewise.
1769         * conform/list-header-symbols.pl: Likewise.
1770         * debug/catchsegv.sh: Likewise.
1771         * elf/genrtldtbl.awk: Likewise.
1772         * elf/tst-pathopt.sh: Likewise.
1773         * elf/tst-rtld-load-self.sh: Likewise.
1774         * grp/tst_fgetgrent.sh: Likewise.
1775         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1776         * iconvdata/gen-8bit-gap.sh: Likewise.
1777         * iconvdata/gen-8bit.sh: Likewise.
1778         * iconvdata/run-iconv-test.sh: Likewise.
1779         * intl/tst-gettext.sh: Likewise.
1780         * intl/tst-gettext2.sh: Likewise.
1781         * intl/tst-gettext4.sh: Likewise.
1782         * intl/tst-gettext6.sh: Likewise.
1783         * intl/tst-translit.sh: Likewise.
1784         * io/ftwtest-sh: Likewise.
1785         * libio/test-freopen.sh: Likewise.
1786         * locale/gen-translit.pl: Likewise.
1787         * malloc/tst-mtrace.sh: Likewise.
1788         * manual/check-safety.sh: Likewise.
1789         * manual/libc-texinfo.sh: Likewise.
1790         * manual/tsort.awk: Likewise.
1791         * manual/xtract-typefun.awk: Likewise.
1792         * nptl/tst-cancel-wrappers.sh: Likewise.
1793         * nptl/tst-tls6.sh: Likewise.
1794         * posix/globtest.sh: Likewise.
1795         * posix/tst-getconf.sh: Likewise.
1796         * posix/wordexp-tst.sh: Likewise.
1797         * scripts/check-c++-types.sh: Likewise.
1798         * scripts/check-local-headers.sh: Likewise.
1799         * scripts/config.guess: Likewise.
1800         * scripts/config.sub: Likewise.
1801         * scripts/cpp: Likewise.
1802         * scripts/cross-test-ssh.sh: Likewise.
1803         * scripts/documented.sh: Likewise.
1804         * scripts/evaluate-test.sh: Likewise.
1805         * scripts/gen-libc-abis: Likewise.
1806         * scripts/gen-sorted.awk: Likewise.
1807         * scripts/list-fixed-bugs.py: Likewise.
1808         * scripts/merge-test-results.sh: Likewise.
1809         * scripts/mkinstalldirs: Likewise.
1810         * scripts/rellns-sh: Likewise.
1811         * scripts/test-installation.pl: Likewise.
1812         * scripts/update-copyrights: Likewise.
1813         * stdio-common/tst-printf.sh: Likewise.
1814         * stdio-common/tst-unbputc.sh: Likewise.
1815         * stdlib/tst-fmtmsg.sh: Likewise.
1816         * stdlib/tst-setcontext3.sh: Likewise.
1817         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1818         * sysdeps/unix/make-syscalls.sh: Likewise.
1820 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1822         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1823         asm stw with atomic_exchange_rel.  Add explanatory comment.
1824         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1825         Likewise.
1827 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1829         [BZ #19122]
1830         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1831         * sysdeps/generic/dl-unistd.h: New file.
1832         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1834 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1836          [BZ #19122]
1837          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1838          * sysdeps/generic/dl-mman.h: New file.
1839          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1841 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1843         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1844         trailing whitespace removed.
1845         * scripts/config.guess: Update to version 2016-01-01.
1846         * scripts/config.sub: Update to version 2016-01-01.
1847         * scripts/move-if-change: Update from gnulib.
1849 2016-01-04  Anton Blanchard  <anton@samba.org>
1851         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1852         for array indices.
1853         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1855 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
1857         * NEWS: Update copyright dates.
1858         * catgets/gencat.c (print_version): Likewise.
1859         * csu/version.c (banner): Likewise.
1860         * debug/catchsegv.sh: Likewise.
1861         * debug/pcprofiledump.c (print_version): Likewise.
1862         * debug/xtrace.sh (do_version): Likewise.
1863         * elf/ldconfig.c (print_version): Likewise.
1864         * elf/ldd.bash.in: Likewise.
1865         * elf/pldd.c (print_version): Likewise.
1866         * elf/sotruss.sh: Likewise.
1867         * elf/sprof.c (print_version): Likewise.
1868         * iconv/iconv_prog.c (print_version): Likewise.
1869         * iconv/iconvconfig.c (print_version): Likewise.
1870         * locale/programs/locale.c (print_version): Likewise.
1871         * locale/programs/localedef.c (print_version): Likewise.
1872         * login/programs/pt_chown.c (print_version): Likewise.
1873         * malloc/memusage.sh (do_version): Likewise.
1874         * malloc/memusagestat.c (print_version): Likewise.
1875         * malloc/mtrace.pl: Likewise.
1876         * manual/libc.texinfo: Likewise.
1877         * nptl/version.c (banner): Likewise.
1878         * nscd/nscd.c (print_version): Likewise.
1879         * nss/getent.c (print_version): Likewise.
1880         * nss/makedb.c (print_version): Likewise.
1881         * posix/getconf.c (main): Likewise.
1882         * scripts/test-installation.pl: Likewise.
1883         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1885         * All files with FSF copyright notices: Update copyright dates
1886         using scripts/update-copyrights.
1887         * intl/plural.c: Regenerated.
1888         * locale/programs/charmap-kw.h: Likewise.
1889         * locale/programs/locfile-kw.h: Likewise.
1891 2016-01-02  Helge Deller  <deller@gmx.de>
1893         [BZ #19285]
1894         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1895         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1896         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1897         (MADV_xxK_PAGES): Remove.
1899 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
1901         [BZ #15421]
1902         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1903         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
1904         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1905         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1907 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
1909         [BZ #19408]
1910         * sysdeps/unix/sysv/linux/personality.c: New file.
1911         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1912         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1913         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1914         (sysdep_routines): Add personality.
1915         (tests): Add tst-personality.
1916         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1917         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1918         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1919         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1920         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1921         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1922         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1923         Likewise.
1924         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1925         Likewise.
1926         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1927         Likewise.
1928         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1929         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1930         Likewise.
1932 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1934         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1935         (PATH_ARM_SYSTYPE): Remove.
1936         (PATH_CPUINFO): Likewise.
1937         (IO_BASE_FOOTBRIDGE): Likewise.
1938         (IO_SHIFT_FOOTBRIDGE): Likewise.
1939         (struct platform): Likewise.
1940         (init_iosys): Remove compatibility code for 2.4 kernels.
1941         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1943 2015-12-29  Florian Weimer  <fweimer@redhat.com>
1945         * malloc/tst-malloc-thread-fail.c: New file.
1946         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1947         (tst-malloc-thread-fail): Link against libpthread.
1949 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
1951         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
1952         (get_parser): New function.
1953         (main): New function.
1955 2015-12-29  Rob Wu  <rob@robwu.nl>
1957         [BZ #19369]
1958         * resolv/res_init.c (__res_vinit): Reset defdname before use.
1960 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
1962         [BZ #19270]
1963         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1965 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
1967         [BZ #15421]
1968         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1970 2015-12-23  Torvald Riegel  <triegel@redhat.com>
1972         [BZ #13690]
1973         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1974         after releasing it.
1975         (__lll_robust_unlock): Likewise.
1976         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1977         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1978         (lll_robust_unlock): Likewise.
1979         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1980         Prevent warnings in callers.
1982 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1984         * malloc/arena.c (list_lock): Update comment.
1986 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1988         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1989         __parse_hwcap_and_convert_at_platform to libc.a.
1991 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1993         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1994         platform and feature support for POWER9.
1995         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1996         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1997         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1998         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1999         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2000         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2001         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2002         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2004 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2006         Harmonize generic stdio-lock support with nptl
2008         This fixes build when _IO_funlockfile is a macro, fixes build where
2009         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2010         stack unwind.
2012         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2013         _IO_release_lock ): Use cleanup attribute on new
2014         _IO_acquire_lock_file variable instead of assuming that
2015         _IO_release_lock will be called.
2016         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2017         _IO_acquire_lock_needs_exceptions_enabled.
2018         (_IO_acquire_lock_clear_flags2): New macro.
2020 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2022         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2024 2015-12-21  Florian Weimer  <fweimer@redhat.com>
2026         [BZ #19182]
2027         * malloc/arena.c (list_lock): Document lock ordering requirements.
2028         (free_list_lock): New lock.
2029         (ptmalloc_lock_all): Comment on free_list_lock.
2030         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2031         (detach_arena): Update comment.  free_list_lock is now needed.
2032         (_int_new_arena): Use free_list_lock around detach_arena call.
2033         Acquire arena lock after list_lock.  Add comment, including FIXME
2034         about incorrect synchronization.
2035         (get_free_list): Switch to free_list_lock.
2036         (reused_arena): Acquire free_list_lock around detach_arena call
2037         and attached threads counter update.  Add two FIXMEs about
2038         incorrect synchronization.
2039         (arena_thread_freeres): Switch to free_list_lock.
2040         * malloc/malloc.c (struct malloc_state): Update comments to
2041         mention free_list_lock.
2043 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2045         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2046         Remove functions.
2047         (sloww, sloww1): Accept argument to offset quadrant.
2048         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2049         quadrant.
2050         (__sin, __cos): Consolidate common code into new functions.
2051         (reduce_sincos_1, do_sincos_1): New functions.
2052         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2055         code to new functions.
2056         (reduce_sincos_2, do_sincos_2): New functions.
2057         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2060         common code for sincos.
2061         (__cos) [!IN_SINCOS]: Likewise.
2062         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2063         New function.
2064         (__sincos): Use it.
2066 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
2068         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2069         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2070         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2072 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2074         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2076         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2077         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2078         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2079         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2080         index_Prefer_No_VZEROUPPER): New feature.
2081         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2082         Prefer_No_VZEROUPPER for Knights Landing.
2084 015-12-18  Torvald Riegel  <triegel@redhat.com>
2086         * math/atest-exp2.c (mp_exp_m1): Remove.
2088 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2090         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2091         syscalls.
2092         (__SYSCALL0): New macro.
2093         (__SYSCALL1): Likewise.
2094         (__SYSCALL2): Likewise.
2095         (__SYSCALL3): Likewise.
2096         (__SYSCALL4): Likewise.
2097         (__SYSCALL5): Likewise.
2098         (__SYSCALL6): Likewise.
2099         (__SYSCALL_CONCAT_X): Likewise.
2100         (__SYSCALL_CONCAT): Likewise.
2101         (__SYSCALL_DIST): Likewise.
2102         (__SYSCALL_CALL): Likewise.
2104 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
2106         [BZ #19363]
2107         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2109 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2111         [BZ #19375]
2112         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2113         negative subnormals.
2115 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
2117         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2118         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2119         (INTERNAL_SYSCALL_NCS): Use it.
2120         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2122 2015-12-16  Florian Weimer  <fweimer@redhat.com>
2124         [BZ #19243]
2125         * malloc/arena.c (get_free_list): Remove assert and adjust
2126         reference count handling.  Add comment about reused_arena
2127         interaction.
2128         (reused_arena): Add comments abount get_free_list interaction.
2129         * malloc/tst-malloc-thread-exit.c: New file.
2130         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2131         (tst-malloc-thread-exit): Link against libpthread.
2133 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2135         [BZ #19367]
2136         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2137         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2138         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2139         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2140         (index_Prefer_MAP_32BIT_EXEC): Likewise.
2142 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2144         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2145         Silvermont optimizations for Knights Landing.
2147 2015-12-15  Andreas Schwab  <schwab@suse.de>
2149         [BZ #17197]
2150         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2151         immediately after emitting SI.
2152         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2153         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2154         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2155         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2156         * iconvdata/bug-iconv10.c: New file.
2157         * iconvdata/Makefile (tests): Add bug-iconv10.
2158         ($(objpfx)bug-iconv10.out): New rule.
2160 2015-12-15  Florian Weimer  <fweimer@redhat.com>
2162         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2163         aliasing violation.
2165 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
2167         [BZ #18472]
2168         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2169         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2170         conditionals for them.
2171         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2172         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2174         sys/kdaemon.h.
2175         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2176         compat-only syscall, obsoleted in glibc 2.23.
2177         (create_module): Likewise.
2178         (get_kernel_syms): Likewise.
2179         (query_module): Likewise.
2180         (uselib): Likewise.
2181         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2183 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2185         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2186         <linux/version.h>.
2187         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2188         conditional code.
2189         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2190         and ioshift_name initialization.
2192 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2194         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2195         Fix indentation.
2197 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2199         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2201 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2203         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2205 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2206             Jakub Wilk  <jwilk@debian.org>
2208         [BZ #19347]
2209         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2210         to change the group of the device to the tty group.
2212 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2214         Split large string section; add truncation advice
2215         * manual/examples/strncat.c: Remove.
2216         This example was misleading, as the code would have undefined
2217         behavior if "hello" was longer than SIZE.  Anyway, the manual
2218         shouldn't encourage strncpy+strncat for this sort of thing.
2219         * manual/string.texi (Copying Strings and Arrays): Split into
2220         three sections Copying Strings and Arrays, Concatenating Strings,
2221         and Truncating Strings, as this section was way too long.  All
2222         cross-referenced changed.  Add advice about string-truncation
2223         functions.  Remove misleading strncat example.
2225 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2227         * manual/nss.texi (NSS Modules Interface): Document
2228         NSS_STATUS_NOTFOUND and SUCCESS.
2230 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2232         [BZ 18568]
2233         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2234         201505L, for Unicode 8.
2236 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2238         * locale/C-translit.h: Regenerate.
2240 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2242         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2243         and U+0153.
2245 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2247         [BZ #19351]
2248         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2249         expanding log(1+z), compare z rather than its square with epsilon
2250         to determine when to avoid evaluating the expansion.
2252         [BZ #19350]
2253         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2254         Increase overflow threshold.
2256         [BZ #19349]
2257         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2258         when small.
2260         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2261         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2262         New macro.
2263         [__LINUX_KERNEL_VERSION >= 0x040300]
2264         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2266         Likewise.
2267         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2268         Likewise.
2269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2270         Likewise.
2271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2272         Likewise.
2273         [__LINUX_KERNEL_VERSION >= 0x040300]
2274         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2275         [__LINUX_KERNEL_VERSION >= 0x040300]
2276         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2277         [__LINUX_KERNEL_VERSION >= 0x040300]
2278         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2279         [__LINUX_KERNEL_VERSION >= 0x040300]
2280         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2281         [__LINUX_KERNEL_VERSION >= 0x040300]
2282         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2283         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2284         Likewise.
2285         [__LINUX_KERNEL_VERSION >= 0x040300]
2286         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2287         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2288         Likewise.
2289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2290         Likewise.
2291         [__LINUX_KERNEL_VERSION >= 0x040300]
2292         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2293         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2294         Likewise.
2295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2296         Likewise.
2297         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2298         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2299         Likewise.
2300         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2301         Likewise.
2302         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2303         Likewise.
2304         [__LINUX_KERNEL_VERSION >= 0x040300]
2305         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2306         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2307         Likewise.
2308         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2309         Likewise.
2310         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2311         Likewise.
2312         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2313         Likewise.
2314         [__LINUX_KERNEL_VERSION >= 0x040300]
2315         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2316         [__LINUX_KERNEL_VERSION >= 0x040300]
2317         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2318         [__LINUX_KERNEL_VERSION >= 0x040300]
2319         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2320         [__LINUX_KERNEL_VERSION >= 0x040300]
2321         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2322         [__LINUX_KERNEL_VERSION >= 0x040300]
2323         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2325         Likewise.
2326         [__LINUX_KERNEL_VERSION >= 0x040300]
2327         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2328         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2329         Likewise.
2330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2331         Likewise.
2332         [__LINUX_KERNEL_VERSION >= 0x040300]
2333         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2334         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2335         Likewise.
2336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2337         Likewise.
2338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2339         (__ASSUME_SOCKET_SYSCALL): Likewise.
2340         (__ASSUME_BIND_SYSCALL): Likewise.
2341         (__ASSUME_CONNECT_SYSCALL): Likewise.
2342         (__ASSUME_LISTEN_SYSCALL): Likewise.
2343         (__ASSUME_ACCEPT_SYSCALL): Likewise.
2344         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2345         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2346         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2347         (__ASSUME_SEND_SYSCALL): Likewise.
2348         (__ASSUME_SENDTO_SYSCALL): Likewise.
2349         (__ASSUME_RECV_SYSCALL): Likewise.
2350         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2351         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2352         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2353         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2354         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2355         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2356         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2357         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2358         Likewise.
2359         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2360         Likewise.
2361         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2362         Likewise.
2363         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2364         Likewise.
2365         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2366         Likewise.
2367         [__LINUX_KERNEL_VERSION >= 0x020625]
2368         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2369         [__LINUX_KERNEL_VERSION >= 0x020625]
2370         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2371         [__LINUX_KERNEL_VERSION >= 0x020625]
2372         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2373         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2374         Likewise.
2375         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2376         Likewise.
2377         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2378         Likewise.
2379         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2380         Likewise.
2381         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2382         Likewise.
2383         [__LINUX_KERNEL_VERSION >= 0x020625]
2384         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2385         [__LINUX_KERNEL_VERSION >= 0x020625]
2386         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2387         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2388         Likewise.
2389         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2390         Likewise.
2392 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2394         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2395         record the current if the current ABI and CPU support the FP64
2396         extension.
2397         (has-modd-spreg): Define to record the current if the current ABI and
2398         CPU support 32-bit floating point values in odd FPU registers.
2399         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2400         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2401         $(has-modd-spreg) equals yes.
2402         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2403         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2404         $(has-modd-spreg) equal yes.
2406 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2408         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2409         basename.
2411 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2413         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2414         (bench-string): ... here.
2415         (bench): Add bench-string.
2416         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2417         to *-benchset to reflect what they are.
2418         (benchset): Adjust.
2420         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2421         cos-inputs.
2423 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2425         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2426         __attribute__ ((__simd__)) for vector math function declarations.
2428 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2430         Fix typo in strncat, wcsncat manual entries
2431         * manual/string.texi (Copying and Concatenation): Fix typos in
2432         sample implementations of strncat and wcsncat, by having them use
2433         the old value of the destination length, not the new one.
2435 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2437         [BZ #16961]
2438         [BZ #16962]
2439         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2440         string on the stack for strtod.
2441         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2442         a string on the stack for strtof.
2443         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2444         constructing a string on the stack for strtold.
2445         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2446         __strtold_nan to GLIBC_PRIVATE.
2447         * math/test-nan-overflow.c: New file.
2448         * math/test-nan-payload.c: Likewise.
2449         * math/Makefile (tests): Add test-nan-overflow and
2450         test-nan-payload.
2452 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2454         Consistency about byte vs character in string.texi
2455         * manual/string.texi (String and Array Utilities):
2456         Distinguish more carefully among bytes, multibyte characters,
2457         and wide characters.  Use "byte" when talking about C 'char',
2458         to distinguish it more clearly from multibyte characters.
2459         Say "wide character" or "multibyte character" instead of
2460         "character", when a wide or multibyte character is intended.
2461         Similarly for "multibyte string" versus "string".
2462         Define these terms more carefully.
2464 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2466         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2467         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2468         Likewise.
2469         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2470         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2471         * sysdeps/sh/math_private.h: New file.
2472         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2473         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2474         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2475         long double function name.
2476         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2477         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2478         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2479         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2482         Remove __finitel, __isinfl, and __isnanl.
2483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2484         Likewise.
2485         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2487         Remove __finitel.
2488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2489         Likewise.
2490         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2492 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2494         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2495         installed libmvec_nonshared.a.
2497 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2499         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2500         (sysdep_routines): Likewise.
2501         (sysdep-rtld-routines): Likewise.
2502         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2503         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2504         * sysdeps/powerpc/Versions: Added new
2505         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2506         * sysdeps/powerpc/hwcapinfo.c: New file.
2507         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2508         and parse hwcap, hwcap2 and platform number information.
2509         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2510         to store HWCAP+HWCAP2 and platform number.
2511         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2512         for HWCAP+HWCAP2 and platform number in the TCB.
2513         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2514         the HWCAP, HWCAP2 and platform number in the TCB.
2515         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2516         (TLS_INIT_TP): Included calls to add the hwcap and
2517         at_platform values in the TCB in TP initialization.
2518         (TLS_DEFINE_INIT_TP): Likewise.
2519         (THREAD_GET_HWCAP): New macro.
2520         (THREAD_SET_HWCAP): Likewise.
2521         (THREAD_GET_AT_PLATFORM): Likewise.
2522         (THREAD_SET_AT_PLATFORM): Likewise.
2523         * sysdeps/powerpc/powerpc32/dl-machine.h:
2524         (dl_platform_init): New function that calls
2525         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2526         powerpc32.
2527         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2528         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2529         this functionality, static linking case.
2530         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2531         linking case.
2532         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2533         __parse_hwcap_and_convert_at_platform for the static linking case.
2534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2535         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2536         ABI list for GLIBC 2.23.
2537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2538         Likewise.
2539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2540         Likewise.
2542 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2544         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2545         * configure: Regenerate.
2546         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2547         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2549 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2551         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2552         * iconvdata/ibm933.c: Likewise.
2553         * iconvdata/ibm935.c: Likewise.
2554         * iconvdata/ibm937.c: Likewise.
2555         * iconvdata/ibm939.c: Likewise.
2557 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2559         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2560         pthread_join.
2561         * nptl/tst-cancel21.c (tf): Likewise.
2563 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2565         [BZ #19313]
2566         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2567         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2568         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2569         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2570         Likewise.
2571         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2572         Likewise.
2573         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2574         Likewise.
2575         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2576         Likewise.
2577         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2578         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2579         unsigned long int with __CPU_MASK_TYPE.
2581 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2583         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2585 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2587         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2588         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2589         t512.x.
2590         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2592 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2594         [BZ #19214]
2595         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2596         argument to return extended model.  Update family and model
2597         with extended family and model when family == 0x0f.
2598         (init_cpu_features): Updated.
2600 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2602         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2603         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2605         * sysdeps/mach/hurd/mmap64.c: New file.
2607 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2609         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2610         rights for its main user thread in NEWTASK.
2612 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2614         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2615         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2617 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2619         [BZ #14259]
2620         * Makeconfig: Rename localedir to complocaledir.
2621         Rename inst_localedir to inst_complocaledir.
2622         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2623         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2624         * configure.ac: Use libc_cv_complocaledir.
2625         * configure: Regenerate.
2626         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2627         -DCOMPLOCALEDIR.
2628         * locale/findlocale.c: Use COMPLOCALEDIR.
2629         * locale/loadarchive.c: Likewise.
2630         * locale/programs/locale.c: Likewise.
2631         * locale/programs/localedef.c: Likewise.
2632         * locale/programs/locarchive.c: Likewise.
2633         * localedata/Makefile: Use inst_complocaledir.
2634         * sysdeps/gnu/configure: Regenerate.
2635         * sysdeps/hppa/configure: Regenerate.
2636         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2637         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2639         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2640         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2641         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2642         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2644 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2646         [BZ #19058]
2647         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2648         AS_NEEDED.
2649         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2650         workaround.
2651         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2652         libmvec-static-only-routines): Added new file.
2653         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2655 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2657         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2658         of interrupted RPC instead of restoring it.
2660         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2661         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2662         libc_hidden_def.
2663         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2664         into initialized data instead of common. Define rtld_hidden_data_def.
2665         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2666         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2667         libc_hidden_def.
2668         (if_freenameindex): Add libc_hidden_weak.
2669         (if_nameindex): Add libc_hidden_weak.
2670         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2671         __open64.
2672         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2673         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2674         * sysdeps/mach/nanosleep.c: Include <time.h>
2675         (__nanosleep): Rename to __libc_nanosleep.
2676         (__nanosleep): Add weak_alias.
2677         (nanosleep): Update alias.
2679 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2681         * stdlib/strtod_nan.c: New file.
2682         * stdlib/strtod_nan_double.h: Likewise.
2683         * stdlib/strtod_nan_float.h: Likewise.
2684         * stdlib/strtod_nan_main.c: Likewise.
2685         * stdlib/strtod_nan_narrow.h: Likewise.
2686         * stdlib/strtod_nan_wide.h: Likewise.
2687         * stdlib/strtof_nan.c: Likewise.
2688         * stdlib/strtold_nan.c: Likewise.
2689         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2690         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2691         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2692         * wcsmbs/wcstod_nan.c: Likewise.
2693         * wcsmbs/wcstof_nan.c: Likewise.
2694         * wcsmbs/wcstold_nan.c: Likewise.
2695         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2696         strtold_nan.
2697         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2698         wcstof_nan.
2699         * include/stdlib.h (__strtof_nan): Declare and use
2700         libc_hidden_proto.
2701         (__strtod_nan): Likewise.
2702         (__strtold_nan): Likewise.
2703         (__wcstof_nan): Likewise.
2704         (__wcstod_nan): Likewise.
2705         (__wcstold_nan): Likewise.
2706         * include/wchar.h (____wcstoull_l_internal): Declare.
2707         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2708         (____strtoull_l_internal): Remove declaration.
2709         (STRTOF_NAN): Define macro.
2710         (SET_MANTISSA): Remove macro.
2711         (STRTOULL): Likewise.
2712         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2713         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2714         (STRTOF_NAN): Define macro.
2715         (SET_MANTISSA): Remove macro.
2716         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2717         (SET_MANTISSA): Remove macro.
2718         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2719         macro.
2720         (SET_MANTISSA): Remove macro.
2721         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2722         macro.
2723         (SET_MANTISSA): Remove macro.
2724         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2725         (SET_MANTISSA): Remove macro.
2726         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2727         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2728         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2730         [BZ #19266]
2731         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2732         upper case and lower case letters inside NAN(), not using TOLOWER.
2733         * stdlib/tst-strtod-nan-locale-main.c: New file.
2734         * stdlib/tst-strtod-nan-locale.c: Likewise.
2735         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2736         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2737         Depend on $(gen-locales).
2738         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2739         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2740         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2741         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2742         Depend on $(gen-locales).
2743         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2745 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2747         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2749         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2751         __finitel, __isinfl, and __isnanl.
2752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2753         Likewise.
2754         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2756         __finitel.
2757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2758         Likewise.
2759         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2761 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2763         * malloc/memusage.c (me): Remove redundant getenv call.
2765 2015-10-24  Florian Weimer  <fweimer@redhat.com>
2767         [BZ #19143]
2768         [BZ #19164]
2769         * nptl/check-cpuset.h: Remove.
2770         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2771         Remove CPU set size check.
2772         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2773         Likewise.
2774         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2775         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2776         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2777         (__pthread_setaffinity_new): Remove CPU set size check.
2778         * sysdeps/unix/sysv/linux/sched_setaffinity.c
2779         (__kernel_cpumask_size): Remove.
2780         (__sched_setaffinity_new): Remove CPU set size check.
2781         * manual/threads.texi (Default Thread Attributes): Remove stale
2782         reference to check_cpuset_attr, determine_cpumask_size in comment.
2783         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2784         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
2785         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2786         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2787         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2788         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2789         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2790         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2791         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2792         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2793         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2794         skeleton test file.
2795         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2796         tst-affinity-pid.
2798 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2800         * scripts/update-abilist.sh: New file.
2801         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2802         * Makerules (update-all-abi-%, update-all-abi)
2803         (subdir_update-all-abi): New targets.
2804         * elf/Makefile (update-all-abi): New target.
2806 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2808         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2809         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2810         (__libc_lock_define_initialized): Use it.
2811         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2812         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2813         * malloc/malloc.c (main_arena): Likewise.
2814         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2815         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2817 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2819         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2820         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2821         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2822         (PTRACE_O_MASK): Update value.
2823         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2824         New value in enum __ptrace_setoptions.
2825         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2826         (PTRACE_O_MASK): Update value.
2827         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2828         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2829         (PTRACE_O_MASK): Update value.
2830         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2831         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2832         (PTRACE_O_MASK): Update value.
2833         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2834         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2835         (PTRACE_O_MASK): Update value.
2836         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2837         New value in enum __ptrace_setoptions.
2838         (PTRACE_O_MASK): Update value.
2839         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2840         New value in enum __ptrace_setoptions.
2841         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2842         (PTRACE_O_MASK): Update value.
2844         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2845         New macro.
2846         (PACKET_AUXDATA): Likewise.
2847         (PACKET_ORIGDEV): Likewise.
2848         (PACKET_VERSION): Likewise.
2849         (PACKET_HDRLEN): Likewise.
2850         (PACKET_RESERVE): Likewise.
2851         (PACKET_TX_RING): Likewise.
2852         (PACKET_LOSS): Likewise.
2853         (PACKET_VNET_HDR): Likewise.
2854         (PACKET_TX_TIMESTAMP): Likewise.
2855         (PACKET_TIMESTAMP): Likewise.
2856         (PACKET_FANOUT): Likewise.
2857         (PACKET_TX_HAS_OFF): Likewise.
2858         (PACKET_QDISC_BYPASS): Likewise.
2859         (PACKET_ROLLOVER_STATS): Likewise.
2860         (PACKET_FANOUT_DATA): Likewise.
2861         (PACKET_MR_UNICAST): Likewise.
2863         [BZ #19242]
2864         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2865         (TOUPPER): Likewise.
2866         * stdlib/tst-strtol-locale-main.c: New file.
2867         * stdlib/tst-strtol-locale.c: Likewise.
2868         * stdlib/Makefile (tests): Add tst-strtol-locale.
2869         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2870         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2871         Depend on $(gen-locales).
2872         * wcsmbs/tst-wcstol-locale.c: New file.
2873         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2874         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2875         tr_TR.ISO-8859-9.
2876         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2877         Depend on $(gen-locales).
2879 2015-11-20  Roland McGrath  <roland@hack.frob.com>
2881         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2882         __glibc_likely instead of __builtin_expect.  After falling back to
2883         dyncode_create in a non-ET_DYN case, use the allocate_code_data
2884         system interface to register the code pages as occupied.
2886 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
2888         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2889         [!ARM_MATH_PRIVATE_H].
2890         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2891         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2892         [!HPPA_MATH_PRIVATE_H].
2893         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2894         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2895         to [!I386_MATH_PRIVATE_H].
2896         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2897         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2898         Change guard to [!M68K_MATH_PRIVATE_H].
2899         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2900         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2901         guard to [!MICROBLAZE_MATH_PRIVATE_H].
2902         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2903         macro.
2904         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2905         [!MIPS_MATH_PRIVATE_H].
2906         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2907         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2908         [!NIO2_MATH_PRIVATE_H].
2909         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2910         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2911         [!TILE_MATH_PRIVATE_H].
2912         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2914         [BZ #15421]
2915         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2916         initialize with 0 and define as weak alias of __signgam.
2917         * include/math.h [!_ISOMAC] (__signgam): Declare.
2918         * math/Makefile (libm-calls): Add w_lgamma_compat.
2919         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2920         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2921         test-signgam-ullong-init.
2922         (tests-static): Add test-signgam-uchar-static,
2923         test-signgam-uchar-init-static, test-signgam-uint-static,
2924         test-signgam-uint-init-static, test-signgam-ullong-static and
2925         test-signgam-ullong-init-static.
2926         (CFLAGS-test-signgam-uchar.c): New variable.
2927         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2928         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2929         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2930         (CFLAGS-test-signgam-uint.c): Likewise.
2931         (CFLAGS-test-signgam-uint-init.c): Likewise.
2932         (CFLAGS-test-signgam-uint-static.c): Likewise.
2933         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2934         (CFLAGS-test-signgam-ullong.c): Likewise.
2935         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2936         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2937         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2938         * math/Versions (libm): Add GLIBC_2.23.
2939         * math/lgamma-compat.h: New file.
2940         * math/test-signgam-main.c: Likewise.
2941         * math/test-signgam-uchar-init-static.c: Likewise.
2942         * math/test-signgam-uchar-init.c: Likewise.
2943         * math/test-signgam-uchar-static.c: Likewise.
2944         * math/test-signgam-uchar.c: Likewise.
2945         * math/test-signgam-uint-init-static.c: Likewise.
2946         * math/test-signgam-uint-init.c: Likewise.
2947         * math/test-signgam-uint-static.c: Likewise.
2948         * math/test-signgam-uint.c: Likewise.
2949         * math/test-signgam-ullong-init-static.c: Likewise.
2950         * math/test-signgam-ullong-init.c: Likewise.
2951         * math/test-signgam-ullong-static.c: Likewise.
2952         * math/test-signgam-ullong.c: Likewise.
2953         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2954         wrapper of w_lgamma_main.c.
2955         * math/w_lgamma_compat.c: New file.
2956         * math/w_lgamma_compatf.c: Likewise.
2957         * math/w_lgamma_compatl.c: Likewise.
2958         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
2959         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2960         defining compatibility symbols.
2961         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
2962         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2963         wrapper of w_lgammaf_main.c.
2964         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
2965         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2966         defining compatibility symbols.
2967         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
2968         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2969         wrapper of w_lgammal_main.c.
2970         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
2971         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2972         defining compatibility symbols.
2973         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
2974         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2975         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2976         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
2977         <lgamma-compat.h>.
2978         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
2979         (__ieee754_gamma): Define as alias.
2980         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2981         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2982         <lgamma-compat.h>.
2983         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2984         (__ieee754_gammaf): Define as alias.
2985         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2986         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2987         <lgamma-compat.h>.
2988         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2989         (__ieee754_gammal): Define as alias.
2990         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2991         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2992         <math/w_lgamma_compat.c>.
2993         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2994         Define as alias of __lgamma_compat and use in defining lgammal.
2995         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2996         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2997         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2998         (USE_AS_COMPAT): New macro.
2999         (LGAMMA_OLD_VER): Undefine and redefine.
3000         (lgammal): Do not define here.
3001         (gammal): Only define here if [GAMMA_ALIAS].
3002         * conform/linknamespace.pl (@whitelist): Remove signgam.
3003         * sysdeps/nacl/libm.abilist: Update.
3004         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3005         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3006         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3007         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3008         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3009         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3010         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3011         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3012         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3013         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3014         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3015         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3017         Likewise.
3018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3019         Likewise.
3020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3021         Likewise.
3022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3023         Likewise.
3024         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3025         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3026         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3027         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3028         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3030         Likewise.
3031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3032         Likewise.
3033         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3034         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3035         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3037 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3039         [BZ #16364]
3040         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3041         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3043 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3045         * sysdeps/s390/fpu/bits/mathinline.h:
3046         Use __asm__ [__volatile__] instead of asm [volatile].
3047         * sysdeps/s390/abort-instr.h: Likewise.
3048         * sysdeps/s390/atomic-machine.h: Likewise.
3049         * sysdeps/s390/bits/string.h: Likewise.
3050         * sysdeps/s390/dl-tls.h: Likewise.
3051         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3052         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3053         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3054         * sysdeps/s390/fpu/fesetround.c: Likewise.
3055         * sysdeps/s390/fpu/fpu_control.h: Likewise.
3056         * sysdeps/s390/fpu/s_fma.c: Likewise.
3057         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3058         * sysdeps/s390/memusage.h: Likewise.
3059         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3060         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3061         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3062         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3063         * sysdeps/s390/nptl/tls.h: Likewise.
3064         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3065         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3066         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3067         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3068         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3069         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3070         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3071         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3072         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3073         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3074         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3075         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3076         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3077         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3078         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3079         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3080         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3081         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3082         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3084         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3085         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3086         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3088 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3089             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3091         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3092         Add lwarx hint, and use macro for acquire instruction.
3093         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3094         Likewise.
3095         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3096         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3097         update to use new atomic macros.
3099 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3101         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3102         (__lll_trylock_elision): Fix setting of adapt_count.
3103         * sysdeps/unix/sysv/linux/powerpc/htm.h
3104         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3105         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3106         (_ABORT_SYSCALL): Renumber, and clarify definition.
3107         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3109 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3111         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3112         after system headers to prevent MIN/MAX redefinition.  Define
3113         HAVE_ALLOCA to preserve builtin alloca usage.
3115 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3117         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3118         static and don't set or restore rounding.
3119         (__cos)[IN_SINCOS]: Likewise.
3120         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3121         (__sincos): Set and restore rounding mode.  Remove check for infinite
3122         or NaN input.
3124         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3126         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3127         as used.
3129 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3131         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3133 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3135         * config.make.in (have-glob-dat-reloc): New.
3136         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
3137         target supports GLOB_DAT relocaton. AC_SUBST.
3138         * configure: Regenerated.
3139         * elf/Makefile (tests): Add tst-prelink.
3140         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3141         (tst-prelink-ENV): New.
3142         ($(objpfx)tst-prelink-conflict.out): Likewise.
3143         ($(objpfx)tst-prelink-cmp.out): Likewise.
3144         * sysdeps/x86/tst-prelink.c: Moved to ...
3145         * elf/tst-prelink.c: Here.
3146         * sysdeps/x86/tst-prelink.exp: Moved to ...
3147         * elf/tst-prelink.exp: Here.
3148         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3149         (tst-prelink-ENV): Removed.
3150         ($(objpfx)tst-prelink-conflict.out): Likewise.
3151         ($(objpfx)tst-prelink-cmp.out): Likewise.
3152         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3154 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
3156         [BZ #14551]
3157         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3158         (__mpn_construct_long_double): If high part overflows to infinity,
3159         set errno and recompute overflowed result of the correct sign.
3160         * sysdeps/ieee754/ldbl-128ibm/Makefile
3161         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3162         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3163         $(libm).
3164         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3166 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
3168         [BZ #15479]
3169         [BZ #19238]
3170         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3171         floating-point state after first operation on input.  Restore full
3172         state rather than just rounding mode.
3173         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3174         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3175         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3177         [BZ #19235]
3178         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3179         add 0.5 to integer arguments.
3180         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3181         Likewise.
3182         (.LC2): New object.
3184 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3186         * scripts/pylintrc (reports): Set to no.
3188 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3190         * elf/dl-load.c (open_verify): Take new argument FD.
3191         Skip __open call if passed FD is not -1.
3192         (_dl_map_object, open_path): Update callers.
3193         * elf/dl-sysdep-open.h: New file.
3194         * elf/dl-load.c: Include it.
3195         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3196         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3197         * sysdeps/nacl/dl-sysdep-open.h: New file.
3198         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3199         from libc to rtld.
3201 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3203         [BZ #19228]
3204         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3205         and restore full floating-point state.
3206         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3207         Likewise.
3208         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3209         Likewise.
3210         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3211         Likewise.
3212         * math/test-nearbyint-except-2.c: New file.
3213         * math/Makefile (tests): Add test-nearbyint-except-2.
3215 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3217         [BZ #19178]
3218         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3219         (tst-prelink-ENV): New.
3220         ($(objpfx)tst-prelink-conflict.out): Likewise.
3221         ($(objpfx)tst-prelink-cmp.out): Likewise.
3222         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3223         * sysdeps/x86/tst-prelink.c: New file.
3224         * sysdeps/x86/tst-prelink.exp: Likewise.
3226 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3228         * math/auto-libm-test-in: Add another test of pow.
3229         * math/auto-libm-test-out: Regenerated.
3230         * math/libm-test.inc (pow_test_data): Add another test.
3232 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3234         [BZ #19219]
3235         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3236         weak_alias to nearbyintl.
3238 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3240         * sysdeps/aarch64/bits/string.h: New file.
3241         (_STRING_ARCH_unaligned): Define.
3243 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3245         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3246         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3247         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3248         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3251 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3253         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3254         for original name of the DSO.  Add it to the name list of the DSO
3255         if it is actually given.
3256         (_dl_map_object): Keep track of whether an audit module rewrote
3257         the file name.  If yes, pass the original name to
3258         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3259         debugging is enabled, log the change of the file name.
3260         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3261         _dl_map_object_from_fd.
3262         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3263         * elf/tst-audit11.c: New file
3264         * elf/tst-auditmod11.c: New file.
3265         * elf/tst-audit11mod1.c: New file.
3266         * elf/tst-audit11mod2.c: New file.
3267         * elf/tst-audit11mod2.map: New file.
3268         * elf/tst-audit12.c: New file
3269         * elf/tst-auditmod12.c: New file.
3270         * elf/tst-audit12mod1.c: New file.
3271         * elf/tst-audit12mod2.c: New file.
3272         * elf/tst-audit12mod2.map: New file.
3273         * elf/tst-audit12mod3.c: New file.
3275 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3277         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3278         Don't create weak aliases,
3279         because versioned symbols are created later.
3280         * sysdeps/s390/s390-32/setjmp.S
3281         (setjmp, _setjmp): Remove weak and rename to an unique name
3282         in SHARED case due to existing versioned symbols.
3283         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3284         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3285         (getcontext): Create weak alias only in non SHARED case.
3286         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3288 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3290         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3291         (__ASSUME_*_SYSCALL) Define new macros.
3292         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3293         Remove socketcall syscalls.
3294         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3295         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3296         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3297         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3298         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3299         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3301 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3303         [BZ #12926]
3304         Terminate process on invalid netlink response.
3305         * sysdeps/unix/sysv/linux/netlinkaccess.h
3306         (__netlink_assert_response): Declare.
3307         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3308         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3309         (sysdep_routines): Add netlink_assert_response.
3310         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3311         __netlink_assert_response.
3312         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3313         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3314         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3315         __netlink_assert_response.
3317 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
3319         [BZ #19178]
3320         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3321         (RTYPE_CLASS_PLT): Likewise.
3322         (RTYPE_CLASS_COPY): Likewise.
3323         (RTYPE_CLASS_TLS): Likewise.
3324         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3325         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
3326         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3327         DL_DEBUG_PRELINK.
3329 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3331         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3332         calls with argument -0.5.
3333         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3335         * configure.ac (libc_cv_z_nodelete): Remove configure test.
3336         (libc_cv_z_nodlopen): Likewise.
3337         (libc_cv_z_initfirst): Likewise.
3338         * configure: Regenerated.
3340 2015-11-06  Florian Weimer  <fweimer@redhat.com>
3342         Simplify abilist format to be line-based.
3343         * scripts/abilist.awk: Collect descriptors in the descs variable.
3344         (emit): Write descs variable and sort it
3345         externally, with sort.
3346         * sysdeps/**/*.abilist: Convert to new format.
3348 2015-11-06  Mark Wielaard  <mjw@redhat.com>
3350         [BZ #11460]
3351         * io/Makefile (routines): Add fts64.
3352         (tests): Add tst-fts and tst-fts-lfs.
3353         (CFLAGS-fts64.c): New.
3354         * io/Versions (GLIBC_2.23): New.
3355         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3356         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3357         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3358         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3359         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3360         (FTSENT64): Likewise.
3361         (fts64_children): Likewise.
3362         (fts64_close): Likewise.
3363         (fts64_open): Likewise.
3364         (fts64_read): Likewise.
3365         (fts64_set): Likewise.
3366         * io/fts64.c: New file.
3367         * io/tst-fts.c: New test.
3368         * io/tst-fts-lfs.c: Likewise.
3369         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3370         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3371         fts64_set.
3372         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3373         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3374         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3375         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3376         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3377         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3378         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3379         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3380         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3381         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3382         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3383         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3384         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3386         Likewise.
3387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3388         Likewise.
3389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3391         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3392         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3393         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3394         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3395         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3398         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3399         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3400         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3401         * sysdeps/wordsize-64/fts.c: New file.
3402         * sysdeps/wordsize-64/fts64.c: Likewise.
3403         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3404         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3405         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3406         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3408 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3410         * math/libm-test.inc (NON_FINITE): New macro.
3411         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3412         * math/gen-libm-test.pl (show_exceptions): Add argument
3413         $non_finite.
3414         (parse_args): Update call to show_exceptions.
3415         * math/test-math-finite.h: New file.
3416         * math/test-math-no-finite.h: Likewise.
3417         * math/test-double-finite.c: Likewise.
3418         * math/test-float-finite.c: Likewise.
3419         * math/test-ldouble-finite.c: Likewise.
3420         * math/test-double.c: Include "test-math-no-finite.h".
3421         * math/test-float.c: Include "test-math-no-finite.h".
3422         * math/test-ldouble.c: Include "test-math-no-finite.h".
3423         * math/test-math-inline.h (TEST_FINITE): New macro.
3424         * math/test-math-vector.h (TEST_FINITE): Likewise.
3425         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3426         (libm-tests): Add test-float-finite and test-double-finite.
3427         ($(objpfx)test-float-finite.o): New dependency on
3428         $(objpfx)libm-test.stmp.
3429         ($(objpfx)test-double-finite.o): Likewise.
3430         ($(objpfx)test-ldouble-finite.o): Likewise.
3431         (libm-test-no-inline-cflags): New variable.
3432         (libm-test-finite-cflags): Likewise.
3433         (CFLAGS-test-float-finite.c): Likewise.
3434         (CFLAGS-test-double-finite.c): Likewise.
3435         (CFLAGS-test-ldouble-finite.c): Likewise.
3436         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3437         (CFLAGS-test-double.c): Likewise.
3438         (CFLAGS-test-ldouble.c): Likewise.
3440 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3442         * io/fcntl.c (__fcntl): Add ... to prototype.
3443         * misc/ioctl.c (__ioctl): Likewise.
3444         * misc/syscall.c (syscall): Likewise.
3446 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3448         * scripts/list-fixed-bugs.py: New file.
3450         [BZ #19213]
3451         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3452         returned for argument 1.
3453         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3454         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3455         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3456         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3457         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3458         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3460         [BZ #19211]
3461         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3462         __USE_XOPEN], not if [!__USE_ISOC99].
3463         (lgammaf): Likewise.
3464         (lgammal): Likewise.
3465         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3466         (gammaf): Likewise.
3467         (gammal): Likewise.
3468         * math/test-signgam-finite-c11.c: New file.
3469         * math/test-signgam-finite-c99.c: Likewise.
3470         * math/test-signgam-finite.c: Likewise.
3471         * math/Makefile (tests): Add test-signgam-finite,
3472         test-signgam-finite-c99 and test-signgam-finite-c11.
3473         (CFLAGS-test-signgam-finite.c): New variable.
3474         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3475         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3477         [BZ #19212]
3478         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3479         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3480         500].
3481         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3482         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3483         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3484         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3485         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3486         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3487         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3488         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3489         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3490         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3492         [BZ #19209]
3493         * math/bits/math-finite.h (ldexp): Remove declaration.
3494         (ldexpf): Likewise.
3495         (ldexpl): Likewise.
3497         [BZ #19205]
3498         * math/bits/math-finite.h (acosf): Condition declaration on
3499         [__USE_ISOC99].
3500         (acosl): Likewise.
3501         (acoshf): Likewise.
3502         (acoshl): Likewise.
3503         (asinf): Likewise.
3504         (asinl): Likewise.
3505         (atan2f): Likewise.
3506         (atan2l): Likewise.
3507         (atanhf): Likewise.
3508         (atanhl): Likewise.
3509         (coshf): Likewise.
3510         (coshl): Likewise.
3511         (expf): Likewise.
3512         (expl): Likewise.
3513         (fmodf): Likewise.
3514         (fmodl): Likewise.
3515         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3516         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3517         (j0l): Likewise.
3518         (y0f): Likewise.
3519         (y0l): Likewise.
3520         (j1f): Likewise.
3521         (j1l): Likewise.
3522         (y1f): Likewise.
3523         (y1l): Likewise.
3524         (jnf): Likewise.
3525         (jnl): Likewise.
3526         (ynf): Likewise.
3527         (ynl): Likewise.
3528         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3529         (lgammal_r): Likewise.
3530         (__lgamma_r_finite): New declaration.
3531         (__lgammaf_r_finite): Likewise.
3532         (__lgammal_r_finite): Likewise.
3533         (lgamma): Use __lgamma_r_finite.
3534         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3535         __lgammaf_r_finite.
3536         (lgammal): Condition definition on [__USE_ISOC99].  Use
3537         __lgammal_r_finite.
3538         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3539         __lgamma_r_finite.
3540         (gammaf): Condition definition on [__USE_ISOC99].  Use
3541         __lgammaf_r_finite.
3542         (gammal): Condition definition on [__USE_ISOC99].  Use
3543         __lgammal_r_finite.
3544         (logf): Condition declaration on [__USE_ISOC99].
3545         (logl): Likewise.
3546         (log10f): Likewise.
3547         (log10l): Likewise.
3548         (ldexpf): Likewise.
3549         (ldexpl): Likewise.
3550         (powf): Likewise.
3551         (powl): Likewise.
3552         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3553         __USE_ISOC99].
3554         (remainderf): Condition declaration on [__USE_ISOC99].
3555         (remainderl): Likewise.
3556         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3557         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3558         (scalbl): Likewise.
3559         (sinhf): Condition declaration on [__USE_ISOC99].
3560         (sinhl): Likewise.
3561         (sqrtf): Likewise.
3562         (sqrtl): Likewise.
3564 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3566         * sysdeps/arm/atomic-machine.h
3567         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3568         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3569         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3570         Remove conditional code.
3571         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3572         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3573         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3574         Change conditional to [__ASSEMBLER__].
3575         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3576         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3577         [!__ASSEMBLER__].
3578         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3579         code.
3580         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3581         conditional macro definitions.
3582         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3583         (__arch_compare_and_exchange_val_16_acq): Likewise.
3584         (__arch_compare_and_exchange_val_32_acq): Likewise.
3585         (atomic_exchange_and_add): Likewise.
3586         (atomic_add): Likewise.
3587         (atomic_add_negative): Likewise.
3588         (atomic_add_zero): Likewise.
3589         (atomic_bit_set): Likewise.
3590         (atomic_bit_test_set): Likewise.
3591         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3592         code unconditional.
3593         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3595         * math/test-math-errno.h: New file.
3596         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3597         empty.
3598         (TEST_ERRNO): New macro.
3599         (TEST_EXCEPTIONS): Likewise.
3600         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3601         (TEST_EXCEPTIONS): Likewise.
3602         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3603         * math/test-double.c: Include "test-math-errno.h".
3604         * math/test-float.c: Likewise.
3605         * math/test-ldouble.c: Likewise.
3606         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3607         code unconditional.
3608         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3609         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3610         unconditional.
3611         (test_errno): Only run code if TEST_ERRNO.
3612         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3614 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3616         * nptl/tst-once5.cc: Remove attribution.
3618 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3620         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3621         sqrt, tan, tanh, y0, y1 and yn.
3622         * math/auto-libm-test-out: Regenerated.
3623         * math/libm-test.inc (scalb_test_data): Add more tests.
3624         (scalbn_test_data): Likewise.
3625         (scalbln_test_data): Likewise.
3626         (signbit_test_data): Likewise.
3627         (sin_test_data): Likewise.
3628         (sincos_test_data): Likewise.
3629         (sinh_test_data): Likewise.
3630         (sqrt_test_data): Likewise.
3631         (tan_test_data): Likewise.
3632         (tanh_test_data): Likewise.
3633         (tgamma_test_data): Likewise.
3634         (y0_test_data): Likewise.
3635         (y1_test_data): Likewise.
3636         (yn_test_data): Likewise.
3637         (significand_test_data): Likewise.
3638         * sysdeps/i386/fpu/libm-test-ulps: Update.
3640 2015-11-03  David Kastrup  <dak@gnu.org>
3642         [BZ #18604]
3643         * assert/assert.h (assert): Don't macro-expand failed assertion
3644         expression in error message.
3645         * malloc/malloc.c (assert): Likewise.
3647 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3649         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3650         test.
3651         * configure: Regenerated.
3653 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3655         * math/libm-test.inc (modf_test_data): Add more tests.
3656         (nearbyint_test_data): Likewise.
3657         (nextafter_test_data): Likewise.
3658         (nexttoward_test_data): Likewise.
3659         (pow_test_data): Likewise.
3660         (remainder_test_data): Likewise.
3661         (remquo_test_data): Likewise.
3662         (rint_test_data): Likewise.
3664         [BZ #19201]
3665         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3666         Check for zero remainder in case of large exponents and ensure
3667         correct sign of result in that case.
3668         * math/libm-test.inc (remainder_test_data): Add more tests.
3670         [BZ #6799]
3671         * math/s_nextafter.c: Include <errno.h>.
3672         (__nextafter): Set errno on overflow and underflow.
3673         * math/s_nexttowardf.c: Include <errno.h>.
3674         (__nexttowardf): Set errno on overflow and underflow.
3675         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3676         (__nextafterl): Set errno on overflow and underflow.
3677         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3678         (__nexttoward): Set errno on overflow and underflow.
3679         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3680         (__nexttowardf): Set errno on overflow and underflow.
3681         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3682         (__nextafterf): Set errno on overflow and underflow.
3683         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3684         (__nextafterl): Set errno on overflow and underflow.
3685         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3686         (__nexttoward): Set errno on overflow and underflow.
3687         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3688         (__nexttowardf): Set errno on overflow and underflow.
3689         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3690         (__nextafterl): Set errno on overflow and underflow.
3691         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3692         (__nexttoward): Set errno on overflow and underflow.
3693         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3694         (__nexttowardf): Set errno on overflow and underflow.
3695         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3696         (__nexttoward): Set errno on overflow and underflow.
3697         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3698         (__nexttowardf): Set errno on overflow and underflow.
3699         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3700         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3701         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3702         (__nextafterl): Set errno on overflow and underflow.
3703         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3704         setting to be missing on overflow.  Add more tests.
3705         (nexttoward_test_data): Likewise.
3707         * configure.ac (libc_cv_initfini_array): Remove configure test.
3708         * configure: Regenerated.
3710 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3712         [BZ #19189]
3713         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3714         non-finite argument handle arguments with negative sign.
3716         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3717         result from infinite argument.
3718         (j1_test_data): Likewise.
3719         (jn_test_data): Likewise.
3720         (y0_test_data): Likewise.
3721         (y1_test_data): Likewise.
3722         (yn_test_data): Likewise.
3724         [BZ #16171]
3725         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3726         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3727         * math/w_remainderf.c (dremf): Define as weak alias of
3728         __remainderf.
3729         * math/w_remainderl.c (dreml): Define as weak alias of
3730         __remainderl.
3731         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3732         __remainder.
3733         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3734         __remainderf.
3735         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3736         __remainderl.
3737         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3738         weak alias of remainderl.
3739         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3740         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3741         alias of __remainder.
3742         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3743         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3744         strong alias of __remainderl.
3745         (dreml): Use long_double_symbol.
3746         * math/Makefile (libm-calls): Remove w_drem.
3747         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3748         (CFLAGS-nldbl-drem.c): Remove variable.
3749         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3750         * math/w_drem.c: Remove file.
3751         * math/w_dremf.c: Likewise.
3752         * math/w_dreml.c: Likewise.
3753         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3754         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3755         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3757         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3758         * sysdeps/i386/configure: Regenerated.
3759         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3760         * sysdeps/x86_64/configure: Regenerated.
3762         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3763         test.
3764         (libc_cv_visibility_attribute): Likewise.
3765         (libc_cv_protected_data): Test unconditionally.
3766         (libc_cv_broken_visibility_attribute): Remove configure test.
3767         (libc_cv_have_sdata_section): Test unconditionally.
3768         * configure: Regenerated.
3770         * include/libc-internal.h (libc_max_align_t): Remove typedef.
3771         * include/scratch_buffer.h: Include <stddef.h> instead of
3772         <libc-internal.h>.
3773         (struct scratch_buffer): Use max_align_t instead of
3774         libc_max_align_t.
3776 2015-10-29  Florian Weimer  <fweimer@redhat.com>
3778         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3779         instead of extend_alloca.  Change control flow to avoid a goto.
3780         Remove assert which is trivially always true.
3782 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3784         [BZ #16068]
3785         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3786         (FE_ALL_EXCEPT_X86): New macro.
3787         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3788         FE_ALL_EXCEPT.  Ensure precision control is included in
3789         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3790         handle "denormal operand exception" and clear FZ and DAZ bits.
3791         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3792         (FE_ALL_EXCEPT_X86): New macro.
3793         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3794         FE_ALL_EXCEPT.  Ensure precision control is included in
3795         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3796         handle "denormal operand exception" and clear FZ and DAZ bits.
3797         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3798         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3799         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3800         test-fenv-x87 and test-fenv-sse-2.
3801         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3803         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3804         * math/test-double.h (BUILD_COMPLEX): New macro.
3805         * math/test-float.h (BUILD_COMPLEX): Likewise.
3806         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3808         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3809         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3810         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3812         instead of DBL_DENORM_MIN in comment.
3813         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3814         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3815         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3816         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3817         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3818         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3820 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3822         [BZ# 19048]
3823         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3824         attached_threads member.
3825         (main_arena): Initialize attached_threads.
3826         * malloc/arena.c (list_lock): Update comment.
3827         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3828         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3829         (deattach_arena): New function.
3830         (_int_new_arena): Initialize arena reference count and deattach
3831         replaced arena.
3832         (get_free_list, reused_arena): Update reference count and deattach
3833         replaced arena.
3834         (arena_thread_freeres): Update arena reference count and only put
3835         unreferenced arenas on the free list.
3837 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3839         [BZ #19181]
3840         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3841         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3842         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3843         * math/test-fenv-clear-main.c: New file.
3844         * math/test-fenv-clear.c: Likewise.
3845         * math/Makefile (tests): Add test-fenv-clear.
3846         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3847         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3848         test-fenv-clear-sse.
3849         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3851         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3852         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3853         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3855 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3857         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3858         static libc.
3860 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3862         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3863         test.
3864         * sysdeps/i386/configure: Regenerated.
3865         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3866         test.
3867         * sysdeps/x86_64/configure: Regenerated.
3868         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3869         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3870         memset-avx2 unconditionally instead of conditionally on
3871         [$(config-cflags-avx2) = yes].
3872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3873         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3874         unconditional.
3875         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3876         * sysdeps/x86_64/multiarch/memset_chk.S
3877         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3878         to [IS_IN (libc) && SHARED].
3880 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3882         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3883         configure test.
3884         * sysdeps/arm/configure: Regenerated.
3885         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3886         Define variable if not already defined.
3888         [BZ #17404]
3889         * sysdeps/mips/atomic-machine.h
3890         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3891         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3892         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3894         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3895         unconditional.
3896         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3897         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3898         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3899         unconditional.
3900         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3901         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3902         unconditional.
3903         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3904         * stdlib/setenv.c
3905         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3906         code unconditional.
3907         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3908         Remove conditional code.
3909         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3910         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3911         unconditional.
3912         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3913         code.
3914         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3915         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3916         unconditional.
3917         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3918         code.
3919         * sysdeps/ieee754/ldbl-128/k_tanl.c
3920         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3921         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3922         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3923         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3924         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3925         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3926         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3927         unconditional.
3928         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3929         code.
3930         * sysdeps/ieee754/ldbl-96/k_tanl.c
3931         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3932         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3934         * nptl/tst-initializers1-c11.c: New file.
3935         * nptl/tst-initializers1-gnu11.c: Likewise.
3936         * nptl/Makefile (tests): Add these new tests.
3937         (CFLAGS-tst-initializers1-c11.c): New variable.
3938         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3940         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3941         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3942         instead of -std=gnu99.
3943         * configure.ac (systemtap): Test with -std=gnu11 instead of
3944         -std=gnu99.
3945         * configure: Regenerated.
3946         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3947         in compilation command in comment.
3949         * sysdeps/nptl/configure.ac: Remove file.
3950         * sysdeps/nptl/configure: Remove generated file.
3951         * configure.ac (libc_cv_forced_unwind): Do not substitute.
3952         * configure: Regenerated.
3953         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3954         * config.make.in (have-forced-unwind): Remove variable.
3955         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3956         unconditional.
3957         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3958         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3959         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3960         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3961         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3962         unconditional.
3964 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3966         [BZ #19174]
3967         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3968         .skip_lock_out_of_tbegin_retries.
3969         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3970         (__lll_lock_elision): Likewise, and respect a value of
3971         try_tbegin <= 0.
3973 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3975         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3976         statement.
3978 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3980         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3981         variable.
3982         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3983         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3985         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3986         of -std=c1x -D_ISOC11_SOURCE.
3988         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3989         * configure: Regenerated.
3990         * manual/install.texi (Tools for Compilation): Document
3991         requirement for GCC 4.7 or later.
3992         * INSTALL: Regenerated.
3994 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3996         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3997         on CNT to a conditional jump to 'puntdata'.
3999 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4001         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4002         (libc_cv_gcc_tls_model_attr): Likewise.
4003         * configure: Regenerated.
4005         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4006         * configure: Regenerated.
4007         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4009 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
4011         * configure.ac (old_glibc_headers): Remove configure test.
4012         * configure: Regenerated.
4013         * config.make.in (old-glibc-headers): Remove variable.
4014         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4015         (install): Remove dependency on remove-old-headers.
4016         (headers2_0): Remove variable.
4017         (remove-old-headers): Remove rule.
4019         * configure.ac (libc_cv_dot_text): Remove configure test.
4020         (libc_cv_asm_set_directive): Use .text instead of
4021         ${libc_cv_dot_text} in configure test.
4022         * configure: Regenerated.
4024 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4026         [BZ #19168]
4027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4029 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4031         * configure.ac (CXX): Clear the variable if the C++ toolchain does
4032         not support static linking.
4033         * configure: Regenerate.
4035 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
4037         * math/libm-test.inc (check_float_internal): Do not special-case
4038         errors up to 0.5 ulp.
4040         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4041         log2.
4042         * math/auto-libm-test-out: Regenerated.
4043         * math/libm-test.inc (MAX_EXP): New macro.
4044         (ilogb_test_data): Add more tests.
4045         (isfinite_test_data): Likewise.
4046         (isgreater_test_data): Likewise.
4047         (isgreaterequal_test_data): Likewise.
4048         (isinf_test_data): Likewise.
4049         (isless_test_data): Likewise.
4050         (islessequal_test_data): Likewise.
4051         (islessgreater_test_data): Likewise.
4052         (isnan_test_data): Likewise.
4053         (isnormal_test_data): Likewise.
4054         (issignaling_test_data): Likewise.
4055         (isunordered_test_data): Likewise.
4056         (j0_test_data): Likewise.
4057         (j1_test_data): Likewise.
4058         (jn_test_data): Likewise.
4059         (lgamma_test_data): Likewise.
4060         (log_test_data): Likewise.
4061         (log10_test_data): Likewise.
4062         (log1p_test_data): Likewise.
4063         (log2_test_data): Likewise.
4064         (logb_test_data): Likewise.
4065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4067         [BZ #18611]
4068         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4069         avoid excess range and precision on underflow.
4070         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4071         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4072         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4073         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4074         underflow.
4075         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4076         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4077         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4078         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4079         * math/auto-libm-test-in: Do not allow missing errno setting for
4080         tests of j1 and jn.
4081         * math/auto-libm-test-out: Regenerated.
4083 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
4085         [BZ #15491]
4086         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4087         floating-point environment instead of clearing all exceptions.
4088         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4089         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4090         merging in "invalid" exceptions from frndint.
4091         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4092         * math/test-nearbyint-except.c: New file.
4093         * math/Makefile (tests): Add test-nearbyint-except.
4095 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
4097         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4099         * sysdeps/tile/libm-test-ulps: Regenerated.
4101 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4104         (__NR_sync_file_range2): Assume it is always defined.
4105         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4106         (__NR_sync_file_range): Assume it is always defined.
4108 2015-10-22  Andreas Schwab  <schwab@suse.de>
4110         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4111         INTERNAL_SYSCALL_ERRNO.
4112         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4113         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4114         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4115         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4116         Likewise.
4117         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4119 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4121         * io/tst-fcntl.c (fd): New static variable.
4122         (do_prepare): Open temporary file here....
4123         (do_test): ...not here.
4125         * io/ftwtest-sh: Also trap on exit to remove temporary files.
4127 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4129         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4130         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4131         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4132         Moved before "#ifdef __ASSEMBLER__".
4134 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4136         [BZ #19156]
4137         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4138         arguments very close to 0.
4140 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
4142         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4143         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4145 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4147         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4148         New.  Defined for GCC 5 and above when not compiling for
4149         profiling.
4150         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4152         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4153         Renamed to ...
4154         (CFLAGS-epoll_pwait.o): This.
4155         (CFLAGS-mmap.c): Renamed to ...
4156         (CFLAGS-mmap.o): This.
4157         (CFLAGS-mmap64.c): Renamed to ...
4158         (CFLAGS-mmap64.o): This.
4159         (CFLAGS-epoll_pwait.os): New.
4160         (CFLAGS-mmap.os): Likewise.
4161         (CFLAGS-mmap64.os): Likewise.
4162         (CFLAGS-semtimedop.os): Likewise.
4163         (CFLAGS-semtimedop.c): Renamed to ...
4164         (CFLAGS-semtimedop.o): This.
4166 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4168         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4169         warning message.
4171 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4173         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4174         * Makefile ($(objpfx)c++-types-check.out): Filter out
4175         $(+gccwarn-c) instead of -Wstrict-prototypes.
4177         * io/fts.c (fts_open): Convert to prototype-style function
4178         definition.
4179         * malloc/mcheck.c (mcheck): Likewise.
4180         (mcheck_pedantic): Likewise.
4181         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4182         internal_function.
4183         (re_search_internal): Likewise.
4184         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4185         prototype-style function definition.
4186         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4187         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4188         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4189         (xdr_utmpptr): Likewise.
4190         (xdr_utmparr): Likewise.
4191         (xdr_utmpidle): Likewise.
4192         (xdr_utmpidleptr): Likewise.
4193         (xdr_utmpidlearr): Likewise.
4195         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4196         log, log10 and log2.
4197         * math/auto-libm-test-out: Regenerated.
4198         * math/libm-test.inc (fmod_test_data): Add more tests.
4199         (fpclassify_test_data): Likewise.
4200         (frexp_test_data): Likewise.
4201         (hypot_test_data): Likewise.
4202         (ilogb_test_data): Likewise.
4204 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4206         * debug/fortify_fail.c (__fortify_fail): Convert to
4207         prototype-style function definition.  Use internal_function.
4208         * libio/genops.c (save_for_backup): Convert to prototype-style
4209         function definition.
4210         * libio/wgenops.c (save_for_wbackup): Likewise.
4211         * login/grantpt.c (grantpt): Likewise.
4212         * login/ptsname.c (ptsname): Likewise.
4213         (__ptsname_r): Likewise.
4214         * login/unlockpt.c (unlockpt): Likewise.
4215         * mach/msgserver.c (__mach_msg_server): Likewise.
4216         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4217         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4218         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4219         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4220         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4221         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4222         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4223         Likewise.
4224         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4225         internal_function.
4226         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4227         prototype-style function definition.
4228         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4229         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4230         (__pthread_create_2_0): Likewise.
4231         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4232         * nptl/register-atfork.c (__register_atfork): Likewise.
4233         * posix/glob.c (glob): Likewise.
4234         * posix/regcomp.c (re_comp): Likewise.
4235         * posix/regexec.c (re_exec): Likewise.
4236         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4237         [!__STDC__]: Remove conditional code.
4238         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4239         [!__STDC__]: Remove conditional code.
4240         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4241         [!__STDC__]: Remove conditional code.
4242         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4243         [!__STDC__]: Remove conditional code.
4244         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4245         [!__STDC__]: Remove conditional code.
4246         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4247         [!__STDC__]: Remove conditional code.
4248         * stdlib/mul.c [__STDC__]: Make code unconditional.
4249         [!__STDC__]: Remove conditional code.
4250         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4251         [!__STDC__]: Remove conditional code.
4252         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4253         [!__STDC__]: Remove conditional code.
4254         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4255         function definition.
4256         (STRTOF): Likewise.
4257         * stdlib/strtod_l.c (__STRTOF): Likewise.
4258         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4259         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4260         (__strtol_l): Likewise.
4261         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4262         [!__STDC__]: Remove conditional code.
4263         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4264         definition.
4265         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4266         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4267         type.
4268         (__strcasecmp): Convert to prototype-style function definition.
4269         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4270         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4271         type.
4272         (__strncasecmp): Convert to prototype-style function definition.
4273         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4274         * sunrpc/xdr.c (xdr_union): Likewise.
4275         * sunrpc/xdr_array.c (xdr_array): Likewise.
4276         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4277         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4278         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4279         Likewise.
4280         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4281         Likewise.
4282         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4283         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4284         Likewise.
4285         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4286         (LOCALE_PARAM_PROTO): Likewise.
4287         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4288         argument type.
4289         (ut_argument_spec): Remove macro.
4290         (ut_argument_spec_iso): Rename to ut_argument_spec.
4291         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4292         prototype-style function definition.
4293         (memcpy_uppcase): Likewise.
4294         (__strftime_internal): Likewise.
4295         (my_strftime): Likewise.
4296         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4297         (LOCALE_PARAM_DECL): Likewise.
4298         [_LIBC] (LOCALE_PARAM): Include argument type.
4299         (__strptime_internal): Convert to prototype-style function
4300         definition.
4301         (strptime): Likewise.
4302         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4303         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4304         type.
4305         (__wcscasecmp): Convert to prototype-style function definition.
4306         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4307         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4308         type.
4309         (__wcsncasecmp): Convert to prototype-style function definition.
4311         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4312         function definition.
4313         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4314         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4315         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4316         * elf/dl-minimal.c (_itoa): Likewise.
4317         * hurd/hurdmalloc.c (malloc): Likewise.
4318         (free): Likewise.
4319         (realloc): Likewise.
4320         * inet/inet6_option.c (inet6_option_space): Likewise.
4321         (inet6_option_init): Likewise.
4322         (inet6_option_append): Likewise.
4323         (inet6_option_alloc): Likewise.
4324         (inet6_option_next): Likewise.
4325         (inet6_option_find): Likewise.
4326         * io/ftw.c (FTW_NAME): Likewise.
4327         (NFTW_NAME): Likewise.
4328         (NFTW_NEW_NAME): Likewise.
4329         (NFTW_OLD_NAME): Likewise.
4330         * libio/iofwide.c (_IO_fwide): Likewise.
4331         * libio/strops.c (_IO_str_init_static_internal): Likewise.
4332         (_IO_str_init_static): Likewise.
4333         (_IO_str_init_readonly): Likewise.
4334         (_IO_str_overflow): Likewise.
4335         (_IO_str_underflow): Likewise.
4336         (_IO_str_count): Likewise.
4337         (_IO_str_seekoff): Likewise.
4338         (_IO_str_pbackfail): Likewise.
4339         (_IO_str_finish): Likewise.
4340         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4341         (_IO_wstr_overflow): Likewise.
4342         (_IO_wstr_underflow): Likewise.
4343         (_IO_wstr_count): Likewise.
4344         (_IO_wstr_seekoff): Likewise.
4345         (_IO_wstr_pbackfail): Likewise.
4346         (_IO_wstr_finish): Likewise.
4347         * locale/programs/localedef.c (normalize_codeset): Likewise.
4348         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4349         (add_locales_to_archive): Likewise.
4350         (delete_locales_from_archive): Likewise.
4351         * malloc/malloc.c (__libc_mallinfo): Likewise.
4352         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4353         * misc/tsearch.c (__tfind): Likewise.
4354         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4355         * nptl/pthread_attr_getdetachstate.c
4356         (__pthread_attr_getdetachstate): Likewise.
4357         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4358         Likewise.
4359         * nptl/pthread_attr_getinheritsched.c
4360         (__pthread_attr_getinheritsched): Likewise.
4361         * nptl/pthread_attr_getschedparam.c
4362         (__pthread_attr_getschedparam): Likewise.
4363         * nptl/pthread_attr_getschedpolicy.c
4364         (__pthread_attr_getschedpolicy): Likewise.
4365         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4366         Likewise.
4367         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4368         Likewise.
4369         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4370         Likewise.
4371         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4372         Likewise.
4373         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4374         (__pthread_attr_init_2_0): Likewise.
4375         * nptl/pthread_attr_setdetachstate.c
4376         (__pthread_attr_setdetachstate): Likewise.
4377         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4378         Likewise.
4379         * nptl/pthread_attr_setinheritsched.c
4380         (__pthread_attr_setinheritsched): Likewise.
4381         * nptl/pthread_attr_setschedparam.c
4382         (__pthread_attr_setschedparam): Likewise.
4383         * nptl/pthread_attr_setschedpolicy.c
4384         (__pthread_attr_setschedpolicy): Likewise.
4385         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4386         Likewise.
4387         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4388         Likewise.
4389         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4390         Likewise.
4391         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4392         Likewise.
4393         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4394         Likewise.
4395         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4396         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4397         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4398         use internal_function.
4399         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4400         prototype-style function definition.
4401         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4402         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4403         internal_function.
4404         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4405         Convert to prototype-style function definition.
4406         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4407         Likewise.
4408         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4409         Likewise.
4410         (__pthread_mutex_unlock): Likewise.
4411         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4412         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4413         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4414         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4415         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4416         * nss/makedb.c (process_input): Likewise.
4417         * posix/fnmatch.c (__strchrnul): Likewise.
4418         (__wcschrnul): Likewise.
4419         (fnmatch): Likewise.
4420         * posix/fnmatch_loop.c (FCT): Likewise.
4421         * posix/glob.c (globfree): Likewise.
4422         (__glob_pattern_type): Likewise.
4423         (__glob_pattern_p): Likewise.
4424         * posix/regcomp.c (re_compile_pattern): Likewise.
4425         (re_set_syntax): Likewise.
4426         (re_compile_fastmap): Likewise.
4427         (regcomp): Likewise.
4428         (regerror): Likewise.
4429         (regfree): Likewise.
4430         * posix/regexec.c (regexec): Likewise.
4431         (re_match): Likewise.
4432         (re_search): Likewise.
4433         (re_match_2): Likewise.
4434         (re_search_2): Likewise.
4435         (re_search_stub): Likewise.  Use internal_function
4436         (re_copy_regs): Likewise.
4437         (re_set_registers): Convert to prototype-style function
4438         definition.
4439         (prune_impossible_nodes): Likewise.  Use internal_function.
4440         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4441         prototype-style function definition.
4442         (inet_net_pton_ipv4): Likewise.
4443         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4444         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4445         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4446         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4447         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4448         Make variadic.
4449         * time/strptime_l.c (localtime_r): Convert to prototype-style
4450         function definition.
4451         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4452         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4453         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4454         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4456         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4457         definition.
4458         (_ufc_doit_r): Likewise.
4459         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4460         (_ufc_output_conversion_r): Likewise.
4461         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4462         * inet/rcmd.c (rcmd_af): Likewise.
4463         (rcmd): Likewise.
4464         (ruserok_af): Likewise.
4465         (ruserok): Likewise.
4466         (ruserok2_sa): Likewise.
4467         (ruserok_sa): Likewise.
4468         (iruserok_af): Likewise.
4469         (iruserok): Likewise.
4470         (__ivaliduser): Likewise.
4471         (__validuser2_sa): Likewise.
4472         * inet/rexec.c (rexec_af): Likewise.
4473         (rexec): Likewise.
4474         * inet/ruserpass.c (ruserpass): Likewise.
4475         * locale/programs/xmalloc.c (xcalloc): Likewise.
4476         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4477         * math/w_drem.c (__drem): Likewise.
4478         * math/w_dremf.c (__dremf): Likewise.
4479         * math/w_dreml.c (__dreml): Likewise.
4480         * misc/daemon.c (daemon): Likewise.
4481         * resolv/res_debug.c (p_fqnname): Likewise.
4482         * stdlib/div.c (div): Likewise.
4483         * string/memcmp.c (memcmp_bytes): Likewise.
4484         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4485         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4487         * crypt/cert.c (main): Convert to prototype-style function
4488         definition.
4489         * io/pipe.c (__pipe): Likewise.
4490         * io/pipe2.c (__pipe2): Likewise.
4491         * misc/futimesat.c (futimesat): Likewise.
4492         * misc/utimes.c (__utimes): Likewise.
4493         * posix/execve.c (__execve): Likewise.
4494         * posix/execvp.c (execvp): Likewise.
4495         * posix/execvpe.c (__execvpe): Likewise.
4496         * posix/fexecve.c (fexecve): Likewise.
4497         * socket/socketpair.c (socketpair): Likewise.
4498         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4499         * stdlib/erand48.c (erand48): Likewise.
4500         * stdlib/erand48_r.c (__erand48_r): Likewise.
4501         * stdlib/jrand48.c (jrand48): Likewise.
4502         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4503         * stdlib/lcong48.c (lcong48): Likewise.
4504         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4505         * stdlib/nrand48.c (nrand48): Likewise.
4506         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4507         * stdlib/seed48.c (seed48): Likewise.
4508         * stdlib/seed48_r.c (__seed48_r): Likewise.
4509         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4510         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4511         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4513 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4515         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4516         * configure: Regenerated.
4517         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4518         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4519         unconditional.
4520         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4521         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4522         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4523         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4524         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4525         unconditional.
4526         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4528         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4529         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4531         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4532         function definition.
4533         * crypt/crypt_util.c (__encrypt_r): Likewise.
4534         * libio/genops.c (_IO_no_init): Likewise.
4535         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4536         (_IO_old_fopencookie): Likewise.
4537         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4538         * libio/iogetline.c (_IO_getline): Likewise.
4539         (_IO_getline_info): Likewise.
4540         * libio/iogetwline.c (_IO_getwline): Likewise.
4541         (_IO_getwline_info): Likewise.
4542         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4543         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4544         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4545         (find_entry): Likewise.
4546         (iterate_table): Likewise.
4547         (lookup): Likewise.
4548         * login/forkpty.c (forkpty): Likewise.
4549         * misc/hsearch_r.c (__hsearch_r): Likewise.
4550         * misc/select.c (__select): Likewise.
4551         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4552         Likewise.
4553         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4554         Likewise.
4555         * nptl/old_pthread_cond_timedwait.c
4556         (__pthread_cond_timedwait_2_0): Likewise.
4557         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4558         * nptl/pthread_barrierattr_getpshared.c
4559         (pthread_barrierattr_getpshared): Likewise.
4560         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4561         Likewise.
4562         * nptl/pthread_mutex_setprioceiling.c
4563         (pthread_mutex_setprioceiling): Likewise.
4564         * nptl/pthread_mutexattr_getprioceiling.c
4565         (pthread_mutexattr_getprioceiling): Likewise.
4566         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4567         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4568         Likewise.
4569         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4570         Likewise.
4571         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4572         Likewise.
4573         * socket/recvfrom.c (__recvfrom): Likewise.
4574         * socket/sendto.c (__sendto): Likewise.
4575         * socket/setsockopt.c (__setsockopt): Likewise.
4576         * stdio-common/_itoa.c (_itoa): Likewise.
4577         * stdio-common/_itowa.c (_itowa): Likewise.
4578         * stdio-common/reg-printf.c (__register_printf_specifier):
4579         Likewise.
4580         (__register_printf_function): Likewise.
4581         * stdio-common/tempname.c (__path_search): Likewise.
4582         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4583         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4584         * stdlib/random_r.c (__initstate_r): Likewise.
4585         * stdlib/setenv.c (__add_to_environ): Likewise.
4586         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4587         * streams/getpmsg.c (getpmsg): Likewise.
4588         * streams/putmsg.c (putmsg): Likewise.
4589         * streams/putpmsg.c (putpmsg): Likewise.
4590         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4591         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4592         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4593         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4594         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4595         * sunrpc/svc_udp.c (cache_get): Likewise.
4596         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4597         * sysdeps/mach/hurd/getcwd.c
4598         (__canonicalize_directory_name_internal): Likewise.
4599         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4600         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4601         * sysdeps/mach/hurd/select.c (__select): Likewise.
4602         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4603         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4604         * sysdeps/sparc/nptl/pthread_barrier_init.c
4605         (__pthread_barrier_init): Likewise.
4606         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4607         (__pthread_cond_timedwait): Likewise.
4608         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4609         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4610         Likewise.
4611         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4612         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4613         Likewise.
4614         * sysvipc/semtimedop.c (semtimedop): Likewise.
4615         * time/setitimer.c (__setitimer): Likewise.
4616         * time/strftime_l.c (emacs_strftime): Likewise.
4618 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4620         * config.make.in (have-ssp): Delete.
4621         (stack-protector): New variable.
4622         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4623         cache test for -fstack-protector-strong.  Export stack_protector to
4624         the best ssp flag.
4625         * configure: Regenerated.
4626         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4627         * nscd/Makefile (CFLAGS-nscd): Likewise.
4628         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4630 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4632         [BZ #19122]
4633         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4634         attribute_hidden.
4636 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4638         [BZ #18743]
4639         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4640         code to...
4641         (ELIDE_LOCK): ...here.
4642         (__get_new_count): New function with part of the code from
4643         __elide_lock that updates the value of adapt_count after a
4644         transaction abort.
4645         (__elided_trylock): Moved this code to...
4646         (ELIDE_TRYLOCK): ...here.
4648 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4650         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4651         * configure: Regenerate.
4652         * INSTALL: Regenerate.
4653         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4654         and tweak grammar.
4656 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4658         * login/programs/pt_chown.c: Include signal.h
4659         (main): Clear any signal mask from the parent process.
4661 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4663         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4664         * configure: Regenerated.
4665         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4666         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4667         $(gnu89-inline-CFLAGS).
4669         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4670         test.
4671         (libc_cv_asm_weakext_directive): Likewise.
4672         * configure: Regenerated.
4673         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4674         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4675         * include/libc-symbols.h
4676         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4677         #error.
4678         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4679         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4681         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4682         prototype-style function definition.
4683         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4684         * sysdeps/i386/ffs.c (__ffs): Likewise.
4685         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4686         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4687         Likewise.
4688         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4689         Likewise.
4690         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4691         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4692         Likewise.
4693         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4694         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4695         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4696         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4697         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4698         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4699         * sysdeps/mach/hurd/access.c (__access): Likewise.
4700         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4701         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4702         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4703         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4704         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4705         (cthread_getspecific): Likewise.
4706         (cthread_setspecific): Likewise.
4707         (__libc_getspecific): Likewise.
4708         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4709         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4710         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4711         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4712         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4713         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4714         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4715         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4716         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4717         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4718         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4719         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4720         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4721         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4722         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4723         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4724         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4725         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4726         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4727         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4728         * sysdeps/mach/hurd/link.c (__link): Likewise.
4729         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4730         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4731         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4732         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4733         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4734         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4735         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4736         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4737         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4738         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4739         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4740         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4741         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4742         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4743         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4744         * sysdeps/mach/hurd/send.c (__send): Likewise.
4745         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4746         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4747         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4748         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4749         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4750         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4751         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4752         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4753         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4754         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4755         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4756         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4757         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4758         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4759         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4760         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4761         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4762         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4763         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4764         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4765         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4766         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4767         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4768         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4769         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4770         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4771         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4772         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4773         * sysdeps/posix/alarm.c (alarm): Likewise.
4774         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4775         * sysdeps/posix/dirfd.c (dirfd): Likewise.
4776         * sysdeps/posix/dup.c (__dup): Likewise.
4777         * sysdeps/posix/dup2.c (__dup2): Likewise.
4778         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4779         (main): Likewise.
4780         * sysdeps/posix/flock.c (__flock): Likewise.
4781         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4782         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4783         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4784         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4785         * sysdeps/posix/isatty.c (__isatty): Likewise.
4786         * sysdeps/posix/killpg.c (killpg): Likewise.
4787         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4788         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4789         * sysdeps/posix/raise.c (raise): Likewise.
4790         * sysdeps/posix/remove.c (remove): Likewise.
4791         * sysdeps/posix/rename.c (rename): Likewise.
4792         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4793         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4794         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4795         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4796         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4797         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4798         * sysdeps/posix/sigset.c (sigset): Likewise.
4799         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4800         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4801         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4802         * sysdeps/posix/time.c (time): Likewise.
4803         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4804         (ttyname): Likewise.
4805         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4806         * sysdeps/posix/utime.c (utime): Likewise.
4807         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4808         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4809         Likewise.
4810         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4811         (pthread_spin_trylock): Likewise.
4812         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4813         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4814         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4815         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4816         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4817         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4818         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4819         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4820         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4821         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4822         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4823         * sysdeps/s390/ffs.c (__ffs): Likewise.
4824         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4825         Likewise.
4826         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4827         Likewise.
4828         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4829         Likewise.
4830         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4831         (pthread_barrier_destroy): Likewise.
4832         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4833         (__pthread_barrier_wait): Likewise.
4834         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4835         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4836         (__pthread_barrier_wait): Likewise.
4837         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4838         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4839         (memcmp_not_common_alignment): Likewise.
4840         (MEMCMP): Likewise.
4841         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4842         (_wordcopy_fwd_dest_aligned): Likewise.
4843         (_wordcopy_bwd_aligned): Likewise.
4844         (_wordcopy_bwd_dest_aligned): Likewise.
4845         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4846         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4847         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4848         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4849         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4850         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4851         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4852         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4853         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4854         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4855         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4856         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4857         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4858         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4859         * sysdeps/unix/stime.c (stime): Likewise.
4860         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4861         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4862         Likewise.  Use internal_function.
4863         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4864         Convert to prototype-style function definition.
4865         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4866         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4867         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4868         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4869         Likewise.  Use internal_function.
4870         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4871         prototype-style function definition
4872         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4873         Likewise.
4874         (__getlogin_r): Likewise.
4875         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4876         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4877         (__pthread_cond_broadcast): Likewise.
4878         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4879         (__pthread_cond_destroy): Likewise.
4880         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4881         (__pthread_cond_init): Likewise.
4882         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4883         (__pthread_cond_signal): Likewise.
4884         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4885         (__pthread_cond_wait): Likewise.
4886         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4887         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4888         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4889         Likewise.
4890         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4891         Likewise.
4892         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4893         Likewise.
4894         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4895         Likewise.
4896         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4898         (__ftruncate64): Likewise.
4899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4900         (truncate64): Likewise.
4901         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4902         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4903         (pthread_getcpuclockid): Likewise.
4904         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4905         Likewise.
4906         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4907         Likewise.
4908         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4909         Likewise.
4910         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4911         Likewise.
4912         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4913         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4914         (__libc_sigaction): Likewise.
4915         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4916         Likewise.
4917         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4918         (__sigprocmask): Likewise.
4919         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4920         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4921         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4922         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4923         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4924         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4925         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4926         Likewise.
4927         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4928         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4929         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4930         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4931         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4932         Likewise.
4933         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4934         (__sigprocmask): Likewise.
4935         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4936         (cfgetispeed): Likewise.
4937         (cfsetospeed): Likewise.
4938         (cfsetispeed): Likewise.
4939         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4940         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4941         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4942         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4943         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4944         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4945         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4946         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4947         Likewise.
4948         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4949         Likewise.
4950         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4951         Likewise.
4952         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4953         Likewise.
4954         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4956 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4958         sunrpc: Rewrite with explicit TLS access using __thread.
4959         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4960         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4961         directly.
4962         (__rpc_thread_variables): Access thread_rpc_vars directly.
4963         Eliminate redundant assignment of the tvp variable.
4965 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4967         malloc: Rewrite with explicit TLS access using __thread.
4968         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4969         (tsd_setspecific, tsd_getspecific): Remove.
4970         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4971         (tsd_setspecific, tsd_getspecific): Likewise.
4972         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4973         (tsd_setspecific, tsd_getspecific): Likewise.
4974         * malloc/arena.c (thread_arena): New TLS variable.
4975         (arena_key): Remove variable.
4976         (arena_get): Use thread_arena.
4977         (arena_lookup): Remove macro.
4978         (malloc_atfork, free_atfork, ptmalloc_lock_all)
4979         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4980         (_int_new_arena, get_free_list, reused_arena)
4981         (arena_thread_freeres): Use thread_arena.
4982         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4983         tsd_getspecific, tsd_setspecific from safety annotations.
4984         (Allocating Cleared Space): Remove arena_lookup from safety
4985         annotations.
4987 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4989         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4990         struct scratch_buffer instead of extend_alloca.
4992 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4994         * sysdeps/unix/sysv/linux/kernel-features.h
4995         (__ASSUME_SOCK_CLOEXEC): Remove.
4996         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4997         (__have_paccept): Remove unused macro.
4998         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4999         * misc/syslog.c (openlog_internal): Remove fallback code for
5000         !__ASSUME_SOCK_CLOEXEC.
5001         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5002         missing SOCK_CLOEXEC.
5003         * nscd/connections.c (have_sock_cloexec): Remove definition.
5004         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5005         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5006         !__ASSUME_SOCK_CLOEXEC.
5007         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5008         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5009         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5010         definition.
5011         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5012         code for !__ASSUME_SOCK_CLOEXEC.
5014 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5016         [BZ #18982]
5017         * manual/stdio.texi (Variable Arguments Output): Add portability
5018         note, explaining that vfprintf clobbers the va_list pointer.
5020 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5022         * math/libm-test.inc (fabs_test_data): Add more tests.
5023         (fdim_test_data): Likewise.
5024         (fma_test_data): Likewise.
5025         (fmax_test_data): Likewise.
5026         (fmin_test_data): Likewise.
5027         (fmod_test_data): Likewise.
5029 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
5031         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
5032         data.
5034 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5036         * math/libm-test.inc (ceil_test_data): Add more tests and more
5037         expectations for "inexact".
5038         (floor_test_data): Add more tests.
5039         (round_test_data): Likewise.
5040         (trunc_test_data): Likewise.
5042         * crypt/cert.c (good_bye): Convert to prototype-style function
5043         definition.
5044         (get8): Likewise.
5045         (put8): Likewise.
5046         * crypt/crypt-entry.c (crypt): Likewise.
5047         (__fcrypt): Likewise.
5048         * crypt/crypt_util.c (_ufc_prbits): Likewise.
5049         (_ufc_set_bits): Likewise.
5050         (_ufc_clearmem): Likewise.
5051         (__init_des_r): Likewise.
5052         (shuffle_sb): Likewise.
5053         (shuffle_sb): Likewise.
5054         (_ufc_setup_salt_r): Likewise.
5055         (_ufc_mk_keytab_r): Likewise.
5056         (_ufc_dofinalperm_r): Likewise.
5057         (encrypt): Likewise.
5058         (__setkey_r): Likewise.
5059         (setkey): Likewise.
5060         * crypt/md5.c (md5_init_ctx): Likewise.
5061         (md5_read_ctx): Likewise.
5062         (md5_finish_ctx): Likewise.
5063         (md5_stream): Likewise.
5064         (md5_buffer): Likewise.
5065         (md5_process_bytes): Likewise.
5066         * crypt/sha256.c (__sha256_init_ctx): Likewise.
5067         (__sha256_finish_ctx): Likewise.
5068         (__sha256_process_bytes): Likewise.
5069         * crypt/sha512.c (__sha512_init_ctx): Likewise.
5070         (__sha512_finish_ctx): Likewise.
5071         (__sha512_process_bytes): Likewise.
5072         * ctype/isctype.c (__isctype): Likewise.
5073         * debug/backtrace.c (__backtrace): Likewise.
5074         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5075         * debug/fgets_chk.c (__fgets_chk): Likewise.
5076         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5077         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5078         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5079         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5080         * debug/memset_chk.c (__memset_chk): Likewise.
5081         * debug/strcat_chk.c (__strcat_chk): Likewise.
5082         * debug/strncat_chk.c (__strncat_chk): Likewise.
5083         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5084         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5085         * dirent/dirfd.c (dirfd): Likewise.
5086         * dirent/getdents.c (__getdirentries): Likewise.
5087         * dirent/getdents64.c (getdirentries64): Likewise.
5088         * dirent/rewinddir.c (__rewinddir): Likewise.
5089         * dirent/seekdir.c (seekdir): Likewise.
5090         * dirent/telldir.c (telldir): Likewise.
5091         * elf/sln.c (makesymlinks): Likewise.
5092         (makesymlink): Likewise.
5093         * gmon/gmon.c (__moncontrol): Likewise.
5094         (__monstartup): Likewise.
5095         (write_hist): Likewise.
5096         (write_call_graph): Likewise.
5097         (write_bb_counts): Likewise.
5098         * grp/setgroups.c (setgroups): Likewise.
5099         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5100         * inet/inet_net.c (inet_network): Likewise.
5101         * inet/inet_netof.c (inet_netof): Likewise.
5102         * inet/rcmd.c (rresvport_af): Likewise.
5103         (rresvport): Likewise.
5104         * io/access.c (__access): Likewise.
5105         * io/chdir.c (__chdir): Likewise.
5106         * io/chmod.c (__chmod): Likewise.
5107         * io/chown.c (__chown): Likewise.
5108         * io/close.c (__close): Likewise.
5109         * io/creat.c (creat): Likewise.
5110         * io/creat64.c (creat64): Likewise.
5111         * io/dup.c (__dup): Likewise.
5112         * io/dup2.c (__dup2): Likewise.
5113         * io/dup3.c (__dup3): Likewise.
5114         * io/euidaccess.c (__euidaccess): Likewise.
5115         * io/faccessat.c (faccessat): Likewise.
5116         * io/fchmod.c (__fchmod): Likewise.
5117         * io/fchmodat.c (fchmodat): Likewise.
5118         * io/fchown.c (__fchown): Likewise.
5119         * io/fchownat.c (fchownat): Likewise.
5120         * io/fcntl.c (__fcntl): Likewise.
5121         * io/flock.c (__flock): Likewise.
5122         * io/fts.c (fts_load): Likewise.
5123         (fts_close): Likewise.
5124         (fts_read): Likewise.
5125         (fts_set): Likewise.
5126         (fts_children): Likewise.
5127         (fts_build): Likewise.
5128         (fts_stat): Likewise.
5129         (fts_sort): Likewise.
5130         (fts_alloc): Likewise.
5131         (fts_lfree): Likewise.
5132         (fts_palloc): Likewise.
5133         (fts_padjust): Likewise.
5134         (fts_maxarglen): Likewise.
5135         (fts_safe_changedir): Likewise.
5136         * io/getwd.c (getwd): Likewise.
5137         * io/isatty.c (__isatty): Likewise.
5138         * io/lchown.c (__lchown): Likewise.
5139         * io/link.c (__link): Likewise.
5140         * io/linkat.c (linkat): Likewise.
5141         * io/lseek.c (__libc_lseek): Likewise.
5142         * io/mkdir.c (__mkdir): Likewise.
5143         * io/mkdirat.c (mkdirat): Likewise.
5144         * io/mkfifo.c (mkfifo): Likewise.
5145         * io/mkfifoat.c (mkfifoat): Likewise.
5146         * io/open.c (__libc_open): Likewise.
5147         * io/open64.c (__libc_open64): Likewise.
5148         * io/readlink.c (__readlink): Likewise.
5149         * io/readlinkat.c (readlinkat): Likewise.
5150         * io/rmdir.c (__rmdir): Likewise.
5151         * io/symlink.c (__symlink): Likewise.
5152         * io/symlinkat.c (symlinkat): Likewise.
5153         * io/ttyname.c (ttyname): Likewise.
5154         * io/ttyname_r.c (__ttyname_r): Likewise.
5155         * io/umask.c (__umask): Likewise.
5156         * io/unlink.c (__unlink): Likewise.
5157         * io/unlinkat.c (unlinkat): Likewise.
5158         * io/utime.c (utime): Likewise.
5159         * libio/clearerr.c (clearerr): Likewise.
5160         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5161         * libio/feof.c (_IO_feof): Likewise.
5162         * libio/feof_u.c (feof_unlocked): Likewise.
5163         * libio/ferror.c (_IO_ferror): Likewise.
5164         * libio/ferror_u.c (ferror_unlocked): Likewise.
5165         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5166         * libio/fileno.c (__fileno): Likewise.
5167         * libio/fputc.c (fputc): Likewise.
5168         * libio/fputc_u.c (fputc_unlocked): Likewise.
5169         * libio/fputwc.c (fputwc): Likewise.
5170         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5171         * libio/freopen.c (freopen): Likewise.
5172         * libio/freopen64.c (freopen64): Likewise.
5173         * libio/fseek.c (fseek): Likewise.
5174         * libio/fseeko.c (fseeko): Likewise.
5175         * libio/fseeko64.c (fseeko64): Likewise.
5176         * libio/ftello.c (__ftello): Likewise.
5177         * libio/ftello64.c (ftello64): Likewise.
5178         * libio/fwide.c (fwide): Likewise.
5179         * libio/genops.c (_IO_un_link): Likewise.
5180         (_IO_link_in): Likewise.
5181         (_IO_least_marker): Likewise.
5182         (_IO_switch_to_main_get_area): Likewise.
5183         (_IO_switch_to_backup_area): Likewise.
5184         (_IO_switch_to_get_mode): Likewise.
5185         (_IO_free_backup_area): Likewise.
5186         (_IO_switch_to_put_mode): Likewise.
5187         (__overflow): Likewise.
5188         (__underflow): Likewise.
5189         (__uflow): Likewise.
5190         (_IO_setb): Likewise.
5191         (_IO_doallocbuf): Likewise.
5192         (_IO_default_underflow): Likewise.
5193         (_IO_default_uflow): Likewise.
5194         (_IO_default_xsputn): Likewise.
5195         (_IO_sgetn): Likewise.
5196         (_IO_default_xsgetn): Likewise.
5197         (_IO_sync): Likewise.
5198         (_IO_default_setbuf): Likewise.
5199         (_IO_default_seekpos): Likewise.
5200         (_IO_default_doallocate): Likewise.
5201         (_IO_init): Likewise.
5202         (_IO_old_init): Likewise.
5203         (_IO_default_sync): Likewise.
5204         (_IO_default_finish): Likewise.
5205         (_IO_default_seekoff): Likewise.
5206         (_IO_sputbackc): Likewise.
5207         (_IO_sungetc): Likewise.
5208         (_IO_set_column): Likewise.
5209         (_IO_set_column): Likewise.
5210         (_IO_adjust_column): Likewise.
5211         (_IO_get_column): Likewise.
5212         (_IO_init_marker): Likewise.
5213         (_IO_remove_marker): Likewise.
5214         (_IO_marker_difference): Likewise.
5215         (_IO_marker_delta): Likewise.
5216         (_IO_seekmark): Likewise.
5217         (_IO_unsave_markers): Likewise.
5218         (_IO_nobackup_pbackfail): Likewise.
5219         (_IO_default_pbackfail): Likewise.
5220         (_IO_default_seek): Likewise.
5221         (_IO_default_stat): Likewise.
5222         (_IO_default_read): Likewise.
5223         (_IO_default_write): Likewise.
5224         (_IO_default_showmanyc): Likewise.
5225         (_IO_default_imbue): Likewise.
5226         (_IO_iter_next): Likewise.
5227         (_IO_iter_file): Likewise.
5228         * libio/getc.c (_IO_getc): Likewise.
5229         * libio/getwc.c (_IO_getwc): Likewise.
5230         * libio/iofclose.c (_IO_new_fclose): Likewise.
5231         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5232         * libio/iofflush.c (_IO_fflush): Likewise.
5233         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5234         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5235         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5236         * libio/iofgets.c (_IO_fgets): Likewise.
5237         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5238         * libio/iofgetws.c (fgetws): Likewise.
5239         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5240         * libio/iofopen64.c (_IO_fopen64): Likewise.
5241         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5242         (_IO_cookie_write): Likewise.
5243         (_IO_cookie_seek): Likewise.
5244         (_IO_cookie_close): Likewise.
5245         (_IO_cookie_seekoff): Likewise.
5246         (_IO_old_cookie_seek): Likewise.
5247         * libio/iofputs.c (_IO_fputs): Likewise.
5248         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5249         * libio/iofputws.c (fputws): Likewise.
5250         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5251         * libio/iofread.c (_IO_fread): Likewise.
5252         * libio/iofread_u.c (__fread_unlocked): Likewise.
5253         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5254         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5255         * libio/ioftell.c (_IO_ftell): Likewise.
5256         * libio/iofwrite.c (_IO_fwrite): Likewise.
5257         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5258         * libio/iogets.c (_IO_gets): Likewise.
5259         * libio/iopadn.c (_IO_padn): Likewise.
5260         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5261         (_IO_new_popen): Likewise.
5262         (_IO_new_proc_close): Likewise.
5263         * libio/ioputs.c (_IO_puts): Likewise.
5264         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5265         (_IO_seekoff): Likewise.
5266         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5267         (_IO_seekpos): Likewise.
5268         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5269         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5270         * libio/ioungetc.c (_IO_ungetc): Likewise.
5271         * libio/ioungetwc.c (ungetwc): Likewise.
5272         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5273         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5274         * libio/iowpadn.c (_IO_wpadn): Likewise.
5275         * libio/libc_fatal.c (__libc_fatal): Likewise.
5276         * libio/memstream.c (__open_memstream): Likewise.
5277         (_IO_mem_sync): Likewise.
5278         (_IO_mem_finish): Likewise.
5279         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5280         (_IO_old_file_close_it): Likewise.
5281         (_IO_old_file_finish): Likewise.
5282         (_IO_old_file_fopen): Likewise.
5283         (_IO_old_file_attach): Likewise.
5284         (_IO_old_file_setbuf): Likewise.
5285         (_IO_old_do_write): Likewise.
5286         (old_do_write): Likewise.
5287         (_IO_old_file_underflow): Likewise.
5288         (_IO_old_file_overflow): Likewise.
5289         (_IO_old_file_sync): Likewise.
5290         (_IO_old_file_seekoff): Likewise.
5291         (_IO_old_file_write): Likewise.
5292         (_IO_old_file_xsputn): Likewise.
5293         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5294         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5295         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5296         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5297         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5298         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5299         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5300         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5301         (_IO_old_popen): Likewise.
5302         (_IO_old_proc_close): Likewise.
5303         * libio/oldpclose.c (__old_pclose): Likewise.
5304         * libio/pclose.c (__new_pclose): Likewise.
5305         * libio/peekc.c (_IO_peekc_locked): Likewise.
5306         * libio/putc.c (_IO_putc): Likewise.
5307         * libio/putc_u.c (putc_unlocked): Likewise.
5308         * libio/putchar.c (putchar): Likewise.
5309         * libio/putchar_u.c (putchar_unlocked): Likewise.
5310         * libio/putwc.c (putwc): Likewise.
5311         * libio/putwc_u.c (putwc_unlocked): Likewise.
5312         * libio/putwchar.c (putwchar): Likewise.
5313         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5314         * libio/rewind.c (rewind): Likewise.
5315         * libio/setbuf.c (setbuf): Likewise.
5316         * libio/setlinebuf.c (setlinebuf): Likewise.
5317         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5318         * libio/vscanf.c (_IO_vscanf): Likewise.
5319         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5320         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5321         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5322         * libio/wgenops.c (_IO_least_wmarker): Likewise.
5323         (_IO_switch_to_main_wget_area): Likewise.
5324         (_IO_switch_to_wbackup_area): Likewise.
5325         (_IO_wsetb): Likewise.
5326         (_IO_wdefault_pbackfail): Likewise.
5327         (_IO_wdefault_finish): Likewise.
5328         (_IO_wdefault_uflow): Likewise.
5329         (__woverflow): Likewise.
5330         (__wuflow): Likewise.
5331         (__wunderflow): Likewise.
5332         (_IO_wdefault_xsputn): Likewise.
5333         (_IO_wdefault_xsgetn): Likewise.
5334         (_IO_wdoallocbuf): Likewise.
5335         (_IO_wdefault_doallocate): Likewise.
5336         (_IO_switch_to_wget_mode): Likewise.
5337         (_IO_free_wbackup_area): Likewise.
5338         (_IO_switch_to_wput_mode): Likewise.
5339         (_IO_sputbackwc): Likewise.
5340         (_IO_sungetwc): Likewise.
5341         (_IO_adjust_wcolumn): Likewise.
5342         (_IO_init_wmarker): Likewise.
5343         (_IO_wmarker_delta): Likewise.
5344         (_IO_seekwmark): Likewise.
5345         (_IO_unsave_wmarkers): Likewise.
5346         * libio/wmemstream.c (open_wmemstream): Likewise.
5347         (_IO_wmem_sync): Likewise.
5348         (_IO_wmem_finish): Likewise.
5349         * locale/nl_langinfo.c (nl_langinfo): Likewise.
5350         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5351         * locale/programs/simple-hash.c (init_hash): Likewise.
5352         (delete_hash): Likewise.
5353         (insert_entry): Likewise.
5354         (set_entry): Likewise.
5355         (next_prime): Likewise.
5356         (is_prime): Likewise.
5357         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5358         (xmalloc): Likewise.
5359         (xrealloc): Likewise.
5360         * locale/programs/xstrdup.c (xstrdup): Likewise.
5361         * localedata/collate-test.c (xstrcoll): Likewise.
5362         * localedata/xfrm-test.c (xstrcmp): Likewise.
5363         * login/getlogin_r.c (__getlogin_r): Likewise.
5364         * login/getpt.c (__posix_openpt): Likewise.
5365         * login/login_tty.c (login_tty): Likewise.
5366         * login/setlogin.c (setlogin): Likewise.
5367         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5368         (mach_msg_destroy_port): Likewise.
5369         (mach_msg_destroy_memory): Likewise.
5370         * malloc/mcheck.c (flood): Likewise.
5371         * misc/acct.c (acct): Likewise.
5372         * misc/brk.c (__brk): Likewise.
5373         * misc/chflags.c (chflags): Likewise.
5374         * misc/chroot.c (chroot): Likewise.
5375         * misc/fchflags.c (fchflags): Likewise.
5376         * misc/fstab.c (getfsspec): Likewise.
5377         (getfsfile): Likewise.
5378         * misc/fsync.c (fsync): Likewise.
5379         * misc/ftruncate.c (__ftruncate): Likewise.
5380         * misc/ftruncate64.c (__ftruncate64): Likewise.
5381         * misc/getdomain.c (getdomainname): Likewise.
5382         (getdomainname): Likewise.
5383         * misc/gethostname.c (__gethostname): Likewise.
5384         * misc/getpass.c (getpass): Likewise.
5385         * misc/getttyent.c (skip): Likewise.
5386         (value): Likewise.
5387         * misc/gtty.c (gtty): Likewise.
5388         * misc/hsearch.c (hsearch): Likewise.
5389         (hcreate): Likewise.
5390         * misc/hsearch_r.c (__hcreate_r): Likewise.
5391         (__hdestroy_r): Likewise.
5392         * misc/ioctl.c (__ioctl): Likewise.
5393         * misc/mkdtemp.c (mkdtemp): Likewise.
5394         * misc/mkostemp.c (mkostemp): Likewise.
5395         * misc/mkostemp64.c (mkostemp64): Likewise.
5396         * misc/mkostemps.c (mkostemps): Likewise.
5397         * misc/mkostemps64.c (mkostemps64): Likewise.
5398         * misc/mkstemp.c (mkstemp): Likewise.
5399         * misc/mkstemp64.c (mkstemp64): Likewise.
5400         * misc/mkstemps.c (mkstemps): Likewise.
5401         * misc/mkstemps64.c (mkstemps64): Likewise.
5402         * misc/mktemp.c (__mktemp): Likewise.
5403         * misc/preadv.c (preadv): Likewise.
5404         * misc/preadv64.c (preadv64): Likewise.
5405         * misc/pwritev.c (pwritev): Likewise.
5406         * misc/pwritev64.c (pwritev64): Likewise.
5407         * misc/readv.c (__readv): Likewise.
5408         * misc/revoke.c (revoke): Likewise.
5409         * misc/setdomain.c (setdomainname): Likewise.
5410         * misc/setegid.c (setegid): Likewise.
5411         * misc/seteuid.c (seteuid): Likewise.
5412         * misc/sethostid.c (sethostid): Likewise.
5413         * misc/sethostname.c (sethostname): Likewise.
5414         * misc/setregid.c (__setregid): Likewise.
5415         * misc/setreuid.c (__setreuid): Likewise.
5416         * misc/sstk.c (sstk): Likewise.
5417         * misc/stty.c (stty): Likewise.
5418         * misc/syscall.c (syscall): Likewise.
5419         * misc/syslog.c (setlogmask): Likewise.
5420         * misc/truncate.c (__truncate): Likewise.
5421         * misc/truncate64.c (truncate64): Likewise.
5422         * misc/ualarm.c (ualarm): Likewise.
5423         * misc/usleep.c (usleep): Likewise.
5424         * misc/ustat.c (ustat): Likewise.
5425         * misc/writev.c (__writev): Likewise.
5426         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5427         * nptl/old_pthread_cond_broadcast.c
5428         (__pthread_cond_broadcast_2_0): Likewise.
5429         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5430         Likewise.
5431         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5432         Likewise.
5433         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5434         Likewise.
5435         * nptl/pt-raise.c (raise): Likewise.
5436         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5437         Likewise.
5438         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5439         * nptl/pthread_barrierattr_destroy.c
5440         (pthread_barrierattr_destroy): Likewise.
5441         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5442         Likewise.
5443         * nptl/pthread_barrierattr_setpshared.c
5444         (pthread_barrierattr_setpshared): Likewise.
5445         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5446         Likewise.
5447         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5448         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5449         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5450         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5451         Likewise.
5452         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5453         Likewise.
5454         * nptl/pthread_condattr_getpshared.c
5455         (pthread_condattr_getpshared): Likewise.
5456         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5457         Likewise.
5458         * nptl/pthread_condattr_setpshared.c
5459         (pthread_condattr_setpshared): Likewise.
5460         * nptl/pthread_detach.c (pthread_detach): Likewise.
5461         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5462         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5463         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5464         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5465         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5466         Likewise.
5467         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5468         Likewise.
5469         * nptl/pthread_mutex_getprioceiling.c
5470         (pthread_mutex_getprioceiling): Likewise.
5471         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5472         Likewise.
5473         * nptl/pthread_mutexattr_getprotocol.c
5474         (pthread_mutexattr_getprotocol): Likewise.
5475         * nptl/pthread_mutexattr_getpshared.c
5476         (pthread_mutexattr_getpshared): Likewise.
5477         * nptl/pthread_mutexattr_getrobust.c
5478         (pthread_mutexattr_getrobust): Likewise.
5479         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5480         Likewise.
5481         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5482         Likewise.
5483         * nptl/pthread_mutexattr_setprioceiling.c
5484         (pthread_mutexattr_setprioceiling): Likewise.
5485         * nptl/pthread_mutexattr_setprotocol.c
5486         (pthread_mutexattr_setprotocol): Likewise.
5487         * nptl/pthread_mutexattr_setpshared.c
5488         (pthread_mutexattr_setpshared): Likewise.
5489         * nptl/pthread_mutexattr_setrobust.c
5490         (pthread_mutexattr_setrobust): Likewise.
5491         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5492         Likewise.
5493         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5494         Likewise.
5495         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5496         Likewise.
5497         * nptl/pthread_rwlockattr_getkind_np.c
5498         (pthread_rwlockattr_getkind_np): Likewise.
5499         * nptl/pthread_rwlockattr_getpshared.c
5500         (pthread_rwlockattr_getpshared): Likewise.
5501         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5502         Likewise.
5503         * nptl/pthread_rwlockattr_setkind_np.c
5504         (pthread_rwlockattr_setkind_np): Likewise.
5505         * nptl/pthread_rwlockattr_setpshared.c
5506         (pthread_rwlockattr_setpshared): Likewise.
5507         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5508         Likewise.
5509         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5510         Likewise.
5511         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5512         Likewise.
5513         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5514         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5515         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5516         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5517         * nptl/sem_close.c (sem_close): Likewise.
5518         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5519         * nptl/sem_init.c (__old_sem_init): Likewise.
5520         * nptl/sigaction.c (__sigaction): Likewise.
5521         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5522         * posix/_exit.c (_exit): Likewise.
5523         * posix/alarm.c (alarm): Likewise.
5524         * posix/confstr.c (confstr): Likewise.
5525         * posix/fpathconf.c (__fpathconf): Likewise.
5526         * posix/getgroups.c (__getgroups): Likewise.
5527         * posix/getpgid.c (__getpgid): Likewise.
5528         * posix/group_member.c (__group_member): Likewise.
5529         * posix/pathconf.c (__pathconf): Likewise.
5530         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5531         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5532         * posix/setgid.c (__setgid): Likewise.
5533         * posix/setpgid.c (__setpgid): Likewise.
5534         * posix/setuid.c (__setuid): Likewise.
5535         * posix/sleep.c (__sleep): Likewise.
5536         * posix/sysconf.c (__sysconf): Likewise.
5537         * posix/times.c (__times): Likewise.
5538         * posix/uname.c (__uname): Likewise.
5539         * posix/waitid.c (__waitid): Likewise.
5540         * pwd/getpw.c (__getpw): Likewise.
5541         * resolv/base64.c (b64_pton): Likewise.
5542         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5543         * resolv/gethnamaddr.c (Dprintf): Likewise.
5544         (gethostbyname): Likewise.
5545         (gethostbyname2): Likewise.
5546         (gethostbyaddr): Likewise.
5547         (_sethtent): Likewise.
5548         (_gethtbyname): Likewise.
5549         (_gethtbyname2): Likewise.
5550         (_gethtbyaddr): Likewise.
5551         (map_v4v6_address): Likewise.
5552         (map_v4v6_hostent): Likewise.
5553         (addrsort): Likewise.
5554         (ht_sethostent): Likewise.
5555         (ht_gethostbyname): Likewise.
5556         (ht_gethostbyaddr): Likewise.
5557         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5558         (inet_net_ntop_ipv4): Likewise.
5559         * resolv/inet_neta.c (inet_neta): Likewise.
5560         * resolv/inet_ntop.c (inet_ntop): Likewise.
5561         (inet_ntop4): Likewise.
5562         (inet_ntop6): Likewise.
5563         * resolv/inet_pton.c (__inet_pton): Likewise.
5564         (inet_pton4): Likewise.
5565         (inet_pton6): Likewise.
5566         * resolv/res_debug.c (loc_aton): Likewise.
5567         (loc_ntoa): Likewise.
5568         * resource/getpriority.c (__getpriority): Likewise.
5569         * resource/getrusage.c (__getrusage): Likewise.
5570         * resource/nice.c (nice): Likewise.
5571         * resource/setpriority.c (__setpriority): Likewise.
5572         * resource/setrlimit64.c (setrlimit64): Likewise.
5573         * resource/vlimit.c (vlimit): Likewise.
5574         * resource/vtimes.c (vtimes): Likewise.
5575         * rt/aio_error.c (aio_error): Likewise.
5576         * rt/aio_return.c (aio_return): Likewise.
5577         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5578         * signal/kill.c (__kill): Likewise.
5579         * signal/killpg.c (killpg): Likewise.
5580         * signal/raise.c (raise): Likewise.
5581         * signal/sigaction.c (__sigaction): Likewise.
5582         * signal/sigaddset.c (sigaddset): Likewise.
5583         * signal/sigaltstack.c (sigaltstack): Likewise.
5584         * signal/sigandset.c (sigandset): Likewise.
5585         * signal/sigblock.c (__sigblock): Likewise.
5586         * signal/sigdelset.c (sigdelset): Likewise.
5587         * signal/sigempty.c (sigemptyset): Likewise.
5588         * signal/sigfillset.c (sigfillset): Likewise.
5589         * signal/sighold.c (sighold): Likewise.
5590         * signal/sigignore.c (sigignore): Likewise.
5591         * signal/sigintr.c (siginterrupt): Likewise.
5592         * signal/sigisempty.c (sigisemptyset): Likewise.
5593         * signal/sigismem.c (sigismember): Likewise.
5594         * signal/signal.c (signal): Likewise.
5595         * signal/sigorset.c (sigorset): Likewise.
5596         * signal/sigpause.c (__sigpause): Likewise.
5597         * signal/sigpending.c (sigpending): Likewise.
5598         * signal/sigprocmask.c (__sigprocmask): Likewise.
5599         * signal/sigrelse.c (sigrelse): Likewise.
5600         * signal/sigreturn.c (__sigreturn): Likewise.
5601         * signal/sigset.c (sigset): Likewise.
5602         * signal/sigsetmask.c (__sigsetmask): Likewise.
5603         * signal/sigstack.c (sigstack): Likewise.
5604         * signal/sigsuspend.c (__sigsuspend): Likewise.
5605         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5606         * signal/sysv_signal.c (__sysv_signal): Likewise.
5607         * socket/accept.c (accept): Likewise.
5608         * socket/accept4.c (__libc_accept4): Likewise.
5609         * socket/bind.c (__bind): Likewise.
5610         * socket/connect.c (__connect): Likewise.
5611         * socket/getpeername.c (getpeername): Likewise.
5612         * socket/getsockname.c (__getsockname): Likewise.
5613         * socket/getsockopt.c (getsockopt): Likewise.
5614         * socket/listen.c (__listen): Likewise.
5615         * socket/recv.c (__recv): Likewise.
5616         * socket/recvmsg.c (__recvmsg): Likewise.
5617         * socket/send.c (__send): Likewise.
5618         * socket/sendmsg.c (__sendmsg): Likewise.
5619         * socket/shutdown.c (shutdown): Likewise.
5620         * socket/sockatmark.c (sockatmark): Likewise.
5621         * socket/socket.c (__socket): Likewise.
5622         * stdio-common/ctermid.c (ctermid): Likewise.
5623         * stdio-common/cuserid.c (cuserid): Likewise.
5624         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5625         * stdio-common/remove.c (remove): Likewise.
5626         * stdio-common/rename.c (rename): Likewise.
5627         * stdio-common/renameat.c (renameat): Likewise.
5628         * stdio-common/tempname.c (__gen_tempname): Likewise.
5629         * stdio-common/xbug.c (InitBuffer): Likewise.
5630         (AppendToBuffer): Likewise.
5631         (ReadFile): Likewise.
5632         * stdlib/a64l.c (a64l): Likewise.
5633         * stdlib/drand48_r.c (drand48_r): Likewise.
5634         * stdlib/getcontext.c (getcontext): Likewise.
5635         * stdlib/getenv.c (getenv): Likewise.
5636         * stdlib/l64a.c (l64a): Likewise.
5637         * stdlib/llabs.c (llabs): Likewise.
5638         * stdlib/lldiv.c (lldiv): Likewise.
5639         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5640         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5641         * stdlib/putenv.c (putenv): Likewise.
5642         * stdlib/random.c (__srandom): Likewise.
5643         (__initstate): Likewise.
5644         (__setstate): Likewise.
5645         * stdlib/random_r.c (__srandom_r): Likewise.
5646         (__setstate_r): Likewise.
5647         (__random_r): Likewise.
5648         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5649         * stdlib/setcontext.c (setcontext): Likewise.
5650         * stdlib/setenv.c (setenv): Likewise.
5651         (unsetenv): Likewise.
5652         * stdlib/srand48.c (srand48): Likewise.
5653         * stdlib/srand48_r.c (__srand48_r): Likewise.
5654         * stdlib/swapcontext.c (swapcontext): Likewise.
5655         * stdlib/system.c (__libc_system): Likewise.
5656         * stdlib/tst-strtod.c (expand): Likewise.
5657         * stdlib/tst-strtol.c (expand): Likewise.
5658         * stdlib/tst-strtoll.c (expand): Likewise.
5659         * streams/fattach.c (fattach): Likewise.
5660         * streams/fdetach.c (fdetach): Likewise.
5661         * streams/getmsg.c (getmsg): Likewise.
5662         * streams/isastream.c (isastream): Likewise.
5663         * string/ffs.c (__ffs): Likewise.
5664         * string/ffsll.c (ffsll): Likewise.
5665         * string/memcmp.c (memcmp_common_alignment): Likewise.
5666         (memcmp_not_common_alignment): Likewise.
5667         (MEMCMP): Likewise.
5668         * string/memcpy.c (memcpy): Likewise.
5669         * string/memmove.c (MEMMOVE): Likewise.
5670         * string/memset.c (memset): Likewise.
5671         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5672         * string/strchrnul.c (STRCHRNUL): Likewise.
5673         * string/strerror.c (strerror): Likewise.
5674         * string/strndup.c (__strndup): Likewise.
5675         * string/strverscmp.c (__strverscmp): Likewise.
5676         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5677         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5678         (clnttcp_freeres): Likewise.
5679         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5680         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5681         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5682         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5683         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5684         (xdr_callhdr): Likewise.
5685         * sunrpc/rpcinfo.c (udpping): Likewise.
5686         (tcpping): Likewise.
5687         (pstatus): Likewise.
5688         (pmapdump): Likewise.
5689         (brdcst): Likewise.
5690         (deletereg): Likewise.
5691         (getprognum): Likewise.
5692         (getvers): Likewise.
5693         (get_inet_address): Likewise.
5694         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5695         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5696         (svcudp_stat): Likewise.
5697         (svcudp_recv): Likewise.
5698         (svcudp_reply): Likewise.
5699         (svcudp_getargs): Likewise.
5700         (svcudp_freeargs): Likewise.
5701         (svcudp_destroy): Likewise.
5702         * sunrpc/xdr.c (xdr_bytes): Likewise.
5703         (xdr_netobj): Likewise.
5704         (xdr_string): Likewise.
5705         (xdr_wrapstring): Likewise.
5706         * sunrpc/xdr_float.c (xdr_float): Likewise.
5707         (xdr_double): Likewise.
5708         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5709         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5710         * sysvipc/ftok.c (ftok): Likewise.
5711         * sysvipc/msgctl.c (msgctl): Likewise.
5712         * sysvipc/msgget.c (msgget): Likewise.
5713         * sysvipc/msgrcv.c (msgrcv): Likewise.
5714         * sysvipc/msgsnd.c (msgsnd): Likewise.
5715         * sysvipc/semget.c (semget): Likewise.
5716         * sysvipc/semop.c (semop): Likewise.
5717         * sysvipc/shmat.c (shmat): Likewise.
5718         * sysvipc/shmctl.c (shmctl): Likewise.
5719         * sysvipc/shmdt.c (shmdt): Likewise.
5720         * sysvipc/shmget.c (shmget): Likewise.
5721         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5722         * termios/speed.c (cfgetospeed): Likewise.
5723         (cfgetispeed): Likewise.
5724         (cfsetospeed): Likewise.
5725         (cfsetispeed): Likewise.
5726         * termios/tcflow.c (tcflow): Likewise.
5727         * termios/tcflush.c (tcflush): Likewise.
5728         * termios/tcgetattr.c (__tcgetattr): Likewise.
5729         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5730         * termios/tcgetsid.c (tcgetsid): Likewise.
5731         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5732         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5733         * time/adjtime.c (__adjtime): Likewise.
5734         * time/dysize.c (dysize): Likewise.
5735         * time/ftime.c (ftime): Likewise.
5736         * time/getitimer.c (__getitimer): Likewise.
5737         * time/gettimeofday.c (__gettimeofday): Likewise.
5738         * time/gmtime.c (__gmtime_r): Likewise.
5739         (gmtime): Likewise.
5740         * time/localtime.c (__localtime_r): Likewise.
5741         (localtime): Likewise.
5742         * time/offtime.c (__offtime): Likewise.
5743         * time/settimeofday.c (__settimeofday): Likewise.
5744         * time/stime.c (stime): Likewise.
5745         * time/strftime_l.c (tm_diff): Likewise.
5746         (iso_week_days): Likewise.
5747         * time/strptime.c (strptime): Likewise.
5748         * time/time.c (time): Likewise.
5749         * time/timespec_get.c (timespec_get): Likewise.
5750         * time/tzset.c (tzset_internal): Likewise.
5751         (compute_change): Likewise.
5752         (__tz_compute): Likewise.
5753         * wcsmbs/btowc.c (__btowc): Likewise.
5754         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5755         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5756         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5757         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5758         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5759         * wcsmbs/wcscat.c (__wcscat): Likewise.
5760         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5761         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5762         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5763         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5764         * wcsmbs/wcsdup.c (wcsdup): Likewise.
5765         * wcsmbs/wcslen.c (__wcslen): Likewise.
5766         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5767         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5768         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5769         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5770         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5771         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5772         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5773         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5774         * wcsmbs/wcstok.c (wcstok): Likewise.
5775         * wcsmbs/wctob.c (wctob): Likewise.
5776         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5777         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5778         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5779         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5780         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5781         * wcsmbs/wmemset.c (__wmemset): Likewise.
5782         * wctype/wcfuncs.c (__towlower): Likewise.
5783         (__towupper): Likewise.
5785         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5786         (lll_unlock_elision): Add adapt_count parameter.
5788 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5790         * sysdeps/nptl/configure.ac: Do not give errors based on the
5791         results of top-level configure tests.
5792         * sysdeps/nptl/configure: Regenerated.
5794         * configure.ac (libc_cv_Bgroup): Remove configure test.
5795         * configure: Regenerated.
5796         * config.make.in (have-Bgroup): Remove variable.
5798         * configure.ac (sizeof_long_double): Remove configure test.
5799         * configure: Regenerated.
5800         * config.make.in (sizeof-long-double): Remove variable.
5802         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5803         * configure: Regenerated.
5804         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5805         variable.
5806         (exceptions): Likewise.
5807         * sysdeps/arm/configure: Regenerated.
5808         * config.make.in (exceptions): Remove variable.
5809         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5810         $(exceptions).
5811         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5812         (CFLAGS-vdprintf_chk.c): Likewise.
5813         (CFLAGS-printf_chk.c): Likewise.
5814         (CFLAGS-fprintf_chk.c): Likewise.
5815         (CFLAGS-vprintf_chk.c): Likewise.
5816         (CFLAGS-vfprintf_chk.c): Likewise.
5817         (CFLAGS-gets_chk.c): Likewise.
5818         (CFLAGS-fgets_chk.c): Likewise.
5819         (CFLAGS-fgets_u_chk.c): Likewise.
5820         (CFLAGS-fread_chk.c): Likewise.
5821         (CFLAGS-fread_u_chk.c): Likewise.
5822         (CFLAGS-wprintf_chk.c): Likewise.
5823         (CFLAGS-fwprintf_chk.c): Likewise.
5824         (CFLAGS-vwprintf_chk.c): Likewise.
5825         (CFLAGS-vfwprintf_chk.c): Likewise.
5826         (CFLAGS-fgetws_chk.c): Likewise.
5827         (CFLAGS-fgetws_u_chk.c): Likewise.
5828         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5829         (CFLAGS-fputc.c): Likewise.
5830         (CFLAGS-fputwc.c): Likewise.
5831         (CFLAGS-freopen64.c): Likewise.
5832         (CFLAGS-freopen.c): Likewise.
5833         (CFLAGS-fseek.c): Likewise.
5834         (CFLAGS-fseeko64.c): Likewise.
5835         (CFLAGS-fseeko.c): Likewise.
5836         (CFLAGS-ftello64.c): Likewise.
5837         (CFLAGS-ftello.c): Likewise.
5838         (CFLAGS-fwide.c): Likewise.
5839         (CFLAGS-genops.c): Likewise.
5840         (CFLAGS-getc.c): Likewise.
5841         (CFLAGS-getchar.c): Likewise.
5842         (CFLAGS-getwc.c): Likewise.
5843         (CFLAGS-getwchar.c): Likewise.
5844         (CFLAGS-iofclose.c): Likewise.
5845         (CFLAGS-iofflush.c): Likewise.
5846         (CFLAGS-iofgetpos64.c): Likewise.
5847         (CFLAGS-iofgetpos.c): Likewise.
5848         (CFLAGS-iofgets.c): Likewise.
5849         (CFLAGS-iofgetws.c): Likewise.
5850         (CFLAGS-iofputs.c): Likewise.
5851         (CFLAGS-iofputws.c): Likewise.
5852         (CFLAGS-iofread.c): Likewise.
5853         (CFLAGS-iofsetpos64.c): Likewise.
5854         (CFLAGS-iofsetpos.c): Likewise.
5855         (CFLAGS-ioftell.c): Likewise.
5856         (CFLAGS-iofwrite.c): Likewise.
5857         (CFLAGS-iogetdelim.c): Likewise.
5858         (CFLAGS-iogetline.c): Likewise.
5859         (CFLAGS-iogets.c): Likewise.
5860         (CFLAGS-iogetwline.c): Likewise.
5861         (CFLAGS-ioputs.c): Likewise.
5862         (CFLAGS-ioseekoff.c): Likewise.
5863         (CFLAGS-ioseekpos.c): Likewise.
5864         (CFLAGS-iosetbuffer.c): Likewise.
5865         (CFLAGS-iosetvbuf.c): Likewise.
5866         (CFLAGS-ioungetc.c): Likewise.
5867         (CFLAGS-ioungetwc.c): Likewise.
5868         (CFLAGS-oldfileops.c): Likewise.
5869         (CFLAGS-oldiofclose.c): Likewise.
5870         (CFLAGS-oldiofgetpos64.c): Likewise.
5871         (CFLAGS-oldiofgetpos.c): Likewise.
5872         (CFLAGS-oldiofsetpos64.c): Likewise.
5873         (CFLAGS-oldiofsetpos.c): Likewise.
5874         (CFLAGS-peekc.c): Likewise.
5875         (CFLAGS-putc.c): Likewise.
5876         (CFLAGS-putchar.c): Likewise.
5877         (CFLAGS-putwc.c): Likewise.
5878         (CFLAGS-putwchar.c): Likewise.
5879         (CFLAGS-rewind.c): Likewise.
5880         (CFLAGS-wfileops.c): Likewise.
5881         (CFLAGS-wgenops.c): Likewise.
5882         (CFLAGS-oldiofopen.c): Likewise.
5883         (CFLAGS-iofopen.c): Likewise.
5884         (CFLAGS-iofopen64.c): Likewise.
5885         (CFLAGS-oldtmpfile.c): Likewise.
5886         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5887         (CFLAGS-fprintf.c): Likewise.
5888         (CFLAGS-printf.c): Likewise.
5889         (CFLAGS-vfwprintf.c): Likewise.
5890         (CFLAGS-vfscanf.c): Likewise.
5891         (CFLAGS-vfwscanf.c): Likewise.
5892         (CFLAGS-fscanf.c): Likewise.
5893         (CFLAGS-scanf.c): Likewise.
5894         (CFLAGS-isoc99_vfscanf.c): Likewise.
5895         (CFLAGS-isoc99_vscanf.c): Likewise.
5896         (CFLAGS-isoc99_fscanf.c): Likewise.
5897         (CFLAGS-isoc99_scanf.c): Likewise.
5898         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5899         (CFLAGS-isoc99_fwscanf.c): Likewise.
5900         (CFLAGS-isoc99_vwscanf.c): Likewise.
5901         (CFLAGS-isoc99_vfwscanf.c): Likewise.
5903         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5904         after mkstemp64.
5905         * login/tst-utmp.c (do_prepare): Likewise.
5906         * rt/tst-aio.c (do_prepare): Likewise.
5907         * rt/tst-aio64.c (do_prepare): Likewise.
5909 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5911         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5912         (__lll_lock_elision): Remove adapt_count decrement...
5913         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5914         (__lll_trylock_elision): Likewise.
5915         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5916         (__lll_unlock_elision): ... to here. And utilize
5917         new adapt_count parameter.
5918         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5919         (__lll_unlock_elision): Update to include adapt_count
5920         parameter.
5921         (lll_unlock_elision): Pass pointer to adapt_count
5922         variable.
5924 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5926         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5927         Add elision adapt_count parameter to list of arguments.
5928         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5929         (lll_unlock_elision): Update with new parameter list
5930         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5931         (lll_unlock_elision): Likewise.
5932         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5933         (lll_unlock_elision): Likewise.
5935 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5937         [BZ #19122]
5938         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5939         attribute_hidden.
5941         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5942         attribute_hidden.
5943         [IS_IN (rtld)] (__strdup): Likewise.
5944         [IS_IN (rtld)] (__strerror_r): Likewise.
5945         [IS_IN (rtld)] (__strsep_g): Likewise.
5946         [IS_IN (rtld)] (memchr): Likewise.
5947         [IS_IN (rtld)] (memcmp): Likewise.
5948         [IS_IN (rtld)] (memcpy): Likewise.
5949         [IS_IN (rtld)] (memmove): Likewise.
5950         [IS_IN (rtld)] (memset): Likewise.
5951         [IS_IN (rtld)] (rawmemchr): Likewise.
5952         [IS_IN (rtld)] (stpcpy): Likewise.
5953         [IS_IN (rtld)] (strchr): Likewise.
5954         [IS_IN (rtld)] (strcmp): Likewise.
5955         [IS_IN (rtld)] (strlen): Likewise.
5956         [IS_IN (rtld)] (strnlen): Likewise.
5957         [IS_IN (rtld)] (strsep): Likewise.
5959         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5960         attribute_hidden.
5961         [IS_IN (rtld)] (__strtoul_internal): Likewise.
5963         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5964         attribute_hidden.
5965         [IS_IN (rtld)] (__libc_sigaction): Likewise.
5967         * include/setjmp.h (__longjmp): Add attribute_hidden.
5968         [IS_IN (rtld)] (__sigsetjmp): Likewise.
5970         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5971         Add attribute_hidden.
5973         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5974         [IS_IN (rtld)] (__open): Likewise.
5975         [IS_IN (rtld)] (__fcntl): Likewise.
5977         * include/dirent.h (__opendirat): Add attribute_hidden.
5978         (__getdents): Likewise.
5979         (__getdents64): Likewise.
5980         (__alloc_dir): Likewise.
5981         [IS_IN (rtld)] (__closedir): Likewise.
5982         [IS_IN (rtld)] (__fdopendir): Likewise.
5983         [IS_IN (rtld)] (__readdir): Likewise.
5984         [IS_IN (rtld)] (__readdir64): Likewise.
5985         [IS_IN (rtld)] (__rewinddir): Likewise.
5987         * include/dlfcn.h (_dl_catch_error): Moved to ...
5988         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5989         attribute_hidden.
5991         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5992         (_itoa_word): Likewise.
5994         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5995         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5996         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5997         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5998         (_dl_higher_prime_number): Likewise.
5999         (_dl_debug_printf_c): Likewise.
6000         (_dl_signal_cerror): Likewise.
6001         (_dl_receive_error): Likewise.
6002         (_dl_reloc_bad_type): Likewise.
6003         (_dl_resolve_conflicts): Likewise.
6004         (_dl_check_all_versions): Likewise.
6005         (_dl_check_map_versions): Likewise.
6006         (_dl_sort_fini): Likewise.
6007         (_dl_debug_initialize): Likewise.
6008         (_dl_init_paths): Likewise.
6009         (_dl_show_auxv): Likewise.
6010         (_dl_next_ld_env_entry): Likewise.
6011         (_dl_important_hwcaps): Likewise.
6012         (_dl_load_cache_lookup): Likewise.
6013         (_dl_update_slotinfo): Likewise.
6014         (_dl_show_scope): Likewise.
6016         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6017         attribute_hidden.
6018         (_wordcopy_fwd_dest_aligned): Likewise.
6019         (_wordcopy_bwd_aligned): Likewise.
6020         (_wordcopy_bwd_dest_aligned): Likewise.
6022         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6023         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6024         Likewise.
6025         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6026         Likewise.
6027         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6029 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6031         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6032         GCC 5 requirement.
6034 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6036         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6037         test.
6038         * sysdeps/i386/configure: Regenerated.
6039         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6040         code unconditional.
6042         * configure.ac (libc_cv_asm_previous_directive): Remove configure
6043         test.
6044         (libc_cv_asm_popsection_directive): Likewise.
6045         * configure: Regenerated.
6046         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6047         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6048         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6049         (__make_section_unallocated): Make definition unconditional.
6050         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6051         Remove conditional definition.
6052         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6053         (__make_section_unallocated): Likewise.
6055         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6056         * configure: Regenerated.
6057         * config.make.in (static-libgcc): Remove variable.
6058         * Makerules (build-shlib-helper): Use -static-libgcc instead of
6059         $(static-libgcc).
6060         (build-module-helper): Likewise.
6062         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6063         * configure: Regenerated.
6065 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6067         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6068         (struct char_buffer): New type.
6069         (char_buffer_start, char_buffer_size, char_buffer_error)
6070         (char_buffer_rewind, char_buffer_add): New functions.
6071         (ADDW): Remove macro, replaced by the char_buffer_add function.
6072         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6073         of extend_alloca.  Make control flow more explicit.
6075 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6077         [BZ #19137]
6078         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6079         Add -fomit-frame-pointer.
6080         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6082 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6084         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6085         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6086         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6087         only if !__GNUC_PREREQ (5,0).
6088         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6089         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6090         (INTERNAL_SYSCALL_NCS): Likewise.
6091         (LOADREGS_0): New macro for GCC 5.
6092         (ASMARGS_0): Likewise.
6093         (LOADREGS_1): Likewise.
6094         (ASMARGS_1): Likewise.
6095         (LOADREGS_2): Likewise.
6096         (ASMARGS_2): Likewise.
6097         (LOADREGS_3): Likewise.
6098         (ASMARGS_3): Likewise.
6099         (LOADREGS_4): Likewise.
6100         (ASMARGS_4): Likewise.
6101         (LOADREGS_5): Likewise.
6102         (ASMARGS_5): Likewise.
6103         (LOADREGS_6): Likewise.
6104         (ASMARGS_6): Likewise.
6106 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6108         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6109         -fomit-frame-pointer.
6110         (CFLAGS-mmap64.c): Likewise.
6111         (CFLAGS-semtimedop.c): Likewise.
6112         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6113         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6114         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6115         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6117 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6119         [BZ #18928]
6120         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6121         _dl_pointer_guard member.
6122         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6123         initializer.
6124         (security_init): Always set up pointer guard.
6125         (process_envvars): Do not process LD_POINTER_GUARD.
6127 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
6129         [BZ #19134]
6130         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6131         (.LC2): Likewise.
6132         (.LC3): Likewise.
6133         (__lround): Do not add 0.5 to integer or out-of-range arguments.
6135 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6137         [BZ #19129]
6138         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6139         r0 and r1.
6141 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
6143         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6145 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
6147         * include/stap-probe.h: Fix macro definition formatting.
6149 2015-10-14  Florian Weimer  <fweimer@redhat.com>
6151         [BZ #19074]
6152         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6153         load and store num_ifs.
6155 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6157         [BZ #18822]
6158         * sysdeps/unix/sysv/linux/sched_getaffinity.c
6159         (__sched_getaffinity_new): Add libc_hidden_proto and
6160         libc_hidden_def.
6162 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6164         [BZ #19007]
6165         * scripts/localplt.awk: Also allow GOT references.
6166         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6167         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6168         with "+ REL R_386_GLOB_DAT".
6169         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6170         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6172 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6174         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6175         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6176         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6177         Likewise.
6178         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6179         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6180         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6181         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6182         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6183         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6184         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6185         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6186         Likewise.
6187         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6189 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6191         [BZ #19125]
6192         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6193         <math_private.h> and <stdint.h>.
6194         (__llround): Avoid conversions to and from long long int, and
6195         subtractions, where those might raise spurious exceptions.
6196         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6197         <math_private.h> and <stdint.h>.
6198         (__llroundf): Avoid conversions to and from long long int, and
6199         subtractions, where those might raise spurious exceptions.
6201 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6203         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6204         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6205         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6206         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6207         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6208         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6209         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6210         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6211         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6212         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6213         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6214         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6215         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6216         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6217         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6218         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6219         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6220         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6221         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6222         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6223         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6224         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6225         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6226         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6227         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6228         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6229         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6230         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6231         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6232         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6233         (__xstat64_conv): Likewise.
6234         (__xstat32_conv): Likewise.
6236 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6238         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6239         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6240         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6241         <sysdeps/unix/sysv/linux/sysdep.h>.
6242         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6243         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6244         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6245         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6246         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6247         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6248         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6249         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6250         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6254         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6255         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6256         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6258         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6259         (sysdep-dl-routines): Add sysdep.
6260         [$(subdir) == nptl] (libpthread-routines): Likewise.
6261         [$(subdir) == rt] (librt-routines): Likewise.
6262         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6263         PIC when branching to SYSCALL_ERROR_LABEL.
6264         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6265         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6266         <sysdeps/unix/sysv/linux/sysdep.h>.
6267         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6268         (SYSCALL_ERROR_ERRNO): Removed.
6269         (SYSCALL_ERROR_HANDLER): Changed to empty.
6270         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6271         (__syscall_error): New prototype.
6272         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6273         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6275 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6277         [BZ #19124]
6278         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6279         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6280         _dl_runtime_resolve_avx.
6281         (_dl_runtime_profile_avx512): Make it a hidden alias of
6282         _dl_runtime_profile_avx.
6284 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6286         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6287         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6288         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6289         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6291         [BZ #16422]
6292         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6293         New configure test.
6294         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6295         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6296         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6297         <math_private.h> and <stdint.h>.
6298         (__llrint): Avoid conversions to long long int where those might
6299         raise spurious exceptions.
6300         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6301         <math_private.h> and <stdint.h>.
6302         (__llrintf): Avoid conversions to long long int where those might
6303         raise spurious exceptions.
6305 2015-10-12  Andreas Schwab  <schwab@suse.de>
6307         [BZ #18969]
6308         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
6309         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6310         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
6311         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6312         $(gen-locales).
6313         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
6314         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6315         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6316         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6317         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6318         $(gen-locales).
6319         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
6320         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6321         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6322         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6323         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6324         ($(objpfx)tst-ftell-active-handler.out)
6325         ($(objpfx)tst-ftell-append.out)
6326         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6327         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6328         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6329         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6330         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
6331         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6332         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6333         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6334         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6335         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6336         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6337         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6338         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6339         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6340         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6341         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6342         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6343         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6344         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
6345         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6346         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6347         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6348         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6349         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
6350         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6351         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6352         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6353         $(gen-locales).
6354         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
6355         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6356         $(gen-locales).
6357         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
6358         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6359         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6360         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6361         $(gen-locales).
6362         * libio/tst_wprintf2.c (main): Use explicit locale.
6363         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6365 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6367         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6368         __msg_sig_post.
6369         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6371 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6373         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6374         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6376         * sysdeps/arm/libm-test-ulps: Regenerated.
6378         [BZ #15470]
6379         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6381         [BZ #16399]
6382         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6383         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6384         and <fix-fp-int-convert-overflow.h>.
6385         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6386         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6387         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6388         and <fix-fp-int-convert-overflow.h>.
6389         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6390         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6391         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6392         <fix-fp-int-convert-overflow.h>.
6393         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6394         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6395         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6396         <fix-fp-int-convert-overflow.h>.
6397         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6398         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6399         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6400         and <fix-fp-int-convert-overflow.h>.
6401         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6402         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6403         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6404         <limits.h> and <fix-fp-int-convert-overflow.h>.
6405         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6406         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6407         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6408         and <fix-fp-int-convert-overflow.h>.
6409         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6410         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6411         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6412         and <fix-fp-int-convert-overflow.h>.
6413         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6414         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6415         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6417 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6419         [BZ #18589]
6420         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6421         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6422         $(gen-locales).
6424 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6425             Phil Blundell <pb@pbcl.net>
6427         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6428         * nptl/tst-cancel26.c: New file.
6429         * nptl/tst-cancel27.c: Likewise.
6431 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6433         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6434         __ILP32__ isn't defined.
6435         (lrint): Likewise.
6436         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6437         (lrintf): Likewise.
6438         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6439         (lrintl): Likewise.
6440         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6441         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6442         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6444 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6446         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6447         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6449         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6450         file.
6451         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6452         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6454 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6456         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6457         configure test.
6458         * sysdeps/i386/configure: Regenerated.
6459         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6460         configure test.
6461         * sysdeps/x86_64/configure: Regenerated.
6462         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6463         Make code unconditional.
6465         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6466         test.
6467         * sysdeps/i386/configure: Regenerated.
6468         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6469         test.
6470         * sysdeps/x86_64/configure: Regenerated.
6471         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6472         Make code unconditional.
6473         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6474         Likewise.
6475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6476         Likewise.
6477         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6478         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6479         code unconditional.
6480         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6481         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6482         code unconditional.
6483         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6484         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6485         code unconditional.
6486         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6487         code unconditional.
6488         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6489         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6490         code unconditional.
6491         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6492         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6493         code unconditional.
6494         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6495         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6496         code unconditional.
6497         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6498         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6499         code unconditional.
6500         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6501         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6503         [BZ #19095]
6504         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6505         mantissa to long int before shifting left.
6507 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6509         [BZ #19094]
6510         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6511         <limits.h>.
6512         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6513         when result overflows but exception would not result from cast.
6514         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6515         <limits.h>.
6516         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6517         when result overflows but exception would not result from cast.
6518         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6519         <limits.h>.
6520         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6521         when result overflows but exception would not result from cast.
6522         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6523         <limits.h>.
6524         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6525         when result overflows but exception would not result from cast.
6526         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6527         <limits.h>.
6528         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6529         when result overflows but exception would not result from cast.
6530         * math/libm-test.inc (lrint_test_data): Add more tests.
6531         (llrint_test_data): Likewise.
6533 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6535         [BZ #18872]
6536         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6537         Move out from under [$(run-built-tests) = yes] conditional.
6538         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6539         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6541 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6543         [BZ #18589]
6544         * string/Makefile (tests): Add bug-strcoll2.
6545         (LOCALES): Add cs_CZ.UTF-8.
6546         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6548         [BZ #18589]
6549         * string/bug-strcoll2.c: New file.
6550         * locale/categories.def: Revert commit
6551         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6552         * locale/langinfo.h: Likewise.
6553         * locale/localeinfo.h: Likewise.
6554         * locale/C-collate.c: Likewise.
6555         * locale/programs/ld-collate.c (collate_output): Likewise.
6556         * string/strcoll_l.c (STRDIFF): Likewise.
6557         (STRCOLL): Likewise.
6558         * wcsmbs/wcscoll_l.c: Likewise.
6560 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6562         * math/libm-test.inc (lround_test_data): Do not expect the absence
6563         of "inexact" for some tests with non-integer arguments.
6564         (llround_test_data): Likewise.
6566         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6567         test.
6568         (libc_cv_cc_sse2avx): Likewise.
6569         * sysdeps/i386/configure: Regenerated.
6570         * sysdeps/i386/i686/multiarch/Makefile
6571         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6572         [$(subdir) = math].
6573         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6574         code unconditional.
6575         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6576         Likewise.
6577         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6578         Likewise.
6579         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6580         Likewise.
6581         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6582         test.
6583         (libc_cv_cc_sse2avx): Likewise.
6584         * sysdeps/x86_64/configure: Regenerated.
6585         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6586         unconditional.
6587         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6588         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6589         unconditional.
6590         (_dl_runtime_profile)
6591         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6592         conditional code.
6593         * sysdeps/x86_64/fpu/multiarch/Makefile
6594         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6595         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6596         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6597         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6598         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6599         * sysdeps/x86_64/fpu/multiarch/e_log.c
6600         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6601         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6602         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6603         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6604         Likewise.
6605         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6606         Likewise.
6607         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6608         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6609         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6610         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6611         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6612         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6613         (HAVE_SSE2AVX_SUPPORT): Likewise.
6615 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6617         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6618         instead of #pragma optimize.
6620 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6622         [BZ #17195]
6623         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6624         as is similarly done in systrim and _int_free already.
6626 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6628         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6630 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6632         [BZ #19088]
6633         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6634         <limits.h>.
6635         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6636         overflows but exception would not result from cast.
6637         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6638         and <limits.h>.
6639         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6640         overflows but exception would not result from cast.
6641         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6642         <limits.h>.
6643         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6644         overflows but exception would not result from cast.
6645         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6646         <limits.h>.
6647         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6648         overflows but exception would not result from cast.
6649         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6650         <limits.h>.
6651         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6652         overflows but exception would not result from cast.
6653         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6654         <limits.h>.
6655         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6656         overflows but exception would not result from cast.
6657         * math/libm-test.inc (lround_test_data): Add more tests.
6658         (llround_test_data): Likewise.
6660 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6662         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6663         (CFLAGS-ialloc.c): Ditto.
6664         (CFLAGS-scheck.c): Ditto.
6666 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6668         [BZ #19086]
6669         * manual/filesys.texi (Storage Allocation): Fix argument order for
6670         posix_fallocate64.
6672 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6674         [BZ #19085]
6675         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6676         exponent below 48 inside case for non-overflowing exponent.
6677         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6679 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6681         * iconvdata/cp737.h (from_idx): Add const.
6682         * iconvdata/cp775.h (from_idx): Likewise.
6684 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6686         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6687         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6688         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6690         [BZ #19079]
6691         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6692         file, conditioned on [!_LP64].
6693         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6694         [!_LP64] (__lround): Do not define as function or alias.
6695         [!_LP64] (lround): Likewise.
6696         [!_LP64] (__lroundl): Likewise.
6697         [!_LP64] (lroundl): Likewise.
6698         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6699         macro.
6700         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6701         Likewise.
6703 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6705         * math/libm-test.inc (lrint_test_data): Add more tests.
6706         (llrint_test_data): Likewise.
6707         (lround_test_data): Likewise.
6708         (llround_test_data): Likewise.
6710         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6711         (llrint_test_data): Add tests used for lrint.
6713         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6714         test.
6715         * sysdeps/i386/configure: Regenerated.
6716         * sysdeps/i386/i686/multiarch/Makefile
6717         [$(config-cflags-sse4) = yes]: Make code unconditional.
6718         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6719         Likewise.
6720         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6721         Likewise.
6722         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6723         test.
6724         * sysdeps/x86_64/configure: Regenerated.
6725         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6726         Make code unconditional.
6727         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6728         Likewise.
6729         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6730         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6732         * scripts/rpm2dynsym.sh: Remove file.
6734 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6736         * configure.ac (libc_cv_cxx_thread_local): Define.
6737         * configure: Regenerate.
6738         * config.make.in (have-cxx-thread_local): Define.
6739         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6740         (LDLIBS-tst-thread_local1): Define.
6741         (tests): Add tst-thread_local1.
6742         [have-cxx-thread_local != yes] (tests-unsupported): Add
6743         tst-thread_local1.
6744         * nptl/tst-thread_local1.cc: New file.
6746 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6748         [BZ #19078]
6749         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6750         (u_thres): Likewise.
6751         (__expl): Determine whether to call __kernel_standard_l based on
6752         value of result, not argument.
6754         * math/libm-test.inc (scalb_test_data): Add more expectations for
6755         the "inexact" exception.
6757         [BZ #19077]
6758         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6759         0.0L for argument 1.0L.
6761         [BZ #19076]
6762         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6763         constant 0.0L when computing infinite result.
6765 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6767         [BZ #10432]
6768         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6769         malloc_usable_size.
6771 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6773         [BZ #19018]
6774         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6775         Mangle function pointer before storing it.
6776         (__call_tls_dtors): Demangle function pointer before calling it.
6778 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6780         [BZ #19012]
6781         * iconv/gconv_db.c (gen_steps): Check for additional errors.
6782         Clean up on failure.
6784 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
6786         [BZ #19071]
6787         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6788         long int variable to store possibly incremented high part of
6789         mantissa.
6790         * math/libm-test.inc (lround_test_data): Add tests used for
6791         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
6792         for tests requiring 64-bit long.  Do not condition tests on
6793         [TEST_FLOAT] unnecessarily.
6794         (llround_test_data): Add tests used for lround.  Add another
6795         expectation for the "inexact" exception.  Do not condition tests
6796         on [TEST_FLOAT] unnecessarily.
6798         [BZ #887]
6799         [BZ #19049]
6800         [BZ #19050]
6801         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6802         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6803         <fix-int-fp-convert-zero.h>.
6804         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6805         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6806         <fix-int-fp-convert-zero.h>.
6807         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6808         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6809         <fix-int-fp-convert-zero.h>.
6810         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6811         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6812         <fix-int-fp-convert-zero.h>.
6813         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6814         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6815         <fix-int-fp-convert-zero.h>.
6816         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6817         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6818         <fix-int-fp-convert-zero.h>.
6819         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6820         * sysdeps/ieee754/flt-32/s_erff.c: Include
6821         <fix-int-fp-convert-zero.h>.
6822         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6823         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6824         <fix-int-fp-convert-zero.h>.
6825         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6826         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6827         <fix-int-fp-convert-zero.h>.
6828         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6830         <fix-int-fp-convert-zero.h>.
6831         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6832         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6833         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6834         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6835         file.
6836         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6838 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6840         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6842 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6844         [BZ #19059]
6845         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6846         overflowing computation.
6847         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6848         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6849         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6850         Likewise.
6851         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6852         Likewise.
6853         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6854         Likewise.
6855         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6856         Likewise.
6857         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6858         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6859         Likewise.
6860         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6861         Likewise.
6862         * math/libm-test.inc (nexttoward_test_data): Add more tests.
6864         * nss/rewrite_field.c (__nss_rewrite_field): Use
6865         internal_function.
6866         * nss/valid_field.c (__nss_valid_field): Likewise.
6867         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6869 2015-10-02  Florian Weimer  <fweimer@redhat.com>
6871         [BZ #18724]
6872         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6873         (__nss_invalid_field_characters, __nss_valid_field)
6874         (__nss_valid_list_field, __nss_rewrite_field): Declare.
6875         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6876         tst-field.c: New file.
6877         * nss/Makefile (routines): Add valid_field, rewrite_field.
6878         (tests-static): Define unconditionally.
6879         (tests): Include tests-static.
6880         [build-static-nss] (tests-static): Use append.
6881         [build-static-nss] (tests): Remove modification.
6882         * nss/getent.c (print_group): Call putgrent.  Report error.
6883         (print_gshadow): Call putsgent.  Report error.
6884         (print_passwd): Call putpwent.  Report error.
6885         (print_shadow): Call putspent.  Report error.
6886         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6887         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6888         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
6889         name, password, directory, shell fields for valid syntax.  Rewrite
6890         GECOS field to match syntax.
6891         * pwd/Makefile (tests): Add tst-putpwent.
6892         * pwd/tst-putpwent.c: New file.
6893         * grp/putgrent.c (putgrent): Convert to ISO function definition.
6894         Check grName, grpasswd, gr_mem fields for valid syntax.
6895         Change loop variable i to size_t.
6896         * grp/Makefile (tests): Add tst-putgrent.
6897         * grp/tst-putgrent.c: New file.
6898         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6899         valid syntax.
6900         * shadow/Makefile (tests): Add tst-putspent.
6901         * shadow/tst-putspent.c: New file.
6902         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6903         sg_mem fields for valid syntax.
6904         * gshadow/Makefile (tests): Add tst-putsgent.
6905         * gshadow/tst-putsgent.c: New file.
6907 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6909         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6910         assembly instructions.
6912 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6914         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6915         prefix from operands.
6917 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
6919         [BZ #16347]
6920         [BZ #19046]
6921         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6922         <libc-internal.h>.
6923         (MAXLGM): Do not use diagnostic control macros.
6924         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6925         threshold for ldbl-128ibm.
6926         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6927         instead of multiplying by log then subtracting.
6928         * math/auto-libm-test-in: Add more tests of lgamma.
6929         * math/auto-libm-test-out: Regenerated.
6931         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6932         (TYPE_HEX_DIG): Likewise.
6933         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6934         precisions when printing floating-point numbers.
6935         (check_float_internal): Likewise.
6937 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6939         [BZ #16620]
6940         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6941         of log (10) rounded downward to 48 bits.
6942         (log10_low): Use corresponding low part of log (10).
6944         [BZ #19032]
6945         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6946         compute result as (x - x) / (x - x) not as 0 / 0.
6947         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6948         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6950         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6951         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6952         and expm1.
6953         * math/auto-libm-test-out: Regenerated.
6954         * math/libm-test.inc (acos_test_data): Add more tests.
6955         (asin_test_data): Likewise.
6956         (asinh_test_data): Likewise.
6957         (atan_test_data): Likewise.
6958         (atanh_test_data): Likewise.
6959         (atan2_test_data): Likewise.
6960         (cbrt_test_data): Likewise.
6961         (ceil_test_data): Likewise.
6962         (copysign_test_data): Likewise.
6963         (cos_test_data): Likewise.
6964         (cosh_test_data): Likewise.
6965         (erf_test_data): Likewise.
6966         (erfc_test_data): Likewise.
6967         (exp_test_data): Likewise.
6968         (exp10_test_data): Likewise.
6969         (exp2_test_data): Likewise.
6970         (expm1_test_data): Likewise.
6971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6973 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
6975         [BZ #19006]
6976         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6977         to ...
6978         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6979         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6980         to ...
6981         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6982         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6983         to ...
6984         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6985         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6986         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6987         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6988         to ...
6989         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6990         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6991         Moved to ...
6992         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6993         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6994         Moved to ...
6995         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6996         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6997         to ...
6998         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6999         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7000         Moved to ...
7001         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7002         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7003         to ...
7004         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7005         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7006         Removed.
7007         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7008         Likewise.
7009         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7010         Likewise.
7011         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7012         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7013         Likewise.
7014         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7015         Likewise.
7016         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7017         Likewise.
7018         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7019         Likewise.
7020         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7021         Likewise.
7022         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7023         Likewise.
7024         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7025         Likewise.
7026         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7027         Likewise.
7028         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7029         Likewise.
7030         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7031         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7032         Likewise.
7033         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7034         Likewise.
7035         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7036         Likewise.
7037         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7038         Likewise.
7039         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7040         Likewise.
7041         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7042         Replace ../i486/pthread_cond_timedwait.S with
7043         ../pthread_cond_timedwait.S.
7045 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7047         * math/libm-test.inc (acos_test_data): Refine expectations for
7048         errno and "inexact" exceptions.
7049         (acosh_test_data): Likewise.
7050         (asin_test_data): Likewise.
7051         (asinh_test_data): Likewise.
7052         (atan_test_data): Likewise.
7053         (atanh_test_data): Likewise.
7054         (atan2_test_data): Likewise.
7055         (cbrt_test_data): Likewise.
7056         (ceil_test_data): Likewise.
7057         (copysign_test_data): Likewise.
7058         (cosh_test_data): Likewise.
7059         (erf_test_data): Likewise.
7060         (erfc_test_data): Likewise.
7061         (exp_test_data): Likewise.
7062         (exp10_test_data): Likewise.
7063         (exp2_test_data): Likewise.
7064         (expm1_test_data): Likewise.
7065         (fabs_test_data): Likewise.
7066         (floor_test_data): Likewise.
7067         (fma_test_data): Likewise.
7068         (fmax_test_data): Likewise.
7069         (fmin_test_data): Likewise.
7070         (fmod_test_data): Likewise.
7071         (fpclassify_test_data): Likewise.
7072         (frexp_test_data): Likewise.
7073         (hypot_test_data): Likewise.
7074         (ilogb_test_data): Likewise.
7075         (isgreater_test_data): Likewise.
7076         (isgreaterequal_test_data): Likewise.
7077         (isinf_test_data): Likewise.
7078         (isless_test_data): Likewise.
7079         (islessequal_test_data): Likewise.
7080         (islessgreater_test_data): Likewise.
7081         (isnan_test_data): Likewise.
7082         (isnormal_test_data): Likewise.
7083         (issignaling_test_data): Likewise.
7084         (isunordered_test_data): Likewise.
7085         (j0_test_data): Likewise.
7086         (j1_test_data): Likewise.
7087         (jn_test_data): Likewise.
7088         (lgamma_test_data): Likewise.
7089         (lrint_test_data): Likewise.
7090         (llrint_test_data): Likewise.
7091         (log_test_data): Likewise.
7092         (log10_test_data): Likewise.
7093         (log1p_test_data): Likewise.
7094         (log2_test_data): Likewise.
7095         (logb_test_data): Likewise.
7096         (lround_test_data): Likewise.
7097         (llround_test_data): Likewise.
7098         (modf_test_data): Likewise.
7099         (nearbyint_test_data): Likewise.
7100         (nextafter_test_data): Likewise.
7101         (nexttoward_test_data): Likewise.
7102         (pow_test_data): Likewise.
7103         (remainder_test_data): Likewise.
7104         (remquo_test_data): Likewise.
7105         (rint_test_data): Likewise.
7106         (round_test_data): Likewise.
7107         (signbit_test_data): Likewise.
7108         (sinh_test_data): Likewise.
7109         (sqrt_test_data): Likewise.
7110         (tanh_test_data): Likewise.
7111         (tgamma_test_data): Likewise.
7112         (trunc_test_data): Likewise.
7113         (y0_test_data): Likewise.
7114         (y1_test_data): Likewise.
7115         (yn_test_data): Likewise.
7116         (significand_test_data): Likewise.
7118 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
7120         * manual/filesys.texi (Storage Allocation): Document that
7121         posix_fallocate emulation fails when fd is open with O_WRONLY.
7123 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
7125         [BZ #19016]
7126         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7127         allow more cases with X^2 + Y^2 >= 0.5.
7128         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
7129         normal element in sum instead of special-casing based on values of
7130         arguments.
7131         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7132         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
7133         -1 as normal element in sum instead of special-casing based on
7134         values of arguments.
7135         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7136         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7137         (__x2y2m1): Update comment.
7138         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
7139         as normal element in sum instead of special-casing based on values
7140         of arguments.
7141         * math/s_clog.c (__clog): Handle more cases using log1p without
7142         hypot.
7143         * math/s_clog10.c (__clog10): Likewise.
7144         * math/s_clog10f.c (__clog10f): Likewise.
7145         * math/s_clog10l.c (__clog10l): Likewise.
7146         * math/s_clogf.c (__clogf): Likewise.
7147         * math/s_clogl.c (__clogl): Likewise.
7148         * math/auto-libm-test-in: Add more tests of clog and clog10.
7149         * math/auto-libm-test-out: Regenerated.
7150         * sysdeps/i386/fpu/libm-test-ulps: Update.
7151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7153 2015-09-28  Martin Sebor  <msebor@redhat.com>
7155         [BZ #18969]
7156         * string/Makefile (LOCALES): Define.
7157         (gen-locales.mk): Include.
7158         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7159         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7160         * string/tst-strxfrm2.c (do_test): Print the name of the locale
7161         on setlocale failure.
7163 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7165         [BZ #18985]
7166         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7167         (__strftime_internal): Likewise.
7168         * time/tst-strftime.c (do_bz18985): New test.
7169         (do_test): Call it.
7171 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
7173         [BZ #18956]
7174         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7175         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7176         extracting high part.
7177         * math/auto-libm-test-in: Add another test of pow.
7178         * math/auto-libm-test-out: Regenerated.
7179         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7181 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7183         [BZ #18825]
7184         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7185         New macro.
7186         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7187         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7188         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7189         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7190         DBL_NARROW_EVAL, reloading the PIC register as needed.
7191         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7192         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7193         FLT_NARROW_EVAL.  Use separate return path for case when first
7194         argument is NaN.
7195         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7196         DEFINE_LDBL_MIN.
7197         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7198         PIC register.
7199         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7200         math_check_force_underflow_nonneg.
7201         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7202         underflow for subnormal result.
7203         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7204         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7205         math_check_force_underflow_nonneg.
7206         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7207         math_check_force_underflow.
7208         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7209         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7210         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7211         DEFINE_LDBL_MIN.
7212         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7213         * math/auto-libm-test-in: Add more tests of pow.
7214         * math/auto-libm-test-out: Regenerated.
7216 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7218         * nss/bug17079.c (init_test_items): Add diagnostic for
7219         inconsistent entries.
7220         (test_buffer_size): Skip inconsistent entries.
7222 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7224         [BZ #13304]
7225         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7226         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7227         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7229         [BZ #13304]
7230         * sysdeps/microblaze/s_fma.c: New file.
7231         * sysdeps/microblaze/s_fmaf.c: Likewise.
7232         * sysdeps/microblaze/sfp-machine.h: Likewise.
7234 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7236         [BZ #17250]
7237         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7238         member.
7240 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7242         [BZ #18803]
7243         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7244         (MO): New macro.
7245         (__ieee754_hypot) [PIC]: Load PIC register.
7246         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7247         DBL_NARROW_EVAL.
7248         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7249         math_check_force_underflow_nonneg in case where result might be
7250         tiny.
7251         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7252         Likewise.
7253         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7254         Likewise.
7255         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7256         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7257         * math/auto-libm-test-in: Add more tests of hypot.
7258         * math/auto-libm-test-out: Regenerated.
7260 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7262         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7264 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7266         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7267         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7268         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7269         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7270         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7271         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7272         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7274         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7275         LOAD_PIC_REG.
7277         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7278         (FLT_CHECK_FORCE_UFLOW): Likewise.
7279         (DBL_CHECK_FORCE_UFLOW): Likewise.
7280         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7281         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7282         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7283         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7284         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7285         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7286         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7287         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7288         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7289         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7290         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7291         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7292         (flt_min): Replace with use of DEFINE_FLT_MIN.
7293         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7294         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7295         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7296         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7297         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7298         (flt_min): Replace with use of DEFINE_FLT_MIN.
7299         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7300         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7301         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7302         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7303         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7304         (flt_min): Replace with use of DEFINE_FLT_MIN.
7305         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7306         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7307         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7308         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7309         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7310         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7311         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7312         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7313         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7314         (__atan): Use DBL_CHECK_FORCE_UFLOW.
7315         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7316         (flt_min): Replace with use of DEFINE_FLT_MIN.
7317         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7318         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7319         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7320         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
7321         main computation.
7322         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7323         (flt_min): Replace with use of DEFINE_FLT_MIN.
7324         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
7325         main computation.
7326         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7327         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7328         (MO): New macro.
7329         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7330         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7331         (flt_min): Replace with use of DEFINE_FLT_MIN.
7332         (MO): New macro.
7333         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7334         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7335         (__log1pl): Use MO.
7337         [BZ #19003]
7338         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7339         $(config-cflags-nofma).
7341 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7343         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7345 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
7347         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7348         (TWO127): Likewise.
7350         * sysdeps/generic/math_private.h (fabs_tg): New macro.
7351         (min_of_type): Likewise.
7352         (math_check_force_underflow): Likewise.
7353         (math_check_force_underflow_nonneg): Likewise.
7354         (math_check_force_underflow_complex): Likewise.
7355         * math/e_exp2l.c (__ieee754_exp2l): Use
7356         math_check_force_underflow_nonneg.
7357         * math/k_casinh.c (__kernel_casinh): Likewise.
7358         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7359         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7360         * math/s_catan.c (__catan): Use
7361         math_check_force_underflow_complex.
7362         * math/s_catanf.c (__catanf): Likewise.
7363         * math/s_catanh.c (__catanh): Likewise.
7364         * math/s_catanhf.c (__catanhf): Likewise.
7365         * math/s_catanhl.c (__catanhl): Likewise.
7366         * math/s_catanl.c (__catanl): Likewise.
7367         * math/s_ccosh.c (__ccosh): Likewise.
7368         * math/s_ccoshf.c (__ccoshf): Likewise.
7369         * math/s_ccoshl.c (__ccoshl): Likewise.
7370         * math/s_cexp.c (__cexp): Likewise.
7371         * math/s_cexpf.c (__cexpf): Likewise.
7372         * math/s_cexpl.c (__cexpl): Likewise.
7373         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7374         * math/s_clog10.c (__clog10): Likewise.
7375         * math/s_clog10f.c (__clog10f): Likewise.
7376         * math/s_clog10l.c (__clog10l): Likewise.
7377         * math/s_clogf.c (__clogf): Likewise.
7378         * math/s_clogl.c (__clogl): Likewise.
7379         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7380         * math/s_csinf.c (__csinf): Likewise.
7381         * math/s_csinh.c (__csinh): Likewise.
7382         * math/s_csinhf.c (__csinhf): Likewise.
7383         * math/s_csinhl.c (__csinhl): Likewise.
7384         * math/s_csinl.c (__csinl): Likewise.
7385         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7386         * math/s_csqrtf.c (__csqrtf): Likewise.
7387         * math/s_csqrtl.c (__csqrtl): Likewise.
7388         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7389         * math/s_ctanf.c (__ctanf): Likewise.
7390         * math/s_ctanh.c (__ctanh): Likewise.
7391         * math/s_ctanhf.c (__ctanhf): Likewise.
7392         * math/s_ctanhl.c (__ctanhl): Likewise.
7393         * math/s_ctanl.c (__ctanl): Likewise.
7394         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7395         instead of volatile.
7396         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7397         math_check_force_underflow.
7398         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7399         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7400         volatile when forcing underflow.
7401         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7402         math_check_force_underflow_nonneg.
7403         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7404         Likewise.
7405         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7406         math_check_force_underflow.
7407         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7408         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7409         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7410         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7411         math_check_force_underflow_nonneg.
7412         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7413         math_check_force_underflow.
7414         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7415         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7416         instead of volatile.
7417         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7418         math_check_force_underflow.
7419         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7420         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7421         math_check_force_underflow_nonneg.
7422         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7423         math_check_force_underflow.
7424         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7425         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7426         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7427         math_check_force_underflow_nonneg.
7428         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7429         Likewise.
7430         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7431         math_check_force_underflow.
7432         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7433         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7434         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7435         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7436         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7437         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7438         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7439         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7440         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7441         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7442         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7443         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7444         Likewise.
7445         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7446         math_check_force_underflow_nonneg.
7447         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7448         Likewise.
7449         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7450         math_check_force_underflow.
7451         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7452         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7453         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7454         Likewise.
7455         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7456         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7457         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7458         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7459         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7460         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7461         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7462         instead of volatile.
7463         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7464         math_check_force_underflow.
7465         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7466         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7467         math_check_force_underflow.
7468         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7469         Likewise.
7470         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7471         Use math_check_force_underflow_nonneg.
7472         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7473         math_check_force_underflow.
7474         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7475         Likewise.
7476         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7477         Likewise.
7478         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7479         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7480         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7481         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7482         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7483         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7484         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7485         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7486         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7487         math_check_force_underflow_nonneg.
7488         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7489         math_check_force_underflow.
7490         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7491         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7492         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7493         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7494         math_check_force_underflow_nonneg.
7495         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7496         math_check_force_underflow.
7497         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7498         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7499         instead of volatile.
7500         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7501         math_check_force_underflow.
7503         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7504         * stdlib/strtod_l.c: Include <math_private.h>.
7505         (overflow_value): Use math_narrow_eval.
7506         (underflow_value): Likewise.
7507         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7508         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7509         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7510         (__ieee754_gamma_r): Likewise.
7511         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7512         Likewise.
7513         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7514         Likewise.
7515         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7516         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7517         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7518         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7519         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7520         (__ieee754_gammaf_r): Likewise.
7521         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7522         Likewise.
7523         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7524         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7525         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7526         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7527         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7528         volatile.
7529         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7530         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7531         math_narrow_eval.
7532         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7533         Likewise.
7534         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7535         Likewise.
7536         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7537         Likewise.
7538         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7539         volatile.
7540         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7541         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7542         math_narrow_eval.
7543         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7544         Likewise.
7545         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7546         Likewise.
7548 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7550         * nptl/Versions: Remove ignored symbols.
7552 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7554         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7555         * nss/Makefile (tests): Update.
7557 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7559         * nss/bug18287.c: New file.
7560         * nss/Makefile (tests): Add bug18287.
7562 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7564         * mach/Versions (__mach_host_self_): Add symbol.
7566 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7568         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7569         vm_page_size.
7571 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7573         Really fix sysdeps/i386/fpu/s_scalbn.S build
7575         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7576         (libc: GLIBC_2_22): Remove unused version set.
7578 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7580         * config.make.in (enable-timezone-tools): New variable.
7581         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7582         (enable_timezone_tools): Export to generated files.
7583         * configure: Regenerate.
7584         * INSTALL: Regenerate.
7585         * manual/install.texi (--disable-timezone-tools): Document new flag.
7586         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7587         ifeq ($(enable-timezone-tools),yes) check.
7589 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7591         * timezone/Makefile: Revert previous change.
7593         [BZ #18980]
7594         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7595         (DEFINE_DBL_MIN): Likewise.
7596         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7597         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7598         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7599         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7600         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7601         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7602         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7603         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7604         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7605         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7606         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7607         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7608         (flt_min): Replace with use of DEFINE_FLT_MIN.
7609         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7610         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7611         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7612         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7613         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7614         (flt_min): Replace with use of DEFINE_FLT_MIN.
7615         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7616         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7617         (flt_min): Replace with use of DEFINE_FLT_MIN.
7618         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7619         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7620         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7621         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7622         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7623         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7624         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7625         (__ieee754_pow): Use DBL_NARROW_EVAL.
7626         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7627         (__ieee754_powf): Use FLT_NARROW_EVAL.
7628         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7629         (__ieee754_expf_sse2): Convert double-precision result to single
7630         precision.
7631         * sysdeps/i386/fpu/libm-test-ulps: Update.
7633 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7635         * timezone/Makefile: Ignore unused variable errors due to private.h
7636         (time_t_min) and (time_t_max).
7637         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7638         Likewise.
7640 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7642         [BZ #18981]
7643         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7644         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7645         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7646         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7647         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7648         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7649         (__scalbn): Use DBL_NARROW_EVAL.
7650         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7651         (__scalbnf): Use FLT_NARROW_EVAL.
7653 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7655         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7656         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7657         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7658         * stdio-common/printf_fp.c (___printf_fp):
7659         Use signbit to get the sign. Use isinf macro to allow inlining.
7660         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7661         * stdio-common/printf_size.c (__printf_size): Likewise.
7663 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7665         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7667 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7669         [BZ #18980]
7670         * sysdeps/generic/math_private.h: Include <float.h>.
7671         (math_narrow_eval): New macro.
7672         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7673         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7674         math_narrow_eval on overflowing return value.
7675         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7676         Likewise.
7677         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7678         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7679         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7680         Likewise.
7681         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7683 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7685         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7686         * math/Makefile: Remove isinf_ns.c.
7687         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7688         * math/multc3.c (__multc3): Likewise.
7689         * math/s_casin.c (__casin): Likewise.
7690         * math/s_casinf.c (__casinf): Likewise.
7691         * math/s_casinl.c (__casinl): Likewise.
7692         * math/s_cproj.c (__cproj): Likewise.
7693         * math/s_cprojf.c (__cprojf): Likewise.
7694         * math/s_cprojl.c (__cprofl): Likewise.
7695         * math/s_ctan.c (__ctan): Likewise.
7696         * math/s_ctanf.c (__ctanf): Likewise.
7697         * math/s_ctanh.c (__ctanh): Likewise.
7698         * math/s_ctanhf.c (__ctanhf): Likewise.
7699         * math/s_ctanhl.c (__ctanhl): Likewise.
7700         * math/s_ctanl.c (__ctanl): Likewise.
7701         * math/w_fmod.c (__fmod): Likewise.
7702         * math/w_fmodf.c (__fmodf): Likewise.
7703         * math/w_fmodl.c (_fmodl): Likewise.
7704         * math/w_remainder.c (__remainder): Likewise.
7705         * math/w_remainderf.c (__remainderf): Likewise.
7706         * math/w_remainderl.c (__remainderl): Likewise.
7707         * math/w_scalb.c (__scalb): Likewise.
7708         * math/w_scalbf.c (__scalbf): Likewise.
7709         * math/w_scalbl.c (__scalbl): Likewise.
7710         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7711         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7712         with isinf.
7713         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7714         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7715         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7716         __isinf_nsf with isinf.
7717         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7718         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7719         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7720         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7721         with isinf.
7722         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7723         __isinf_nsl with isinf.
7724         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7725         with isinf.
7726         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7727         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7728         __isinf_nsl with isinf.
7729         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7730         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7731         with isinf.
7733 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7735         * resolv/base64.c (rcsid): Remove unused static.
7736         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7737         static.  (tqpi1): Likewise.
7738         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7739         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7740         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7741         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7742         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7743         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7744         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7745         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7746         Likewise.
7748 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7750         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7751         <nptl/pthreadP.h>.
7752         (_longjmp_unwind): Use __libc_ptf_call.
7753         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7755 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7757         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7758         * sysdeps/arm/__longjmp.S: Likewise.
7760 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7762         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7763         Use __builtin_signbit.
7764         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7765         Use __builtin_signbitf.
7766         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7767         Use __builtin_signbitl.
7768         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7769         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7771 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7773         [BZ #15367]
7774         [BZ #17441]
7776         * math/Makefile: Build test-snan.c with -fsignaling-nans.
7777         * math/math.h (fpclassify): Use __builtin_fpclassify when
7778         available.  (signbit): Use __builtin_signbit(f/l).
7779         (isfinite): Use__builtin_isfinite.  (isnormal): Use
7780         __builtin_isnormal.  (isnan): Use __builtin_isnan.
7781         (isinf): Use __builtin_isinf_sign.
7783 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7785         * benchtests/Makefile: Add bench-math-inlines, link with libm.
7786         * benchtests/bench-math-inlines.c: New benchmark.
7787         * benchtests/bench-util.h: New file.
7788         * benchtests/bench-util.c: New file.
7789         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7791 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7793         * elf/tst-dlmopen1.c: Define TEST_SO.
7794         (do_test): Use TEST_SO.
7796         * elf/dl-load.c: Include libc-internal.h.
7797         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7799 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7801         [BZ #17887]
7802         * time/strptime_l.c (__strptime_internal): Make %z accept
7803         [+-]HH:MM time zones.
7805 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7807         [BZ #17886]
7808         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7809         valid time zone.
7811 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7813         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7814         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7815         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7816         (__ASSUME_FDATASYNC): Delete.
7818 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7820         * conform/linknamespace.pl: Require weak undefined symbols to be
7821         in the standard namespace.
7822         (%strong_syms): Rename to %seen_syms.
7823         (%strong_seen): Rename to %seen_where.
7825 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7827         [BZ #18970]
7828         * misc/error.c (error): Replace pthread_setcancelstate with
7829         __pthread_setcancelstate.
7830         (error_at_line): Likewise.
7831         * posix/wordexp.c (parse_comm): Likewise.
7832         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7833         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7834         (__pthread_setcancelstate): This.
7835         (pthread_setcancelstate): Add an alias.
7836         * nptl/nptl-init.c (pthread_functions): Replace
7837         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7838         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7839         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7840         hidden_proto.
7841         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7842         it with hidden_def.
7843         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7844         (pthread_setcancelstate): Renamed to ...
7845         (__pthread_setcancelstate): This.
7846         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7847         __libc_ptf_call with __pthread_setcancelstate.
7849 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7850             Andreas Schwab  <schwab@suse.de>
7852         [BZ #17118]
7853         * math/s_ctan.c (__ctan): Determine sign of zero real part of
7854         result when imaginary part of argument is infinite using sine and
7855         cosine.
7856         * math/s_ctanf.c (__ctanf): Likewise.
7857         * math/s_ctanl.c (__ctanl): Likewise.
7858         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7859         of result when real part of argument is infinite using sine and
7860         cosine.
7861         * math/s_ctanhf.c (__ctanhf): Likewise.
7862         * math/s_ctanhl.c (__ctanhl): Likewise.
7863         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7864         (ctanh_test_data): Add more tests of ctanh.
7866 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7868         [BZ #15384]
7869         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7870         bit-mask as in subtraction.
7871         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7872         Likewise.
7873         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7874         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7875         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7877         [BZ #18951]
7878         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7879         underflow exception for small results.
7880         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7881         Likewise.
7882         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7883         Likewise.
7884         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7885         Likewise.
7886         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7887         Likewise.
7888         * math/auto-libm-test-in: Add more tests of tgamma.
7889         * math/auto-libm-test-out: Regenerated.
7891 2015-09-17  Andreas Schwab  <schwab@suse.de>
7893         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7895 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7897         [BZ #18977]
7898         * math/bits/mathcalls.h
7899         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7900         not declare.
7901         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7902         Likewise.
7903         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7904         Likewise.
7905         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7906         Likewise.
7907         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7908         Likewise.
7909         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7910         Likewise.
7911         * conform/data/math.h-data
7912         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7913         function.
7914         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7915         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7916         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7917         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7918         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7919         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7920         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7921         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7922         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7923         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7924         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7926         [BZ #6803]
7927         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7928         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7929         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7930         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7931         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7932         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7933         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7934         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7935         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7936         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7937         Likewise.
7938         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7939         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7940         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7941         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7942         long_double_symbol calls.
7943         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7944         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7945         strong alias of __ldexpl.
7946         (scalbnl): Define using long_double_symbol.
7947         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7948         Remove alias.
7949         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7950         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7951         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7952         (scalbln_test_data): Add more errno expectations.
7954 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
7956         Cache the host port like we cache the task port.  This way we do not
7957         need to call the kernel just to get the port.  Furthermore, we no
7958         longer increase the reference count on every invocation of
7959         `mach_host_self'.
7961         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7962         Protect declarations against the macro expansion.
7963         * mach/mach_init.c (__mach_host_self_): New variable.
7964         (mach_init): Initialize `__mach_host_self_'.
7965         * mach/mach_init.h (__mach_host_self_): New declaration.
7966         (__mach_host_self, mach_host_self): New macros.
7967         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7968         Release reference.
7970 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7972         [BZ #4404]
7973         * po/de.po: Update from Translation Project.
7975         [BZ #16415]
7976         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7977         (__expm1l): Remove code to handle positive infinity and overflow.
7978         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7979         variable.
7980         (__expm1l): Remove code to handle positive infinity and overflow.
7982 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7983             Paul Pluzhnikov  <ppluzhnikov@google.com>
7985         [BZ #18872]
7986         * stdio-common/Makefile (tst-printf-bz18872): New test.
7987         (tst-printf-bz18872-mem.out): Likewise.
7988         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7989         * stdio-common/vfprintf.c: Fix memory leaks.
7991 2015-09-16  Andreas Schwab  <schwab@suse.de>
7993         [BZ #17244]
7994         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7995         Remove extra va_start/va_end calls.
7997         [BZ #17243]
7998         * posix/execl.c (execl): Add missing va_end.
7999         * posix/execle.c (execle): Likewise.
8000         * posix/execlp.c (execlp): Likewise.
8002 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8004         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8005         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8007 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
8009         [BZ #18967]
8010         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
8011         undefine around includes of <bits/mathcalls.h>.
8012         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8013         not declare function.
8014         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8015         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8016         (scalb): Likewise.
8017         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8018         not define macro.
8019         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8020         variable.
8021         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8022         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8023         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8025         [BZ #18857]
8026         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8027         return non-finite argument without doing ordered comparisons on
8028         it.
8030         [BZ #16296]
8031         * math/fenv.h (fegetround): Use __attribute_pure__.
8032         * include/fenv.h (__fegetround): Likewise.
8034         [BZ #18595]
8035         * math/s_ctan.c (__ctan): Force underflow exception for results
8036         whose real or imaginary part has small absolute value.
8037         * math/s_ctanf.c (__ctanf): Likewise.
8038         * math/s_ctanh.c (__ctanh): Likewise.
8039         * math/s_ctanhf.c (__ctanhf): Likewise.
8040         * math/s_ctanhl.c (__ctanhl): Likewise.
8041         * math/s_ctanl.c (__ctanl): Likewise.
8042         * math/auto-libm-test-in: Do not allow missing underflow for ctan
8043         and ctanh.  Add more tests of ctan and ctanh.
8045         [BZ #15918]
8046         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8047         handling of cases where one argument is an infinity.
8049         [BZ #18875]
8050         [BZ #18966]
8051         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8052         (MO): New macro.
8053         (__ieee754_exp10): For small results, force underflow exception
8054         and remove excess range and precision from return value.
8055         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8056         (MO): New macro.
8057         (__ieee754_exp10f): For small results, force underflow exception
8058         and remove excess range and precision from return value.
8059         * math/auto-libm-test-in: Add more tests of exp10.
8060         * math/auto-libm-test-out: Regenerated.
8062 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
8064         [BZ #18875]
8065         [BZ #18961]
8066         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8067         (MO): New macro.
8068         (__ieee754_exp): For small results, force underflow exception and
8069         remove excess range and precision from return value.
8070         (__exp_finite): Likewise.
8071         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8072         (MO): New macro.
8073         (__ieee754_expf): For small results, force underflow exception and
8074         remove excess range and precision from return value.
8075         (__expf_finite): Likewise.
8076         * math/auto-libm-test-in: Add more tests of exp.
8077         * math/auto-libm-test-out: Regenerated.
8079         [BZ #16521]
8080         [BZ #18875]
8081         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8082         small results.
8083         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8084         (MO): New macro.
8085         (__ieee754_exp2): For small results, force underflow exception and
8086         remove excess range and precision from return value.
8087         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8088         (MO): New macro.
8089         (__ieee754_exp2f): For small results, force underflow exception
8090         and remove excess range and precision from return value.
8091         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8092         (MO): New macro.
8093         (__ieee754_exp2l): Force underflow exception for small results.
8094         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8095         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8096         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8097         (MO): New macro.
8098         (__ieee754_exp2l): Force underflow exception for small results.
8099         * math/auto-libm-test-in: Add more tests or exp2.
8100         * math/auto-libm-test-out: Regenerated.
8102 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
8104         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8106         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8107         /dev/null.
8109 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8111         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8112         io fs process)): Drop spurious backslash.
8114 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8116         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8117         Use sysinfo system call instead of parsing /proc/meminfo.
8118         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8119         Likewise.
8121 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
8123         [BZ #16985]
8124         * programs/localedef.c (main): Display argv[remaining] when
8125         output_path is NULL.
8127 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8129         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8130         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8131         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8132         tanh.
8133         * math/auto-libm-test-out: Regenerated.
8134         * sysdeps/i386/fpu/libm-test-ulps: Update.
8135         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8136         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8139 2015-09-11  Roland McGrath  <roland@hack.frob.com>
8141         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8142         Use 'override' keyword to freeze the value here, preventing
8143         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8145 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8147         [BZ #14912]
8148         * sysdeps/aarch64/bits/atomic.h: Move to ...
8149         * sysdeps/aarch64/atomic-machine.h: ...here.
8150         (_AARCH64_BITS_ATOMIC_H): Rename macro to
8151         _AARCH64_ATOMIC_MACHINE_H.
8152         * sysdeps/alpha/bits/atomic.h: Move to ...
8153         * sysdeps/alpha/atomic-machine.h: ...here.
8154         * sysdeps/arm/bits/atomic.h: Move to ...
8155         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
8156         * bits/atomic.h: Move to ...
8157         * sysdeps/generic/atomic-machine.h: ...here.
8158         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8159         * sysdeps/i386/bits/atomic.h: Move to ...
8160         * sysdeps/i386/atomic-machine.h: ...here.
8161         * sysdeps/ia64/bits/atomic.h: Move to ...
8162         * sysdeps/ia64/atomic-machine.h: ...here.
8163         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8164         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8165         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8166         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8167         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8168         * sysdeps/microblaze/bits/atomic.h: Move to ...
8169         * sysdeps/microblaze/atomic-machine.h: ...here.
8170         * sysdeps/mips/bits/atomic.h: Move to ...
8171         * sysdeps/mips/atomic-machine.h: ...here.
8172         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8173         * sysdeps/powerpc/bits/atomic.h: Move to ...
8174         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8175         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8176         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8177         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8178         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8179         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8180         <atomic-machine.h> instead of <bits/atomic.h>.
8181         * sysdeps/s390/bits/atomic.h: Move to ...
8182         * sysdeps/s390/atomic-machine.h: ...here.
8183         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8184         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8185         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8186         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8187         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8188         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8189         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8190         * sysdeps/tile/bits/atomic.h: Move to ...
8191         * sysdeps/tile/atomic-machine.h: ...here.
8192         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8193         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8194         <sysdeps/tile/atomic-machine.h> instead of
8195         <sysdeps/tile/bits/atomic.h>.
8196         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8197         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8198         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8199         <sysdeps/tile/atomic-machine.h> instead of
8200         <sysdeps/tile/bits/atomic.h>.
8201         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8202         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8203         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8204         <sysdeps/arm/atomic-machine.h> instead of
8205         <sysdeps/arm/bits/atomic.h>.
8206         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8207         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8208         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8209         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8210         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8211         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8212         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8213         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8214         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8215         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8216         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8217         * sysdeps/x86_64/bits/atomic.h: Move to ...
8218         * sysdeps/x86_64/atomic-machine.h: ...here.
8219         * include/atomic.h: Include <atomic-machine.h> instead of
8220         <bits/atomic.h>.
8222         * sysdeps/mips/mips32/libm-test-ulps: Update.
8223         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8225         [BZ #18952]
8226         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8227         not convert non-integer negative arguments to int to determine the
8228         value of signgam.
8229         * math/auto-libm-test-in: Add more tests of lgamma.
8230         * math/auto-libm-test-out: Regenerated.
8232         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8233         cosh, csqrt, erfc, expm1 and lgamma.
8234         * math/auto-libm-test-out: Regenerated.
8235         * sysdeps/i386/fpu/libm-test-ulps: Update.
8236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8238 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8240         [BZ #2542]
8241         [BZ #2543]
8242         [BZ #2558]
8243         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8244         __lgamma_neg for arguments from -28.0 to -2.0.
8245         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8246         __lgamma_negf for arguments from -15.0 to -2.0.
8247         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8248         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8249         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8250         Call __lgamma_negl for arguments from -33.0 to -2.0.
8251         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8252         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8253         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8254         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8255         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8256         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8257         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8258         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8259         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8260         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8261         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8262         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8263         (__lgamma_neg): Likewise.
8264         (__lgamma_negl): Likewise.
8265         (__lgamma_product): Likewise.
8266         (__lgamma_productl): Likewise.
8267         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8268         * math/auto-libm-test-in: Add more tests of lgamma.
8269         * math/auto-libm-test-out: Regenerated.
8270         * sysdeps/i386/fpu/libm-test-ulps: Update.
8271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8273 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8275         [BZ #18675]
8276         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8278 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8280         [BZ #14912]
8281         * bits/libc-lock.h: Move to ...
8282         * sysdeps/generic/libc-lock.h: ...here.
8283         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8284         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8285         * sysdeps/mach/hurd/libc-lock.h: ...here.
8286         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8287         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8288         * sysdeps/mach/bits/libc-lock.h: Move to ...
8289         * sysdeps/mach/libc-lock.h: ...here.
8290         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8291         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8292         * sysdeps/nptl/libc-lock.h: ...here.
8293         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8294         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8295         * sysdeps/nptl/libc-lockP.h: ...here.
8296         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8297         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8298         <bits/libc-lock.h>.
8299         * dirent/scandir-tail.c: Likewise.
8300         * dlfcn/dlerror.c: Likewise.
8301         * elf/dl-close.c: Likewise.
8302         * elf/dl-iteratephdr.c: Likewise.
8303         * elf/dl-lookup.c: Likewise.
8304         * elf/dl-open.c: Likewise.
8305         * elf/dl-support.c: Likewise.
8306         * elf/dl-writev.h: Likewise.
8307         * elf/rtld.c: Likewise.
8308         * grp/fgetgrent.c: Likewise.
8309         * gshadow/fgetsgent.c: Likewise.
8310         * gshadow/sgetsgent.c: Likewise.
8311         * iconv/gconv_conf.c: Likewise.
8312         * iconv/gconv_db.c: Likewise.
8313         * iconv/gconv_dl.c: Likewise.
8314         * iconv/gconv_int.h: Likewise.
8315         * iconv/gconv_trans.c: Likewise.
8316         * include/link.h: Likewise.
8317         * inet/getnameinfo.c: Likewise.
8318         * inet/getnetgrent.c: Likewise.
8319         * inet/getnetgrent_r.c: Likewise.
8320         * intl/bindtextdom.c: Likewise.
8321         * intl/dcigettext.c: Likewise.
8322         * intl/finddomain.c: Likewise.
8323         * intl/gettextP.h: Likewise.
8324         * intl/loadmsgcat.c: Likewise.
8325         * intl/localealias.c: Likewise.
8326         * intl/textdomain.c: Likewise.
8327         * libidn/idn-stub.c: Likewise.
8328         * libio/libioP.h: Likewise.
8329         * locale/duplocale.c: Likewise.
8330         * locale/freelocale.c: Likewise.
8331         * locale/newlocale.c: Likewise.
8332         * locale/setlocale.c: Likewise.
8333         * login/getutent_r.c: Likewise.
8334         * login/getutid_r.c: Likewise.
8335         * login/getutline_r.c: Likewise.
8336         * login/utmp-private.h: Likewise.
8337         * login/utmpname.c: Likewise.
8338         * malloc/mtrace.c: Likewise.
8339         * misc/efgcvt.c: Likewise.
8340         * misc/error.c: Likewise.
8341         * misc/fstab.c: Likewise.
8342         * misc/getpass.c: Likewise.
8343         * misc/mntent.c: Likewise.
8344         * misc/syslog.c: Likewise.
8345         * nis/nis_call.c: Likewise.
8346         * nis/nis_callback.c: Likewise.
8347         * nis/nss-default.c: Likewise.
8348         * nis/nss_compat/compat-grp.c: Likewise.
8349         * nis/nss_compat/compat-initgroups.c: Likewise.
8350         * nis/nss_compat/compat-pwd.c: Likewise.
8351         * nis/nss_compat/compat-spwd.c: Likewise.
8352         * nis/nss_nis/nis-alias.c: Likewise.
8353         * nis/nss_nis/nis-ethers.c: Likewise.
8354         * nis/nss_nis/nis-grp.c: Likewise.
8355         * nis/nss_nis/nis-hosts.c: Likewise.
8356         * nis/nss_nis/nis-network.c: Likewise.
8357         * nis/nss_nis/nis-proto.c: Likewise.
8358         * nis/nss_nis/nis-pwd.c: Likewise.
8359         * nis/nss_nis/nis-rpc.c: Likewise.
8360         * nis/nss_nis/nis-service.c: Likewise.
8361         * nis/nss_nis/nis-spwd.c: Likewise.
8362         * nis/nss_nisplus/nisplus-alias.c: Likewise.
8363         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8364         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8365         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8366         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8367         * nis/nss_nisplus/nisplus-network.c: Likewise.
8368         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8369         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8370         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8371         * nis/nss_nisplus/nisplus-service.c: Likewise.
8372         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8373         * nis/ypclnt.c: Likewise.
8374         * nptl/libc_pthread_init.c: Likewise.
8375         * nss/getXXbyYY.c: Likewise.
8376         * nss/getXXent.c: Likewise.
8377         * nss/getXXent_r.c: Likewise.
8378         * nss/nss_db/db-XXX.c: Likewise.
8379         * nss/nss_db/db-netgrp.c: Likewise.
8380         * nss/nss_db/nss_db.h: Likewise.
8381         * nss/nss_files/files-XXX.c: Likewise.
8382         * nss/nss_files/files-alias.c: Likewise.
8383         * nss/nsswitch.c: Likewise.
8384         * posix/regex_internal.h: Likewise.
8385         * posix/wordexp.c: Likewise.
8386         * pwd/fgetpwent.c: Likewise.
8387         * resolv/res_hconf.c: Likewise.
8388         * resolv/res_libc.c: Likewise.
8389         * shadow/fgetspent.c: Likewise.
8390         * shadow/lckpwdf.c: Likewise.
8391         * shadow/sgetspent.c: Likewise.
8392         * socket/opensock.c: Likewise.
8393         * stdio-common/reg-modifier.c: Likewise.
8394         * stdio-common/reg-printf.c: Likewise.
8395         * stdio-common/reg-type.c: Likewise.
8396         * stdio-common/vfprintf.c: Likewise.
8397         * stdio-common/vfscanf.c: Likewise.
8398         * stdlib/abort.c: Likewise.
8399         * stdlib/cxa_atexit.c: Likewise.
8400         * stdlib/fmtmsg.c: Likewise.
8401         * stdlib/random.c: Likewise.
8402         * stdlib/setenv.c: Likewise.
8403         * string/strsignal.c: Likewise.
8404         * sunrpc/auth_none.c: Likewise.
8405         * sunrpc/bindrsvprt.c: Likewise.
8406         * sunrpc/create_xid.c: Likewise.
8407         * sunrpc/key_call.c: Likewise.
8408         * sunrpc/rpc_thread.c: Likewise.
8409         * sysdeps/arm/backtrace.c: Likewise.
8410         * sysdeps/generic/ldsodefs.h: Likewise.
8411         * sysdeps/generic/stdio-lock.h: Likewise.
8412         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8413         * sysdeps/i386/backtrace.c: Likewise.
8414         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8415         * sysdeps/m68k/backtrace.c: Likewise.
8416         * sysdeps/mach/hurd/cthreads.c: Likewise.
8417         * sysdeps/mach/hurd/dirstream.h: Likewise.
8418         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8419         * sysdeps/nptl/malloc-machine.h: Likewise.
8420         * sysdeps/nptl/stdio-lock.h: Likewise.
8421         * sysdeps/posix/dirstream.h: Likewise.
8422         * sysdeps/posix/getaddrinfo.c: Likewise.
8423         * sysdeps/posix/system.c: Likewise.
8424         * sysdeps/pthread/aio_suspend.c: Likewise.
8425         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8426         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8427         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8428         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8429         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8430         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8431         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8432         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8433         * sysdeps/unix/sysv/linux/system.c: Likewise.
8434         * sysdeps/x86_64/backtrace.c: Likewise.
8435         * time/alt_digit.c: Likewise.
8436         * time/era.c: Likewise.
8437         * time/tzset.c: Likewise.
8438         * wcsmbs/wcsmbsload.c: Likewise.
8439         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8440         instead of <bits/libc-lock.h> in comment.
8442 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8444         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8445         Only use .set mips2 if the current ISA is below mips2.
8446         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8447         Likewise.
8448         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8449         mips32r2 if the current ISA is below mips32r2.
8450         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8451         (TLS_IE): Updated to use the TLD_RDHWR macro.
8452         (TLS_LE): Likewise.
8453         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8454         __ASSEMBLER__ condition.
8456 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8458         Fix parallel build of before-compile targets.
8460         * sysdeps/mach/Makefile ($(patsubst
8461         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8462         mach-before-compile target.
8463         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8464         io fs process)): Move rule to dedicated hurd-before-compile target.
8466 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8468         Fix rules generating headers in hurd/ and mach/ when initial make call
8469         has subdir= explicitly set.
8471         * sysdeps/mach/Makefile ($(patsubst
8472         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8473         calling $(MAKE).
8474         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8475         io fs process)): Force subdir to hurd when calling $(MAKE).
8476         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8477         subdir to mach when calling $(MAKE).
8479 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8481         Check sysheaders when looking for Mach and Hurd headers
8483         * sysdeps/mach/configure.ac: Add sysheaders check.
8484         * sysdeps/mach/configure: Regenerate.
8485         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8486         * sysdeps/mach/hurd/configure: Regenerate.
8488 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8490         [BZ #18921]
8491         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8492         Fix inverted sense of test of 'o_directory_works' value.
8493         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8494         Bernhard Voelker <mail@bernhard-voelker.de>.
8496 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8498         [BZ #14912]
8499         * bits/linkmap.h: Move to ...
8500         * sysdeps/generic/linkmap.h: ...here.
8501         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8502         * sysdeps/aarch64/linkmap.h: ...here.
8503         * sysdeps/arm/bits/linkmap.h: Move to ...
8504         * sysdeps/arm/linkmap.h: ...here.
8505         * sysdeps/hppa/bits/linkmap.h: Move to ...
8506         * sysdeps/hppa/linkmap.h: ...here.
8507         * sysdeps/ia64/bits/linkmap.h: Move to ...
8508         * sysdeps/ia64/linkmap.h: ...here.
8509         * sysdeps/mips/bits/linkmap.h: Move to ...
8510         * sysdeps/mips/linkmap.h: ...here.
8511         * sysdeps/s390/bits/linkmap.h: Move to ...
8512         * sysdeps/s390/linkmap.h: ...here.
8513         * sysdeps/sh/bits/linkmap.h: Move to ...
8514         * sysdeps/sh/linkmap.h: ...here.
8515         * sysdeps/x86/bits/linkmap.h: Move to ...
8516         * sysdeps/x86/linkmap.h: ...here.
8517         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8519 2015-09-04  Andreas Schwab  <schwab@suse.de>
8521         [BZ #18635]
8522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8523         (__makecontext): Terminate FDE before return label.
8524         (__novec_makecontext): Likewise.
8526 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8528         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8529         first member of struct sv in syscall macro.
8531 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8533         [BZ #14912]
8534         * bits/stdio-lock.h: Move to ...
8535         * sysdeps/generic/stdio-lock.h: ...here.
8536         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8537         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8538         * sysdeps/nptl/stdio-lock.h: ...here.
8539         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8540         * include/libio.h: Include <stdio-lock.h> instead of
8541         <bits/stdio-lock.h>.
8542         * sysdeps/nptl/fork.c: Likewise.
8543         * sysdeps/pthread/flockfile.c: Likewise.
8544         * sysdeps/pthread/ftrylockfile.c: Likewise.
8545         * sysdeps/pthread/funlockfile.c: Likewise.
8547         [BZ #14912]
8548         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8549         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8550         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8551         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8552         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8553         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8554         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8556 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8558         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8559         (test-xfail-tst-protected1b): New variable.
8561 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8563         [BZ #14912]
8564         * bits/libc-tsd.h: Move to ...
8565         * sysdeps/generic/libc-tsd.h: ...here.
8566         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8567         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8568         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8569         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8570         * include/ctype.h: Include <libc-tsd.h> instead of
8571         <bits/libc-tsd.h>.
8572         * include/rpc/rpc.h: Likewise.
8573         * locale/localeinfo.h: Likewise.
8574         * sunrpc/rpc_thread.c: Likewise.
8575         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8576         * sysdeps/nptl/malloc-machine.h: Likewise.
8578         * Makefile (headers): Remove bits/libc-lock.h.
8579         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8581         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8582         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8583         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8584         <bits/stdio-lock.h>.
8585         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8586         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8588 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8590         [BZ #18757]
8591         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8592         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8593         BZ #18757.
8595 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8597         * malloc/mtrace.pl: Filter out NULL entries.
8599 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8601         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8602         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8603         macro.
8605         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8606         (TCP_CC_INFO): Likewise.
8607         (TCP_SAVE_SYN): Likewise.
8608         (TCP_SAVED_SYN): Likewise.
8610 2015-08-31  Brett Neumeier <brett@neumeier.us>
8612         [BZ #18870]
8613         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8615 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8617         [BZ #18873]
8618         Fix broken overflow check in posix_fallocate
8619         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8620         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8621         Fix parenthesization typo.
8623 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8625         [BZ #18887]
8626         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8627         tst-mntent-blank-passno.
8628         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8629         * misc/tst-mntent-blank-corrupt.c: New test.
8630         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8631         * misc/tst-mntent.c (do_test): ... here.
8633 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8635         [BZ #4404]
8636         * po/de.po: Fix SIGALRM typo.
8638 2015-08-28  James Perkins  <james@loowit.net>
8640         * time/tst-strptime2.c (tests): Replace short list of test
8641         strings for strptime %z specifier with code which exhaustively
8642         tests every combination of sign and 0 to 5 digits. Tests for
8643         rejection of invalid strings.
8645 2015-08-28  James Perkins  <james@loowit.net>
8647         [BZ #16141]
8648         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8649         calculation, removing incorrect decimal time rounding, so that
8650         all minute values result in a valid seconds value.
8651         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8652         offset range limits to UTC-99:59 through UTC+99:59 to parse
8653         current and historical use cases.
8654         * time/tst-strptime2.c (tests): Modify and add tests for the
8655         strptime %z input field descriptor, specifically conversion of
8656         minutes to seconds and validating an offset range of -9959 to
8657         +9959.
8659 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8660             Dmitry V. Levin  <ldv@altlinux.org>
8662         [BZ #18877]
8663         * posix/Makefile (tests): Add tst-mmap-offset.
8664         * posix/tst-mmap.c: New file.
8665         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8666         offset calculation for negative values.
8668 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8670         * sysdeps/i386/init-arch.h: New file.
8671         * sysdeps/i386/i586/init-arch.h: Likewise.
8672         * sysdeps/i386/i686/init-arch.h: Likewise.
8673         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8674         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8675         * sysdeps/x86/cpu-features.h (bit_I586): New.
8676         (bit_I686): Likewise.
8677         (bit_CX8): Likewise.
8678         (bit_CMOV): Likewise.
8679         (index_CX8): Likewise.
8680         (index_CMOV): Likewise.
8681         (index_I586): Likewise.
8682         (index_I686): Likewise.
8683         (reg_CX8): Likewise.
8684         (reg_CMOV): Likewise.
8685         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8686         available at compile-time.
8687         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8688         available at compile-time.
8689         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8690         (USE_I686): Likewise.
8692 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8694         * sysdeps/i386/bcopy.S: New file.
8695         * sysdeps/i386/bzero.S: Likewise.
8696         * sysdeps/i386/memcpy.S: Likewise.
8697         * sysdeps/i386/memmove.S: Likewise.
8698         * sysdeps/i386/mempcpy.S: Likewise.
8699         * sysdeps/i386/memset.S: Likewise.
8700         * sysdeps/i386/bzero.c: Removed.
8701         * sysdeps/i386/memset.c: Likewise.
8702         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8703         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8704         * sysdeps/i386/i586/memset_chk.S: Likewise.
8705         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8706         * sysdeps/i386/memcpy_chk.S: Here.
8707         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8708         * sysdeps/i386/memmove_chk.S: Here.
8709         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8710         * sysdeps/i386/mempcpy_chk.S: Likewise.
8711         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8712         * sysdeps/i386/memset_chk.S: Likewise.
8714 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8716         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8717         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8718         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8719         * soft-fp/fmadf4.c: Ditto.
8720         * soft-fp/fmatf4.c: Ditto.
8722 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8724         * sysdeps/i386/i586/Implies: Removed.
8725         * sysdeps/i386/i686/Implies: Likewise.
8727 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8729         * sysdeps/i386/i486/strlen.S: Moved to ...
8730         * sysdeps/i386/strlen.S: Here.
8732 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8734         * sysdeps/i386/i486/strcat.S: Moved to ...
8735         * sysdeps/i386/strcat.S: Here.
8737 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8739         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8740         * sysdeps/i386/pthread_spin_trylock.S: Here.
8741         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8742         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8744 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8746         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8747         * sysdeps/i386/string-inlines.c: Here.
8749 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8751         * sysdeps/i386/i486/htonl.S: Moved ...
8752         * sysdeps/i386/htonl.S: here.
8754 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8756         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8757         * sysdeps/i386/bits/atomic.h: Here.
8759 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8761         * sysdeps/i386/i486/Versions: Removed.
8763 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8765         [BZ #2898]
8766         * misc/mktemp.c: Add mkdtemp to the link_warning message.
8767         Based on patch by Aurelien Jarno.
8769 2015-08-26  Stan Shebs  <stanshebs@google.com>
8771         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8772         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8774 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8776         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8777         * sysdeps/powerpc/dl-procinfo.c:
8778         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8779         feature so it shows when LD_SHOW_AUXV=1.
8781 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8783         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8784         (__arch_compare_and_exchange_val_32_acq): Remove and use common
8785         definition.  ISA 2.07B no longer requires full sync.
8787 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
8789         [BZ #18863]
8790         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8791         (si_call_addr): Define.
8792         (si_syscall): Define.
8793         (si_arch): Define.
8795 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8797         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8798         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8799         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8800         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8801         (__memset_zero_constant_len_parameter): New.
8802         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8803         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8804         (__memset_zero_constant_len_parameter): Don't define if
8805         __memset_chk or USE_AS_BZERO are defined.
8807         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8808         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8809         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8811         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8812         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8813         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8814         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8815         comments.
8816         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8817         -mno-mmx for $(all-rtld-routines).
8818         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8819         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8820         i386.
8822 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8824         * sysdeps/generic/unwind.h
8825         (_Unwind_Word): Use __mode__(__unwind_word__)
8826         instead of __mode__(__word__).
8827         (_Unwind_Sword): Likewise.
8829         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8830         (MAX_NEEDED_INPUT): New define.
8831         (MAX_NEEDED_OUTPUT): New define.
8833         * NEWS: New item for IBM z13 string optimizations.
8835         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8836         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8837         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8838         * sysdeps/s390/multiarch/Makefile
8839         (sysdep_routines): Add memrchr functions.
8840         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8841         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8843         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8844         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8845         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8846         * sysdeps/s390/multiarch/Makefile
8847         (sysdep_routines): Add wmemcmp functions.
8848         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8849         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8850         * benchtests/bench-wmemcmp.c: New File.
8851         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8853         * sysdeps/s390/multiarch/wmemset-c.c: New File.
8854         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8855         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8856         * sysdeps/s390/multiarch/Makefile
8857         (sysdep_routines): Add wmemset functions.
8858         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8859         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8860         * wcsmbs/wmemset.c: Use WMEMSET if defined.
8861         * string/test-memset.c: Add wmemset support.
8862         * wcsmbs/test-wmemset.c: New File.
8863         * wcsmbs/Makefile (strop-tests): Add wmemset.
8864         * benchtests/bench-memset.c: Add wmemset support.
8865         * benchtests/bench-wmemset.c: New File.
8866         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8868         * sysdeps/s390/multiarch/memccpy-c.c: New File.
8869         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8870         * sysdeps/s390/multiarch/memccpy.c: Likewise.
8871         * sysdeps/s390/multiarch/Makefile
8872         (sysdep_routines): Add memccpy functions.
8873         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8874         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8875         * string/memccpy.c: Use MEMCCPY if defined.
8877         * sysdeps/s390/multiarch/memchr-vx.S: New File.
8878         * sysdeps/s390/multiarch/memchr.c: Likewise.
8879         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8880         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8881         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8882         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8883         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8884         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8885         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8886         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8887         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8888         and rawmemchr functions.
8889         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8890         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8891         and wmemchr.
8892         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8893         * string/test-memchr.c: Add wmemchr support.
8894         * wcsmbs/test-wmemchr.c: New File.
8895         * wcsmbs/Makefile (strop-tests): Add wmemchr.
8896         * benchtests/bench-memchr.c: Add wmemchr support.
8897         * benchtests/bench-wmemchr.c: New File.
8898         * benchtests/Makefile (wcsmbs-bench): wmemchr.
8900         * sysdeps/s390/multiarch/strcspn-c.c: New File.
8901         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8902         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8903         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8904         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8905         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8906         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8907         wcscspn functions.
8908         * sysdeps/s390/multiarch/ifunc-impl-list.c
8909         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8910         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8911         * string/test-strcspn.c: Add wcscspn support.
8912         * wcsmbs/test-wcscspn.c: New File.
8913         * wcsmbs/Makefile (strop-tests): Add wcscspn.
8914         * benchtests/bench-strcspn.c: Add wcscspn support.
8915         * benchtests/bench-wcscspn.c: New File.
8916         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8918         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8919         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8920         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8921         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8922         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8923         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8924         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8925         wcspbrk functions.
8926         * sysdeps/s390/multiarch/ifunc-impl-list.c
8927         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8928         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8929         * string/test-strpbrk.c: Add wcspbrk support.
8930         * wcsmbs/test-wcspbrk.c: New File.
8931         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8932         * benchtests/bench-strpbrk.c: Add wcspbrk support.
8933         * benchtests/bench-wcspbrk.c: New File.
8934         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8936         * sysdeps/s390/multiarch/strspn-c.c: New File.
8937         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8938         * sysdeps/s390/multiarch/strspn.c: Likewise.
8939         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8940         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8941         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8942         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8943         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8944         wcsspn functions.
8945         * sysdeps/s390/multiarch/ifunc-impl-list.c
8946         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8947         * string/test-strspn.c: Add wcsspn support.
8948         * wcsmbs/test-wcsspn.c: New File.
8949         * wcsmbs/Makefile (strop-tests): Add wcsspn.
8950         * benchtests/bench-strspn.c: Add wcsspn support.
8951         * benchtests/bench-wcsspn.c: New File.
8952         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8954         * sysdeps/s390/multiarch/strrchr-c.c: New File.
8955         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8956         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8957         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8958         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8959         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8960         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8961         wcsrchr functions.
8962         * sysdeps/s390/multiarch/ifunc-impl-list.c
8963         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8964         * benchtests/bench-wcsrchr.c: New File.
8965         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8967         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8968         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8969         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8970         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8971         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8972         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8973         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8974         wcschrnul functions.
8975         * sysdeps/s390/multiarch/ifunc-impl-list.c
8976         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8977         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8978         * string/test-strchr.c: Add wcschrnul support.
8979         * wcsmbs/test-wcschrnul.c: New File.
8980         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8981         * benchtests/bench-strchr.c: Add wcschrnul support.
8982         * benchtests/bench-wcschrnul.c: New File.
8983         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8985         * sysdeps/s390/multiarch/strchr-c.c: New File.
8986         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8987         * sysdeps/s390/multiarch/strchr.c: Likewise.
8988         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8989         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8990         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8991         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8992         wcschr functions.
8993         * sysdeps/s390/multiarch/ifunc-impl-list.c
8994         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8995         * string/strchr.c (STRCHR): Define and use macro.
8996         * benchtests/bench-wcschr.c: New File.
8997         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8999         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9000         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9001         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9002         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9003         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9004         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9005         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9006         wcsncmp functions.
9007         * sysdeps/s390/multiarch/ifunc-impl-list.c
9008         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9009         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9010         * benchtests/bench-strncmp.c: Add wcsncmp support.
9011         * benchtests/bench-wcsncmp.c: New File.
9012         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9014         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9015         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9016         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9017         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9018         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9019         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9020         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9021         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9022         wcscmp functions.
9023         * sysdeps/s390/multiarch/ifunc-impl-list.c
9024         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9025         * string/strcmp.c (STRCMP): Define and use macro.
9026         * benchtests/bench-wcscmp.c: New File.
9027         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9028         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9029         instead of _HAVE_STRING_ARCH_memchr.
9031         * sysdeps/s390/multiarch/strncat-c.c: New File.
9032         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9033         * sysdeps/s390/multiarch/strncat.c: Likewise.
9034         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9035         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9036         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9037         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9038         wcsncat functions.
9039         * sysdeps/s390/multiarch/ifunc-impl-list.c
9040         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9041         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9042         * string/test-strncat.c: Add wcsncat support.
9043         * wcsmbs/test-wcsncat.c: New File.
9044         * wcsmbs/Makefile (strop-tests): Add wcsncat.
9045         * benchtests/bench-strncat.c: Add wcsncat support.
9046         * benchtests/bench-wcsncat.c: New File.
9047         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9049         * sysdeps/s390/multiarch/strcat-c.c: New File.
9050         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9051         * sysdeps/s390/multiarch/strcat.c: Likewise.
9052         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9053         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9054         * sysdeps/s390/multiarch/wcscat.c: Likewise.
9055         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9056         wcscat functions.
9057         * sysdeps/s390/multiarch/ifunc-impl-list.c
9058         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9059         * string/strcat.c (STRCAT): Define and use macro.
9060         * wcsmbs/wcscat.c: Use WCSCAT if defined.
9061         * string/test-strcat.c: Add wcscat support.
9062         * wcsmbs/test-wcscat.c: New File.
9063         * wcsmbs/Makefile (strop-tests): Add wcscat.
9064         * benchtests/bench-strcat.c: Add wcscat support.
9065         * benchtests/bench-wcscat.c: New File.
9066         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9068         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9069         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9070         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9071         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9072         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9073         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9074         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9075         wcpncpy functions.
9076         * sysdeps/s390/multiarch/ifunc-impl-list.c
9077         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9078         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9079         * string/test-stpncpy.c: Add wcpncpy support.
9080         * wcsmbs/test-wcpncpy.c: New File.
9081         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9082         * benchtests/bench-stpncpy.c: Add wcpncpy support.
9083         * benchtests/bench-wcpncpy.c: New File.
9084         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9086         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9087         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9088         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9089         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9090         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9091         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9092         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9093         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9094         wcsncpy functions.
9095         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9096         * sysdeps/s390/multiarch/ifunc-impl-list.c
9097         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9098         * string/test-strncpy.c: Add wcsncpy support.
9099         * wcsmbs/test-wcsncpy.c: New File.
9100         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9101         * benchtests/bench-strncpy.c: Add wcsncpy support.
9102         * benchtests/bench-wcsncpy.c: New File.
9103         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9105         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9106         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9107         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9108         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9109         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9110         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9111         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9112         wcpcpy functions.
9113         * string/stpcpy.c: Use STPCPY if defined.
9114         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9115         * sysdeps/s390/multiarch/ifunc-impl-list.c
9116         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9117         * string/test-stpcpy.c: Add wcpcpy support.
9118         * wcsmbs/test-wcpcpy.c: New File.
9119         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9120         * benchtests/bench-stpcpy.c: Add wcpcpy support.
9121         * benchtests/bench-wcpcpy.c: New File.
9122         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9124         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9125         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9126         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9127         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9128         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9129         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9130         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9131         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9132         wcscpy functions.
9133         * sysdeps/s390/multiarch/ifunc-impl-list.c
9134         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9135         * benchtests/bench-wcscpy.c: New File.
9136         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9138         * sysdeps/s390/multiarch/strnlen-c.c: New File.
9139         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9140         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9141         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9142         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9143         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9144         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9145         wcsnlen functions.
9146         * sysdeps/s390/multiarch/ifunc-impl-list.c
9147         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9148         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9149         * string/test-strnlen.c: Add wcsnlen support.
9150         * wcsmbs/test-wcsnlen.c: New File.
9151         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9152         * benchtests/bench-strnlen.c: Add wcsnlen support.
9153         * benchtests/bench-wcsnlen.c: New File.
9154         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9156         * sysdeps/s390/multiarch/Makefile: New File.
9157         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9158         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9159         * sysdeps/s390/multiarch/strlen.c: Likewise.
9160         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9161         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9162         * sysdeps/s390/multiarch/wcslen.c: Likewise.
9163         * string/strlen.c (STRLEN): Define and use macro.
9164         * sysdeps/s390/multiarch/ifunc-impl-list.c
9165         (IFUNC_VX_IMPL): New macro function.
9166         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9167         * benchtests/Makefile (wcsmbs-bench): New variable.
9168         (string-bench-all): Added wcsmbs-bench.
9169         * benchtests/bench-wcslen.c: New File.
9171         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9172         s390_vx_libc_ifunc2): New macro function.
9174         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9175         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9176         assembler support.
9177         * sysdeps/s390/configure: Regenerated.
9179         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9180         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9182         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9183         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9184         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9186         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9187         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9188         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9189         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9190         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9191         (memcmp, bcmp): Use __memcmp_default as alias source.
9192         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9193         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9194         Rename to __memcmp_default.
9195         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9196         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9197         (memcpy): Use __memcpy_default as alias source.
9198         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9199         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9200         Rename to __memcpy_default.
9201         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9202         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9203         (memset): Use __memset_default as alias source.
9204         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9205         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9206         Rename to __memset_default.
9207         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9208         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9209         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9210         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9211         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9212         (memcmp, bcmp): Use __memcmp_default as alias source.
9213         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9214         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9215         Rename to __memcmp_default.
9216         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9217         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9218         (memcpy): Use __memcpy_default as alias source.
9219         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9220         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9221         Rename to __memcpy_default.
9222         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9223         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9224         (memset): Use __memset_default as alias source.
9225         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9226         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9227         Rename to __memset_default.
9228         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9229         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9231         [BZ #18610]
9232         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9233         __ieee_instruction_pointer to __unused.
9234         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9235         __ieee_instruction_pointer.
9236         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9237         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9238         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9239         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9240         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9241         Mark dxc-field as reserved.
9243 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9245         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9246         if the weak reference is not null.
9248 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9250         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9252         [BZ #11214]
9253         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9255 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9257         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9258         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9259         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9260         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9261         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9262         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9263         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9264         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9265         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9266         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9267         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9268         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9269         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9270         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9271         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9272         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9273         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9274         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9276 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9278         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9279         register other than r0 for tabort, it has special meaning.
9280         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9281         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9282         transaction before starting syscall.
9284 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9286         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9288 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9290         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9292         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9293         * sysdeps/x86_64/rtld-memset.S: Likewise.
9294         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9295         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9296         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9297         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9299         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9301 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9303         * debug/strcpy_chk.c: Improve performance.
9304         * debug/stpcpy_chk.c: Likewise.
9305         * sysdeps/x86_64/strcpy_chk.S: Remove.
9306         * sysdeps/x86_64/stpcpy_chk.S: Remove.
9308         [BZ #18240]
9309         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9311 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9313         [BZ #15128]
9314         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9315         ifuncmain8.
9316         (modules-names): Add ifuncmod8.
9317         ($(objpfx)ifuncmain8): New rule.
9318         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9319         <cpuid.h>.
9320         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9321         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9322         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9323         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9324         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9325         * sysdeps/x86_64/dl-trampoline.h: Likewise.
9326         * sysdeps/x86_64/ifuncmain8.c: New file.
9327         * sysdeps/x86_64/ifuncmod8.c: Likewise.
9328         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9329         Removed.
9330         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9331         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9332         Change rtld_savespace_sse to __glibc_unused2.
9333         (RTLD_CHECK_FOREIGN_CALL): Removed.
9334         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9335         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9336         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9338 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9340         * sysdeps/aarch64/bzero.S (__bzero): Remove.
9342 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9344         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9345         Unconditionally set __fpcr to avoid uninialized warning.
9346         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9348 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9350         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9351         is corrupt.
9353         * malloc/arena.c (arena_get2): Drop unused argument.
9354         (arena_lock): Adjust.
9355         (arena_get_retry): Likewise.
9357 2015-08-24  Andreas Schwab  <schwab@suse.de>
9359         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9360         Don't define.
9361         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9362         (__ASSUME_IPC64): Don't undef.
9363         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9364         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9365         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9366         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9367         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9368         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9369         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9370         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9371         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9372         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9373         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9374         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9375         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9376         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9377         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9378         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9379         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9380         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9381         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9382         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9383         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9385 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9387         * manual/Makefile (install): Only build manual when perl is available.
9389 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9391         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9392         '#undef memcpy' by '#undef memchr'.
9394 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9396         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9397         memchr not point to the internal __GI_memchr implementation.
9399 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9401         * timezone/Makefile (CFLAGS-zdump.c): Remove
9402         -Wno-strict-prototypes.
9403         (CFLAGS-zic.c): Likewise.
9404         (CFLAGS-ialloc.c): Likewise.
9405         (CFLAGS-scheck.c): Likewise.
9407         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9408         -Wno-error=undef.
9410 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9412         * i386/i686/multiarch/strcasestr-c.c: Removed.
9413         * x86_64/multiarch/strcasestr.c: Likewise.
9414         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9415         Remove strcasestr.
9417 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9419         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9421         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9422         variables for high and low parts before possibly modifying them.
9424 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9426         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9427         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9428         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9429         of "multiarch/init-arch.h".
9430         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9431         * sysdeps/x86/init-arch.h: This.
9433 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9435         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9436         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9438 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9440         [BZ #17787]
9441         * manual/macros.texi: Add twoexp macro.
9442         * manual/filesys.texi: Fix exponents.
9443         * manual/llio.texi: Likewise.
9444         * manual/stdio.texi: Likewise.
9446 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9448         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9449         incorrect use.
9451 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9453         [BZ #18370]
9454         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9455         whose real or imaginary part has small absolute value.
9456         * math/s_csqrtf.c (__csqrtf): Likewise.
9457         * math/s_csqrtl.c (__csqrtl): Likewise.
9458         * math/auto-libm-test-in: Add more tests of csqrt.
9459         * math/auto-libm-test-out: Regenerated.
9460         * sysdeps/i386/fpu/libm-test-ulps: Update.
9462 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9464         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9465         __ppc_set_ppr_very_low): New functions.
9466         * manual/platform.texi: Add documentation about
9467         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9469 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9471         * string/stpncpy.c (stpncpy): Improve performance using
9472         __strnlen/memcpy/memset.
9474 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9476         [BZ #18796]
9477         * scripts/test-installation.pl: Don't add -lmvec to build options if
9478         libmvec wasn't built.
9480 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9482         [BZ #14341]
9483         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9484         case when there is a gap between DT_REL and DT_JMPREL sections.
9485         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9486         (LDFLAGS-tst-split-dynreloc): New.
9487         (tst-split-dynreloc-ENV): Likewise.
9488         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9489         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9491 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9493         [BZ #18822]
9494         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9495         attribute_hidden.
9496         (__xstat64_conv): Likewise.
9497         (__xstat32_conv): Likewise.
9499 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9501         [BZ #18822]
9502         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9503         Don't load %ebx when calling __setcontext.  Call __setcontext
9504         with HIDDEN_JUMPTARGET.
9505         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9506         libc_hidden_def.
9508 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9510         * sysdeps/i386/i686/Makefile
9511         [$(subdir) == string] (sysdep_routines): Moved to ...
9512         * sysdeps/i386/Makefile: Here.
9513         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9514         * sysdeps/i386/cacheinfo.c: Here.
9515         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9516         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9517         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9518         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9520 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9522         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9523         __i586__ is defined.
9524         (HAS_I686): Defined to 1 if __i686__ is defined.
9526 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9528         * elf/Makefile [$(have-z-execstack) = yes]
9529         (CPPFLAGS-tst-execstack.c): New variable.
9531         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9532         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9533         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9534         UTMPX || _HAVE_UT_TV].
9535         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9536         UTMPX || _HAVE_UT_TV - 0].
9538 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9540         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9541         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9542         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9544 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9546         * sysdeps/powerpc/dl-procinfo.c:
9547         (_dl_powerpc_cap_flags): Added missing strings for some
9548         hwcap features.
9549         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9551 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9553         Port the 0x7efe...feff pattern to GCC 6.
9554         See Steve Ellcey's bug report in:
9555         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9556         * string/memrchr.c (MEMRCHR):
9557         * string/rawmemchr.c (RAWMEMCHR):
9558         * string/strchr.c (strchr):
9559         * string/strchrnul.c (STRCHRNUL):
9560         Rewrite code to avoid issues with signed shift overflow.
9562 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9564         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9565         whether cpuid is available only if HAS_CPUID is 0.
9566         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9567         (HAS_I586): Likewise.
9568         (HAS_I686): Likewise.
9570 2015-08-18  Zack Weinberg  <zackw@panix.com>
9572         * misc/Versions (libc): Add GLIBC_2.23.
9574 2015-08-18  Alan Modra  <amodra@gmail.com>
9576         [BZ #18421]
9577         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9578         .Lp__global.
9579         (_start): Load %dp via .Lp__global.
9580         [!SHARED]: Use .section .rodata.
9582 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9584         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9585         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9587 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9589         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9590         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9592 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9594         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9595         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9597 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9599         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9600         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9602 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9604         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9605         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9607 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9609         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9610         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9612 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9614         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9616 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9618         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9619         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9620         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9621         (__ASSUME_LWS_CAS): Delete.
9623 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9625         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9626         * sysdeps/hppa/configure: Regenerated.
9627         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9628         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9629         * sysdeps/hppa/nptl/tls.h: Likewise.
9631 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9633         [BZ #18823]
9634         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9635         for scaling up small arguments.
9636         * math/s_csqrtf.c (__csqrtf): Likewise.
9637         * math/s_csqrtl.c (__csqrtl): Likewise.
9638         * math/auto-libm-test-in: Add more tests of csqrt.
9639         * math/auto-libm-test-out: Regenerated.
9641 2015-08-17  Andreas Schwab  <schwab@suse.de>
9643         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9644         version set GLIBC_2.19.
9646 2015-08-16  Zack Weinberg  <zackw@panix.com>
9648         [BZ #18681]
9649         * misc/regexp.h: This interface is no longer supported.
9650         Remove all contents, leaving only an #error directive.
9651         * misc/regexp.c (loc1, loc2, locs, step, advance):
9652         Demote to compatibility symbols.
9654 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9656         [BZ #18084]
9657         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9658         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9659         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9660         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9661         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9662         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9663         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9664         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9665         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9667 2015-08-15  Zack Weinberg  <zackw@panix.com>
9669         [BZ #18795]
9670         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9671         buffer length is known to be too large, not if it's known to be
9672         small enough.
9673         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9674         overflow at runtime, involving a length parameter, twice: once
9675         with a compile-time constant length parameter, once without.
9677 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9679         [BZ #18824]
9680         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9681         scaling x * y up instead of down.
9682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9684         * math/auto-libm-test-in: Add more tests of fma.
9685         * math/auto-libm-test-out: Regenerated.
9687 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9689         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9691 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9693         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9694         unnecessary movq.
9695         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9696         Likewise.
9698 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9700         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9701         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9702         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9703         and tgamma.
9704         * math/auto-libm-test-out: Regenerated.
9705         * sysdeps/i386/fpu/libm-test-ulps: Update.
9706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9708         [BZ #16520]
9709         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9710         (__tanh): Force underflow exception for arguments with small
9711         absolute value.
9712         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9713         (__tanhf): Force underflow exception for arguments with small
9714         absolute value.
9715         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9716         (__tanhl): Force underflow exception for arguments with small
9717         absolute value.
9718         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9719         (__tanhl): Force underflow exception for arguments with small
9720         absolute value.
9721         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9722         (__tanhl): Force underflow exception for arguments with small
9723         absolute value.
9724         * math/auto-libm-test-in: Add more tests of tanh.
9725         * math/auto-libm-test-out: Regenerated.
9726         * sysdeps/i386/fpu/libm-test-ulps: Update.
9728 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9730         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9731         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9733 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9735         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9736         <cpuid.h>.
9738 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9740         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9741         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9743 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9745         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9746         Remove $(objpfx)init-arch.o.
9747         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9748         init-arch.
9749         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9750         (INIT_ARCH_EXT): Defined as empty.
9751         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9752         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9753         __init_cpu_features call.  Replace HAS_XXX with
9754         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9755         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9756         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9757         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9758         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9759         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9760         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9761         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9762         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9763         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9764         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9765         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9766         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9767         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9768         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9769         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9770         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9771         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9772         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9773         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9774         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9775         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9776         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9777         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9778         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9779         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9780         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9781         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9782         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9783         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9784         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9785         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9786         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9787         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9788         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9789         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9791 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9793         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9794         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9795         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9796         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9797         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9798         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9799         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9800         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9801         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9802         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9803         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9804         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9805         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9806         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9807         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9808         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9809         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9810         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9811         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9812         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9813         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9814         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9815         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9816         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9817         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9818         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9819         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9820         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9821         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9822         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9823         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9824         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9825         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9826         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9827         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9828         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9829         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9830         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9831         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9832         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9833         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9834         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9835         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9837 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9839         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9840         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9841         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9842         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9843         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9844         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9845         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9846         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9847         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9848         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9849         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9850         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9851         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9852         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9853         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9854         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9855         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9856         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9857         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9858         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9860         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9861         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9862         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9863         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9864         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9865         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9866         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
9867         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9868         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9869         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9870         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9871         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9872         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9873         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9874         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9875         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9876         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9877         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9878         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9879         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9880         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9881         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9883 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9885         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9886         (dl_platform_init): Call init_cpu_features.
9887         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9888         * sysdeps/i386/i686/cacheinfo.c
9889         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9890         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9891         * sysdeps/i386/i686/multiarch/Versions: Removed.
9892         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9893         Removed.
9894         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9895         * sysdeps/unix/sysv/linux/x86/Makefile
9896         (libpthread-sysdep_routines): Remove init-arch.
9897         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9898         <sysdeps/x86_64/dl-procinfo.c> instead of
9899         sysdeps/generic/dl-procinfo.c>.
9900         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9901         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9902         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9903         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9904         [$(subdir) == elf] (tests-static): Add
9905         tst-get-cpu-features-static.
9906         * sysdeps/x86/Versions: New file.
9907         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9908         * sysdeps/x86/cpu-features.c: Likewise.
9909         * sysdeps/x86/cpu-features.h: Likewise.
9910         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9911         * sysdeps/x86/libc-start.c: Likewise.
9912         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9913         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9914         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9915         * sysdeps/x86_64/dl-procinfo.c: Likewise.
9916         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9917         Assume USE_MULTIARCH is defined and don't check it.
9918         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9919         (is_amd): Likewise.
9920         (max_cpuid): Likewise.
9921         (intel_check_word): Likewise.
9922         (__cache_sysconf): Don't call __init_cpu_features.
9923         (__x86_preferred_memory_instruction): Removed.
9924         (init_cacheinfo): Don't call __init_cpu_features. Replace
9925         __cpu_features with GLRO(dl_x86_cpu_features).
9926         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9927         (dl_platform_init): Call init_cpu_features.
9928         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9929         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9930         * sysdeps/x86_64/multiarch/Versions: Removed.
9931         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9932         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9933         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9934         Removed.
9935         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9937 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9939         [BZ #18820]
9940         * libio/Makefile (test-fmemopen-mem): New test.
9941         * libio/test-fmemopen.c (do_bz18820): New test.
9942         * libio/fmemopen.c (__fmemopen): Fix memory leak.
9943         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9945 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9947         [BZ #16734]
9948         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9949         (FREE_BUF): Delete.
9950         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9951         * libio/genops.c (_IO_setb): Use malloc and free directly.
9952         (_IO_default_doallocate, _IO_default_finish): Likewise.
9953         ( _IO_unbuffer_all): Likewise.
9954         ( libc_freeres_fn): Likewise.
9955         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9956         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9957         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9958         (_IO_wdefault_doallocate): Likewise.
9960 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9962         [BZ #18086]
9963         * sysdeps/posix/nice.c (nice): Restore old errno.
9964         * posix/tst-nice.c (do_test): Add test for BZ #18086.
9966 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
9968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9970 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9972         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9973         __bcopy and add a weak_alias to bcopy.
9974         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9975         for static build.
9977         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9978         cleanup macro usage.
9979         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9980         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9981         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9982         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9983         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9984         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9985         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9986         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9987         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9988         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9989         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9990         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9991         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9992         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9993         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9994         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9995         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9996         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9997         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9999         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10000         libc_hidden_def.
10001         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10003         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10004         (sysdep_routines): Add strstr-ppc64.
10005         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10007 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
10009         [BZ #18778]
10010         * elf/Makefile (tests): Add Add tst-nodelete2.
10011         (modules-names): Add tst-nodelete2mod.
10012         (tst-nodelete2mod.so-no-z-defs): New.
10013         ($(objpfx)tst-nodelete2): Likewise.
10014         ($(objpfx)tst-nodelete2.out): Likewise.
10015         (LDFLAGS-tst-nodelete2): Likewise.
10016         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10017         out of loop through all loaded libraries.
10018         * elf/tst-nodelete2.c: New file.
10019         * elf/tst-nodelete2mod.c: Likewise.
10020         * elf/tst-znodelete-zlib.cc: Delete.
10022 2015-08-11  Andreas Schwab  <schwab@suse.de>
10024         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10025         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10026         (__openat64_nocancel): Likewise.
10028 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
10030         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10031         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10032         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10033         * math/auto-libm-test-out: Regenerated.
10034         * sysdeps/i386/fpu/libm-test-ulps: Update.
10035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10037 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10039         [BZ #18790]
10040         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10041         threshold for returning +/- 1.
10042         * math/auto-libm-test-in: Add more tests of tanh.
10043         * math/auto-libm-test-out: Regenerated.
10044         * sysdeps/i386/fpu/libm-test-ulps: Update.
10046 2015-08-10  Andreas Schwab  <schwab@suse.de>
10048         [BZ #18781]
10049         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10050         MORE_OFLAGS to oflag.
10051         * io/test-lfs.c (do_test): Test openat64.
10053 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10055         [BZ #18789]
10056         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10057         smaller threshold for returning the argument.
10058         * math/auto-libm-test-in: Add more tests of sinh.
10059         * math/auto-libm-test-out: Regenerated.
10060         * sysdeps/i386/fpu/libm-test-ulps: Update.
10062 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10064         [BZ #18674]
10065         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10066         break.
10068 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10070         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10071         (generated): Don't add $(addprefix z.,$(tzfiles)).
10073 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10075         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10076         * scripts/sysd-rules.awk: Likewise.
10078 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10080         * iconvdata/tst-tables.sh: Change echo -n to printf.
10081         * nss/db-Makefile: Likewise.
10082         * posix/tst-getconf.sh: Likewise.
10083         * stdio-common/tst-unbputc.sh: Likewise.
10085 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10087         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10088         MADV_*_PAGES defines behind this feature check.
10090 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
10092         [BZ #18480]
10093         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10094         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10095         Define.
10096         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10097         LOAD_REGS_5, LOAD_REGS_6): Update.
10098         (INTERNAL_SYSCALL): Update using new LOAD defines.
10099         (INTERNAL_SYSCALL_NCS): Likewise.
10100         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10102 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10104         [BZ #16734]
10105         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10107 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10109         [BZ #17905]
10110         * catgets/Makefile (tst-catgets-mem): New test.
10111         * catgets/catgets.c (catopen): Don't use unbounded alloca.
10112         * catgets/open_catalog.c (__open_catalog): Likewise.
10113         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10115 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
10117         [BZ #18787]
10118         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10119         clobber registers.
10120         (atomic_compare_and_exchange_val_acq): Use register asms to assign
10121         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
10122         Cast return to __typeof (oldval).
10124 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
10126         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10127         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
10128         and delete sys/syscall.h include.
10130 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
10132         [BZ #16517]
10133         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10134         (tan): Force underflow exception for arguments with small absolute
10135         value.
10136         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10137         (__kernel_tanf): Force underflow exception for arguments with
10138         small absolute value.
10139         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10140         (__kernel_tanl): Force underflow exception for arguments with
10141         small absolute value.
10142         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10143         (__kernel_tanl): Force underflow exception for arguments with
10144         small absolute value.
10145         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10146         (__kernel_tanl): Force underflow exception for arguments with
10147         small absolute value.
10148         * math/auto-libm-test-in: Add more tests of tan.
10149         * math/auto-libm-test-out: Regenerated.
10151 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10153         Fix sysdeps/i386/fpu/s_scalbn.S build
10155         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10157 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
10159         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10161 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10163         Fix gcrt0.o compilation
10165         When static-start-installed-name is different from
10166         start-installed-name, we must not use the shared objects.
10168         * csu/Makefile
10169         (extra-objs): Add gmon-start.o when building shared library and
10170         $(static-start-installed-name) is different from
10171         $(start-installed-name).
10172         $(objpfx)g$(static-start-installed-name): When building shared
10173         library and $(static-start-installed-name) is different from
10174         $(static-start-installed-name), revert to non-shared rule,
10175         i.e. using $(objpfx)% and gmon-start.o.
10177 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10179         [BZ #16519]
10180         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10181         (__ieee754_sinh): Force underflow exception for arguments with
10182         small absolute value.
10183         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10184         (__ieee754_sinhf): Force underflow exception for arguments with
10185         small absolute value.
10186         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10187         (__ieee754_sinhl): Force underflow exception for arguments with
10188         small absolute value.
10189         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10190         (__ieee754_sinhl): Force underflow exception for arguments with
10191         small absolute value.
10192         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10193         (__ieee754_sinhl): Force underflow exception for arguments with
10194         small absolute value.
10195         * math/auto-libm-test-in: Add more tests of sinh.
10196         * math/auto-libm-test-out: Regenerated.
10197         * sysdeps/i386/fpu/libm-test-ulps: Update.
10199 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10201         * libio/oldfileops.c: Include unistd.h.
10203 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10205         * stdlib/isomac.c: Include ctype.h.
10207 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10209         * dirent/tst-seekdir.c (main): Converted to ...
10210         (do_test): ... this.
10211         (TEST_FUNCTION): New macro.
10212         Include test-skeleton.c.
10213         * elf/tst-dlmodcount.c (main): Converted to ...
10214         (do_test): ... this.
10215         (TEST_FUNCTION): New macro.
10216         Include test-skeleton.c.
10217         * elf/tst-order-main.c (main): Converted to ...
10218         (do_test): ... this.
10219         (TEST_FUNCTION): New macro.
10220         Include test-skeleton.c.
10221         * elf/tst-pie2.c (main): Converted to ...
10222         (do_test): ... this.
10223         (TEST_FUNCTION): New macro.
10224         Include test-skeleton.c.
10225         * inet/tst-ether_aton.c (main): Converted to ...
10226         (do_test): ... this.
10227         (TEST_FUNCTION): New macro.
10228         Include test-skeleton.c.
10229         * misc/tst-mntent.c (main): Converted to ...
10230         (do_test): ... this.
10231         (TEST_FUNCTION): New macro.
10232         Include test-skeleton.c.
10233         * misc/tst-tsearch.c (main): Converted to ...
10234         (do_test): ... this.
10235         (TEST_FUNCTION): New macro.
10236         Include test-skeleton.c.
10237         * posix/tst-regexloc.c (main): Converted to ...
10238         (do_test): ... this.
10239         (TEST_FUNCTION): New macro.
10240         Include test-skeleton.c.
10241         * resolv/tst-aton.c (main): Converted to ...
10242         (do_test): ... this.
10243         (TEST_FUNCTION): New macro.
10244         Include test-skeleton.c.
10245         * stdio-common/test-fwrite.c (main): Converted to ...
10246         (do_test): ... this.
10247         (TEST_FUNCTION): New macro.
10248         Include test-skeleton.c.
10249         * stdio-common/tst-ferror.c (main): Converted to ...
10250         (do_test): ... this.
10251         (TEST_FUNCTION): New macro.
10252         Include test-skeleton.c.
10253         * stdio-common/tst-printf.c (main): Converted to ...
10254         (do_test): ... this.
10255         (TEST_FUNCTION): New macro.
10256         Include test-skeleton.c.
10257         * stdio-common/tst-printfsz.c (main): Converted to ...
10258         (do_test): ... this.
10259         (TEST_FUNCTION): New macro.
10260         Include test-skeleton.c.
10261         * stdlib/tst-strtod.c (main): Converted to ...
10262         (do_test): ... this.
10263         (TEST_FUNCTION): New macro.
10264         Include test-skeleton.c.
10265         * string/tst-strlen.c (main): Converted to ...
10266         (do_test): ... this.
10267         (TEST_FUNCTION): New macro.
10268         Include test-skeleton.c.
10269         * string/tst-svc.c (main): Converted to ...
10270         (do_test): ... this.
10271         (TEST_FUNCTION): New macro.
10272         Include test-skeleton.c.
10273         * time/tst-strptime.c (main): Converted to ...
10274         (do_test): ... this.
10275         (TEST_FUNCTION): New macro.
10276         Include test-skeleton.c.
10277         * timezone/tst-timezone.c (main): Converted to ...
10278         (do_test): ... this.
10279         (TEST_FUNCTION): New macro.
10280         Include test-skeleton.c.
10282 2015-08-05  Zack Weinberg  <zackw@panix.com>
10284         * misc/regexp.h: Update comments.
10286 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10288         [BZ #18635]
10289         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10290         before return label.
10292 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10294         [BZ #18661]
10295         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10296         when calling __errno_location.
10297         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10298         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10300 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10302         [BZ #18661]
10303         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10304         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10305         __gettimeofday.
10307 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10309         [BZ #18661]
10310         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10311         (__start_context): Don't use pop to restore %rdi so that stack
10312         is aligned to 16 bytes when calling __setcontext.
10314 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10316         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10317         only for libc.
10318         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10320 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10322         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10323         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
10324         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10326 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10328         * string/memccpy.c (memccpy):
10329         Improve performance by using memchr/memcpy/__mempcpy.
10331 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10333         * string/strncpy.c (strncpy):
10334         Improve performance by using __strnlen/memcpy.
10336 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10338         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10339         Optimize to avoid an unnecessary FPCR read.
10341 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10343         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10344         Optimize to reduce FPCR/FPSR accesses.
10346 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10348         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10349         dead->data[category] != NULL.
10351 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
10353         [BZ #18647]
10354         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10355         and |x| close to 1, use absolute value of x when computing log.
10356         * math/auto-libm-test-in: Add more tests of pow.
10357         * math/auto-libm-test-out: Regenerated.
10359 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10361         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10362         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10363         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10365 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
10367         [BZ #18525]
10368         * locales/km_KH: Remove timezone definition.
10369         * locales/lo_LA: Likewise.
10370         * locales/my_MM: Likewise.
10371         * locales/nan_TW@latin: Likewise.
10372         * locales/th_TH: Likewise.
10373         * locales/uk_UA: Likewise.
10375 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10377         [BZ #18265]
10378         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10379         (wcsncat): Likewise.
10380         (wcscmp): Likewise.
10381         (wcsncmp): Likewise.
10383 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10385         * test-skeleton.c (usage): New function.
10386         (main): Call usage when opt is '?'.
10388 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10390         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10391         before first use.
10393 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10395         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10396         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10397         in there too.
10399 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10401         * version.h (RELEASE): Set to "development".
10402         (VERSION): Set to "2.22.90"
10404         * version.h (RELEASE): Set to "stable".
10405         (VERSION): Set to "2.22"
10406         * include/features.h (__GLIBC_MINOR__): Set to 22.
10408 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10410         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10411         Restructure macro to avoid "value computed is not used" warning.
10412         (atomic_compare_and_exchange_val_acq): Likewise.
10414 2015-08-04  Andreas Schwab  <schwab@suse.de>
10416         [BZ #18635]
10417         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10418         ret.
10419         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10421 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10423         * po/pl.po: Updated translation.
10424         * po/uk.po: Likewise.
10425         * po/fi.po: Likewise.
10426         * po/ko.po: Likewise.
10427         * po/ru.po: Likewise.
10428         * po/vi.po: Likewise.
10430 2015-07-31  Zack Weinberg  <zackw@panix.com>
10432         [BZ #18681]
10433         * regexp.h: Add unconditional #warning stating that this header
10434         will be removed soon.  Revise banner comment to match.
10435         (compile): Consistently use ERROR instead of RETURN to report
10436         errors (partial fix for bz#18681).
10437         * regexp.c: Don't include regexp.h. Remove some unnecessary
10438         declarations.
10440 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10442         * po/libc.pot: Regenerated.
10444 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10446         [BZ #18740]
10447         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10448         float-vlen4-arch-ext-cflags): Removed.
10449         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10450         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10452 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10454         [BZ #14113]
10455         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10456         aligned to __aligned__.
10457         (pthread_cond_t, pthread_rwlock_t): Likewise.
10459 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10461         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10463 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10465         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10466         (struct sigaction): Change sa_flags from a long to an int, and add
10467         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10469 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10471         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10472         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10473         sysdeps/generic/sysdep.h include.
10474         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10475         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10476         sysdeps/hppa/sysdep.h.
10477         (ENTRY, PSEUDO): Undefine before defining.
10479 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10481         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10482         from scratch to use INTERNAL_SYSCALL.
10484 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10486         [BZ #18078]
10487         * scripts/check-localplt.awk: Support alternate relocations.
10488         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10489         sections.
10490         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10491         malloc entries with + REL R_386_GLOB_DAT.
10492         * sysdeps/x86_64/localplt.data: New file.
10494 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10496         [BZ #18731]
10497         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10498         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10499         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10501 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10503         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10505 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10507         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10508         directly in terms of __sync_fetch_and_add and delete (int) cast.
10510 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10512         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10513         the -D_ASM_IA64_CURRENT_H flag.
10515 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10517         [BZ #18641]
10518         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10520 2015-07-27  Andreas Schwab  <schwab@suse.de>
10522         * conform/conformtest.pl (checknamespace): Filter out string
10523         literals while tokenizing.
10525 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10527         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10528         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10529         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10531 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10533         * nptl/tst-join7mod.c: Add #include <string.h>.
10535 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10537         * sysdeps/nios2/libm-test-ulps: Update.
10539 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10541         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10542         Fix order of arguments to the rt_sigprocmask syscall.
10543         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10544         Likewise.
10546 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10548         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10550 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10552         [BZ #18457]
10553         * nptl/Makefile (tests): New test case tst-join7.
10554         (modules-names): New test case module tst-join7mod.
10555         * nptl/tst-join7.c: New file.
10556         * nptl/tst-join7mod.c: New file.
10557         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10558         all translation units in libc.so, libpthread.so and rtld.
10560 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10564 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10566         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10567         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10568         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10569         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10570         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10571         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10572         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10573         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10574         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10575         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10576         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10578         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10579         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10580         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10581         implementation.
10583 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10585         [BZ #17711]
10586         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10587         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10588         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10589         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10590         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10591         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10593 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10595         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10596         instead of just saying load lock in the comments.
10598 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10600         * sysdeps/unix/Subdirs: Moved ...
10601         * sysdeps/posix/Subdirs: ... here.
10602         * login/pty.h (struct termios, struct winsize): Add forward decls.
10603         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10604         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10605         * sysdeps/arm/nacl/libc.abilist: Updated.
10606         * sysdeps/nacl/libutil.abilist: New file.
10608         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10609         (SIGWINCH): New macro.
10611         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10612         * sysdeps/arm/nacl/libc.abilist: Add it.
10614 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10616         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10618 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10620         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10621         Swap __glibc_reserved0 and sa_flags order.
10623 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10625         [BZ #18657]
10626         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10627         are pending TLS destructor calls.
10628         * include/link.h (struct link_map): Add concurrency note for
10629         L_TLS_DTOR_COUNT.
10630         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10631         Don't touch the link map flag.  Atomically increment
10632         l_tls_dtor_count.
10633         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10634         Avoid taking the load lock and don't touch the link map flag.
10635         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10636         * stdlib/Makefile (tests): Use it.
10637         * stdlib/tst-tls-atexit.c (do_test): dlopen
10638         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10639         to allow tst-tls-atexit-nodelete test case to use it.
10641 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10643         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10644         to bits/types.h.
10645         (msgqnum_t): New typedef.
10646         (msglen_t): Likewise.
10647         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10648         and msg_qbytes type to msglen_t.
10650 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10652         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10653         pad0 to __glibc_reserved0.
10654         (struct stat64): Likewise.
10656 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10658         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10659         Change sa_flags from a long to an int and add __glibc_reserved0 before
10660         it for padding.
10662 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10664         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10665         anonymous by deleting "siginfo" name.
10667 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10669         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10670         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10671         rather than __nacl_irt_filename.
10672         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10674         * NEWS: New item for arm-nacl port.
10675         * sysdeps/arm/nacl/libc.abilist: New file.
10676         * sysdeps/nacl/ld.abilist: New file.
10677         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10678         * sysdeps/nacl/libanl.abilist: New file.
10679         * sysdeps/nacl/libcrypt.abilist: New file.
10680         * sysdeps/nacl/libdl.abilist: New file.
10681         * sysdeps/nacl/libm.abilist: New file.
10682         * sysdeps/nacl/libpthread.abilist: New file.
10683         * sysdeps/nacl/libresolv.abilist: New file.
10684         * sysdeps/nacl/librt.abilist: New file.
10686 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10688         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10689         __startcontext to initialize the new context.
10690         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10691         up CFI directive to forbid further backtracing.
10693 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10695         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10696         reference.
10697         * charmaps/ANSI_X3.4-1968: Likewise.
10698         * charmaps/BS_4730: Likewise.
10699         * charmaps/BS_VIEWDATA: Likewise.
10700         * charmaps/CP1250: Likewise.
10701         * charmaps/CP1251: Likewise.
10702         * charmaps/CP1252: Likewise.
10703         * charmaps/CP1253: Likewise.
10704         * charmaps/CP1254: Likewise.
10705         * charmaps/CP1255: Likewise.
10706         * charmaps/CP1256: Likewise.
10707         * charmaps/CSN_369103: Likewise.
10708         * charmaps/EBCDIC-DK-NO: Likewise.
10709         * charmaps/GB_1988-80: Likewise.
10710         * charmaps/GREEK-CCITT: Likewise.
10711         * charmaps/GREEK7: Likewise.
10712         * charmaps/INIS-8: Likewise.
10713         * charmaps/ISIRI-3342: Likewise.
10714         * charmaps/ISO_2033-1983: Likewise.
10715         * charmaps/ISO_5427-EXT: Likewise.
10716         * locales/POSIX: Likewise.
10717         * locales/ar_SA: Likewise.
10718         * locales/be_BY: Likewise.
10719         * locales/be_BY@latin: Likewise.
10720         * locales/ca_ES: Likewise.
10721         * locales/cs_CZ: Likewise.
10722         * locales/da_DK: Likewise.
10723         * locales/de_BE: Likewise.
10724         * locales/de_CH: Likewise.
10725         * locales/de_LU: Likewise.
10726         * locales/en_AU: Likewise.
10727         * locales/en_BW: Likewise.
10728         * locales/en_CA: Likewise.
10729         * locales/en_DK: Likewise.
10730         * locales/en_GB: Likewise.
10731         * locales/en_IE: Likewise.
10732         * locales/en_NZ: Likewise.
10733         * locales/en_ZA: Likewise.
10734         * locales/en_ZW: Likewise.
10735         * locales/es_AR: Likewise.
10736         * locales/es_BO: Likewise.
10737         * locales/es_CL: Likewise.
10738         * locales/es_CO: Likewise.
10739         * locales/es_DO: Likewise.
10740         * locales/es_EC: Likewise.
10741         * locales/es_ES: Likewise.
10742         * locales/es_HN: Likewise.
10743         * locales/es_MX: Likewise.
10744         * locales/es_PA: Likewise.
10745         * locales/es_PE: Likewise.
10746         * locales/es_PY: Likewise.
10747         * locales/es_SV: Likewise.
10748         * locales/es_US: Likewise.
10749         * locales/es_UY: Likewise.
10750         * locales/es_VE: Likewise.
10751         * locales/et_EE: Likewise.
10752         * locales/fa_IR: Likewise.
10753         * locales/fo_FO: Likewise.
10754         * locales/fr_CA: Likewise.
10755         * locales/fr_CH: Likewise.
10756         * locales/gv_GB: Likewise.
10757         * locales/he_IL: Likewise.
10758         * locales/hr_HR: Likewise.
10759         * locales/id_ID: Likewise.
10760         * locales/is_IS: Likewise.
10761         * locales/it_CH: Likewise.
10762         * locales/iw_IL: Likewise.
10763         * locales/kl_GL: Likewise.
10764         * locales/ko_KR: Likewise.
10765         * locales/kw_GB: Likewise.
10766         * locales/lg_UG: Likewise.
10767         * locales/lt_LT: Likewise.
10768         * locales/lv_LV: Likewise.
10769         * locales/mi_NZ: Likewise.
10770         * locales/nhn_MX: Likewise.
10771         * locales/nl_BE: Likewise.
10772         * locales/pl_PL: Likewise.
10773         * locales/sk_SK: Likewise.
10774         * locales/sl_SI: Likewise.
10775         * locales/sv_FI: Likewise.
10776         * locales/tl_PH: Likewise.
10777         * locales/tr_TR: Likewise.
10778         * locales/vi_VN: Likewise.
10780 2015-07-21  Khem Raj  <raj.khem@gmail.com>
10782         [BZ #17475]
10783         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10784         of tu_IN and bh_IN.
10786 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
10788         [BZ #18694]
10789         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10790         bits/wordsize.h.
10791         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10793 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10795         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10796         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10797         (spawn_thread): New function.
10798         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10799         (do_test): ... here.  Use IS_LOADED to test for its
10800         availability.
10802 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10804         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10806 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10808         [BZ #18696]
10809         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10810         si_addr_bnd.
10811         (si_lower): New.
10812         (si_upper): Likewise.
10814 2015-07-16  David S. Miller  <davem@davemloft.net>
10816         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10818 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10820         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10821         buffer.
10822         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10823         fail output information.
10825 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10828         and strstr-ppc64..
10829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10830         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10831         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10832         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10833         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10835 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10837         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10838         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10839         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10840         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10842 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10844         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10845         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10846         rtld_hidden_proto.
10847         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10849 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10851         * tst-nodelete-opened.c (do_test): Add comment to clarify how
10852         the test can fail.
10854         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10856         [BZ #18676]
10857         * elf/tst-nodelete-opened.c: New test case.
10858         * elf/tst-nodelete-opened-lib.c: New test case module.
10859         * elf/Makefile (tests, modules-names): Use them.
10860         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10861         early.
10863 2015-07-15  David S. Miller  <davem@davemloft.net>
10865         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10866         futex-intenal.h
10867         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10868         * sysdeps/sparc/sparc64/Makefile: Likewise.
10869         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10870         Remove space from macro define.
10871         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10873 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
10875         [BZ #17475]
10876         * locale/iso-639.def: Update Bhili and Tulu language codes as
10877         per iso639-3.
10879 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
10881         * elf/tst-leaks1.c (main): Converted to ...
10882         (do_test): ... this.
10883         (TEST_FUNCTION): New macro.
10884         Include test-skeleton.c.
10885         * localedata/tst-langinfo.c (main): Converted to ...
10886         (do_test): ... this.
10887         (TEST_FUNCTION): New macro.
10888         Include test-skeleton.c.
10889         * math/test-fpucw.c (main): Converted to ...
10890         (do_test): ... this.
10891         (TEST_FUNCTION): New macro.
10892         Include test-skeleton.c.
10893         * math/test-tgmath.c (main): Converted to ...
10894         (do_test): ... this.
10895         (TEST_FUNCTION): New macro.
10896         Include test-skeleton.c.
10897         * math/test-tgmath2.c (main): Converted to ...
10898         (do_test): ... this.
10899         (TEST_FUNCTION): New macro.
10900         Include test-skeleton.c.
10901         * setjmp/tst-setjmp.c (main): Converted to ...
10902         (do_test): ... this.
10903         (TEST_FUNCTION): New macro.
10904         Include test-skeleton.c.
10905         * stdio-common/tst-sscanf.c (main): Converted to ...
10906         (do_test): ... this.
10907         (TEST_FUNCTION): New macro.
10908         Include test-skeleton.c.
10909         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10910         (do_test): ... this.
10911         (TEST_FUNCTION): New macro.
10912         Include test-skeleton.c.
10914         * elf/tst-audit9.c (main): Converted to ...
10915         (do_test): ... this.
10916         (TEST_FUNCTION): New macro.
10917         Include test-skeleton.c.
10919 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
10921         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10923 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10925         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10926         New variable.
10928 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10930         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10932 2015-07-14  Roland McGrath  <roland@hack.frob.com>
10934         * sysdeps/generic/dl-fileid.h: New file.
10935         * sysdeps/posix/dl-fileid.h: New file.
10936         * sysdeps/nacl/dl-fileid.h: New file.
10937         * include/link.h: Include <dl-fileid.h>.
10938         (struct link_map): Replace l_dev and l_ino with l_file_id.
10939         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10940         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
10941         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
10943 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10945         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10947 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10949         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10950         Add iff $CXX is set.
10951         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10952         Likewise.
10953         (tst-nodelete-zmodiff): Likewise.
10954         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10956 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10958         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10960 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10962         * sysdeps/aarch64/fpu/math_private.h
10963         (define math_opt_barrier): Add AArch64 version.
10964         (math_force_eval): Likewise.
10966 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10968         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10970 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10972         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10973         %ld with %jd and cast to intmax_t.
10974         (do_test_length_zero): Likewise.
10976 2015-07-10  Roland McGrath  <roland@hack.frob.com>
10978         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10980 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10982         * sysdeps/tile/libm-test-ulps: Regenerated.
10984         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10985         Comment out the whole function, not just its body.
10987 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10989         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10990         locks.
10992         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10994 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10996         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10997         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10999 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11001         * sysdeps/nptl/futex-internal.h: New file.
11002         * sysdeps/nacl/futex-internal.h: New file.
11003         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11004         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11005         error checking.
11006         (setxid_unmark_thread): Likewise.
11007         (__nptl_setxid): Likewise.
11008         (__wait_lookup_done): Likewise.
11009         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11010         * nptl/nptl-init.c (sighandler_setxid): Likewise.
11011         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11012         * nptl/pthread_once.c (clear_once_control): Likewise.
11013         (__pthread_once_slow): Likewise.
11014         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11015         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11016         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11017         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11018         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11019         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11020         Likewise.
11021         (__pthread_rwlock_rdlock): Likewise.
11022         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11023         Likewise.
11024         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11025         Likewise.
11026         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11027         Likewise.
11028         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11029         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11030         Likewise.
11031         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11032         __ASSUME_PRIVATE_FUTEX check.
11033         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11034         Check that shared futexes are supported.
11035         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11036         wrappers with error checking.
11037         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11038         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11039         * nptl/pthread_barrierattr_setpshared.c
11040         (pthread_barrierattr_setpshared): Check that shared futexes are
11041         supported.
11042         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11043         Likewise.
11044         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11045         Likewise.
11046         * nptl/sem_init.c (futex_private_if_supported): Remove.
11047         (__new_sem_init): Adapt and check that shared futexes are supported.
11048         * nptl/sem_open.c (sem_open): Likewise.
11049         * nptl/sem_post.c (futex_wake): Remove.
11050         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11051         (do_futex_wait): Use futex wrappers with error checking.
11052         * nptl/sem_wait.c: Include lowlevellock.h.
11053         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11054         Use futex_supports_pshared.
11055         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11056         Use futex wrappers with error checking.
11057         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11058         Likewise.
11059         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11060         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11061         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11062         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11063         (futex_wake): Likewise.
11064         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11065         (do_futex_wait): Use futex wrappers with error checking.
11066         (__new_sem_wait_slow): Update EINTR handling.
11067         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11069 2015-07-09  Martin Sebor  <msebor@redhat.com>
11071         [BZ #18435]
11072         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11073         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11074         * nptl/Makefile (test-xfail-tst-once5): Define.
11076 2015-07-09  Roland McGrath  <roland@hack.frob.com>
11078         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11079         * elf/dl-minimal.c: For readability, reorder some definitions and
11080         introduce more page breaks.  Include <stdio.h>.
11081         (__libc_fatal): New function.
11083         * include/unistd.h: Add rtld_hidden_proto for _exit.
11084         * posix/_exit.c: Add rtld_hidden_def.
11085         * sysdeps/mach/hurd/_exit.c: Likewise.
11086         * sysdeps/nacl/_exit.c: Likewise.
11087         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11088         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11090 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
11092         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11093         bndmov encoding with zero displacement.
11095 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11096             H.J. Lu  <hongjiu.lu@intel.com>
11098         [BZ #18134]
11099         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11100         * sysdeps/i386/configure: Regenerated.
11101         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11102         (_dl_runtime_profile): Save and restore Intel MPX return bound
11103         registers when calling _dl_call_pltexit.  Add
11104         PRESERVE_BND_REGS_PREFIX before return.
11105         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11106         (LRV_BND1_OFFSET): Likewise.
11107         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11108         lrv_bnd1.
11109         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11110         typo in bndmov encoding.
11111         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11112         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
11113         branch instructions to preserve bounds.
11115 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11118         [GLIBC_2.22]: Add fmemopen.
11120 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11122         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11123         returns an error, also try to use host port from __mach_host_self for
11124         the __vm_wire call.
11125         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11127 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11129         [BZ #18400]
11130         [BZ #18648]
11131         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11132         Fix pr_uid and pr_gid members.
11133         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11134         definition to elf_greg_t.
11136 2015-07-08  Roland McGrath  <roland@hack.frob.com>
11138         [BZ #18383]
11139         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11140         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11141         * sysdeps/arm/configure: Regenerated.
11142         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11143         (test-xfail-tst-tlsalign-static): Variable removed.
11145         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11146         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11147         rather than explicit 'ln -s'.
11149         * resolv/rpc/netdb.h: New file.
11150         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11152 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11154         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11155         length buffers.
11156         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11157         test-skeleton.c.
11159         [BZ #6544]
11160         [BZ #11216]
11161         [BZ #12836]
11162         [BZ #13151]
11163         [BZ #13152]
11164         [BZ #14292]
11165         * include/stdio.h (fmemopen): Remove hidden prototype.
11166         (__fmemopen): Add new hidden prototype.
11167         * libio/Makefile: Add oldfmemopen object.
11168         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11169         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11170         compliance.
11171         * libio/oldfmemopen.c: New file: old fmemopen implementation for
11172         symbol compatibility.
11173         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11174         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11175         fmemopen.
11176         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11177         on append and read mode.
11178         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11179         fmemopen.
11180         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11181         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11182         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11183         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11184         Likewise.
11185         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11186         [GLIBC_2.22]: Likewise.
11187         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11188         Likewise.
11189         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11190         Likewise.
11191         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11192         [GLIBC_2.22]: Likewise.
11193         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11194         [GLIBC_2.22]: Likewise.
11195         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11196         [GLIBC_2.22]: Likewise.
11197         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11198         [GLIBC_2.22]: Likewise.
11199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11200         [GLIBC_2.22]: Likewise.
11201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11202         [GLIBC_2.22]: Likewise.
11203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11204         [GLIBC_2.22]: Likewise.
11205         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11206         Likewise.
11207         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11208         Likewise.
11209         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11210         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11211         [GLIBC_2.22]: Likewise.
11212         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11213         [GLIBC_2.22]: Likewise.
11214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11215         [GLIBC_2.22]: Likewise.
11216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11217         [GLIBC_2.22]: Likewise.
11218         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11219         Likewise.
11220         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11221         Likewise.
11222         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11223         Likewise.
11224         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11225         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11227 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11229         [BZ #18643]
11230         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11231         IPV6_PATHMTU, and IPV6_DONTFRAG.
11233 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11235         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11236         and _IO_UNBUFFERED.
11237         * libio/oldfileops.c: Likewise.
11238         * libio/wfileops.c: Likewise.
11240 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11242         * nscd/selinux.c: Delete selinux/flask.h include.
11244 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11246         [BZ #18641]
11247         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11248         (putpwent): Likewise.
11249         (getpwnam): Likewise.
11250         (getpwent_r): Likewise.
11251         (getpwuid_r): Likewise.
11252         (getpwnam_r): Likewise.
11253         (fgetpwent_r): Likewise.
11255 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11257         [BZ #18557]
11258         * inet/rcmd.c (__validuser2_sa): Check user first to
11259         short-circuit host check.
11261 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11262             Mikhail Ilin  <m.ilin@samsung.com>
11264         [BZ #17833]
11265         * elf/Makefile (tests): Add tst-nodelete.
11266         (modules-names): Add tst-nodelete-uniquemod.
11267         (tst-nodelete-uniquemod.so-no-z-defs): New.
11268         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11269         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11270         ($(objpfx)tst-nodelete): Likewise.
11271         ($(objpfx)tst-nodelete.out): Likewise.
11272         (LDFLAGS-tst-nodelete): Likewise.
11273         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11274         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11275         implement forced object deletion.
11276         (_dl_close): Pass false to _dl_close_worker.
11277         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11278         * elf/tst-nodelete.cc: New file.
11279         * elf/tst-nodeletelib.cc: Likewise.
11280         * elf/tst-znodeletelib.cc: Likewise.
11281         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11283 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11285         [BZ #18508]
11286         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11287         Depend on $(libdl).
11288         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11289         is not called infinitely times.
11290         (backtrace_helper): New function.
11291         (trace_arg): New struct.
11292         (st1): Enlarge stack size.
11293         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11294         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11295         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11296         Likewise.
11298 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11300         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11302 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11304         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11305         Include sys/types.h instead of bits/types.h.
11306         Remove inclusion of bits/wordsize.h.
11308 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11310         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11311         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11312         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11313         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11314         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11315         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11317 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11319         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11320         link-defines.sym.
11321         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11322         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11323         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11324         and LR_SIZE.
11325         * sysdeps/i386/link-defines.sym: New file.
11327 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11329         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11330         (modules-names): Add tst-auditmod3a tst-auditmod3b.
11331         ($(objpfx)tst-audit3): New rule.
11332         ($(objpfx)tst-audit3.out): Likewise.
11333         * sysdeps/i386/tst-audit3.c: New file.
11334         * sysdeps/i386/tst-audit3.h: Likewise.
11335         * sysdeps/i386/tst-auditmod3a.c: Likewise.
11336         * sysdeps/i386/tst-auditmod3b.c: Likewise.
11338 2015-07-07  Torvald Riegel  <triegel@redhat.com>
11340         [BZ #18633]
11341         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11342         pointer in C code.
11343         (__strcat_c): Likewise.
11344         (__strcat_g): Likewise.
11346 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
11348         [BZ #18592]
11349         * misc/sbrk.c: Set errno to ENOMEM on overflow.
11351 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11353         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11354         New function.  (__ieee754_sqrtf): New function.
11355         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11356         New function.
11357         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11358         New function.
11360 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11362         * sysdeps/ieee754/support.c: Remove unused file.
11364 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11366         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11367         registers instead of d ones so the layout is kernel abi compatible.
11368         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11369         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11370         Likewise.
11372 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11374         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11376 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11378         [BZ #18619]
11379         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11380         and return argument in case of subnormal argument.
11382 2015-07-01  Martin Sebor  <msebor@redhat.com>
11384         [BZ #18435]
11385         * nptl/Makefile: Add tst-once5.cc.
11386         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11387         Remove macro redefinitions.
11388         * nptl/tst-once5.cc: New test.
11390 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11392         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11394         * sysdeps/arm/libm-test-ulps: Regenerated.
11396         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11397         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11399 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11401         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11402         lll_lock_wait_private and lll_futex_wake probes.
11404         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11405         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11406         Likewise.
11407         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11408         atomic_spin_nop.
11409         * sysdeps/x86_64/bits/atomic.h: Likewise.
11410         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11411         to atomic_spin_nop and move ...
11412         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11413         ... here and ...
11414         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11415         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11416         atomic_spin_nop instead of BUSY_WAIT_NOP.
11417         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11418         Likewise.
11419         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11420         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11421         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11422         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11423         instead of atomic_delay.
11425 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11427         [BZ #18613]
11428         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11429         X_ADJ not X when adjusting exponent.
11430         (__ieee754_gamma_r): Do intermediate computations in
11431         round-to-nearest then adjust overflowing and underflowing results
11432         as needed.
11433         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11434         of X_ADJ not X when adjusting exponent.
11435         (__ieee754_gammaf_r): Do intermediate computations in
11436         round-to-nearest then adjust overflowing and underflowing results
11437         as needed.
11438         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11439         log of X_ADJ not X when adjusting exponent.
11440         (__ieee754_gammal_r): Do intermediate computations in
11441         round-to-nearest then adjust overflowing and underflowing results
11442         as needed.  Use 1.0L not 1.0f as numerator of division.
11443         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11444         log of X_ADJ not X when adjusting exponent.
11445         (__ieee754_gammal_r): Do intermediate computations in
11446         round-to-nearest then adjust overflowing and underflowing results
11447         as needed.  Use 1.0L not 1.0f as numerator of division.
11448         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11449         of X_ADJ not X when adjusting exponent.
11450         (__ieee754_gammal_r): Do intermediate computations in
11451         round-to-nearest then adjust overflowing and underflowing results
11452         as needed.  Use 1.0L not 1.0f as numerator of division.
11453         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11454         to auto-libm-test-in.
11455         (tgamma_test): Use ALL_RM_TEST.
11456         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11457         tests of tgamma with spurious-overflow.
11458         * math/auto-libm-test-out: Regenerated.
11459         * math/gen-libm-have-vector-test.sh: Do not check for START.
11460         * sysdeps/i386/fpu/libm-test-ulps: Update.
11461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11463         [BZ #18612]
11464         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11465         arguments, just return 0.5 times the argument, with underflow
11466         forced as needed.
11467         * math/auto-libm-test-in: Add more tests of j1.
11468         * math/auto-libm-test-out: Regenerated.
11470         [BZ #16559]
11471         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11472         (__ieee754_j1): Force underflow exception for small results.
11473         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11474         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11475         (__ieee754_j1f): Force underflow exception for small results.
11476         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11477         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11478         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11479         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11480         (__ieee754_j1l): Force underflow exception for small results.
11481         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11482         * math/auto-libm-test-in: Add more tests of j1 and jn.
11483         * math/auto-libm-test-out: Regenerated.
11485         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11486         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11487         (PF_MPLS): Likewise.
11488         (AF_IB): Likewise.
11489         (AF_MPLS): Likewise.
11490         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11491         value and macro.
11492         (MS_RMT_MASK): Include MS_LAZYTIME.
11494 2015-06-26  Mel Gorman  <mgorman@suse.de>
11496         [BZ #18502]
11497         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11498         already minimal.
11500 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11502         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11503         (DT_MIPS_NUM): Update.
11504         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11505         DT_MIPS_RLD_MAP_REL.
11507 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11509         [BZ #16559]
11510         [BZ #18602]
11511         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11512         round-to-nearest internally then recompute results that
11513         underflowed to zero in the original rounding mode.
11514         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11515         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11516         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11517         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11518         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11519         * sysdeps/i386/fpu/libm-test-ulps: Update.
11520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11522 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11524         * NEWS: Fixed description of link with vector math library.
11526 2015-06-25  Andreas Schwab  <schwab@suse.de>
11528         [BZ #18549]
11529         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11530         * libio/test-fmemopen.c (do_test): Add test for it.
11532 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11534         [BZ #17841]
11535         * Makeconfig (no-pie-ldflag): New.
11536         (+link): Set to $(+link-pie) if default to PIE.
11537         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11538         * config.make.in (build-pie-default): New.
11539         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11540         is default.  AC_SUBST.
11541         * configure: Regenerated.
11542         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11544 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11546         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11547         to 'unsigned int'.
11549         * resolv/gai_misc.h (struct waitlist): Change type of field
11550         counterp to 'volatile unsigned int *'.
11551         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11552         FUTEXADDR and OLDVAL.
11553         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11554         Give local variable TOTAL type 'volatile unsigned int'.
11555         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11556         * resolv/gai_suspend.c (gai_suspend):
11557         Give local variable CNTR type 'unsigned int'.
11559         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11560         counterp to 'volatile unsigned int *'.
11561         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11562         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11563         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11564         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11565         Give local variable TOTAL type 'volatile unsigned int'.
11566         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11568 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11570         [BZ #18383]
11571         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11572         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11573         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11574         comment for i386/x86-64.
11575         (test-xfail-tst-tlsalign-extern-static): Removed.
11577 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11579         * math/test-double.h: New file.
11580         * math/test-float.h: Likewise.
11581         * math/test-ldouble.h: Likewise.
11582         * math/test-math-inline.h: Likewise.
11583         * math/test-math-no-inline.h: Likewise.
11584         * math/test-math-scalar.h: Likewise.
11585         * math/test-math-vector.h: Likewise.
11586         * math/test-vec-loop.h: Remove file.  Contents moved into
11587         test-math-vector.h.
11588         * math/libm-test.inc (MATHCONST): Do not document macro.
11589         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11590         and test-math-scalar.h.
11591         (FUNC): Remove macro.
11592         (FUNC_TEST): Likewise.
11593         (FLOAT): Likewise.
11594         (MATHCONST): Likewise.
11595         (PRINTF_EXPR): Likewise.
11596         (PRINTF_XEXPR): Likewise.
11597         (PRINTF_NEXPR): Likewise.
11598         (TEST_DOUBLE): Likewise.
11599         (TEST_MATHVEC): Likewise.
11600         (__NO_MATH_INLINES): Likewise.
11601         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11602         and test-math-scalar.h.
11603         (FUNC): Remove macro.
11604         (FUNC_TEST): Likewise.
11605         (FLOAT): Likewise.
11606         (MATHCONST): Likewise.
11607         (PRINTF_EXPR): Likewise.
11608         (PRINTF_XEXPR): Likewise.
11609         (PRINTF_NEXPR): Likewise.
11610         (TEST_FLOAT): Likewise.
11611         (TEST_MATHVEC): Likewise.
11612         (__NO_MATH_INLINES): Likewise.
11613         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11614         and test-math-scalar.h.
11615         (FUNC): Remove macro.
11616         (FUNC_TEST): Likewise.
11617         (FLOAT): Likewise.
11618         (MATHCONST): Likewise.
11619         (PRINTF_EXPR): Likewise.
11620         (PRINTF_XEXPR): Likewise.
11621         (PRINTF_NEXPR): Likewise.
11622         (TEST_DOUBLE): Likewise.
11623         (TEST_MATHVEC): Likewise.
11624         (TEST_INLINE): Likewise.
11625         (__NO_MATH_INLINES): Likewise.
11626         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11627         test-math-scalar.h.
11628         (FUNC): Remove macro.
11629         (FUNC_TEST): Likewise.
11630         (FLOAT): Likewise.
11631         (MATHCONST): Likewise.
11632         (PRINTF_EXPR): Likewise.
11633         (PRINTF_XEXPR): Likewise.
11634         (PRINTF_NEXPR): Likewise.
11635         (TEST_FLOAT): Likewise.
11636         (TEST_MATHVEC): Likewise.
11637         (TEST_INLINE): Likewise.
11638         (__NO_MATH_INLINES): Likewise.
11639         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11640         and test-math-scalar.h.
11641         (FUNC): Remove macro.
11642         (FUNC_TEST): Likewise.
11643         (FLOAT): Likewise.
11644         (MATHCONST): Likewise.
11645         (PRINTF_EXPR): Likewise.
11646         (PRINTF_XEXPR): Likewise.
11647         (PRINTF_NEXPR): Likewise.
11648         (TEST_LDOUBLE): Likewise.
11649         (TEST_MATHVEC): Likewise.
11650         (TEST_INLINE): Likewise.
11651         (__NO_MATH_INLINES): Likewise.
11652         * math/test-ldouble.c: Include test-ldouble.h,
11653         test-math-no-inline.h and test-math-scalar.h.
11654         (FUNC): Remove macro.
11655         (FUNC_TEST): Likewise.
11656         (FLOAT): Likewise.
11657         (MATHCONST): Likewise.
11658         (PRINTF_EXPR): Likewise.
11659         (PRINTF_XEXPR): Likewise.
11660         (PRINTF_NEXPR): Likewise.
11661         (TEST_LDOUBLE): Likewise.
11662         (TEST_MATHVEC): Likewise.
11663         (__NO_MATH_INLINES): Likewise.
11664         * math/test-double-vlen2.h: Include test-double.h,
11665         test-math-no-inline.h and test-math-vector.h.
11666         (FLOAT): Remove macro.
11667         (FUNC): Likewise.
11668         (MATHCONST): Likewise.
11669         (PRINTF_EXPR): Likewise.
11670         (PRINTF_XEXPR): Likewise.
11671         (PRINTF_NEXPR): Likewise.
11672         (TEST_DOUBLE): Likewise.
11673         (TEST_MATHVEC): Likewise.
11674         (__NO_MATH_INLINES): Likewise.
11675         (CNCT): Likewise.
11676         (CONCAT): Likewise.
11677         (WRAPPER_NAME): Likewise.
11678         (WRAPPER_DECL): Likewise.
11679         (WRAPPER_DECL_ff): Likewise.
11680         (WRAPPER_DECL_fFF): Likewise.
11681         (VECTOR_WRAPPER): Likewise.
11682         (VECTOR_WRAPPER_ff): Likewise.
11683         (VECTOR_WRAPPER_fFF): Likewise.
11684         (VEC_LEN): New macro.
11685         * math/test-double-vlen4.h: Include test-double.h,
11686         test-math-no-inline.h and test-math-vector.h.
11687         (FLOAT): Remove macro.
11688         (FUNC): Likewise.
11689         (MATHCONST): Likewise.
11690         (PRINTF_EXPR): Likewise.
11691         (PRINTF_XEXPR): Likewise.
11692         (PRINTF_NEXPR): Likewise.
11693         (TEST_DOUBLE): Likewise.
11694         (TEST_MATHVEC): Likewise.
11695         (__NO_MATH_INLINES): Likewise.
11696         (CNCT): Likewise.
11697         (CONCAT): Likewise.
11698         (WRAPPER_NAME): Likewise.
11699         (WRAPPER_DECL): Likewise.
11700         (WRAPPER_DECL_ff): Likewise.
11701         (WRAPPER_DECL_fFF): Likewise.
11702         (VECTOR_WRAPPER): Likewise.
11703         (VECTOR_WRAPPER_ff): Likewise.
11704         (VECTOR_WRAPPER_fFF): Likewise.
11705         (VEC_LEN): New macro.
11706         * math/test-double-vlen8.h: Include test-double.h,
11707         test-math-no-inline.h and test-math-vector.h.
11708         (FLOAT): Remove macro.
11709         (FUNC): Likewise.
11710         (MATHCONST): Likewise.
11711         (PRINTF_EXPR): Likewise.
11712         (PRINTF_XEXPR): Likewise.
11713         (PRINTF_NEXPR): Likewise.
11714         (TEST_DOUBLE): Likewise.
11715         (TEST_MATHVEC): Likewise.
11716         (__NO_MATH_INLINES): Likewise.
11717         (CNCT): Likewise.
11718         (CONCAT): Likewise.
11719         (WRAPPER_NAME): Likewise.
11720         (WRAPPER_DECL): Likewise.
11721         (WRAPPER_DECL_ff): Likewise.
11722         (WRAPPER_DECL_fFF): Likewise.
11723         (VECTOR_WRAPPER): Likewise.
11724         (VECTOR_WRAPPER_ff): Likewise.
11725         (VECTOR_WRAPPER_fFF): Likewise.
11726         (VEC_LEN): New macro.
11727         * math/test-float-vlen4.h: Include test-float.h,
11728         test-math-no-inline.h and test-math-vector.h.
11729         (FLOAT): Remove macro.
11730         (FUNC): Likewise.
11731         (MATHCONST): Likewise.
11732         (PRINTF_EXPR): Likewise.
11733         (PRINTF_XEXPR): Likewise.
11734         (PRINTF_NEXPR): Likewise.
11735         (TEST_FLOAT): Likewise.
11736         (TEST_MATHVEC): Likewise.
11737         (__NO_MATH_INLINES): Likewise.
11738         (CNCT): Likewise.
11739         (CONCAT): Likewise.
11740         (WRAPPER_NAME): Likewise.
11741         (WRAPPER_DECL): Likewise.
11742         (WRAPPER_DECL_ff): Likewise.
11743         (WRAPPER_DECL_fFF): Likewise.
11744         (VECTOR_WRAPPER): Likewise.
11745         (VECTOR_WRAPPER_ff): Likewise.
11746         (VECTOR_WRAPPER_fFF): Likewise.
11747         (VEC_LEN): New macro.
11748         * math/test-float-vlen8.h: Include test-float.h,
11749         test-math-no-inline.h and test-math-vector.h.
11750         (FLOAT): Remove macro.
11751         (FUNC): Likewise.
11752         (MATHCONST): Likewise.
11753         (PRINTF_EXPR): Likewise.
11754         (PRINTF_XEXPR): Likewise.
11755         (PRINTF_NEXPR): Likewise.
11756         (TEST_FLOAT): Likewise.
11757         (TEST_MATHVEC): Likewise.
11758         (__NO_MATH_INLINES): Likewise.
11759         (CNCT): Likewise.
11760         (CONCAT): Likewise.
11761         (WRAPPER_NAME): Likewise.
11762         (WRAPPER_DECL): Likewise.
11763         (WRAPPER_DECL_ff): Likewise.
11764         (WRAPPER_DECL_fFF): Likewise.
11765         (VECTOR_WRAPPER): Likewise.
11766         (VECTOR_WRAPPER_ff): Likewise.
11767         (VECTOR_WRAPPER_fFF): Likewise.
11768         (VEC_LEN): New macro.
11769         * math/test-float-vlen16.h: Include test-float.h,
11770         test-math-no-inline.h and test-math-vector.h.
11771         (FLOAT): Remove macro.
11772         (FUNC): Likewise.
11773         (MATHCONST): Likewise.
11774         (PRINTF_EXPR): Likewise.
11775         (PRINTF_XEXPR): Likewise.
11776         (PRINTF_NEXPR): Likewise.
11777         (TEST_FLOAT): Likewise.
11778         (TEST_MATHVEC): Likewise.
11779         (__NO_MATH_INLINES): Likewise.
11780         (CNCT): Likewise.
11781         (CONCAT): Likewise.
11782         (WRAPPER_NAME): Likewise.
11783         (WRAPPER_DECL): Likewise.
11784         (WRAPPER_DECL_ff): Likewise.
11785         (WRAPPER_DECL_fFF): Likewise.
11786         (VECTOR_WRAPPER): Likewise.
11787         (VECTOR_WRAPPER_ff): Likewise.
11788         (VECTOR_WRAPPER_fFF): Likewise.
11789         (VEC_LEN): New macro.
11790         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11791         test-vec-loop.h.
11792         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11793         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11794         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11795         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11796         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11797         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11798         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11800 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11802         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11803         (__getlogin_r): ... this.
11805 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11807         [BZ #18594]
11808         * math/s_ccosh.c (__ccosh): Compare with least normal value
11809         instead of comparing class with FP_SUBNORMAL.
11810         * math/s_ccoshf.c (__ccoshf): Likewise.
11811         * math/s_ccoshl.c (__ccoshl): Likewise.
11812         * math/s_cexp.c (__cexp): Likewise.
11813         * math/s_cexpf.c (__cexpf): Likewise.
11814         * math/s_cexpl.c (__cexpl): Likewise.
11815         * math/s_csin.c (__csin): Likewise.
11816         * math/s_csinf.c (__csinf): Likewise.
11817         * math/s_csinh.c (__csinh): Likewise.
11818         * math/s_csinhf.c (__csinhf): Likewise.
11819         * math/s_csinhl.c (__csinhl): Likewise.
11820         * math/s_csinl.c (__csinl): Likewise.
11821         * math/s_ctan.c (__ctan): Likewise.
11822         * math/s_ctanf.c (__ctanf): Likewise.
11823         * math/s_ctanh.c (__ctanh): Likewise.
11824         * math/s_ctanhf.c (__ctanhf): Likewise.
11825         * math/s_ctanhl.c (__ctanhl): Likewise.
11826         * math/s_ctanl.c (__ctanl): Likewise.
11827         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11828         csin, csinh, ctan and ctanh.
11829         * math/auto-libm-test-out: Regenerated.
11830         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11831         * sysdeps/i386/fpu/libm-test-ulps: Update.
11832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11834 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11836         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11837         return value is wrong, print the expected value too.
11839 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11841         [BZ #18585]
11842         * elf/readlib.c (is_gdb_python_file): New.
11843         (process_file): Don't issue errors on filenames with -gdb.py
11844         suffix.
11846 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11848         * math/auto-libm-test-in: Add more tests of csin and csinh.
11849         * math/auto-libm-test-out: Regenerated.
11850         * math/libm-test.inc (csin_test_data): Remove tests moved to
11851         auto-libm-test-in.
11852         (csinh_test_data): Likewise.
11854         [BZ #18593]
11855         * math/s_csin.c (__csin): Negate before rather than after possibly
11856         overflowing multiplication.
11857         * math/s_csinf.c (__csinf): Likewise.
11858         * math/s_csinh.c (__csinh): Likewise.
11859         * math/s_csinhf.c (__csinhf): Likewise.
11860         * math/s_csinhl.c (__csinhl): Likewise.
11861         * math/s_csinl.c (__csinl): Likewise.
11862         * math/auto-libm-test-in: Add some tests of csin and csinh.
11863         * math/auto-libm-test-out: Regenerated.
11864         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11865         (csinh_test_data): Likewise.
11866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11868         [BZ #18586]
11869         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11870         underflow exception for small results.
11872 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11874         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11875         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11876         variable and included header.
11877         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11878         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11879         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11880         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11881         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11882         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11883         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11884         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11885         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11886         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11887         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11888         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11889         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11890         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11891         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11892         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11894 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11896         [BZ #16526]
11897         [BZ #16538]
11898         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11899         (__sin): Force underflow exception for arguments with small
11900         absolute value.
11901         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11902         (__kernel_sinf): Force underflow exception for arguments with
11903         small absolute value.
11904         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11905         (__kernel_sincosl): Force underflow exception for arguments with
11906         small absolute value.
11907         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11908         (__kernel_sinl): Force underflow exception for arguments with
11909         small absolute value.
11910         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11911         (__kernel_sincosl): Force underflow exception for arguments with
11912         small absolute value.
11913         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11914         (__kernel_sinl): Force underflow exception for arguments with
11915         small absolute value.
11916         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11917         (__kernel_sinl): Force underflow exception for arguments with
11918         small absolute value.
11919         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11920         (__kernel_sinf): Force underflow exception for arguments with
11921         small absolute value.
11922         * math/auto-libm-test-in: Add more tests of sin and sincos.
11923         * math/auto-libm-test-out: Regenerated.
11925         [BZ #18245]
11926         [BZ #18583]
11927         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11928         (__kernel_standard_l): Use feholdexcept and fesetenv around
11929         conversion to double instead of special-casing overflow and
11930         underflow.
11931         * math/libm-test.inc (fmod_test_data): Add more tests.
11932         (remainder_test_data): Likewise.
11933         (sqrt_test_data): Likewise.
11935 2015-06-23  Torvald Riegel  <triegel@redhat.com>
11937         [BZ #17403]
11938         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11939         atomic_read_barrier, atomic_write_barrier): Define.
11940         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11941         atomic_read_barrier, atomic_write_barrier): Define.
11943 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11945         * math/Makefile [$(PERL) != no]
11946         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11947         dependency on libm-test.stmp below the inclusion of Rules.
11949 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
11951         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11952         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11953         and included header.
11954         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11955         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11956         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11957         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11958         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11961         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11962         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11963         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11964         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11965         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11966         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11967         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11968         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11969         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11970         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11971         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11972         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11974 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11976         [BZ #18371]
11977         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11978         intermediate but not final result might underflow.
11979         * math/s_csqrtf.c (__csqrtf): Likewise.
11980         * math/s_csqrtl.c (__csqrtl): Likewise.
11981         * math/auto-libm-test-in: Add more tests of csqrt.
11982         * math/auto-libm-test-out: Regenerated.
11983         * sysdeps/i386/fpu/libm-test-ulps: Update.
11985         [BZ #18219]
11986         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11987         threshold on absolute value of exponent for which scaling is used.
11988         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11989         * math/auto-libm-test-in: Add more tests of exp2.
11990         * math/auto-libm-test-out: Regenerated.
11992 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11994         [BZ #17977]
11995         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11996         when initializing interface list, based on the bug analysis
11997         and the patch proposed by Eric Newton.
11998         * resolv/tst-res_hconf_reorder.c: New test.
11999         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12000         tst-res_hconf_reorder.
12001         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12002         and $(shared-thread-library).
12003         (tst-res_hconf_reorder-ENV): New variable.
12005         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12006         in comment.
12008 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
12010         [BZ #16353]
12011         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12012         (__expm1): Force underflow exception for arguments with small
12013         absolute value.
12014         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12015         (__expm1f): Force underflow exception for arguments with small
12016         absolute value.
12017         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12018         (__expm1): Force underflow exception for arguments with small
12019         absolute value.
12020         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12021         (__expm1f): Force underflow exception for arguments with small
12022         absolute value.
12023         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12024         Check for small arguments before calling __expm1.
12025         * math/auto-libm-test-in: Do not mark underflow exceptions as
12026         possibly missing for bug 16353.
12027         * math/auto-libm-test-out: Regenerated.
12029 2015-06-22  Andreas Schwab  <schwab@suse.de>
12031         [BZ #18513]
12032         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12033         PTR queries.
12035 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
12037         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12039         * string/strcoll_l.c: Remove unused struct element idxnow.
12041 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
12043         [BZ #18569]
12044         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12045         underflow and return argument in case of subnormal argument.
12046         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12047         Likewise.
12048         * math/auto-libm-test-in: Add more tests of expm1.
12049         * math/auto-libm-test-out: Regenerated.
12051         [BZ #16361]
12052         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12053         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12054         tiny results.
12055         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12056         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12057         tiny results.
12058         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
12059         mark underflow exceptions as possibly missing for bug 16361.
12060         * math/auto-libm-test-out: Regenerated.
12062 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
12064         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12065         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12066         Remove variable.
12067         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12068         (test-xfail-XOPEN2K8/utmpx.h/conform).
12070         * conform/conformtest.pl ($xerrors): New variable.
12071         (note_error): New function.
12072         (compiletest): New argument $xfail.  Use not_error.
12073         (runtest): Likewise.
12074         (top level): Handle xfail- lines.  Update calls to compiletest and
12075         runtest.  Handle xfail- and optional- in headers listed with
12076         allow-header.
12077         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12078         (O_EXEC): Likewise.
12079         (O_SEARCH): Likewise.
12080         * conform/data/stropts.h-data (ioctl): Likewise.
12081         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12082         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12083         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12084         (msghdr.msg_controllen): Likewise.
12085         (cmsghdr.cmsg_len): Likewise.
12086         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12087         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12088         variable.
12089         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12090         (test-xfail-XPG4/stropts.h/conform): Likewise.
12091         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12092         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12093         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12094         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12095         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12096         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12097         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12098         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12099         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12100         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12101         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12102         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12103         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12104         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12105         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12106         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12107         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12108         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12109         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12111 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12113         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12114         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12115         definitions for proper unfolding of __MATHDECL_VEC.
12117 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12119         * benchtests/bench-strcoll.c:
12120         Include string.h.
12121         (main): Remove unused variable res.
12123 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12125         * timezone/Makefile (%/UTC %/Universal):
12126         Generate test-result files for UTC and Universal.
12128 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12130         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12132 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
12134         [BZ #16350]
12135         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12136         for arguments with small absolute value.
12137         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12138         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12139         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12140         (__asinh): Force underflow exception for arguments with small
12141         absolute value.
12142         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12143         (__asinhf): Force underflow exception for arguments with small
12144         absolute value.
12145         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12146         (__asinhl): Force underflow exception for arguments with small
12147         absolute value.
12148         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12149         (__asinhl): Force underflow exception for arguments with small
12150         absolute value.
12151         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12152         (__asinhl): Force underflow exception for arguments with small
12153         absolute value.
12154         * math/auto-libm-test-in: Do not mark underflow exceptions as
12155         possibly missing for bug 16350.
12156         * math/auto-libm-test-out: Regenerated.
12158         * include/bits/ipc.h: Remove file.
12159         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12160         variable.
12161         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12162         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12163         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12164         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12165         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12166         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12167         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12168         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12169         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12171         * math/auto-libm-test-in: Remove spurious underflow allowance for
12172         tests of cexp.
12173         * math/auto-libm-test-out: Regenerated.
12175         [BZ #18558]
12176         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12177         unconditional definition.
12178         (MCAST_BLOCK_SOURCE): Likewise.
12179         (MCAST_UNBLOCK_SOURCE): Likewise.
12180         (MCAST_LEAVE_GROUP): Likewise.
12181         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12182         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12183         (MCAST_MSFILTER): Likewise.
12184         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12185         Remove variable.
12186         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12187         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12188         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12189         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12190         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12192 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12194         * NEWS: Mention addition of x86_64 vector sincosf.
12195         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12196         * math/test-float-vlen4.h: Likewise.
12197         * math/test-float-vlen8.h: Likewise.
12198         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12199         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12200         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12201         * sysdeps/x86_64/fpu/Versions: New versions added.
12202         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12203         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12204         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12205         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12206         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12207         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12208         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12209         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12210         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12211         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12212         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12213         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12214         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12215         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12216         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12217         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12218         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12219         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12220         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12221         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12222         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12223         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12224         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12225         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12227         * NEWS: Mention addition of x86_64 vector sincos.
12228         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12229         * math/math.h (__MATHDECL_VEC): New macro.
12230         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12231         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12232         declaration under condition.
12233         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12234         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12235         TEST_VEC_LOOP change.
12236         * math/test-double-vlen4.h: Likewise.
12237         * math/test-double-vlen8.h: Likewise.
12238         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12239         * math/test-float-vlen4.h: Likewise.
12240         * math/test-float-vlen8.h: Likewise.
12241         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12242         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12243         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12244         * sysdeps/x86_64/fpu/Versions: New versions added.
12245         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12246         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12247         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12248         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12249         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12250         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12251         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12252         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12253         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12254         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12255         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12256         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12257         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12258         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12259         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12260         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12261         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12262         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12263         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12264         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12265         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12266         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12267         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12268         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12270         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12271         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12272         redirections for powf.
12273         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12274         * sysdeps/x86_64/fpu/Versions: New versions added.
12275         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12276         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12277         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12278         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12279         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12280         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12281         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12282         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12283         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12284         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12285         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12286         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12287         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12288         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12289         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12290         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12291         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12292         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12293         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12294         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12295         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12296         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12297         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12298         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12299         * math/test-float-vlen16.h: Fixed 2 argument macro.
12300         * math/test-float-vlen4.h: Likewise.
12301         * math/test-float-vlen8.h: Likewise.
12302         * NEWS: Mention addition of x86_64 vector powf.
12304 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
12306         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12307         and redefine.
12308         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12309         and redefine.
12310         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12311         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12312         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12314         [BZ #18553]
12315         * resource/getpriority.c (getpriority): Rename to __getpriority
12316         and define as weak alias of __getpriority.
12317         * resource/setpriority.c (setpriority): Rename to __setpriority
12318         and define as weak alias of __setpriority.
12319         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12320         __getpriority and define as weak alias of __getpriority.
12321         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12322         __setpriority and define as weak alias of __setpriority.
12323         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12324         strong name.
12325         (setpriority): Use __setpriority as strong name.
12326         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12327         __getpriority and define as weak alias of __getpriority.
12328         * include/sys/resource.h (__getpriority): Declare.  Use
12329         libc_hidden_proto.
12330         (__setpriority): Likewise.
12331         (getpriority): Don't use libc_hidden_proto.
12332         (setpriority): Likewise.
12333         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12334         getpriority.  Call __setpriority instead of setpriority.
12335         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12336         Remove variable.
12338         [BZ #18547]
12339         * misc/getttyent.c (getttynam): Rename to __getttynam and define
12340         as weak alias of __getttynam.  Use prototype function definition.
12341         Call __setttyent, __getttyent and __endttyent instead of
12342         setttyent, getttyent and endttyent.
12343         (getttyent): Rename to __getttyent and define as weak alias of
12344         __getttyent.  Call __setttyent instead of setttyent.  Call
12345         __fgets_unlocked instead of fgets_unlocked.
12346         (setttyent): Rename to __setttyent and define as weak alias of
12347         __setttyent.
12348         (endttyent): Rename to __endttyent and define as weak alias of
12349         __endttyent.
12350         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
12351         (__setttyent): Likewise.
12352         (__endttyent): Likewise.
12353         (getttyent): Don't use libc_hidden_proto.
12354         (setttyent): Likewise.
12355         (endttyent): Likewise.
12356         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12357         __endttyent instead of setttyent, getttyent and endttyent.
12358         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12359         Remove variable.
12361         [BZ #18546]
12362         * socket/recv.c (__recv): Use libc_hidden_def.
12363         * socket/socket.c (__socket): Likewise.
12364         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12365         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12366         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12367         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12368         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12369         libc_hidden_def.
12370         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12371         libc_hidden_weak.
12372         * include/sys/socket.h (__socket): Do not use attribute_hidden.
12373         Use libc_hidden_proto.
12374         (__recv): Likewise.
12375         * socket/Versions (libc): Export __recv and __socket at version
12376         GLIBC_PRIVATE.
12377         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12378         instead of recv.
12379         (init_mq_netlink): Call __socket instead of socket.
12380         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12381         Remove variable.
12383         [BZ #18545]
12384         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12385         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12386         hidden_weak.
12387         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12388         define as alias of __mq_timedsend.  Use hidden_weak.
12389         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12390         __mq_timedsend as strong name.
12391         (mq_timedreceive): Use __mq_timedreceive as strong name.
12392         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12393         (__mq_timedreceive): Likewise.
12394         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12395         __mq_timedreceive instead of mq_timedreceive.
12396         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12397         instead of mq_timedsend.
12398         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12399         Remove variable.
12401         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12402         hidden_def and hidden_weak instead of libc_hidden_def and
12403         libc_hidden_weak.
12404         (top level): Refer to hidden_def in comment.
12405         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12406         macro.  Use it instead of libc_hidden_def.
12407         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12408         specify __GI_* name explicitly.
12409         (mq_timedreceive): Likewise.
12410         (mq_setattr): Likewise.
12412         [BZ #18544]
12413         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12414         __pthread_barrier_init and define as weak alias of
12415         __pthread_barrier_init.
12416         * sysdeps/sparc/nptl/pthread_barrier_init.c
12417         (pthread_barrier_init): Likewise.
12418         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12419         __pthread_barrier_wait and define as weak alias of
12420         __pthread_barrier_wait.
12421         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12422         (pthread_barrier_wait): Likewise.
12423         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12424         (pthread_barrier_wait): Likewise.
12425         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12426         (pthread_barrier_wait): Likewise.
12427         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12428         (pthread_barrier_wait): Likewise.
12429         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12430         __pthread_barrier_wait at version GLIBC_PRIVATE.
12431         * include/pthread.h (__pthread_barrier_init): Declare.
12432         (__pthread_barrier_wait): Likewise.
12433         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12434         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12435         (helper_thread): Likewise.
12436         (init_mq_netlink): Call __pthread_barrier_init instead of
12437         pthread_barrier_init.
12439         [BZ #18542]
12440         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12441         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12442         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12443         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12444         vswscanf.
12445         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12446         Remove variable.
12448         [BZ #18540]
12449         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12450         strong alias of _IO_fflush.  Use libc_hidden_def.
12451         * libio/iofflush_u.c (fflush_unlocked): Rename to
12452         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12453         Use libc_hidden_weak.
12454         * include/stdio.h (__fflush_unlocked): Declare.  Use
12455         libc_hidden_proto.
12456         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12457         fflush_unlocked.
12458         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12459         Remove variable.
12461         [BZ #18539]
12462         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12463         define as weak alias of __addseverity.
12464         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12465         Remove variable.
12466         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12467         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12468         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12470         [BZ #18536]
12471         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12472         (__tfind): Likewise.
12473         (__tdelete): Likewise.
12474         (__twalk): Likewise.
12475         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12476         __twalk to GLIBC_PRIVATE.
12477         * include/search.h (__tsearch): Use libc_hidden_proto.
12478         (__tfind): Likewise.
12479         (__tdelete): Likewise.
12480         (__twalk): Likewise.
12481         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12482         Call __tdelete instead of tdelete.
12483         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12484         tfind.  Call __tsearch instead of tsearch.
12485         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12486         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12487         Remove variable.
12488         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12490         [BZ #18534]
12491         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12492         (dprintf): Define as a weak alias of __dprintf, not a strong
12493         alias.
12494         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12495         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12496         dprintf.
12497         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12498         Remove variable.
12499         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12500         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12502         [BZ #18533]
12503         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12504         not a strong alias.
12505         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12506         Remove variable.
12508         [BZ #18532]
12509         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12510         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12511         (in6addr_loopback): Rename to __in6addr_loopback and define as
12512         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12513         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12514         libc_hidden_proto.
12515         (__in6addr_any): Likewise.
12516         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12517         in6addr_any.
12518         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12519         variable.
12520         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12522 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12524         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12525         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12526         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12527         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12528         redirections for pow.
12529         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12530         * sysdeps/x86_64/fpu/Versions: New versions added.
12531         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12532         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12533         build of SSE, AVX2 and AVX512 IFUNC versions.
12534         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12535         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12536         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12537         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12538         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12539         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12540         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12541         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12542         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12543         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12544         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12545         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12546         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12547         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12548         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12549         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12550         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12551         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12552         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12553         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12554         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12555         * NEWS: Mention addition of x86_64 vector pow.
12557         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12558         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12559         redirections for expf.
12560         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12561         * sysdeps/x86_64/fpu/Versions: New versions added.
12562         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12563         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12564         build of SSE, AVX2 and AVX512 IFUNC versions.
12565         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12566         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12567         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12568         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12569         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12570         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12571         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12572         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12573         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12574         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12575         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12576         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12577         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12578         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12579         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12580         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12581         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12582         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12583         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12584         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12585         * NEWS: Mention addition of x86_64 vector expf.
12587         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12588         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12589         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12590         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12591         redirections for exp.
12592         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12593         * sysdeps/x86_64/fpu/Versions: New versions added.
12594         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12595         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12596         build of SSE, AVX2 and AVX512 IFUNC versions.
12597         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12598         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12599         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12600         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12601         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12602         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12603         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12604         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12605         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12606         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12607         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12608         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12609         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12610         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12611         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12612         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12613         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12614         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12615         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12616         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12617         * NEWS: Mention addition of x86_64 vector exp.
12619         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12620         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12621         redirections for logf.
12622         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12623         * sysdeps/x86_64/fpu/Versions: New versions added.
12624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12625         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12626         build of SSE, AVX2 and AVX512 IFUNC versions.
12627         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12628         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12629         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12630         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12631         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12632         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12633         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12634         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12635         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12636         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12637         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12638         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12639         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12640         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12641         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12642         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12643         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12644         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12645         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12646         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12647         * NEWS: Mention addition of x86_64 vector logf.
12649         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12650         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12651         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12652         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12653         redirections for log.
12654         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12655         * sysdeps/x86_64/fpu/Versions: New versions added.
12656         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12657         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12658         build of SSE, AVX2 and AVX512 IFUNC versions.
12659         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12660         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12661         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12662         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12663         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12664         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12665         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12666         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12667         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12668         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12669         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12670         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12671         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12672         test.
12673         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12674         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12675         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12676         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12677         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12678         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12679         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12680         * NEWS: Mention addition of x86_64 vector log.
12682 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12684         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12685         cfi_adjust_cfa_offset argument.
12686         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12687         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12689         [BZ #18034]
12690         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12691         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12692         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12693         ordering using ldar.
12694         (_dl_tlsdesc_dynamic): Likewise.
12695         (_dl_tlsdesc_return_lazy): Likewise.
12696         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12697         relaxed atomics instead of volatile and synchronize with release store.
12698         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12699         volatile.
12700         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12702 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12704         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12705         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12706         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12707         * sysdeps/x86_64/fpu/Versions: New versions added.
12708         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12709         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12710         build of SSE, AVX2 and AVX512 IFUNC versions.
12711         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12712         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12713         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12714         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12715         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12716         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12717         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12718         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12719         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12720         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12721         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12722         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12723         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12724         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12725         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12726         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12727         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12728         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12729         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12730         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12731         * NEWS: Mention addition of x86_64 vector sinf.
12733 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12735         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12736         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12737         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12738         Remove variable.
12739         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12740         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12742 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12744         [BZ #18530]
12745         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12746         strong alias of _IO_fputs.  Use libc_hidden_def.
12747         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12748         and define as weak alias of __fputs_unlocked.  Use
12749         libc_hidden_weak.
12750         * include/stdio.h (__fputs_unlocked): Declare.  Use
12751         libc_hidden_proto.
12752         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12753         fputs_unlocked.
12755         [BZ #18529]
12756         * resolv/netdb.h [__USE_POSIX]: Change condition to
12757         [__USE_XOPEN2K].
12758         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12759         not expect.
12760         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12761         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12762         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12763         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12764         [XPG4 || UNIX98] (AI_ALL): Likewise.
12765         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12766         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12767         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12768         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12769         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12770         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12771         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12772         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12773         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12774         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12775         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12776         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12777         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12778         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12779         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12780         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12781         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12782         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12783         [XPG4 || UNIX98] (gai_strerror): Likewise.
12784         [XPG4 || UNIX98] (getaddrinfo): Likewise.
12785         [XPG4 || UNIX98] (getnameinfo): Likewise.
12787         [BZ #18528]
12788         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12789         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12790         __USE_XOPEN2K8].
12791         (getgrent): Likewise.
12792         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12793         expect.
12794         [XPG3 || POSIX2008] (endgrent): Likewise.
12795         [XPG3] (setgrent): Likewise.
12796         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12797         variable.
12798         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12800         [BZ #18527]
12801         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12802         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12803         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12804         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12805         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12806         * include/unistd.h (__getlogin_r): Declare.  Use
12807         libc_hidden_proto.
12808         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12809         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12810         variable.
12811         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12812         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12813         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12815 2015-06-12  Martin Sebor  <msebor@redhat.com>
12817         [BZ #18512]
12818         * Makerules (check-install-supported): New target.
12819         (install): Add check-install-supported as a dependency.
12820         * manual/install.texi (Installing the C Library): Document
12821         that overriding prefix and exec_prefix is not supported.
12822         Mention DESTDIR.
12823         * INSTALL: Regenerate from the above.
12825 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12827         [BZ #18519]
12828         * posix/Versions (libc): Export __libc_pread at version
12829         GLIBC_PRIVATE.
12830         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12831         instead of pread.
12832         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12833         variable.
12835         [BZ #18522]
12836         * misc/efgcvt_r.c
12837         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12838         (cvt_symbol): Use weak_alias instead of strong_alias.
12839         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12840         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12841         Remove variable.
12842         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12843         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12845         [BZ #18520]
12846         * inet/herrno.c (h_errno): Rename to __h_errno.
12847         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12848         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12849         to __h_errno instead of h_errno.
12850         * nptl/herrno.c (h_errno): Rename to __h_errno.
12851         (__h_errno_location): Refer to __h_errno not h_errno.
12852         * resolv/Versions (h_errno): Rename to __h_errno.
12853         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12854         Remove variable.
12855         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12857 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
12859         * configure.ac: More strict check for AVX512 assembler support.
12860         * configure: Regenerated.
12862         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12863         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12864         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12865         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12866         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12867         * sysdeps/x86_64/fpu/Versions: New versions added.
12868         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12869         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12870         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12871         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12872         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12873         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12874         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12875         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12876         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12877         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12878         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12879         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12880         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12881         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12882         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12883         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12884         test.
12885         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12886         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12887         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12888         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12889         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12890         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12891         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12892         * NEWS: Mention addition of x86_64 vector sin.
12894 2015-06-11  Florian Weimer  <fweimer@redhat.com>
12896         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12897         comment.
12899 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12901         [BZ #18479]
12902         * nptl/pt-interp.c: New file.
12903         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12904         Add pt-interp.
12905         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12906         $(common-objpfx)runtime-linker.h.
12908 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
12910         * Makeconfig (+interp): Remove unused variable.
12911         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12912         only.  Depend on $(common-objpfx)runtime-linker.h instead of
12913         $(elf-objpfx)runtime-linker.h.
12914         ($(elf-objpfx)runtime-linker.h): Rename to
12915         $(common-objpfx)runtime-linker.h and move ...
12916         * Makerules [$(build-shared) = yes]: ... here.
12917         * elf/interp.c: Include <runtime-linker.h> instead of
12918         <elf/runtime-linker.h>.
12920 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12922         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12923         (__gettimeofday_syscall): Remove vsyscall fallback.
12924         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12925         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12926         Add syscall fallback function.
12927         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12928         if vDSO is not present.
12929         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12930         fallback function.
12931         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12932         present.
12933         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12934         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12936 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
12938         [BZ #18497]
12939         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12940         of wcscmp.
12941         (wcscmp): Define as weak alias of WCSCMP.
12942         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12943         wcscoll.
12944         (USE_HIDDEN_DEF): Define.
12945         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12946         __wcscoll.  Don't use libc_hidden_weak.
12947         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12948         wcscmp.
12949         * sysdeps/i386/i686/multiarch/wcscmp-c.c
12950         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12951         __GI_wcscmp.
12952         (weak_alias): Undefine and redefine.
12953         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12954         __wcscmp and define as weak alias of __wcscmp.
12955         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12956         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
12957         (__wcscoll): Likewise.
12958         (wcscmp): Don't use libc_hidden_proto.
12959         (wcscoll): Likewise.
12960         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12961         wcscoll.
12962         * posix/regexec.c (check_node_accept_bytes): Likewise.
12963         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12964         variable.
12965         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12966         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12968         [BZ #18507]
12969         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12970         __fstatvfs and define as weak alias of __fstatvfs.  Use
12971         libc_hidden_weak.
12972         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12973         and define as weak alias of __statvfs.  Use libc_hidden_weak.
12974         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12975         Define as alias of __fstatvfs, not fstatvfs.
12976         (fstatvfs64): Likewise.
12977         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12978         Define as alias of __statvfs, not statvfs.
12979         (statvfs64): Likewise.
12980         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12981         Remove variable.
12983 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12986         (HAVE_GETCPU_VSYSCALL): Define.
12987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12988         (HAVE_GETCPU_VSYSCALL): Likewise.
12989         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12990         * sysdeps/unix/sysv/linux/sched_getcpu.c
12991         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12992         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12993         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12994         prototype.
12995         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12996         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12997         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12999         Define.
13000         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13001         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13002         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13003         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13005 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13007         * sysdeps/x86_64/fpu/Makefile: New file.
13008         * sysdeps/x86_64/fpu/Versions: New file.
13009         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13010         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13011         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13012         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13013         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13014         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13015         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13016         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13017         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13018         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13019         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13020         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13021         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13022         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13023         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13024         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13025         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13026         * sysdeps/x86_64/configure.ac: Options for libmvec build.
13027         * sysdeps/x86_64/configure: Regenerated.
13028         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13029         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13030         * manual/install.texi (Configuring and compiling): Document
13031         --disable-mathvec.
13032         * INSTALL: Regenerated.
13033         * NEWS: Mention addition of libmvec and x86_64 vector cos.
13035         * math/Makefile: Added rules for vector tests.
13036         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13037         declaration under condition.
13038         * math/test-double-vlen2.h: New file.
13039         * math/test-double-vlen4.h: New file.
13040         * math/test-double-vlen8.h: New file.
13041         * math/test-vec-loop.h: Added initialization macro.
13042         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13043         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13044         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13045         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13046         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13047         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13048         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13049         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13050         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13051         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13052         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13054         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13055         * sysdeps/x86_64/fpu/Versions: New versions added.
13056         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13057         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13058         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13059         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13060         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13061         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13062         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13063         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13064         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13066         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13067         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13068         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13069         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13070         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13071         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13072         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13073         * NEWS: Mention addition of x86_64 vector cosf.
13075         * math/Makefile: Added CFLAGS for new tests.
13076         * math/test-float-vlen16.h: New file.
13077         * math/test-float-vlen4.h: New file.
13078         * math/test-float-vlen8.h: New file.
13079         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13080         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13081         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13082         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13083         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13084         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13085         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13086         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13087         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13088         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13089         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13091 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
13093         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13094         * locale/programs/ld-ctype.c: Likewise.
13096 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13098         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13099         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13100         bit_ZMM16_31_state): New macro.
13101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13102         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13104 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
13106         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13108 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
13110         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13112 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
13114         [BZ #18498]
13115         * libio/memstream.c (open_memstream): Rename to __open_memstream
13116         and define as weak alias of __open_memstream.
13117         * include/stdio.h (__open_memstream): Declare.  Use
13118         libc_hidden_proto.
13119         (open_memstream): Don't use libc_hidden_proto.
13120         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13121         open_memstream.
13122         * posix/getopt.c (_getopt_internal_r): Likewise.
13123         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13124         variable.
13125         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13126         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13127         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13129         [BZ #18496]
13130         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13131         instead of wcrtomb.
13133         [BZ #18483]
13134         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13135         [__USE_XOPEN2K8].  Remove redundant #endif.
13136         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13137         Remove redundant #if.
13138         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13139         Remove variable.
13140         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13141         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13143         [BZ #18495]
13144         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13145         (__iswlower): Likewise.
13146         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
13147         (__iswlower): Likewise.
13148         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13149         instead of towlower.
13150         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13151         instead of iswlower.  Call __towupper instead of towupper.
13152         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13153         instead of iswalnum.
13155 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13157         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13158         errors to stderr.
13160 2015-06-05  Florian Weimer  <fweimer@redhat.com>
13162         [BZ #15661]
13163         [BZ #17322]
13164         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13165         Check for overflow properly.  Check for O_APPEND.  Ignore large
13166         file system block sizes.  Add comments about problems.
13167         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13168         * manual/filesys.texi (Storage Allocation): New node.
13170 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13172         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13173         cancellable syscalls.
13174         (SYS_ify): Add guard to no redefine it.
13175         (INLINE_SYSCALL): Likewise.
13176         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13177         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13178         SYSCALL_CANCEL instead.
13179         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13180         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13181         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13182         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13183         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13184         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13185         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13186         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13187         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13188         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13189         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13190         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13191         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13192         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13193         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13195         Likewise.
13196         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13197         (__libc_pread64): Likewise.
13198         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13199         (__libc_preadv): Likewise.
13200         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13201         (__libc_readv64): Likewise.
13202         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13203         (__libc_pwrite): Likewise.
13204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13205         (__libc_pwrite64): Likewise.
13206         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13207         (__libc_pwritev): Likewise.
13208         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13209         (__libc_pwritev64): Likewise.
13210         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13211         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13212         (sync_file_range): Likewise.
13213         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13214         Likewise.
13215         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13216         Likewise.
13217         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13218         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13219         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13220         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13221         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13222         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13223         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13224         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13226         Likewise.
13227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13228         (__libc_read64): Likewise.
13229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13230         Likewise.
13231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13232         Likewise.
13233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13234         Likewise.
13235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13236         Likewise.
13237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13238         (__libc_pread64): Likewise.
13239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13240         Likewise.
13241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13242         (__libc_pwrite64): Likewise.
13243         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13244         (sync_file_range): Likewise.
13245         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13246         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13247         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13248         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13249         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13250         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13251         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13252         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13253         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13254         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13255         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13256         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13257         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13258         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13259         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13260         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13261         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13262         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13263         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13264         Likewise.
13265         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13266         Likewise.
13267         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13268         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13269         Likewise.
13270         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13271         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13272         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13273         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13274         Likewise.
13275         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13276         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13277         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13278         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13279         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13281 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13283         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13284         Include dl-vdso.
13285         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13286         Use VDSO routines for gettimeofday, clock_gettime if
13287         available.
13288         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13289         Declare VDSO symbols.
13290         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13291         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13292         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13293         * sysdeps/unix/sysv/linux/arm/Versions: Add
13294         __vdso_clock_gettime.
13296 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13298         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13299         be an inline implementation regardless of library is built within.
13300         (open_not_cancel_2): Likewise.
13301         (__read_nocancel): Likewise.
13302         (__write_nocancel): Likewise.
13303         (openat_not_cancel): Likewise.
13304         (openat_not_cancel_3): Likewise.
13305         (openat64_not_cancel): Likewise.
13306         (openat64_not_cancel_3): Likewise.
13307         (__close_nocancel): Likewise.
13308         (pause_not_cancel): Likewise.
13309         (nanosleep_not_cancel): Likewise.
13310         (sigsuspend_not_cancel): Likewise.
13312 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13314         [BZ #14958]
13315         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13316         wake-up.
13317         (__pthread_rwlock_rdlock_slow): Likewise.
13318         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13319         Likewise.
13320         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13321         Likewise.
13322         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13323         * nptl/tst-rwlock16.c: New file.
13324         * nptl/Makefile (tests): Add new test.
13326 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13328         [BZ #18324]
13329         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13330         missing wake-up of readers.
13331         * nptl/tst-rwlock15.c: New file.
13332         * nptl/Makefile (tests): Add new test.
13334 2015-06-03  Roland McGrath  <roland@hack.frob.com>
13336         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13337         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13338         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13339         and __nacl_supply_interface_rtld.
13340         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13341         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13342         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13343         Add __nacl_supply_interface_rtld.
13344         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13346 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13348         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13349         isfinite.
13350         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13351         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13353 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13355         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13356         __signbit* with standard C99 macros.
13357         * math/e_exp10l.c: Likewise.
13358         * math/e_exp2l.c: Likewise.
13359         * math/e_scalb.c: Likewise.
13360         * math/e_scalbf.c: Likewise.
13361         * math/e_scalbl.c: Likewise.
13362         * math/s_ldexp.c: Likewise.
13363         * math/s_ldexpf.c: Likewise.
13364         * math/s_ldexpl.c: Likewise.
13365         * math/w_atan2.c: Likewise.
13366         * math/w_atan2f.c: Likewise.
13367         * math/w_atan2l.c: Likewise.
13368         * math/w_cosh.c: Likewise.
13369         * math/w_coshf.c: Likewise.
13370         * math/w_coshl.c: Likewise.
13371         * math/w_exp10.c: Likewise.
13372         * math/w_exp10f.c: Likewise.
13373         * math/w_exp10l.c: Likewise.
13374         * math/w_exp2.c: Likewise.
13375         * math/w_exp2f.c: Likewise.
13376         * math/w_exp2l.c: Likewise.
13377         * math/w_fmod.c: Likewise.
13378         * math/w_fmodf.c: Likewise.
13379         * math/w_fmodl.c: Likewise.
13380         * math/w_hypot.c: Likewise.
13381         * math/w_hypotf.c: Likewise.
13382         * math/w_hypotl.c: Likewise.
13383         * math/w_jnl.c: Likewise.
13384         * math/w_lgamma.c: Likewise.
13385         * math/w_lgamma_r.c: Likewise.
13386         * math/w_lgammaf.c: Likewise.
13387         * math/w_lgammaf_r.c: Likewise.
13388         * math/w_lgammal.c: Likewise.
13389         * math/w_lgammal_r.c: Likewise.
13390         * math/w_pow.c: Likewise.
13391         * math/w_powf.c: Likewise.
13392         * math/w_powl.c: Likewise.
13393         * math/w_remainder.c: Likewise.
13394         * math/w_remainderf.c: Likewise.
13395         * math/w_remainderl.c: Likewise.
13396         * math/w_scalb.c: Likewise.
13397         * math/w_scalbf.c: Likewise.
13398         * math/w_scalbl.c: Likewise.
13399         * math/w_scalbln.c: Likewise.
13400         * math/w_scalblnf.c: Likewise.
13401         * math/w_scalblnl.c: Likewise.
13402         * math/w_sinh.c: Likewise.
13403         * math/w_sinhf.c: Likewise.
13404         * math/w_sinhl.c: Likewise.
13405         * math/w_tgamma.c: Likewise.
13406         * math/w_tgammaf.c: Likewise.
13407         * math/w_tgammal.c: Likewise.
13408         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13409         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13410         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13411         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13412         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13414         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13415         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13416         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13417         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13418         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13419         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13420         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13421         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13422         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13423         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13424         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13425         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13426         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13427         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13428         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13429         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13430         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13431         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13432         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13433         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13434         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13435         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13436         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13437         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13438         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13439         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13440         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13441         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13442         * stdio-common/printf_fp.c: Likewise.
13443         * stdio-common/printf_fphex.c: Likewise.
13444         * stdio-common/printf_size.c: Likewise.
13446 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13448         [BZ #18470]
13449         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13450         strnlen.
13451         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13452         Remove variable.
13453         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13454         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13455         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13456         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13457         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13458         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13459         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13460         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13461         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13462         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13464         [BZ #18468]
13465         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13466         weak alias of __wmemchr.  Use libc_hidden_weak.
13467         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13468         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13469         instead of wmemchr.
13471 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13473         [BZ #18383]
13474         * elf/tst-tlsalign-extern.c: New file.
13475         * elf/tst-tlsalign-extern-static.c: New file.
13476         * elf/tst-tlsalign-vars.c: New file.
13477         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13478         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13479         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13480         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13481         (test-xfail-tst-tlsalign-extern-static): New variable.
13483 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13485         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13486         Use variable name _sc_err instead of err.
13487         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13488         instead of ret.
13489         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13490         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13491         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13492         (INLINE_SYSCALL): Likewise.
13494         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13495         * include/string.h (__strnlen): Use libc_hidden_proto.
13496         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13497         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13498         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13499         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13500         (libc_hidden_def): Undefine and redefine.
13501         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13502         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13503         __GI_strnlen.
13504         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13505         libc_hidden_def.
13506         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13508         [BZ #18469]
13509         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13510         weak alias of __towlower.  Use libc_hidden_weak.
13511         (towupper): Rename to __towupper and define as weak alias of
13512         __towupper.  Use libc_hidden_weak.
13513         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13514         (__towupper): Likewise.
13515         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13516         __towlower instead of towlower.
13518 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13520         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13521         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13523 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13525         * sysdeps/aarch64/libm-test-ulps: Update.
13527 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13529         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13530         Define.
13531         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13533         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13534         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13535         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13536         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13537         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13539 2015-06-01  Martin Sebor  <msebor@redhat.com>
13541         [BZ #18116]
13542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13543         (__setcontext): Use extended four-operand version of mtsf whenever
13544         possible.
13545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13546         (__novec_swapcontext): Likewise.
13548 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13550         * benchtests/scripts/compare_bench.py: New file.
13551         * benchtests/scripts/import_bench.py (mean): New function.
13552         (split_list): Likewise.
13553         (do_for_all_timings): Likewise.
13554         (compress_timings): Likewise.
13556         * benchtests/scripts/import_bench.py: New file.
13557         * benchtests/scripts/validate_benchout.py: Import import_bench
13558         instead of jsonschema.
13559         (validate_bench): Remove function.
13560         (main): Use import_bench.
13562 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13564         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13565         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13567 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13571 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13573         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13574         set THREAD_SELF->tid to a magic value and futex-wake it.
13575         Pass its address to the thread_exit system call.
13576         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13577         bit is clear.
13578         * sysdeps/nacl/lowlevellock.h: New file.
13579         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13581         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13582         Add TIMEOUT to current time, don't subtract it.
13584 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13586         [BZ #2981]
13587         [BZ #18422]
13588         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13589         ($(objpfx)tst-audit2.out): Also depend on
13590         $(objpfx)tst-auditmod9b.so.
13591         * elf/tst-audit2.c: Include <dlfcn.h>.
13592         (calloc_called): New.
13593         (calloc): Allow to be called more than once.
13594         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13596 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13598         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13599         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13601 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13603         * stdlib/monetary.h: Fix comment.
13605 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13607         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13608         Avoid using variables in #defines that might cause shadowing.
13609         (INTERNAL_VSYSCALL_CALL): Likewise.
13611 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13613         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13615         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13616         * nptl/lll_timedlock_wait.c: ... to this new file.
13617         * nptl/Makefile (libpthread-routines): Add it.
13618         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13619         * nptl/lll_timedwait_tid.c: ... to this new file.
13620         * nptl/Makefile (libpthread-routines): Add it.
13621         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13622         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13623         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13624         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13625         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13626         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13627         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13628         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13629         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13630         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13632 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13634         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13635         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13636         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13637         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13638         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13639         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13640         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13642         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13643         * sysdeps/unix/sysv/linux/tile/sysdep.h
13644         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13645         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13646         using vDSO syscall macro.
13648 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13650         [BZ #17293]
13651         * uk_UA: Fix sorting order for Ukrainian locale
13653 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13655         * stdlib/monetary.h: Fix comment.
13657 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13659         [BZ #18234]
13660         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13661         st_mtim and st_ctim members.
13662         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13663         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13664         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13665         (struct stat64): Likewise.
13666         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13667         (struct stat64): Likewise.
13668         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13669         (struct stat64): Likewise.
13671 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13673         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13674         Define and include sysdep-vdso.h.
13675         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13676         Likewise.
13677         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13678         Likewise.
13679         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13680         Define with VDSO_SYMBOL and use PTR_MANGLE.
13681         (__vdso_clock_gettime): Likewise.
13682         (__vdso_clock_getres): Likewise.
13683         (_libc_vdso_platform_setup): Likewise.
13684         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13685         Likewise.
13686         (_libc_vdso_platform_setup): Likewise.
13687         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13688         Likewise.
13689         (__vdso_clock_gettime): Likewise.
13690         (__vdso_clock_getres): Likewise.
13691         (__vdso_get_tbfreq): Likewise.
13692         (__vdso_getcpu): Likewise.
13693         (__vdso_time): Likewise.
13694         (__vdso_sigtramp_rt64): Likewise.
13695         (__vdso_signtramp32): Likewise.
13696         (__vdso_sigtramp_rt32): Likewise.
13697         (_libc_vdso_platform_setup): Likewise.
13698         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13699         Likewise.
13700         (__vdso_clock_gettime): Likewise.
13701         (__vdso_clock_getres): Likewise.
13702         (_libc_vdso_platform_setup): Likewise.
13703         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13704         Likewise.
13705         (__vdso_clock_gettime): Likewise.
13706         (_libc_vdso_platform_setup): Likewise.
13707         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13708         Likewise.
13709         (__vdso_getcpu): Likewise.
13710         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13711         Use VDSO_SYMBOL macro to define.
13712         (__vdso_clock_gettime): Likewise.
13713         (__vdso_clock_getres): Likewise.
13714         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13715         Likewise.
13716         (__vdso_clock_gettime): Likewise.
13717         (__vdso_clock_getres): Likewise.
13718         (__vdso_get_tbfreq): Likewise.
13719         (__vdso_getcpu): Likewise.
13720         (__vdso_time): Likewise.
13721         (__vdso_sigtramp_rt64): Likewise.
13722         (__vdso_signtramp32): Likewise.
13723         (__vdso_sigtramp_rt32): Likewise.
13724         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13725         Likewise.
13726         (__vdso_clock_gettime): Likewise.
13727         (__vdso_clock_getres): Likewise.
13728         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13729         Likewise.
13730         (__vdso_clock_gettime): Likewise.
13731         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13732         Likewise.
13733         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13734         macro.
13735         (INTERNAL_VSYSCALL): Likewise.
13736         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13737         Remove macro.
13738         (INTERNAL_VSYSCALL): Likewise.
13739         (INTERNAL_VSYSCALL_NCS): Likewise.
13740         (INTERNAL_VSYSCALL_CALL): New macro.
13741         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13742         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13743         Likewise.
13744         (INTERNAL_VSYSCALL): Likewise.
13745         (INTERNAL_VSYSCALL_NCS): Likewise.
13746         (INTERNAL_VSYSCALL_CALL): New macro.
13747         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13749         (INLINE_VSYSCALL): Remove macro.
13750         (INTERNAL_VSYSCALL): Remove macro.
13751         (INTERNAL_VSYSCALL_NCS): Remove macro.
13752         (INTERNAL_VSYSCALL_CALL): New macro.
13753         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13754         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13755         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13756         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13757         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13759         (INLINE_VSYSCALL): Remove macro.
13760         (INTERNAL_VSYSCALL): Likewise.
13761         (INTERNAL_VSYSCALL_NCS): Likewise.
13762         (INTERNAL_VSYSCALL_CALL): New macro.
13763         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13764         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13765         PTR_DEMANGLE on vDSO pointer.
13766         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13767         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13768         macro.
13769         (INTERNAL_SYSCALL): Likewise.
13770         (INTERNAL_VSYSCALL_NCS): Remove macro.
13771         (INTERNAL_VSYSCALL_CALL): New macro.
13772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13773         Remove macro.
13774         (INTERNAL_VSYSCALL): Likewise.
13775         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13776         sysdep-vdso.h instead of libc-vdso.h.
13777         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13778         definition.
13779         (INLINE_VSYSCALL): Likewise.
13780         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13781         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13782         definition.
13783         (INLINE_VSYSCALL): Likewise.
13784         (INTERNAL_VSYSCALL): Likewise.
13785         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13786         * sysdeps/unix/sysv/linux/timespec_get.c
13787         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13788         (timespec_get): Use ANSI prototype.
13789         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13790         and definition for Linux.
13792 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13794         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13795         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13797 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13799         [BZ #2981]
13800         [BZ #18410]
13801         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13802         for missing DT_PLTRELSZ.
13804 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13806         Remove obsolete aliases that broke 'locale -a'
13807         [BZ #18412]
13808         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13809         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13810         breaking some applications that use 'locale -a' output.
13811         Change the encoding of this file from Latin-1 to ASCII to avoid
13812         other potential problems with people grepping this file.
13814 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13816         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13817         -fasynchronous-unwind-tables.
13818         (CFLAGS-sendto.c): Likewise.
13819         (CFLAGS-sendmsg.c): Likewise.
13820         (CFLAGS-connect.c): Likewise.
13821         (CFLAGS-recvmsg.c): Likewise.
13822         (CFLAGS-recvfrom.c): Likewise.
13823         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13824         (SOCKETCALL): New macro: non-cancellable socketcall.
13825         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13826         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13827         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13828         * sysdeps/unix/sysv/linux/accept.c: New file.
13829         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13830         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13831         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13832         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13833         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13834         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13835         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13836         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13837         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13838         * sysdeps/unix/sysv/linux/send.c: Likewise.
13839         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13840         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13841         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13842         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13843         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13844         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13845         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13846         prototype.
13847         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13848         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13849         instead of __internal_xxx function.
13850         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13851         prototype.
13852         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13853         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13854         instead of __internal_xxx function.
13855         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13856         prototype.
13857         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13858         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13859         instead of __internal_xxx function.
13860         * sysdeps/unix/sysv/linux/accept.S: Remove file.
13861         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13862         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13863         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13864         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13865         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13866         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13867         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13868         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13869         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13870         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13871         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13872         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13873         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13874         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13875         * sysdeps/unix/sysv/linux/listen.S: Likewise.
13876         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13877         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13878         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13879         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13882         * sysdeps/unix/sysv/linux/recv.S: Likewise.
13883         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13884         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13885         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13886         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13887         * sysdeps/unix/sysv/linux/send.S: Likewise.
13888         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13889         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13890         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13891         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13892         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13893         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13894         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13895         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13896         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13897         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13898         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13899         socketcall is implemented in GLIBC.
13901 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13903         * soft-fp/fmadf4.c: Include <libc-internal.h>.
13904         (__fma): Ignore uninitialized warnings around packing.
13905         * soft-fp/fmasf4.c: Include <libc-internal.h>.
13906         (__fmaf): Ignore uninitialized warnings around packing.
13907         * soft-fp/fmatf4.c: Include <libc-internal.h>.
13908         (__fmal): Ignore uninitialized warnings around packing.
13910         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13911         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13912         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13913         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13915         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13916         switch statement into default case.
13917         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13919         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13920         a conditional in forcing "inexact".
13921         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13922         Likewise.
13924 2015-05-22  Roland McGrath  <roland@hack.frob.com>
13926         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13927         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13928         for each INTERNAL_SYSCALL use.
13930 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13932         [BZ #438]
13933         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13934         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13935         variable.
13937         [BZ #18444]
13938         * string/basename.c (basename): Rename to __basename and define as
13939         weak alias of __basename.  Use libc_hidden_weak.
13940         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
13941         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13942         __basename instead of basename.
13943         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13944         Remove variable.
13945         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13947 2015-05-18  Florian Weimer  <fweimer@redhat.com>
13949         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13950         (_IO_JUMPS_FILE_plus): New.
13951         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13952         _IO_CAST_FIELD_ACCESS.
13953         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13954         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13955         * libio/freopen.c (freopen): Likewise.
13956         * libio/freopen64.c (freopen64): Likewise.
13957         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13958         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13959         * libio/iofwide.c (_IO_fwide): Likewise.
13960         * libio/memstream.c (open_memstream): Likewise.
13961         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13962         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13963         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13965 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
13967         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13968         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13969         NADJ.
13970         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13971         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13972         NADJ.
13973         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13974         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13975         NADJ.
13977         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13978         (p == 4) case.
13980         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13981         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13982         Remove variable.
13983         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13984         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13985         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13987 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13989         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13990         Adjust jump table label generation macros.
13992 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13994         * stdio-common/vfprintf.c (vfprintf): Move local variables
13995         args_malloced, specs, specs_malloced, and the code after
13996         do_positional to the printf_positional function.
13997         (printf_positional): New function.
13999 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14001         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14002         function.
14003         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14004         STEP4_TABLE, process_arg): Move macro definitions
14005         out of the vfprintf function.  (Cosmetic change only.)
14007 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
14009         * benchtests/Makefile (stdio-common-bench): Define.
14010         (benchset): Add stdio-common-bench.
14011         * sprintf-inputs: New file.
14012         * sprintf-source.c: New file.
14014 2015-05-21  Andreas Schwab  <schwab@suse.de>
14016         [BZ #13028]
14017         [BZ #17053]
14018         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14019         of struct __res_state.
14020         * resolv/res_send.c (__libc_res_nsend): Likewise.
14021         (get_nsaddr): New function.
14022         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14023         statp directly.
14025 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
14027         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14028         -D_POSIX_C_SOURCE=199506L.
14030         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14032         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14033         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14034         Do not mention otherwise.
14035         [POSIX] (_XOPEN_VERSION): Do not expect.
14036         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14037         [POSIX] (_POSIX2_C_BIND): Likewise.
14038         [POSIX] (_POSIX2_VERSION): Likewise.
14039         [POSIX] (_XOPEN_XPG2): Likewise.
14040         [POSIX] (_XOPEN_XPG3): Likewise.
14041         [POSIX] (_XOPEN_XPG4): Likewise.
14042         [POSIX] (_XOPEN_UNIX): Likewise.
14043         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14044         [POSIX] (_POSIX_BARRIERS): Likewise.
14045         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14046         [POSIX] (_POSIX_CPUTIME): Likewise.
14047         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14048         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14049         [POSIX] (_POSIX_SHELL): Likewise.
14050         [POSIX] (_POSIX_SPAWN): Likewise.
14051         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14052         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14053         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14054         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14055         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14056         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14057         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14058         [POSIX] (_XBS5_LP64_OFF64): Likewise.
14059         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14060         [POSIX] (_POSIX_TIMEOUTS): Likewise.
14061         [POSIX] (_POSIX2_PBS): Likewise.
14062         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14063         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14064         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14065         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14066         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14067         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14068         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14069         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14070         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14071         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14072         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14073         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14074         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14075         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14076         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14077         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14078         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14079         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14080         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14081         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14082         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14083         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14084         [POSIX] (_SC_2_C_BIND): Likewise.
14085         [POSIX] (_SC_2_C_VERSION): Likewise.
14086         [POSIX] (_SC_2_PBS): Likewise.
14087         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14088         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14089         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14090         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14091         [POSIX] (_SC_2_PBS_TRACK): Likewise.
14092         [POSIX] (_SC_ATEXIT_MAX): Likewise.
14093         [POSIX] (_SC_BARRIERS): Likewise.
14094         [POSIX] (_SC_BASE): Likewise.
14095         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14096         [POSIX] (_SC_DEVICE_IO): Likewise.
14097         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14098         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14099         [POSIX] (_SC_FD_MGMT): Likewise.
14100         [POSIX] (_SC_FIFO): Likewise.
14101         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14102         [POSIX] (_SC_FILE_LOCKING): Likewise.
14103         [POSIX] (_SC_FILE_SYSTEM): Likewise.
14104         [POSIX] (_SC_IOV_MAX): Likewise.
14105         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14106         [POSIX] (_SC_NETWORKING): Likewise.
14107         [POSIX] (_SC_PAGE_SIZE): Likewise.
14108         [POSIX] (_SC_PASS_MAX): Likewise.
14109         [POSIX] (_SC_PIPE): Likewise.
14110         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14111         [POSIX] (_SC_REGEXP): Likewise.
14112         [POSIX] (_SC_SHELL): Likewise.
14113         [POSIX] (_SC_SIGNALS): Likewise.
14114         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14115         [POSIX] (_SC_SPIN_LOCKS): Likewise.
14116         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14117         [POSIX] (_SC_USER_GROUPS): Likewise.
14118         [POSIX] (_SC_USER_GROUPS_R): Likewise.
14119         [POSIX] (_SC_STREAMS): Likewise.
14120         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14121         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14122         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14123         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14124         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14125         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14126         [POSIX] (_PC_FILESIZEBITS): Likewise.
14127         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14128         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14129         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14130         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14131         [POSIX] (uid_t): Likewise.
14132         [POSIX] (gid_t): Likewise.
14133         [POSIX] (off_t): Likewise.
14134         [POSIX] (pid_t): Likewise.
14135         [POSIX] (cuserid): Allow.
14136         (_SC_2_CHAR_TERM): Require constant.
14137         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14138         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14139         variable.
14141 2015-05-20  Roland McGrath  <roland@hack.frob.com>
14143         * sysdeps/nacl/pthread-pids.h: New file.
14144         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14145         (create_thread): Use __nacl_get_tid to initialize PD->tid.
14147         * nptl/pthread-pids.h: New file.
14148         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14149         * nptl/nptl-init.c: Include <pthread-pids.h>.
14150         (__pthread_initialize_minimal_internal):
14151         Call __pthread_initialize_pids instead of set_tid_address syscall.
14153         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14154         * sysdeps/posix/usleep.c: ... here.
14156 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14158         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14159         call_pselect6 object.
14160         [$(subdir) = io]: Remove call_sync_file_range object.
14161         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14162         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14163         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14164         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14166 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
14168         * math/s_cproj.c: Add include "math_private.h".
14169         * math/s_cprojf.c: Likewise.
14170         * math/s_cprojl.c: Likewise.
14172 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
14174         [BZ #18244]
14175         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14176         high mantissa bit when testing whether P is a NaN.
14177         * math/libm-test.inc (remainder_test_data): Add more tests.
14178         (remquo_test_data): Likewise.
14180         [BZ #18049]
14181         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14182         below -32, return the argument, with underflow if subnormal.
14183         * math/auto-libm-test-in: Add more tests of atanh.
14184         * math/auto-libm-test-out: Regenerated.
14186 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14188         [BZ #18434]
14189         * nptl/tst-sem15.c: New file.
14190         * nptl/Makefile (tests): Add it.
14191         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14192         s/<</>>/ to fix typo in EOVERFLOW check.
14193         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14195 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14197         * manual/strings.texi (envz_remove): Fix typo in safety
14198         annotations.
14200 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14201             Steve Ellcey  <sellcey@imgtec.com>
14203         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14204         in order to avoid strict alias warnings.
14205         (iruserok_af): Ditto for ra.
14207 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14209         [BZ #17581]
14210         * malloc/hooks.c
14211         (magicbyte): Convert to a function and avoid returning 0x01.
14212         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14213         (mem2chunk_check): Fix unsigned comparisons to zero.
14214         Hoist defs of sz and magic.
14216 2015-05-19  Richard Henderson  <rth@redhat.com>
14218         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14220         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14222 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14224         [BZ #16159]
14225         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14226         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14227         (reused_arena): Find a non-corrupt arena.
14228         (heap_trim): Pass arena to unlink.
14229         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14230         malloc_printerr.
14231         (top_check): Likewise.
14232         (free_check): Likewise.
14233         (realloc_check): Likewise.
14234         * malloc/malloc.c (malloc_printerr): Add arena argument.
14235         (unlink): Likewise.
14236         (munmap_chunk): Adjust.
14237         (ARENA_CORRUPTION_BIT): New macro.
14238         (arena_is_corrupt): Likewise.
14239         (set_arena_corrupt): Likewise.
14240         (sysmalloc): Use mmap if there are no usable arenas.
14241         (_int_malloc): Likewise.
14242         (__libc_malloc): Don't fail if arena_get returns NULL.
14243         (_mid_memalign): Likewise.
14244         (__libc_calloc): Likewise.
14245         (__libc_realloc): Adjust for additional argument to
14246         malloc_printerr.
14247         (_int_free): Likewise.
14248         (malloc_consolidate): Likewise.
14249         (_int_realloc): Likewise.
14250         (_int_memalign): Don't touch corrupt arenas.
14251         * malloc/tst-malloc-backtrace.c: New test case.
14253         * Makefile (summarize-tests): Fix return value on success.
14255         * manual/string.texi (Envz Functions): Add envz_remove.
14257 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14259         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14260         (invalid_name): New function, broken out of ...
14261         (__opendirat): ... here.  Call it.
14262         (need_isdir_precheck): New function, broken out of ...
14263         (__opendirat): ... here.  Call it.
14264         Use __fxstatat64, not __xstatat64.
14265         (opendir_oflags): New function, broken out of ...
14266         (__opendirat): ... here.  Call it.
14267         (opendir_tail): New function, broken out of ...
14268         (__opendirat): ... here.  Call it.
14269         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14270         opendir_tail, rather than punting to __opendirat.
14271         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14273 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14275         * .gitignore: Ignore generated *.pyc.
14277 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14279         * include/stdio.h: Define __need_wint_t.
14280         * test-skeleton.c: Avoid `for' loop initial declaration.
14281         * nptl/tst-initializers1.c: Use test-skeleton.c.
14283 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14285         [BZ #18418]
14286         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14288 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14290         [BZ #16352]
14291         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14292         (__ieee754_atanh): Force underflow exception for results with
14293         small absolute value.
14294         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14295         (__ieee754_atanhf): Force underflow exception for results with
14296         small absolute value.
14297         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14298         (__ieee754_atanh): Force underflow exception for results with
14299         small absolute value.
14300         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14301         (__ieee754_atanhf): Force underflow exception for results with
14302         small absolute value.
14303         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14304         (__ieee754_atanhl): Force underflow exception for results with
14305         small absolute value.
14306         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14307         (__ieee754_atanhl): Force underflow exception for results with
14308         small absolute value.
14309         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14310         (__ieee754_atanhl): Force underflow exception for results with
14311         small absolute value.
14312         * math/auto-libm-test-in: Do not allow missing underflow
14313         exceptions from atanh.
14314         * math/auto-libm-test-out: Regenerated.
14316         [BZ #18221]
14317         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14318         2**-28 as threshold for returning x or +/- 1/x.
14319         * math/auto-libm-test-in: Add more tests of tan.
14320         * math/auto-libm-test-out: Regenerated.
14322         [BZ #18220]
14323         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14324         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14325         * math/auto-libm-test-in: Add another test of lgamma.
14326         * math/auto-libm-test-out: Regenerated.
14328 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
14330         * stdio-common/printf_fp.c (___printf_fp): Use abs.
14331         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
14332         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14333         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14334         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
14335         (ADD2A): Use fabs.  (SUB2A): Use fabs.
14336         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14337         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14338         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14339         (log1): Use fabs.  (my_log2): Use fabs.
14340         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14341         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14342         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14343         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14344         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14345         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
14346         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
14347         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
14348         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
14349         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14350         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14352 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14354         [BZ #18217]
14355         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14356         as threshold for returning 1 - x.
14357         * math/auto-libm-test-in: Add more tests of erfc.
14358         * math/auto-libm-test-out: Regenerated.
14360 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
14362         [BZ #18196]
14363         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14364         threshold for large arguments.
14365         * math/auto-libm-test-in: Add another test of atan.
14366         * math/auto-libm-test-out: Regenerated.
14368         [BZ #16339]
14369         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14370         (__log1p): Force underflow exception for results with small
14371         absolute value.
14372         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14373         (__log1pf): Force underflow exception for results with small
14374         absolute value.
14375         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14376         (__log1p): Force underflow exception for results with small
14377         absolute value.
14378         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14379         (__log1pf): Force underflow exception for results with small
14380         absolute value.
14381         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14382         (__log1pl): Force underflow exception for results with small
14383         absolute value.
14384         * math/auto-libm-test-in: Do not allow missing underflow
14385         exceptions from log1p.
14386         * math/auto-libm-test-out: Regenerated.
14388 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14389             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14391         [BZ #16704]
14392         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14394 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14396         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14397         (libmvec): New variable.
14398         * configure.ac: Added option for mathvec build.
14399         * configure: Regenerated.
14400         * mathvec/Depend: New file.
14401         * mathvec/Makefile: New file.
14402         * shlib-versions: Added libmvec.
14403         * math/Makefile: Added rule for libm.so installation.
14405         * bits/math-vector.h: New file.
14406         * bits/libm-simd-decl-stubs.h: New header.
14407         * math/Makefile (headers): Added new header
14408         libm-simd-decl-stubs.h.
14409         * math/math.h (__MATHCALL_VEC): New macro.
14411         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14412         for conditions in testing functions.
14413         * math/Makefile: Added call of libm-have-vector-test.sh.
14414         * math/libm-test.inc (HAVE_VECTOR): New macros.
14416         * math/libm-test.inc: START refactored.
14417         * math/test-double.c (TEST_MATHVEC): Add define.
14418         * math/test-float.c: Likewise.
14419         * math/test-idouble.c: Likewise.
14420         * math/test-ifloat.c: Likewise.
14421         * math/test-ildoubl.c: Likewise.
14422         * math/test-ldouble.c: Likewise.
14423         * sysdeps/generic/math-tests-arch.h
14424         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14425         architecture check.
14427         * math/test-double.c (FUNC_TEST): New macro.
14428         * math/test-float.c: Likewise.
14429         * math/test-idouble.c: Likewise.
14430         * math/test-ifloat.c: Likewise.
14431         * math/test-ildoubl.c: Likewise.
14432         * math/test-ldouble.c: Likewise.
14433         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14435 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14437         * sysdeps/nacl/fdopendir.c: New file.
14439         * dirent/scandir-tail.c: New file.
14440         * dirent/scandir64-tail.c: New file.
14441         * dirent/Makefile (routines): Add them.
14442         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14443         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14444         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14445         [!SCANDIR] (SCANDIR_TAIL): New macro.
14446         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14447         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14448         (SCANDIRAT): Macro removed.
14449         (SCANDIR_TAIL): New macro.
14450         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14451         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14452         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14453         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14454         (READDIR): Macro removed.
14455         (SCANDIR_TAIL): New macro.
14456         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14457         (SCANDIR_TAIL): New macro.
14459         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14460         * dirent/scandir-cancel.c: ... to this new file.
14461         * dirent/Makefile (routines): Add it.
14462         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14463         * sysdeps/unix/sysv/linux/i386/scandir64.c
14464         (SKIP_SCANDIR_CANCEL): Macro removed.
14465         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14467         * dirent/tst-scandir.c: New file.
14468         * dirent/tst-scandir64.c: New file.
14469         * dirent/Makefile (tests): Add them.
14471 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14473         [BZ #18409]
14474         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14476 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14478         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14479         list.
14481 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14483         * benchtests/bench-strcoll.c: New benchmark.
14484         * benchtests/Makefile: Generate locales and run benchmark.
14485         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14486         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14487         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14488         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14489         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14490         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14491         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14492         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14493         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14494         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14495         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14496         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14497         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14498         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14499         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14500         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14501         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14502         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14503         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14504         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14505         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14506         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14507         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14508         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14510 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14512         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14513         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14515 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14517         * posix/uname-values.h: New file.
14518         * posix/uname.c: Include that instead of <config-name.h>.
14519         * sysdeps/nacl/uname-values.h: New file.
14520         * sysdeps/arm/nacl/uname-values.h: New file.
14522 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14524         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14525         splitting into fields.
14527 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14529         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14530         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14531         * locale/localeinfo.h: Add enum collation_encoding_type.
14532         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14533         * programs/ld-collate.c (collate_output): Add encoding type info.
14534         * string/strcoll_l.c (STRDIFF): New function.
14535         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14536         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14538 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14540         [BZ #18397]
14541         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14542         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14543         <fpu_control.h> instead of <math/fpu_control.c>.
14544         * sysdeps/mips/mips32/fpu/Makefile: New file.
14546 2015-05-11  Andreas Schwab  <schwab@suse.de>
14548         [BZ #18007]
14549         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14550         nss_endgrent.
14551         (_nss_compat_endgrent): Call nss_endgrent.
14552         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14553         nss_endpwent.
14554         (_nss_compat_endpwent): Call nss_endpwent.
14555         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14556         needent, call nss_setspent only if non-zero.
14557         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14558         (internal_endspent): Don't call nss_endspent.
14559         (_nss_compat_endspent): Call nss_endspent.
14560         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14561         Remove.  All uses removed.
14562         (internal_setent): Remove parameter stayopen, add parameter
14563         stream.  Use it instead of global variable.
14564         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14565         (internal_endent, internal_getent): Add parameter stream.  Use it
14566         instead of global variable.
14567         (CONCAT(_nss_files_end,ENTNAME))
14568         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14569         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14570         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14571         uses removed.
14572         (internal_setent, internal_endent): Add parameter stream.  Use it
14573         instead of global variable.
14574         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14575         stream.
14576         (get_next_alias): Add parameter stream.
14577         (_nss_files_getaliasent_r): Pass global stream.
14578         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14579         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14580         (_nss_files_gethostbyname4_r): Pass local stream to
14581         internal_setent, internal_getent and internal_endent.  Remove
14582         locking.
14584 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14586         * tst-strfmon1.c (tests): Update expected currency symbol.
14588 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14590         * sysdeps/nacl/gethostname.c: New file.
14592 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14594         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14595         and sinh.
14596         * math/auto-libm-test-out: Regenerated.
14597         * sysdeps/i386/fpu/libm-test-ulps: Update.
14598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14600 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14602         [BZ #18125]
14603         * stdlib/tst-setcontext3.c: New file.
14604         * stdlib/tst-setcontext3.sh: New file.
14605         * stdlib/Makefile (tests): Add tst-setcontext3.
14606         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14607         to verify test program created output file.
14608         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14609         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14610         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14611         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14613 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14615         [BZ #18383]
14616         * elf/tst-tlsalign.c: New file.
14617         * elf/tst-tlsalign-static.c: New file.
14618         * elf/tst-tlsalign-lib.c: New file.
14619         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14620         (tests-static): Add tst-tlsalign-static.
14621         (modules-names): Add tst-tlsalign-lib.
14622         (test-xfail-tst-tlsalign): New variable.
14623         (test-xfail-tst-tlsalign-static): New variable.
14625         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14626         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14628 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14630         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14631         csqrt, erfc, sin and sincos.
14632         * math/auto-libm-test-out: Regenerated.
14633         * sysdeps/i386/fpu/libm-test-ulps: Update.
14634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14636 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14638         * sysdeps/aarch64/libm-test-ulps: Update.
14640 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14642         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14643         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14644         * math/auto-libm-test-out: Regenerated.
14645         * sysdeps/i386/fpu/libm-test-ulps: Update.
14646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14648 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14650         [BZ #18265]
14651         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14652         (wcsncpy): Likewise.
14654 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14656         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14657         Assume __ASSUME_FALLOCATE is always true.
14658         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14659         (__posix_fallocate64_l64): Likweise.
14660         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14661         (posix_fallocate): Likewise.
14662         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14663         (__posix_fallocate64_l64): Likewise.
14664         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14665         [!__ASSUME_FALLOCATE]: Add comment.
14667 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14669         * sysdeps/unix/sysv/linux/i386/Makefile
14670         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14671         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14672         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14673         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14674         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14675         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14676         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14678 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14680         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14681         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14682         tgamma.
14683         * math/auto-libm-test-out: Regenerated.
14684         * sysdeps/i386/fpu/libm-test-ulps: Update.
14685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14687 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14689         * math/auto-libm-test-in: Add more tests of tgamma.
14690         * math/auto-libm-test-out: Regenerated.
14691         * sysdeps/i386/fpu/libm-test-ulps: Update.
14692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14694         * math/auto-libm-test-in: Add more tests of tanh.
14695         * math/auto-libm-test-out: Regenerated.
14696         * sysdeps/i386/fpu/libm-test-ulps: Update.
14697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14699         * math/auto-libm-test-in: Add more tests of tan.
14700         * math/auto-libm-test-out: Regenerated.
14701         * sysdeps/i386/fpu/libm-test-ulps: Update.
14702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14704         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14705         * math/auto-libm-test-out: Regenerated.
14706         * sysdeps/i386/fpu/libm-test-ulps: Update.
14707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14709         * math/auto-libm-test-in: Add another test of pow.
14710         * math/auto-libm-test-out: Regenerated.
14711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14713         * math/auto-libm-test-in: Add more tests of lgamma.
14714         * math/auto-libm-test-out: Regenerated.
14715         * sysdeps/i386/fpu/libm-test-ulps: Update.
14716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14718         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14719         log1p.
14720         * math/auto-libm-test-out: Regenerated.
14721         * sysdeps/i386/fpu/libm-test-ulps: Update.
14722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14724 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14726         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14727         Elf64_Chdr structs and ELFCOMPRESS constants.
14729 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14731         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14732         expm1.
14733         * math/auto-libm-test-out: Regenerated.
14734         * sysdeps/i386/fpu/libm-test-ulps: Update.
14735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14737         * math/auto-libm-test-in: Add more tests of erf and erfc.
14738         * math/auto-libm-test-out: Regenerated.
14739         * sysdeps/i386/fpu/libm-test-ulps: Update.
14740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14742 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14744         * config.h.in (HAVE_AARCH64_BE): Add.
14746 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14748         * math/auto-libm-test-in: Add more tests of csqrt.
14749         * math/auto-libm-test-out: Regenerated.
14750         * sysdeps/i386/fpu/libm-test-ulps: Update.
14751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14753         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14754         * math/auto-libm-test-out: Regenerated.
14755         * sysdeps/i386/fpu/libm-test-ulps: Update.
14756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14758         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14760 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14762         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14763         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14765         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14766         (euidaccess, eaccess): Define as weak aliases.
14768         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14769         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
14770         but __suseconds_t is often 'long int' so some sources assume that
14771         type is being used (e.g. they use %ld to print tv_usec).
14773 2015-04-29  Florian Weimer  <fweimer@redhat.com>
14775         [BZ #18007]
14776         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14777         (CVE-2014-8121)
14778         * nss/tst-nss-getpwent.c: New file.
14779         * nss/Makefile (tests): Add new test.
14781 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
14783         [BZ #18346]
14784         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14785         exponents less than 48 as cases where high part of mantissa needs
14786         examining to determine whether argument is integral.
14787         * math/libm-test.inc (round_test_data): Add more tests.
14789 2015-04-28  Mark Wielaard  <mjw@redhat.com>
14791         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14793 2015-04-27  David S. Miller  <davem@davemloft.net>
14795         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14796         __tls_get_addr.
14797         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14799 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14801         [BZ#18333]
14802         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14804 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14806         [BZ#18333]
14807         * time/tzset.c (parse_tzname): Return error on memory allocation
14808         failure.
14809         * test-skeleton.c (struct temp_name_list): Change type of name
14810         member to non-const.
14811         (add_temp_file): Create a copy of the file name.
14812         (delete_temp_files): Deallocate memory.
14813         (create_temp_file): Add comment.
14815 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14817         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14818         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14820 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14822         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14823         * sysdeps/arm/configure: Regenerated.
14825 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14827         [BZ #17715]
14828         * time/tzfile.c (__tzfile_read): Check for large values of
14829         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14830         * time/tzset.c (__tzstring_len): New function, based on the old
14831         __tzstring function.
14832         (__tzstring): Call __tzstring_len.
14833         (parse_tzname): New helper function extracted from
14834         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14835         the input string.
14836         (parse_offset): New helper function extracted from
14837         __tzset_parse_tz.  Replace switch with fallthrough with
14838         initialization before sscanf.
14839         (parse_rule): Likewise.
14840         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14841         new-style function definition.
14842         * timezone/Makefile (tests): Add tst-tzset.
14843         (tst-tzset.out): Dependencies on time zone files.
14844         (tst-tzset-ENV): Set TZDIR.
14845         (testdata/XT%): Copy crafted time zone files.
14846         * timezone/README: Mention crafted time zone files.
14847         * timezone/testdata/XT1, timezone/testdata/XT2,
14848         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14849         files.
14850         * timezone/tst-tzset.c: New test.
14852 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14854         * Makeconfig (+gccwarn): Remove -Winline.
14856 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14858         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14860 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14862         * NEWS: Mention sysconf() cache information support for s390.
14863         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14865 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
14867         * math/k_casinh.c (__kernel_casinh): Use __copysign.
14868         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14869         (__nearbyint): Likewise.
14870         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14871         (copysignl): Likewise.
14873 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
14875         [BZ #18287]
14876         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14877         based on padding.  (CVE-2015-1781)
14879 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14881         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14882         libc-vdso.h.
14883         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14884         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14885         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14886         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14887         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14888         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14889         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14890         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14891         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14892         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14893         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14894         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14895         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14896         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14897         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14898         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14899         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14900         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14901         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14902         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14903         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14904         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14905         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14907 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
14909         * stdlib/setenv.c (__add_to_environ):
14910         Dump core quickly if setenv (..., NULL, ...) is called.
14911         This time, do it the right way, and pacify GCC with a pragma.
14913 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14915         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14916         IMAP->l_prev cannot be null, and #if out the code for the contrary
14917         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14918         believe that NS (&_dl_ns[NSID]) could point outside the array.
14920         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14921         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14922         before using NSID as an index.
14924 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14926         [BZ #17825]
14927         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14928         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14929         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14931 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14933         Add preliminary port to Google Native Client on ARM.
14934         * abi-tags (.*-.*-nacl.*): New entry.
14935         * sysdeps/arm/nacl: New directory.
14936         * sysdeps/nacl: New directory.
14938 2015-04-16  David S. Miller  <davem@davemloft.net>
14940         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14941         lowlevellock-futex.h
14943 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
14945         * sysdeps/tile/configure.ac: New file.
14946         * sysdeps/tile/configure: Regenerated.
14948 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14950         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
14951         conditionals for weak_alias and libc_hidden_weak.
14952         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14953         libc_hidden_weak and weak_alias.
14954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14955         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14956         and weak_alias for static one.
14958 2015-04-15  David S. Miller  <davem@davemloft.net>
14960         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14962 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14964         [BZ #18206]
14965         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14966           Use signed comparision instead of substraction to avoid
14967           overflow bug.
14968         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14969           Take the sign of ret.
14970         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14971           Do not expect precise return values. Only the sign matters.
14972         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14973         * wcsmbs/test-wcsncmp.c: New File.
14974         * string/test-strncmp.c: Add wcsncmp support.
14976 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14978         [BZ #6792]
14979         * math/w_log1p.c: New file.
14980         * math/w_log1pf.c: Likewise.
14981         * math/w_log1pl.c: Likewise.
14982         * math/Makefile (libm-calls): Add w_log1p.
14983         * math/s_log1pl.c (log1pl): Remove weak_alias.
14984         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14985         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14986         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14987         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14988         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14989         [NO_LONG_DOUBLE] (log1pl): Likewise.
14990         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14991         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14992         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14993         (log1p): Remove long_double_symbol.
14994         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14995         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14996         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14997         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14998         remove weak_alias for corresponding log1p function.
14999         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15000         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15001         * sysdeps/ia64/fpu/w_log1p.c: New file.
15002         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15003         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15004         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15006 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15008         [BZ #18247]
15009         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15010         decimal exponent by 1.
15011         * stdlib/tst-strtod-round-data: Add more tests.
15012         * stdlib/tst-strtod-round.c (tests): Regenerated.
15014 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
15016         * math/auto-libm-test-in: Add more tests of clog and clog10.
15017         * math/auto-libm-test-out: Regenerated.
15018         * sysdeps/i386/fpu/libm-test-ulps: Update.
15019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15021 2015-04-09  Roland McGrath  <roland@hack.frob.com>
15023         * Makeconfig (module-cppflags): Exclude all .v.i files.
15024         (skip-module-cppflags): Variable removed.
15026         * configure.ac (libc_config_ok): Initialize before reading
15027         preconfigure scripts, not after.
15028         * configure: Regenerated.
15030         * test-skeleton.c (TIMEOUT): Move #define to top level.
15031         (main): Grok environment variable TEST_DIRECT.  If set, print
15032         test expectation details into that file and then behave as if
15033         given --direct.
15035 2015-04-09  Florian Weimer  <fweimer@redhat.com>
15037         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15038         warning on 32-bit.
15040 2015-04-08  David S. Miller  <davem@davemloft.net>
15042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15044 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15046         * math/auto-libm-test-in: Add more tests of atanh.
15047         * math/auto-libm-test-out: Regenerated.
15048         * sysdeps/i386/fpu/libm-test-ulps: Update.
15049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15051         * math/auto-libm-test-in: Add more tests of atan.
15052         * math/auto-libm-test-out: Regenerated.
15053         * sysdeps/i386/fpu/libm-test-ulps: Update.
15054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15056 2015-04-08  Florian Weimer  <fweimer@redhat.com>
15058         * elf/pldd.c (main): Rewrite to use struct
15059         scratch_buffer instead of extend_alloca.
15060         * elf/pldd-xx.c (find_maps): Likewise.
15061         * grp/initgroups.c: Include <scratch_buffer.h> instead of
15062         <alloca.h>.
15063         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15064         scratch_buffer instead of extend_alloca.
15065         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15066         grp/compat-initgroups.c.
15067         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15068         Rewrite to use struct scratch_buffer instead of extend_alloca.
15069         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15070         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15072 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15074         * math/auto-libm-test-in: Add more tests of cbrt.
15075         * math/auto-libm-test-out: Regenerated.
15076         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15078         * math/auto-libm-test-in: Add more tests of cabs.
15079         * math/auto-libm-test-out: Regenerated.
15080         * sysdeps/i386/fpu/libm-test-ulps: Update.
15081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15083         [BZ #18210]
15084         [BZ #18211]
15085         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15086         (__ieee754_atan2): Set FE_TONEAREST mode for internal
15087         computations.
15088         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15089         clog10.
15090         * math/auto-libm-test-out: Regenerated.
15091         * sysdeps/i386/fpu/libm-test-ulps: Update.
15092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15094         [BZ #18197]
15095         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15096         (atan): Set FE_TONEAREST mode for internal computations.
15097         * math/auto-libm-test-in: Add more tests of atan.
15098         * math/auto-libm-test-out: Regenerated.
15100 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
15102         [BZ #17930]
15103         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15105 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15107         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15109 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15111         * include/scratch_buffer.h: New file.
15112         * malloc/scratch_buffer_grow.c: Likewise.
15113         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15114         * malloc/scratch_buffer_set_array_size.c: Likewise.
15115         * malloc/tst-scratch_buffer.c: Likewise.
15116         * malloc/Makefile (routines): Add scratch_buffer_grow.
15117         (tests): Add test case.
15118         * malloc/Versions (GLIBC_PRIVATE): Export
15119         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15120         __libc_scratch_buffer_set_array_size.
15122 2015-04-06  Richard Henderson  <rth@redhat.com>
15124         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15125         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15127         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15128         unsigned int before printing.
15130 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15132         [BZ #17596]
15133         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15134         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15136 2015-04-02  Florian Weimer  <fweimer@redhat.com>
15138         * include/libc-internal.h (libc_max_align_t): Define.
15140 2015-04-02  Andreas Schwab  <schwab@suse.de>
15142         [BZ #16850]
15143         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15145 2015-04-02  Mel Gorman  <mgorman@suse.de>
15147         [BZ #17195]
15148         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15149         as well as the main arena.
15151 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15153         [BZ #18185]
15154         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15155         sharing L2 cache to 2 for Silvermont/Knights Landing.
15157 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15159         [BZ #17711]
15160         * config.make.in (have-protected-data): New.
15161         * configure.ac: Check linker support for protected data symbol.
15162         * configure: Regenerated.
15163         * elf/Makefile (modules-names): Add tst-protected1moda and
15164         tst-protected1modb if $(have-protected-data) is yes.
15165         (tests): Add tst-protected1a and tst-protected1b if
15166         $(have-protected-data) is yes.
15167         ($(objpfx)tst-protected1a): New.
15168         ($(objpfx)tst-protected1b): Likewise.
15169         (tst-protected1modb.so-no-z-defs): Likewise.
15170         * elf/tst-protected1a.c: New file.
15171         * elf/tst-protected1b.c: Likewise.
15172         * elf/tst-protected1mod.h: Likewise.
15173         * elf/tst-protected1moda.c: Likewise.
15174         * elf/tst-protected1modb.c: Likewise.
15176 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15178         [BZ #17711]
15179         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15180         indicates it is called from do_lookup_x on relocation against
15181         protected data, skip the data definion in the executable from
15182         copy reloc.
15183         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15184         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15185         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15186         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15187         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15188         otherwise to 0.
15189         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15190         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15191         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15192         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15193         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15194         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15196 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15198         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15199         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15201 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15203         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15204         THREAD_SETMEM_NC.
15205         * sysdeps/x86_64/nptl/tls.h: Ditto.
15207 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15209         * dlfcn/tststatic.c (main): Converted to ...
15210         (do_test): ... this.
15211         (TEST_FUNCTION): New macro.
15212         Include test-skeleton.c.
15214 2015-03-26  Alan Modra  <amodra@gmail.com>
15216         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15217         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15218         zero for undefined weak.
15219         (elf_machine_plt_conflict): Similarly.
15221 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15223         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15224         atanh.
15225         * math/auto-libm-test-out: Regenerated.
15226         * sysdeps/i386/fpu/libm-test-ulps: Update.
15227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15229         * math/auto-libm-test-in: Add another test of asin.
15230         * math/auto-libm-test-out: Regenerated.
15231         * sysdeps/i386/fpu/libm-test-ulps: Update.
15232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15234         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15235         Remove macro.
15236         (LLL_EBX_REG): Likewise.
15237         (LLL_ENTER_KERNEL): Likewise.
15239         * math/auto-libm-test-in: Add more tests of asin.
15240         * math/auto-libm-test-out: Regenerated.
15241         * sysdeps/i386/fpu/libm-test-ulps: Update.
15242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15244         [BZ #18138]
15245         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15246         libc_do_syscall_args): New structure.
15247         (INTERNAL_SYSCALL_MAIN_0): New macro.
15248         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15249         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15250         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15251         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15252         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15253         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15254         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15255         Replace conditional definitions by conditional definitions of ....
15256         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15257         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15258         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15259         (libpthread-sysdep_routines): Add libc-do-syscall.
15260         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15261         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15262         to __NR_futex not 240.
15264 2015-03-25  Alan Modra  <amodra@gmail.com>
15266         * NEWS: Advertise TLS optimization.
15267         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15268         (DT_PPC_NUM): Increment.
15269         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15270         (CHECK_STATIC_TLS): Use here.
15271         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15272         TLS descriptors.
15273         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15274         * sysdeps/powerpc/dl-tls.c: New file.
15275         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15276         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15277         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15278         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15283 2015-03-25  Alan Modra  <amodra@gmail.com>
15285         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15286         for overlapping .opd entries" to "support...".
15287         * sysdeps/powerpc/powerpc64/configure: Regenerate
15289 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15291         * math/auto-libm-test-in: Add more tests of acos.
15292         * math/auto-libm-test-out: Regenerated.
15293         * sysdeps/i386/fpu/libm-test-ulps: Update.
15294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15296         * math/auto-libm-test-in: Add more tests of expm1.
15297         * math/auto-libm-test-out: Regenerated.
15298         * sysdeps/i386/fpu/libm-test-ulps: Update.
15299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15301 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15303         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15304         * math/auto-libm-test-out: Regenerated.
15305         * sysdeps/i386/fpu/libm-test-ulps: Update.
15306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15308         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15311         * math/auto-libm-test-in: Add more tests of log2.
15312         * math/auto-libm-test-out: Regenerated.
15313         * sysdeps/i386/fpu/libm-test-ulps: Update.
15314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15316 2015-03-23  Roland McGrath  <roland@hack.frob.com>
15318         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15319         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
15320         _IO_IS_APPENDING bit in READ_WRITE instead.
15322 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15324         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15325         (__determine_cpumask_size): Replace extend_alloca with a
15326         variable-length array.  Do not treat res == 0 as an error.
15328 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15330         [BZ #18100]
15331         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15332         and integer overflow.
15333         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15334         (main): Add integer overflow tests.
15335         * manual/pattern.texi (Calling Wordexp): Document additional use
15336         for WRDE_SYNTAX.
15338 2015-03-23  Alan Modra  <amodra@gmail.com>
15340         * config.h.in: Remove HAVE_ASM_PPC_REL16.
15341         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15342         and false branch of conditional.
15343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15344         Likewise.
15346 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
15348         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15349         libc-modules.h
15350         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15351         unused declaration of _hurd_intr_rpc_msg_in_trap.
15352         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15353         defined instead of whether it is non-zero.
15354         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15355         input constraint instead of both input and output constraint.  Use ecx
15356         clobber instead of %ecx.
15357         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15358         mutex_unlock): Use a statement expression instead of an expression list.
15359         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15360         type to vm_size_t instead of vm_address_t.
15361         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15362         defined instead of whether it is non-zero.
15363         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15364         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15365         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15366         comparisons with mapaddr.
15367         * nscd/nscd-client.h: Include <time.h>.
15368         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15369         9th parameter to __vm_region instead of int.
15370         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15371         * scripts/check-local-headers.sh (exclude): Add device/,
15372         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15373         cthreads.h.
15375 2015-03-19  Roland McGrath  <roland@hack.frob.com>
15377         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15378         to account for alignment padding.
15379         * sysdeps/arm/memmove.S: Likewise.
15381 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15383         * sysdeps/unix/sysv/linux/generic/README: New file.
15385 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15387         [BZ #18138]
15388         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15389         (futex_abstimed_wait)
15390         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15391         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15392         of lll_futex_timed_wait.
15394 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15396         [BZ #17542]
15397         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15399 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15401         [BZ #17090]
15402         [BZ #17620]
15403         [BZ #17621]
15404         [BZ #17628]
15405         * NEWS: Update.
15406         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15407         entries with Static TLS too.  Skip entries past the end of the
15408         allocated DTV, from Alan Modra.
15409         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15410         Static TLS DTV entry set up from...
15411         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15412         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15413         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15414         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15415         for Static TLS.
15416         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15417         that the slot we find is associated with the given map before
15418         using its generation count.
15419         * nptl_db/db_info.c: Include ldsodefs.h.
15420         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15421         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15422         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15423         (link_map::l_tls_offset): New struct field.
15424         (dtv_t::counter): Likewise.
15425         (rtld_global): New struct.
15426         (_rtld_global): New rtld variable.
15427         (dl_tls_dtv_slotinfo_list): New rtld global field.
15428         (dtv_slotinfo_list): New struct.
15429         (dtv_slotinfo): Likewise.
15430         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15431         (td_lookup): Rename to...
15432         (td_mod_lookup): ... this.  Use new mod parameter instead of
15433         LIBPTHREAD_SO.
15434         * nptl_db/td_thr_tlsbase.c: Include link.h.
15435         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15436         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15437         addresses even if the DTV is out of date or missing them.
15438         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15439         index zero-length arrays.
15440         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15441         (td_lookup): Make it a macro implemented in terms of...
15442         (td_mod_lookup): ... this declaration.
15443         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15444         (DB_MAIN_VARIABLE): Likewise.
15446 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15448         [BZ #18134]
15449         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15451 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15453         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15455 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15457         [BZ #18128]
15458         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15459         (atomic_add, atomic_increment_and_test)
15460         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15462 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15464         * stdlib/setenv.c (__add_to_environ):
15465         Dump core quickly if setenv (..., NULL, ...) is called.
15467 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15469         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15470         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15471         all the necessary asm magic in one place.
15472         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15473         using those.
15475 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15477         [BZ #14906]
15478         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15479         traced file mtime. Use consistent log message.
15480         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15481         (register_traced_file): Call install_watches. Always set mtime.
15482         (invalidate_cache): Iterate over all trace files. Call install_watches.
15483         (inotify_check_files): Don't inline. Handle watching parent
15484         directories and configuration file movement in and out.
15485         (handle_inotify_events): New function.
15486         (main_loop_poll): Call handle_inotify_events.
15487         (main_loop_epoll): Likewise.
15488         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15489         (struct traced_file): Use array of inotify fds. Add parent directory,
15490         and basename.
15491         (struct database_dyn): Remove unused file_mtime.
15492         (init_traced_file): New inline function.
15493         (define_traced_file): New macro.
15494         * nss/nss_db/db-init.c: Use define_traced_file.
15495         (_nss_db_init): Use init_traced_file.
15496         * nss/nss_files/files-init.c: Use define_traced_file.
15497         (_nss_files_init): Use init_traced_file.
15499 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15501         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15502         [_LIBC]: Do not include <stdlib.h>.
15503         [!_LIBC] (abort): Remove declaration.
15504         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15505         _FP_STATIC_ASSERT instead of conditionally calling abort.
15506         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15507         (_FP_EXTEND_CNAN): Likewise.
15508         (FP_TRUNC): Likewise.
15509         (__FP_CLZ): Likewise.
15510         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15512 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15514         * manual/string.texi (XPG basename): Fix prototype.
15516 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15518         [BZ #18080]
15519         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15520         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15521         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15522         (__setcontext): Likewise.
15523         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15524         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15525         Call rt_sigprocmask syscall one time to set new signal mask
15526         and retrieve the current signal mask instead of two calls.
15527         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15528         (__swapcontext): Likewise.
15529         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15530         * stdlib/tst-setcontext2.c: New file.
15532 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15534         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15536 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15538         [BZ #18093]
15539         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15540         the wrong size.
15542 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15544         [BZ #18043]
15545         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15547 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15549         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15550         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15551         Remove define.
15552         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15553         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15554         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15555         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15556         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15557         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15558         define.
15559         * nptl_db/td_symbol_list.c (td_lookup): Remove
15560         HAVE_ASM_GLOBAL_DOT_NAME code.
15561         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15562         HAVE_ASM_GLOBAL_DOT_NAME check.
15563         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15564         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15565         (DOT_LABEL): Remove define.
15566         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15567         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15568         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15569         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15570         (__TLS_GET_ADDR): Likewise.
15571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15572         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15574 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15576         [BZ #18111]
15577         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15578         (_FPU_SETCW): Initialize cw from fpsr before storing.
15579         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15580         (fesetexceptflag): Rewrite using fpu_control.h.
15581         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15583 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15585         [BZ #18110]
15586         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15587         asms.
15588         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15590 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15592         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15593         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15594         abort.
15595         (_FP_FMA): Likewise.
15596         (_FP_DIV): Likewise.
15598 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15600         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15601         with 0 in that case.
15602         * Makefile (summarize-tests): New canned sequence, factored out of
15603         commands for targets tests and xtests.  Display summary lines that
15604         don't start with PASS: or XFAIL: rather than ones that do start with
15605         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15606         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15607         do start with ERROR: or FAIL:.
15608         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15609         (except for [$(build-shared) = yes]).
15610         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15611         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15612         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15613         * nptl/Makefile: Revert 2015-03-04 changes.
15614         [$(CXX) empty] (tests-unsupported): New variable.
15615         * debug/Makefile: Likewise.
15617         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15618         gnulib file.  Replace __attribute with __attribute__ throughout.
15620 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15622         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15624 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15626         [BZ #18104]
15627         * math/auto-libm-test-in: Add another test of pow.
15628         * math/auto-libm-test-out: Regenerated.
15630 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15632         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15633         $(config-cflags-nofma).
15635 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15637         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15638         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15639         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15640         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15641         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15642         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15643         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15644         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15645         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15646         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15647         Add comment on closing #endif.
15649 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15651         * posix/wordexp.c (CHAR_IN_SET): New macro.
15652         (parse_param): Use it.
15654 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15656         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15658 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15660         [BZ #18043]
15661         * posix/wordexp.c (parse_param): Fix buffer overflow.
15662         * posix/wordexp-test.c (test_case): Add test case.
15664 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15666         [BZ #18042]
15667         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15668         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15670 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15672         [BZ #18043]
15673         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15674         (do_bz18043): Delete.
15675         (at_page_end): New.
15676         (testit): Refactor to have words at the edge of unreadable page.
15678 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15680         [BZ #16734]
15681         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15682         Cleanup read-only streams as well.
15683         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15685 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15687         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15688         <bits/libc-lockP.h>
15690 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15692         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15693         on [__KERNEL__].
15694         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15695         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15696         * soft-fp/op-common.h (_FP_DECL): Likewise.
15698 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15700         * elf/ifuncdep2.c (global): Replace
15701         __attribute__((visibility("protected"))) with
15702         asm (".protected global").
15703         * elf/ifuncmod1.c (global): Likewise.
15704         * elf/ifuncmod5.c (global): Likewise.
15706 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15708         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15709         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15711 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15713         * manual/install.texi (Configuring and compiling):
15714         Document test-wrapper-env-only.
15715         * INSTALL: Regenerated.
15717 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15719         [BZ #18043]
15720         * posix/wordexp.c (parse_param): Fix buffer overflow.
15721         * posix/wordexp-test.c (do_bz18043): Add test case.
15723 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15725         * time/tst-strptime2.c (do_test): Ensure failing tests are
15726         reported correctly.
15727         * time/tst-strptime3.c (do_test): Likewise.
15729 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15731         Fix aio_error thread-safety.
15732         * sysdeps/pthread/aio_error.c: New file
15733         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15734         synchronization.
15736 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15738         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15739         (group_number, vfprintf): Use it.
15740         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15741         (JUMP, REF): Use it.
15742         (WORK_BUFFER_SIZE): New enum constant.
15743         (process_arg, vfprintf): Use it.
15745 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15747         * manual/errno.texi (Error Messages): Complete example function
15748         by adding missing #define.
15749         (program_invocation_name): Add statement indicating GNU
15750         extension and reference which header file declares the variable.
15751         (program_invocation_short_name): Likewise.
15753 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15755         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15756         compatibility note.
15758 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15760         * Makeconfig (test-wrapper-env-only): New variable.
15761         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15762         then use that with $(test-wrapper-env-only) rather than using
15763         $(test-wrapper-env) $(run-program-env) $($*-ENV).
15765 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15767         [BZ #18082]
15768         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15769         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15770         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15771         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15772         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15773         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15774         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15775         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15776         Likewise.
15777         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15778         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15779         Likewise.
15780         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15781         Likewise.
15782         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15783         Likewise.
15784         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15785         Likewise.
15786         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15787         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15788         Likewise.
15789         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15790         Likewise.
15791         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15792         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15794 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15796         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15797         (ETH_ALEN): New macro.
15798         (struct ether_addr): Use it for length of ether_addr_octet.
15800         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15801         (setdb): Don't call __nss_configure_lookup for "rpc".
15802         (do_test): Don't call test_rpc.
15803         (output_rpcent, test_rpc): Functions moved ...
15804         * sunrpc/test-rpcent.c: ... to this new file.
15805         * sunrpc/Makefile (tests): Add it.
15807         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15808         __xpg_sigpause.
15809         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15810         * nptl/tst-signal6.c: Likewise.
15811         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15812         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15814         * configure.ac (libc_cv_cxx_link_ok): New check.
15815         Reset CXX to empty if it fails to link.
15816         * configure: Regenerated.
15817         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15818         bug-atexit3-lib only if $(CXX) is nonempty.
15819         * nptl/Makefile (tests): Likewise for tst-cancel24.
15820         (tests, tests-static): Likewise for tst-cancel24-static.
15821         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15822         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15823         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15824         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15826 2015-03-04  Andreas Schwab  <schwab@suse.de>
15828         [BZ #17631]
15829         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15830         for non-GCC compilers.
15831         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15832         Likewise.
15834 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15836         [BZ #17776]
15837         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15838         integer before bitwise and assembly operations.
15839         (feclearexcept): Likewise.
15840         * math/test-fenvinline.c: New file.
15841         * math/Makefile: Add test-fenvinline test.
15843 2015-03-03  Alan Modra  <amodra@gmail.com>
15845         [BZ #16512]
15846         * scripts/localplt.awk: Strip off symbol version.
15847         * NEWS: Mention bug fix.
15849 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15851         * sysdeps/pthread/timer_routines.c
15852         (timer_free_list, thread_free_list, thread_active_list): Make static.
15854 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
15856         [BZ #17779]
15857         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15858         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15859         Undefine.
15860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15861         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15862         Likewise.
15863         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15864         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15865         Likewise.
15867 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15869         [BZ #18036]
15870         * posix/fnmatch_loop.c (END): Detect invalid pattern.
15871         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15873 2015-03-02  Andreas Schwab  <schwab@suse.de>
15875         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15876         variable name.
15878 2015-03-02  Florian Weimer  <fweimer@redhat.com>
15880         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15881         Return error status.
15883 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
15885         [BZ #15969]
15886         * locale/findlocale.c (_nl_find_locale): Introduce const
15887         version of loc_name and drop unsafe type casts.
15889 2015-02-27  Roland McGrath  <roland@hack.frob.com>
15891         * dlfcn/tststatic2.c (main): Converted to ...
15892         (do_test): ... this.
15893         (TEST_FUNCTION): New macro.
15894         Include test-skeleton.c.
15896 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
15898         [BZ #17711]
15899         * elf/Makefile (tests): Add vismain only if PIE is enabled.
15900         (tests-pie): Add vismain.
15901         (CFLAGS-vismain.c): New.
15902         * elf/vismain.c: Add comments for PIE requirement.
15904 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15906         [BZ #18046]
15907         [BZ #18047]
15908         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15909         0x1p-56L as threshold for just returning the argument.
15910         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15911         0x1p-32L as threshold for just returning the argument.
15912         * math/auto-libm-test-in: Add more tests of atanh.
15913         * math/auto-libm-test-out: Regenerated.
15914         * sysdeps/i386/fpu/libm-test-ulps: Update.
15915         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15917 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15919         * string/bcopy.c (bcopy): Call memmove for performance.
15921 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15923         * string/bzero.c (__bzero): Call memset for performance.
15925 2015-02-27  John David Anglin  <dave.anglin@bell.net>
15927         [BZ #18068]
15928         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15929         to 00100000.
15931 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15933         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15935 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15937         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15938         (__kernel_standard): Use CSTR macro when setting exc.name.
15939         * sysdeps/ieee754/Makefile [$(subdir) = math]
15940         (CFLAGS-k_standard.c): Remove variable.
15942         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15943         setting p and q from "else if" to "else".
15944         (qzero): Likewise.
15945         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15946         (qone): Likewise.
15947         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15948         (qzerof): Likewise.
15949         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15950         (qonef): Likewise.
15951         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15952         (qzero): Likewise.
15953         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15954         (qone): Likewise.
15956         [BZ #18038]
15957         [BZ #18039]
15958         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15959         return pi/2 for arguments below 0x1p-113L.
15960         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15961         return pi/2 for arguments below 0x1p-106L.
15962         * math/auto-libm-test-in: Add more tests of acos.
15963         * math/auto-libm-test-out: Regenerated.
15965         [BZ #16351]
15966         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15967         (MO): New macro.
15968         (__ieee754_asin): Force underflow exception for results with small
15969         absolute value.
15970         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15971         (MO): New macro.
15972         (__ieee754_asinf): Force underflow exception for results with
15973         small absolute value.
15974         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15975         (__ieee754_asin): Force underflow exception for results with small
15976         absolute value.
15977         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15978         (__ieee754_asinf): Force underflow exception for results with
15979         small absolute value.
15980         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15981         (__ieee754_asinl): Force underflow exception for results with
15982         small absolute value.
15983         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15984         (__ieee754_asinl): Force underflow exception for results with
15985         small absolute value.
15986         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15987         (__ieee754_asinl): Force underflow exception for results with
15988         small absolute value.
15989         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15990         Include <math.h>.
15991         * math/auto-libm-test-in: Do not mark underflow exceptions as
15992         possibly missing for bug 16351.
15993         * math/auto-libm-test-out: Regenerated.
15995         [BZ #18030]
15996         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15997         of power of 2 down when low part has opposite sign.
15998         * math/libm-test.inc (logb_test_data): Add more tests.
16000 2015-02-26  Andreas Schwab  <schwab@suse.de>
16002         [BZ #18032]
16003         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16004         over collating symbol inside a bracket expression.  Minor cleanup.
16005         * posix/tst-fnmatch3.c (do_test): Add test case.
16007 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16009         [BZ #18029]
16010         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16011         Adjust exponent of power of 2 down when low part has opposite
16012         sign.
16013         * math/libm-test.inc (ilogb_test_data): Add more tests.
16015 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
16017         [BZ #15969]
16018         * locale/findlocale.c (_nl_find_locale): Fix constness error in
16019         the previous change.
16021         [BZ #15969]
16022         * locale/findlocale.c (_nl_find_locale): Retry archive search
16023         after alias expansion.
16025 2015-02-25  Roland McGrath  <roland@hack.frob.com>
16027         * iconv/tst-iconv3.c (main): Converted to ...
16028         (do_test): ... this.
16029         (TEST_FUNCTION): New macro.
16030         Include test-skeleton.c.
16032         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16033         (convert): Make function static.
16034         (test_unalign): Likewise.  Add const to argument pointee types.
16035         (main): Replace with static function do_test.
16036         Print "Succeeded." only if RET is zero.
16037         (TEST_FUNCTION): New macro.
16038         Include test-skeleton.c.
16040         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16041         returns a null pointer.
16043 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16045         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16046         to __memcpy_ppc only for static builds.
16048 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
16050         [BZ #18020]
16051         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16052         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16053         * math/auto-libm-test-in: Add more tests of asinh.
16054         * math/auto-libm-test-out: Regenerated.
16055         * sysdeps/i386/fpu/libm-test-ulps: Update.
16056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16058 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
16060         [BZ #15850]
16061         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16062         and ip6_mtuinfo definitions here.
16063         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16064         in this define too.  Update comment.
16066 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
16068         * elf/sprof.c (load_shobj): Tweak error message to match others.
16070 2015-02-24  Kevin Easton  <kevin@guarana.org>
16072         [BZ #16145] (partial fix)
16073         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16074         to reduce lock contention.
16076 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
16078         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16079         (struct timex): Update time comment.
16080         (ADJ_SETOFFSET): Define.
16082 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16084         [BZ #18019]
16085         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16086         2**56 not 2**28 as threshold for log (2x) formula.
16087         * math/auto-libm-test-in: Add more tests of acosh.
16088         * math/auto-libm-test-out: Regenerated.
16089         * sysdeps/i386/fpu/libm-test-ulps: Update.
16090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16092 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16094         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16095         parenthesis around the buf assignment.
16096         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16098 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16100         [BZ #16783]
16101         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16102         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16103         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16104         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16105         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16106         * math/libm-test.inc (scalb_test_data): Add more tests.
16108 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16110         [BZ #17916]
16111         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16112         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16114 2015-02-24  Eric Rannaud  <e@nanocritical.com>
16116         [BZ #17523]
16117         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16118         * io/bits/fcntl2.h (open): Use it.
16119         (openat): Likewise.
16120         * io/open.c (__libc_open): Likewise.
16121         * io/open64.c (__libc_open64): Likewise.
16122         * io/open64_2.c (__open64_2): Likewise.
16123         * io/open_2.c (__open_2): Likewise.
16124         * io/openat.c (__openat): Likewise.
16125         * io/openat64.c (__openat64): Likewise.
16126         * io/openat64_2.c (__openat64_2): Likewise.
16127         * io/openat_2.c (__openat_2): Likewise.
16128         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16129         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16130         * sysdeps/posix/open64.c (__libc_open64): Likewise.
16131         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16132         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16133         (__open_nocancel): Likewise.
16134         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16135         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16136         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16138 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16140         [BZ #14841]
16141         * resolv/gethnamaddr.c (getanswer): Skip logging if
16142         RES_USE_DNSSEC is set.
16143         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16145 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16147         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16149 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
16151         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16152         201304L, for Unicode 7.
16154 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
16156         [BZ #17836]
16157         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16158         shared library.  Add gmon-start.os otherwise.
16159         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16160         $(objpfx)gmon-start.os if builing shared library.
16161         ($(objpfx)g$(static-start-installed-name)): Likewise.
16163 2015-02-23  Andreas Schwab  <schwab@suse.de>
16165         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16167 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16169         [BZ #17269]
16170         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16171         (enlarge_userbuf): Likewise.
16173 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16175         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16176         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16177         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16178         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16180 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16182         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16183         expression inside statement expression.
16185 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16187         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16188         <sysdeps/nptl/lowlevellock.h> and remove macros and
16189         functions that are now defined there.
16190         (SYS_futex): Remove.
16191         (lll_compare_and_swap): Remove.
16192         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16194 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16196         [BZ #17999]
16197         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16198         instead of scandirat.
16199         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16200         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16201         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16202         __scandirat.
16203         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16204         (__scandirat): Declare.  Use libc_hidden_proto.
16205         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16206         Remove variable.
16207         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16209 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16211         [BZ #15319]
16212         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16213         (MO): New macro.
16214         (__ieee754_atan2): For results with small absolute value, force
16215         underflow exception and remove excess range and precision from
16216         return value.
16217         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16218         (MO): New macro.
16219         (__ieee754_atan2f): For results with small absolute value, force
16220         underflow exception and remove excess range and precision from
16221         return value.
16222         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16223         (MO): New macro.
16224         (__atan): For results with small absolute value, force underflow
16225         exception and remove excess range and precision from return value.
16226         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16227         (MO): New macro.
16228         (__atanf): For results with small absolute value, force underflow
16229         exception and remove excess range and precision from return value.
16230         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16231         <math.h>.
16232         (__ieee754_atan2): Force underflow exception for results with
16233         small absolute value.
16234         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16235         <math_private.h>.
16236         (atan): Force underflow exception for results with small absolute
16237         value.
16238         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16239         (__atanf): Force underflow exception for results with small
16240         absolute value.
16241         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16242         <math.h>.
16243         (__atanl): Force underflow exception for results with small
16244         absolute value.
16245         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16246         (__atanl): Force underflow exception for results with small
16247         absolute value.
16248         * sysdeps/x86/fpu/bits/mathinline.h
16249         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16250         (__ieee754_atan2): Only define inline for long double.
16251         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16252         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16253         * math/auto-libm-test-in: Do not mark underflow exceptions as
16254         possibly missing for bug 15319.  Add more tests of atan2.
16255         * math/auto-libm-test-out: Regenerated.
16256         * math/libm-test.inc (casin_test_data): Do not mark underflow
16257         exceptions as possibly missing for bug 15319.
16258         (casinh_test_data): Likewise.
16259         * sysdeps/i386/fpu/libm-test-ulps: Update.
16261 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16263         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16264         * sysdeps/mips/bits/endian.h: Fix comments.
16266 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16268         [BZ #17996]
16269         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16270         (hdestroy_r): Likewise.
16271         (hsearch_r): Likewise.
16272         (__hcreate_r): Declare and use libc_hidden_proto.
16273         (__hdestroy_r): Likewise.
16274         (__hsearch_r): Likewise.
16275         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16276         (hcreate): Call __hcreate_r instead of hcreate_r.
16277         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16278         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16279         as weak alias of __hcreate_r.
16280         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16281         __hdestroy_r.
16282         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16283         __hsearch_r.
16284         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16285         Remove variable.
16286         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16287         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16288         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16289         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16291 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16293         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16294         arena_lock into a single arena_get.
16296 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16298         * dl-reloc.c: Inlucde libc-internal.h.
16299         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16300         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16301         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16302         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16303         (grow_heap): Likewise.
16304         * malloc/malloc.c: Include libc-internal.h.
16305         (do_check_malloc): Call powerof2.
16306         (sysmalloc): Use pagesize. Call ALIGN_UP.
16307         (systrim): Use pagesize.
16308         (mremap_chunk): Use pagesize. Call ALIGN_UP.
16309         (__libc_valloc): Use pagesize.
16310         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16312 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16314         [BZ #17991]
16315         * include/sys/resource.h (__getrlimit64): Declare.  Use
16316         libc_hidden_proto.
16317         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16318         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
16319         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16320         getrlimit64.
16321         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16322         __getrlimit64.
16323         [!getrlimit64] (getrlimit64): Define as weak alias of
16324         __getrlimit64.  Use libc_hidden_weak.
16325         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16326         using __getrlimit64 not __new_getrlimit64.
16327         (__GI_getrlimit64): Likewise.
16328         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16329         Likewise.
16330         (__GI_getrlimit64): Likewise.
16331         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16333         (getrlimit): Add __getrlimit64 alias.
16334         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16335         Likewise.
16336         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16337         Remove variable.
16338         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16339         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16341 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16343         * libio/fileops.c: Add missing sys/mman.h
16344         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16346 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16348         * manual/math.texi (Errors in Math Functions): Clarify goals
16349         regarding inexact and underflow exceptions.
16351 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16353         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16354         * sysdeps/mips/memset.S: Ditto.
16356 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16358         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16360 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16362         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16363         (__v1longjmp): Remove versioned symbol.
16364         (__v1siglongjmp): Remove alias and versioned symbol.
16365         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16366         (__v2siglongjmp): Likewise.
16368 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16370         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16372 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
16374         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16376 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16378         [BZ #17987]
16379         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16380         zero result does not depend on the sign resulting from
16381         subtraction.
16382         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16383         Likewise.
16384         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16385         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16386         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16387         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16388         * math/libm-test.inc (remquo_test_data): Add more tests.
16390 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16392         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16393         Problem reported by J William Piggott.
16395 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16397         [BZ #17978]
16398         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16399         products 4 * y and 2 * y where those would overflow.
16400         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16401         Likewise.
16402         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16403         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16404         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16405         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16406         * math/libm-test.inc (remquo_test_data): Add more tests.
16408         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16410         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16411         [defined _COMPILING_NEWLIB].
16412         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16413         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16415         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16416         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16418 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16420         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16421         acquired.
16423 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16425         [BZ #17792]
16426         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16427         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16428         HOST_STACK_END_ADDR): Likewise.
16430 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16432         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16433         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16434         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16436 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16438         * sysdeps/generic/c++-types.data: New file.
16439         * sysdeps/generic/ld.abilist: New file.
16440         * sysdeps/generic/libBrokenLocale.abilist: New file.
16441         * sysdeps/generic/libanl.abilist: New file.
16442         * sysdeps/generic/libc.abilist: New file.
16443         * sysdeps/generic/libcrypt.abilist: New file.
16444         * sysdeps/generic/libdl.abilist: New file.
16445         * sysdeps/generic/libm.abilist: New file.
16446         * sysdeps/generic/libpthread.abilist: New file.
16447         * sysdeps/generic/libresolv.abilist: New file.
16448         * sysdeps/generic/librt.abilist: New file.
16450 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16452         [BZ #17569]
16453         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16454         Compute absolute value of x as modified by fmod, not original
16455         value of x.
16456         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16457         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16458         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16459         RUN_TEST_ffI_f1_mod8.
16460         (remquo_test_data): Add more tests.
16462 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16464         * sysdeps/init_array/pt-crti.S: New file.
16466 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16468         [BZ #17967]
16469         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16470         __builtin_fmaf instead of relying on contraction of a * b + c.
16472 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16474         [BZ #17969]
16475         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16476         node.
16478 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16480         [BZ #17964]
16481         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16482         __builtin_fma instead of relying on contraction of a * b + c.
16484 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16486         * Makeconfig (ASFLAGS): Add -Werror=undef.
16487         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16488         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16489         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16491         * Makeconfig (after-link): New variable.
16492         (+link-pie, +link-pie-tests): Use it.
16493         (+link-static, +link-static-tests): Likewise.
16494         (+link, +link-tests): Likewise.
16495         * Makerules (build-module, build-module-asneeded): Likewise.
16496         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16497         Likewise.
16498         * elf/Makefile ($(objpfx)ld.so): Likewise.
16500 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16502         [BZ #17965]
16503         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16504         both struct timeval and struct timespec.
16506 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16508         [BZ #16560]
16509         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16510         and redefine.
16511         (__ieee754_exp2l): Do not multiply small fractional parts by
16512         M_LN2l.
16513         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16514         small argument.
16515         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16516         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16517         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16518         * math/auto-libm-test-in: Add more tests of exp2.
16519         * math/auto-libm-test-out: Regenerated.
16521 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16523         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16524         unaligned path.
16526 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16528         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16529         little endian.
16531 2015-02-12  Andreas Schwab  <schwab@suse.de>
16533         [BZ #15790]
16534         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16535         Filter out elision flags from value returned in kind.
16536         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16537         * nptl/tst-pthread-mutexattr.c: New file.
16539 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16541         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16542         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16543         into gnu-gnu, and update comment to refer to abi-tags.
16545 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16547         [BZ #15467]
16548         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16549         (__sincos): Set errno to EDOM for infinite argument.
16550         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16551         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16552         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16553         (__sincosl): Set errno to EDOM for infinite argument.
16554         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16555         (__sincosl): Set errno to EDOM for infinite argument.
16556         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16557         (__sincosl): Set errno to EDOM for infinite argument.
16558         * math/libm-test.inc (sincos_test_data): Test errno setting.
16560 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16562         * string/strxfrm_l.c: Remove #define STRCMP.
16563         * string/strcoll_l.c: Remove #define STRLEN.
16564         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16565         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16567 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16569         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16570         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16571         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16572         * sysdeps/mips/mips64/Makefile: ... here.
16573         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16574         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16575         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16576         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16577         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16578         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16579         * sysdeps/mips/mips64/n64/Implies: Likewise.
16581 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16583         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16584         <sys/time.h>, <string.h>, and <errno.h>.
16585         (dest_offset, dest_address, value, zero): Remove unused variables.
16586         (ldouble): Remove typedef.
16587         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16588         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16589         1).  Fix code style.
16590         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16591         (check): Function removed.
16592         (CHECK): New macro.
16593         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16594         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16595         Don't call set_sigaction_FP and remove_sigaction_FP here.
16596         (ldouble_test): Just use 'long double' as macro argument, no need for
16597         the 'ldouble' typedef.
16598         (do_test): Set up SIGFPE handler at start, using plain signal rather
16599         than sigaction.  Fix code style.
16601 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16603         [BZ #17949]
16604         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16605         jump label.
16607 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16609         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16610         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16612         * sysdeps/powerpc/configure.ac: Remove file.
16613         * sysdeps/powerpc/configure: Likewise.
16615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16616         [sysdep_routines]: Remove wordcopy-power6 object.
16617         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16618         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16620         (__memmove_ppc32): Likewise.
16621         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16622         file.
16623         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16624         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16625         Remove preprocessor.
16627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16628         [sysdep_routines]: Remove wide chars objects.
16629         [wcsmbs]: New rule for wide char objects.
16631         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16632         Remove wordcopy-power6 obejct.
16633         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16634         Use local call for wordcopy and memcpy symbols.
16635         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16636         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16637         implementation for loader.
16638         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16640         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16641         Remove wordcopy-power7 object.
16642         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16643         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16644         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16645         (_wordcopy_fwd_dest_aligned): Likewise.
16646         (_wordcopy_bwd_aligned): Likewise.
16647         (_wordcopy_bwd_dest_aligned): Likewise.
16649         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16650         Rewrite to call __memmove_ppc instead of include default
16651         implementation.
16653         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16654         Remove wide chars objects.
16655         [wcsmbs]: New rule for wide char objects.
16657 2015-02-09  Andreas Schwab  <schwab@suse.de>
16659         [BZ #17912]
16660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16661         in terms of __O_DIRECTORY.
16663 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16665         * time/getdate.c: Include <stdbool.h>.
16666         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16667         call PTR_MANGLE.
16668         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16669         PTR_DEMANGLE.
16671 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16673         Add ersatz _Static_assert on older C hosts
16674         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16675         pre-C11 C platform that is not known to support _Static_assert.
16677 2015-02-07  Richard Braun  <rbraun@sceen.net>
16679         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16680         sigstate.
16681         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16683 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16685         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16686         priority against unexistent AIO_PRIO_DELTA_MAX.
16687         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16688         instead of int.
16689         * misc/fchflags.c (fchflags): Likewise.
16690         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16691         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16692         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16693         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16694         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16695         Declare macros.
16696         [__USE_MISC] (chflags, fchflags): Declare functions.
16697         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16698         EINVAL when nfds is greater than FD_SETSIZE.
16699         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16700         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16701         45.
16702         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16703         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16704         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16705         MACH_RCV_TIMED_OUT.
16706         * hurd/hurd/signal.h (_hurd_self_sigstate,
16707         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16708         Explicit casts from void *.
16709         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16710         * abi-tags: Rename gnu-gnu os into gnu.
16712         [BZ #4719]
16713         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16714         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16715         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16716         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16717         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16718         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16720         [BZ #17944]
16721         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16722         duplicates ADDR->sun_path with sockaddr LEN limitation.
16723         * sysdeps/mach/hurd/connect.c: Include <string.h>
16724         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16725         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16726         * sysdeps/mach/hurd/sendto.c: Likewise.
16727         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16728         implementing it by hand.
16730 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16732         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16733         Use sfi_breg on ldr.
16734         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16735         Likewise.
16737         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16738         it's defined.
16739         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16740         Test SIGSETXID only if it's defined.
16742         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16744         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16745         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16747         * nptl/tst-align2.c: Moved ...
16748         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16749         * nptl/Makefile (tests): Remove tst-align2.
16750         * sysdeps/unix/sysv/linux/Makefile
16751         [$(subdir) = nptl] (tests): Add tst-align-clone.
16752         * nptl/tst-getpid1.c: Moved ...
16753         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16754         * nptl/tst-getpid2.c: Moved ...
16755         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16756         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16757         * sysdeps/unix/sysv/linux/Makefile
16758         [$(subdir) = nptl] (tests): ... here.
16759         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16760         * sysdeps/unix/sysv/linux/Makefile
16761         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16763         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16764         Drop trailing \n from perror argument.  Use return rather than exit.
16766         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16767         on [SA_SIGINFO].
16768         * nptl/tst-cancel21.c (do_test): Likewise.
16769         * debug/tst-backtrace6.c: Include <signal.h> first thing.
16770         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16771         [!SA_SIGINFO]: Make it a stub test.
16773         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16774         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16776         * posix/tst-getlogin.c: Move to ...
16777         * login/tst-getlogin.c: ... here.
16778         * posix/Makefile (tests): Move tst-getlogin to ...
16779         * login/Makefile (tests): ... here.
16781         * libio/tst-atime.c (do_test): Move local variables SV and E
16782         inside [ST_NOATIME] conditional.
16784         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16786         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16788         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16789         (wait_code): New function replaces macro.
16790         Call nanosleep rather than syscall.
16792         * nptl/pt-system.c: Rewritten.  Put everything under
16793         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16794         Use IFUNC to redirect when possible.
16796         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16797         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16798         Use IFUNC to redirect when possible.
16800         * nptl/pt-fork.c: Rewritten.  Put everything under
16801         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16802         Use IFUNC to redirect when possible.
16803         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16805         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16806         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16807         unconditionally nowadays.  This included the only reference to
16808         __vdso_clock_gettime that appears outside libc proper.
16809         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16810         Remove version set (containing only __vdso_clock_gettime).
16811         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16812         Add attribute_hidden.
16813         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16814         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16815         libc_hidden_data_def.
16816         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16817         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16819         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16820         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16821         setrpcent, and getrpcport to ...
16822         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16823         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16824         getrpcbynumber_r, and getrpcent_r to ...
16825         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16826         * inet/getrpcbyname.c: Moved ...
16827         * sunrpc/getrpcbyname.c: ... here.
16828         * inet/getrpcbyname_r.c: Moved ...
16829         * sunrpc/getrpcbyname_r.c: ... here.
16830         * inet/getrpcbynumber.c: Moved ...
16831         * sunrpc/getrpcbynumber.c: ... here.
16832         * inet/getrpcbynumber_r.c: Moved ...
16833         * sunrpc/getrpcbynumber_r.c: ... here.
16834         * inet/getrpcent.c: Moved ...
16835         * sunrpc/getrpcent.c: ... here.
16836         * inet/getrpcent_r.c: Moved ...
16837         * sunrpc/getrpcent_r.c: ... here.
16838         * inet/Makefile (routines): Move those to ...
16839         * sunrpc/Makefile (routines): ... here.
16840         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16841         the $(subdirs) list.
16842         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16843         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16844         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16845         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16847         * elf/Makefile (routines): Include $(all-dl-routines), not just
16848         $(dl-routines).
16849         (rtld-routines): Likewise.  Use = rather than :=.
16850         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16851         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16852         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16853         * sysdeps/arm/Makefile: Likewise.
16854         * sysdeps/i386/Makefile: Likewise.
16855         * sysdeps/x86_64/Makefile: Likewise.
16856         * sysdeps/hppa/Makefile [$(subdir) = elf]
16857         (sysdep_routines, sysdep-rtld-routines): Don't add
16858         $(sysdep-dl-routines) to these.
16859         * sysdeps/ia64/Makefile: Likewise.
16860         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16861         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16862         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16863         Don't add dl-static to these; sysdep-dl-routines alone is enough.
16864         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16865         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16866         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16867         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16868         * sysdeps/powerpc/Makefile [$(subdir) = elf]
16869         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16870         these; sysdep-dl-routines alone is enough.
16872 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
16874         [BZ #17932]
16875         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16876         where multiplication results in zero and third argument is finite
16877         and nonzero.
16878         * math/auto-libm-test-in: Add more tests of fma.
16879         * math/auto-libm-test-out: Regenerated.
16881         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16882         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16883         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16884         (_FP_CMP_EQ): Likewise.
16885         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16887         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16888         extra argument CHECK_NAN.  Redefine as wrapper around
16889         _FP_EXTEND_CNAN.
16891 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
16893         * version.h (RELEASE): Set to "stable".
16894         (VERSION): Set to "2.21"
16895         * include/features.h (__GLIBC_MINOR__): Set to 21.
16897         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16899 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16900             Paul Eggert  <eggert@cs.ucla.edu>
16902         [BZ #16618]
16903         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16904         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16905         size in bytes. Store needed elements in wpmax. Use needed size
16906         in bytes for extend_alloca.
16908 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
16910         * manual/install.texi: Latest tested versions are GCC 4.9.2,
16911         binutls 2.25, and texinfo 5.2.
16912         * INSTALL: Regenerate.
16913         * sysdeps/nios2/configure: Regenerate.
16914         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16915         * manual/contrib.texi: Update.
16916         * po/be.po: Update.
16917         * po/bg.po: Update.
16918         * po/ca.po: Update.
16919         * po/cs.po: Update.
16920         * po/da.po: Update.
16921         * po/de.po: Update.
16922         * po/el.po: Update.
16923         * po/eo.po: Update.
16924         * po/es.po: Update.
16925         * po/fi.po: Update.
16926         * po/fr.po: Update.
16927         * po/gl.po: Update.
16928         * po/hr.po: Update.
16929         * po/hu.po: Update.
16930         * po/ia.po: Update.
16931         * po/id.po: Update.
16932         * po/it.po: Update.
16933         * po/ja.po: Update.
16934         * po/ko.po: Update.
16935         * po/lt.po: Update.
16936         * po/nb.po: Update.
16937         * po/nl.po: Update.
16938         * po/pl.po: Update.
16939         * po/pt_BR.po: Update.
16940         * po/ru.po: Update.
16941         * po/rw.po: Update.
16942         * po/sk.po: Update.
16943         * po/sl.po: Update.
16944         * po/sv.po: Update.
16945         * po/tr.po: Update.
16946         * po/uk.po: Update.
16947         * po/vi.po: Update.
16948         * po/zh_CN.po: Update.
16949         * po/zh_TW.po: Update.
16951         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16952         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16953         * sysdeps/hppa/dl-irel.h: Remove #warning.
16954         * sysdeps/hppa/entry.h: Provide prototype for
16955         __canonicalize_funcptr_for_compare and cast argument.
16956         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16957         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16958         * sysdeps/hppa/sotruss-lib.c: New file.
16959         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16960         (atomic_compare_and_exchange_val_acq): Use __typeof__.
16961         (atomic_compare_and_exchange_bool_acq): Likewise.
16962         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16963         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16965         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16966         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16967         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16969 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
16971         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16972         called function in non-PIC case.
16974 2015-01-31  David S. Miller  <davem@davemloft.net>
16976         * sysdeps/sparc/sparc32/bits/atomic.h
16977         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16978         unlock not after it.
16979         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16980         volatile register usage warnings from the compiler.
16982         * sysdeps/sparc/nptl/sem_init.c: Delete.
16983         * sysdeps/sparc/nptl/sem_post.c: Delete.
16984         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16985         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16986         * sysdeps/sparc/sparc32/sem_init.c: New file.
16987         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16988         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16989         padding explicitly initialized.
16990         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16991         padding for in-semaphore spinlock.
16992         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16993         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16994         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16995         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16996         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16997         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16998         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16999         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17000         version.
17001         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17002         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17004 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17006         [BZ #17801]
17007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17008         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17009         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17010         New.
17011         (index_AVX_Fast_Unaligned_Load): Likewise.
17012         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17013         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17014         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17015         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17016         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17017         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17018         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17019         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17020         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17022 2015-01-29  Andreas Schwab  <schwab@suse.de>
17024         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17026 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
17028         [BZ #17892]
17029         * nscd/nscd_stat.c (send_stats): Initialize DATA.
17031 2015-01-28  Martin Sebor  <msebor@redhat.com>
17033         * math/README.libm-test: Clarify. Add "How to read the test output."
17035 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
17037         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17038         Define to 0.
17040 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
17042         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17043         (__HAVE_64B_ATOMICS): Define to 0.
17045 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17047         [BZ #17885]
17048         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17049         value to set as new flag.
17051         [BZ #16576]
17052         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17053         and use _ARCH_PPCSQ instead.
17054         (__ieee754_sqrt): Likewise.
17055         (__ieee754_sqrtf): Likewise.
17056         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17057         _ARCH_PPCSQ is defined.
17058         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17059         fsqrt instruction.
17060         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17061         _ARCH_PPCSQ is defined.
17062         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17063         fsqrts instruction.
17064         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17066 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17068         * iconv/loop.c: Suppress array out of bound warning caused by GCC
17069         bug (GCC BZ #64739).
17071 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
17073         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17074         Mark _retval as used.
17075         (lll_futex_wake_unlock): Likewise.
17076         (lll_futex_timed_wait_requeue_pi): Likewise.
17078         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17079         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17080         register variables.
17082         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17083         libm_hidden_def.
17085         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17086         (__bswap_64): Mark as __always_inline.
17088 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
17090         [BZ #15378]
17091         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17092         when none of the search directories exist.
17094 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17096         [BZ #17869]
17097         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17098         power8 in .machine directive.
17100         [BZ #17868]
17101         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17102         set dependency from opd value.
17104 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17107         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17108         architecture.
17110 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17112         [BZ #17870]
17113         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17114         with uint64_t.
17115         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17116         (uint64_t) 1.
17117         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17118         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17119         Replace 1UL with (uint64_t) 1.
17120         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17121         int with uint64_t.
17123 2015-01-23  Roland McGrath  <roland@hack.frob.com>
17125         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17126         (if_freenameindex): Likewise.
17128         * resource/getrlimit64.c: Add missing libc_hidden_def.
17130 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
17132         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17133         __label__.
17134         (_FP_FMA): Likewise.
17135         (_FP_TO_INT_ROUND): Likewise.
17136         (_FP_FROM_INT): Likewise.
17138 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17140         [BZ #16418]
17141         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17142         Make code racy and cancel safe.
17144 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
17146         * sysdeps/arm/unwind-resume.h: Fix copyright year.
17147         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17148         attribution.
17150         * pwd/tst-getpw.c: Rewrite.
17152         [BZ #17702]
17153         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17154         (modules-names): Add moddummy1 and moddummy2.
17155         ($(objpfx)tst-rec-dlopen): Define.
17156         * dlfcn/moddummy1.c: New file.
17157         * dlfcn/moddummy2.c: New file.
17158         * dlfcn/tst-rec-dlopen.c: New file.
17159         * elf/dl-cache.c (_dl_load_cache_lookup):
17160         Return char*. Copy result with alloca/strcpy/strdup.
17161         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17162         returns char*. Free cached. If not saving realname
17163         free cached.
17164         * elf/dl-open.c (dl_open_worker): Do not assert that
17165         _r_debug->r_state is RT_CONSISTENT.
17166         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17167         returns char*.
17169 2015-01-21  Torvald Riegel  <triegel@redhat.com>
17170             Carlos O'Donell  <carlos@redhat.com>
17172         [BZ #12674]
17173         * nptl/sem_waitcommon.c: New file.
17174         * nptl/sem_wait.c: Include sem_waitcommon.c.
17175         (__sem_wait_cleanup, do_futex_wait): Remove.
17176         (__new_sem_wait): Adapt.
17177         (__new_sem_trywait): New function.
17178         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17179         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17180         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17181         (sem_timedwait): Adapt.
17182         * nptl/sem_post.c (__new_sem_post): Adapt.
17183         (futex_wake): New function.
17184         (__old_sem_post): Add release MO fence.
17185         * nptl/sem_open.c (sem_open): Adapt.
17186         * nptl/sem_init.c (__new_sem_init): Adapt.
17187         (futex_private_if_supported): New function.
17188         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17189         (__old_sem_getvalue): Add using previous code.
17190         * sysdeps/nptl/internaltypes.h: Adapt.
17191         * nptl/tst-sem13.c (do_test): Adapt.
17192         * nptl/tst-sem11.c (main): Adapt.
17193         * nptl/sem_trywait.c: Remove.
17194         * nptl/DESIGN-sem.txt: Remove.
17195         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17196         (gen-as-const-headers): Remove structsem.sym.
17197         * nptl/structsem.sym: Remove.
17198         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17199         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17200         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17201         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17202         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17203         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17204         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17205         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17206         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17207         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17208         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17209         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17210         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17211         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17212         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17213         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17214         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17215         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17216         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17217         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17218         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17219         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17221 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17223         * INSTALL: Regenerated.
17225         * po/libc.pot: Regenerated.
17227 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17228             Sandra Loosemore  <sandra@codesourcery.com>
17229             Andrew Jenner  <andrew@codesourcery.com>
17230             Joseph Myers  <joseph@codesourcery.com>
17231             Nathan Sidwell  <nathan@codesourcery.com>
17233         * NEWS: Mention new Nios II port.
17234         * sysdeps/nios2/Implies: New file.
17235         * sysdeps/nios2/Makefile: New file.
17236         * sysdeps/nios2/Subdirs: New file.
17237         * sysdeps/nios2/Versions: New file.
17238         * sysdeps/nios2/__longjmp.S: New file.
17239         * sysdeps/nios2/abort-instr.h: New file.
17240         * sysdeps/nios2/backtrace.c: New file.
17241         * sysdeps/nios2/bits/endian.h: New file.
17242         * sysdeps/nios2/bits/fenv.h: New file.
17243         * sysdeps/nios2/bits/link.h: New file.
17244         * sysdeps/nios2/bits/setjmp.h: New file.
17245         * sysdeps/nios2/bsd-_setjmp.S: New file.
17246         * sysdeps/nios2/bsd-setjmp.S: New file.
17247         * sysdeps/nios2/configure: New generated file.
17248         * sysdeps/nios2/configure.ac: New file.
17249         * sysdeps/nios2/crti.S: New file.
17250         * sysdeps/nios2/crtn.S: New file.
17251         * sysdeps/nios2/dl-init.c: New file.
17252         * sysdeps/nios2/dl-machine.h: New file.
17253         * sysdeps/nios2/dl-sysdep.h: New file.
17254         * sysdeps/nios2/dl-tls.h: New file.
17255         * sysdeps/nios2/dl-trampoline.S: New file.
17256         * sysdeps/nios2/gccframe.h: New file.
17257         * sysdeps/nios2/gmp-mparam.h: New file.
17258         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17259         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17260         * sysdeps/nios2/ldsodefs.h: New file.
17261         * sysdeps/nios2/libc-tls.c: New file.
17262         * sysdeps/nios2/libm-test-ulps: New file.
17263         * sysdeps/nios2/machine-gmon.h: New file.
17264         * sysdeps/nios2/math-tests.h: New file.
17265         * sysdeps/nios2/math_private.h: New file.
17266         * sysdeps/nios2/memusage.h: New file.
17267         * sysdeps/nios2/nptl/Makefile: New file.
17268         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17269         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17270         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17271         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17272         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17273         * sysdeps/nios2/nptl/tls.h: New file.
17274         * sysdeps/nios2/preconfigure: New file.
17275         * sysdeps/nios2/s_fma.c: New file.
17276         * sysdeps/nios2/s_fmaf.c: New file.
17277         * sysdeps/nios2/setjmp.S: New file.
17278         * sysdeps/nios2/sfp-machine.h: New file.
17279         * sysdeps/nios2/sotruss-lib.c: New file.
17280         * sysdeps/nios2/stackguard-macros.h: New file.
17281         * sysdeps/nios2/stackinfo.h: New file.
17282         * sysdeps/nios2/start.S: New file.
17283         * sysdeps/nios2/sysdep.h: New file.
17284         * sysdeps/nios2/tls-macros.h: New file.
17285         * sysdeps/nios2/tst-audit.h: New file.
17286         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17287         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17288         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17289         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17290         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17291         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17292         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17293         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17294         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17295         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17296         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17297         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17298         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17299         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17300         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17301         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17302         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17303         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17304         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17305         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17306         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17307         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17308         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17309         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17310         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17311         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17312         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17313         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17314         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17315         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17316         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17317         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17318         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17319         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17320         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17321         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17322         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17323         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17324         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17325         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17326         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17327         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17328         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17329         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17331 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17333         [BZ #17844]
17334         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17335         (getutent): Use weak_alias in non SHARED case
17336         and default_symbol_version in SHARED case.
17337         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17338         (getutent_r, pututline): Likewise.
17339         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17340         (getutid): Likewise.
17341         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17342         (getutid_r): Likewise.
17343         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17344         (getutline): Likewise.
17345         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17346         (getutline_r): Likewise.
17347         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17348         (updwtmp): Likewise.
17350 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17352         [BZ #17848]
17353         * sysdeps/s390/s390-32/memcmp.S
17354         (memcmp_g5): Rename to __memcmp_g5.
17355         * sysdeps/s390/s390-32/memcpy.S
17356         (memcpy_g5): Rename to __memcpy_g5.
17357         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17358         (memcpy_mvcle) Rename to __memcpy_mvcle.
17359         * sysdeps/s390/s390-32/memset.S
17360         (memset_g5): Rename to __memset_g5.
17361         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17362         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17363         and use prefixed functions.
17364         * sysdeps/s390/s390-32/multiarch/memcmp.S
17365         (memcmp_z196): Rename to __memcmp_z196.
17366         (memcmp_z10): Rename to __memcmp_z10.
17367         (memcmp): Set alias to __memcmp_g5.
17368         (bcmp): Set alias to __memcmp_g5.
17369         * sysdeps/s390/s390-32/multiarch/memcpy.S
17370         (memcpy_z196): Rename to __memcpy_z196.
17371         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17372         (memcpy_z10): Rename to __memcpy_z10.
17373         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17374         (memcpy): Set alias to __memcpy_g5.
17375         * sysdeps/s390/s390-32/multiarch/memset.S
17376         (memset_z196): Rename to __memset_z196.
17377         Jump to __memset_mvcle instead of memset_mvcle.
17378         (memset_z10): Rename to __memset_z10.
17379         Jump to __memset_mvcle instead of memset_mvcle.
17380         (memset_mvcle) Rename to __memset_mvcle.
17381         (memset): Set alias to __memset_g5.
17382         * sysdeps/s390/s390-64/memcmp.S
17383         (memcmp_z900): Rename to __memcmp_z900.
17384         * sysdeps/s390/s390-64/memcpy.S
17385         (memcpy_z900): Rename to __memcpy_z900.
17386         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17387         (memcpy_mvcle) Rename to __memcpy_mvcle.
17388         * sysdeps/s390/s390-64/memset.S
17389         (memset_z900): Rename to __memset_z900.
17390         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17391         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17392         and use prefixed functions.
17393         * sysdeps/s390/s390-64/multiarch/memcmp.S
17394         (memcmp_z196): Rename to __memcmp_z196.
17395         (memcmp_z10): Rename to __memcmp_z10.
17396         (memcmp): Set alias to __memcmp_z900.
17397         (bcmp): Set alias to __memcmp_z900.
17398         * sysdeps/s390/s390-64/multiarch/memcpy.S
17399         (memcpy_z196): Rename to __memcpy_z196.
17400         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17401         (memcpy_z10): Rename to __memcpy_z10.
17402         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17403         (memcpy): Set alias to __memcpy_z900.
17404         * sysdeps/s390/s390-64/multiarch/memset.S
17405         (memset_z196): Rename to __memset_z196.
17406         Jump to __memset_mvcle instead of memset_mvcle.
17407         (memset_z10): Rename to __memset_z10.
17408         Jump to __memset_mvcle instead of memset_mvcle.
17409         (memset_mvcle) Rename to __memset_mvcle.
17410         (memset): Set alias to __memset_z900.
17412 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17414         [BZ #17748]
17415         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17416         __fesetenv instead of fesetenv.
17418 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17420         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17421         macro.
17423 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17425         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17426         regression on LE.
17428         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17429         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17430         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17431         strncmp-power8 object.
17432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17433         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17434         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17435         * NEWS: Update.
17437 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17438             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17440         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17441         trailing byte check.
17443 2015-01-13  David S. Miller  <davem@davemloft.net>
17445         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17447 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17449         * login/logout.c (logout): Use memset rather than bzero.
17450         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17451         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17452         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17453         (_gethtbyaddr): Likewise.
17454         * locale/programs/simple-hash.c (bcopy): Macro removed.
17456 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17458         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17459         Add strcmp-power8 object.
17460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17461         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17462         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17463         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17464         __strcmp_power8 implementation.
17465         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17466         * NEWS: Update.
17468         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17469         Add strncpy-power8 and stpncpy-power8 objects.
17470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17471         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17472         implementations.
17473         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17474         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17475         __stpncpy_power8 implementation.
17476         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17477         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17478         __strncpy_power8 implementation.
17479         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17480         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17481         * NEWS: Update.
17483         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17484         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17485         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17487         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17488         strncat-power8 object.
17489         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17490         __strcat_power8 implementation.
17491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17492         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17493         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17494         optimized strcat for power8.
17496         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17497         strcpy-power8 and stpcpy-power8 objects.
17498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17499         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17500         implementations.
17501         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17502         multiarch stpcpy implementation for POWER8.
17503         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17504         multiarch strcpy implementation for POWER8.
17505         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17506         __strcpy_power8 function.
17507         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17508         stpcpy for POWER8.
17509         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17510         strcpy for POWER8.
17511         * NEWS: Update.
17513 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17515         [BZ #16009]
17516         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17517         weights and rules. Use do_xfrm_cached if data fits in cache,
17518         do_xfrm otherwise.  Moved former main loop to...
17519         * (do_xfrm_cached): New function.
17520         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17521         find_idx, find_position and stack_push.
17522         * (find_idx): New function.
17523         * (find_position): Likewise.
17524         * localedata/sort-test.sh: Added test run for do_xfrm.
17525         * localedata/xfrm-test.c (main): Added command line option
17526         -nocache to run the test with strings that are too large for
17527         the STRXFRM cache.
17529 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17531         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17532         variable to lll_futex_wake call, not the value itself.
17534 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17536         [BZ #17803]
17537         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17538         twom64.  Adjust value to 0x1p-64L.
17539         (__scalblnl): Only return standard underflowing result for K <=
17540         -64 not K <= -63; adjust exponent for underflowing result by 64
17541         not 63.
17542         * math/libm-test.inc (scalbn_test_data): Add more tests.
17543         (scalbln_test_data): Likewise.
17545         [BZ #17834]
17546         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17547         0x1p63L.
17548         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17549         not HX.
17550         * math/libm-test.inc (scalbn_test_data): Add more tests.
17551         (scalbln_test_data): Likewise.
17553 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17554             Stefani Seibold  <stefani@seibold.net>
17556         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17557         (sysdep_routines): Add dl-vdso here, ...
17558         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17559         (sysdep_routines): ... not here.
17560         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17561         fallback when vDSO is not presented.
17562         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17563         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17564         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17565         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17566         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17567         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17568         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17569         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17570         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17571         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17572         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17573         fallback configurable symbol when vDSO is not available.
17574         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17575         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17576         be able to redefine fallback symbol when vDSO is not available.
17577         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17578         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17580 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17582         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17583         (TLS_INIT_TP): Add tm_capable initialization.
17584         (TLS_DEFINE_INIT_TP): Likewise.
17585         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17586         TCB.
17587         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17588         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17589         calculation.
17590         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17591         transactoion is lock elision is built and TCB tm_capable is set.
17592         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17594         (INTERNAL_SYSCALL_NCS): Likewise.
17595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17596         (INTERNAL_SYSCALL_NCS): Likewise.
17597         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17599         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17600         for powerpc.
17601         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17602         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17603         and remove it for 32 bits case.
17604         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17606         initialization.
17607         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17608         Disable lock elision with rdlocks if elision is not available.
17610         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17611         (sysdep_routines): Add lock elision objects.
17612         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17613         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17614         [pthread_mutex_t] (__elision): Add field.
17615         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17616         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17617         elision definitions for powerpc.
17618         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17619         implementation of lock elision for powerpc.
17620         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17621         implementation of timed lock elision for powerpc.
17622         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17623         implementation of trylock with lock elision for powerpc.
17624         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17625         implementaion of unlock for lock elision for powerpc.
17626         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17627         automatic enable lock elision for mutexes.
17628         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17629         transaction execution definitions for powerpc.
17630         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17631         definitions.
17632         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17633         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17634         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17635         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17636         * NEWS: Update.
17638 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17640         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17641         for #include of <shm-directory.h>.
17643 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17645         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17646         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17648 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17650         [BZ #17791]
17651         * NEWS: Mention bug fix.
17652         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17653         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17654         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17656 2015-01-09  Torvald Riegel <triegel@redhat.com>
17658         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17660 2015-01-09  Torvald Riegel <triegel@redhat.com>
17662         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17664 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17666         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17667         pointer and cast to uintptr_t.
17669 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17671         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17672         removed.
17673         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17675 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17677         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17678         of 0.
17680 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17682         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17683         <nptl/pthreadP.h> instead.
17684         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17686         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17687         already defined.
17688         [__SIGRTMIN] (init): Function removed.
17689         [__SIGRTMIN] (initialized): Variable removed.
17690         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17691         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17692         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17693         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17694         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17695         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17696         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17697         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17698         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17699         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17700         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17701         * sysdeps/nptl/allocrtsig.c: New file.
17702         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17703         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17704         * sysdeps/generic/testrtsig.h: File removed.
17706         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17707         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17709         * nptl/nptl-init.c (pthread_functions): Conditionalize
17710         .ptr__nptl_setxid initialization on [SIGSETXID].
17712         * sysdeps/nptl/sys/procfs.h: New file.
17713         * nptl_db/Makefile (headers): Add it.
17714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17716         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17717         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17718         * nptl/pthread_attr_setaffinity.c: Include it.
17719         * nptl/pthread_setattr_default_np.c: Likewise.
17720         * nptl/check-cpuset.h: New file.
17722 2015-01-08  Richard Henderson  <rth@redhat.com>
17724         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17725         (CFLAGS-tst-execstack-prog.c): Likewise.
17726         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17728 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17729             Sandra Loosemore  <sandra@codesourcery.com>
17730             Andrew Jenner  <andrew@codesourcery.com>
17731             Joseph Myers  <joseph@codesourcery.com>
17732             Nathan Sidwell  <nathan@codesourcery.com>
17734         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17735         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17736         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17737         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17738         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17739         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17740         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17741         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17742         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17743         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17744         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17745         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17746         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17747         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17748         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17749         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17750         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17752 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17754         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17755         timespec struct member in syscall macro.
17756         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17757         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17758         first timeval struct member in syscall macro.
17759         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17761 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17763         [BZ #17748]
17764         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17765         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17766         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17767         __feupdateenv and define as weak alias of __feupdateenv.  Use
17768         libm_hidden_weak.
17769         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17770         libm_hidden_def.
17771         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17772         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
17773         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17774         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17775         libm_hidden_def.
17776         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17777         __feupdateenv and define as weak alias of __feupdateenv.  Use
17778         libm_hidden_weak.
17779         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17780         libm_hidden_def.
17781         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17782         __feupdateenv and define as weak alias of __feupdateenv.  Use
17783         libm_hidden_weak.
17784         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17785         libm_hidden_def.
17786         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17787         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17788         (__feupdateenv): Likewise.
17789         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17790         __feupdateenv and define as weak alias of __feupdateenv.  Use
17791         libm_hidden_weak.
17792         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17793         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17794         libm_hidden_def.
17795         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17796         function.
17797         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17798         libm_hidden_def.
17799         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17800         __feupdateenv instead of feupdateenv.
17801         (default_libc_feupdateenv_test): Likewise.
17802         (libc_feresetround_ctx): Likewise.
17804 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17806         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17807         prototype.
17809 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17811         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17812         COLL_SYM in a couple of places to avoid uninitialized variable
17813         wanings on tilegx gcc 4.8.2.
17815 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17817         * sysdeps/aarch64/strcpy.S: New file.
17818         * sysdeps/aarch64/stpcpy.S: New file.
17819         * NEWS: Updated.
17821 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17823         * sysdeps/aarch64/strrchr.S: New file.
17824         * NEWS: Updated.
17826 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17828         [BZ #17658]
17829         * stdlib/setenv.c: Fix memory leak when setting large,
17830         duplicate string.
17832 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17834         [BZ #17273]
17835         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17836         and tabs from buffer before parsing fstab entry.
17837         * misc/tst-mntent.c (main): Add test for mount entry with
17838         trailing spaces and tabs.
17840 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17842         [BZ #17748]
17843         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17844         * math/fesetround.c (fesetround): Rename to __fesetround and
17845         define as weak alias of __fesetround.  Use libm_hidden_weak.
17846         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17847         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17848         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17849         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17850         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17851         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17852         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17853         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17854         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17855         __fesetround_inline.
17856         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17857         __fesetround_inline instead of __fesetround.
17858         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17859         __fesetround and define as weak alias of __fesetround.  Use
17860         libm_hidden_weak.  Call __fesetround_inline instead of
17861         __fesetround.
17862         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17863         __fesetround and define as weak alias of __fesetround.  Use
17864         libm_hidden_weak.
17865         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17866         Likewise.
17867         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17868         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17869         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17870         * sysdeps/tile/math_private.h (__fesetround): New inline function.
17871         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17872         __fesetround and define as weak alias of __fesetround.  Use
17873         libm_hidden_weak.
17874         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17875         __fesetround instead of fesetround.
17876         (default_libc_feholdexcept_setround): Likewise.
17877         (libc_feholdsetround_ctx): Likewise.
17878         (libc_feholdsetround_noex_ctx): Likewise.
17880         [BZ #17748]
17881         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17882         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17883         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17884         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17885         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17886         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17887         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17888         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17889         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17890         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17891         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17892         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17893         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17894         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17895         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17896         libm_hidden_def.
17897         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17898         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17899         Likewise.
17900         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17901         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17902         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17903         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17904         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17905         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17906         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17907         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17908         __fesetenv instead of fesetenv.
17909         (libc_feresetround_noex_ctx): Likewise.
17910         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17911         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17912         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17913         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17914         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17915         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17916         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17917         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17918         (__feupdateenv): Likewise.
17919         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17920         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17921         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17922         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17924 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17926         [BZ #17806]
17927         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17928         addresses have been freed.
17930 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17932         * resolv/res_init.c (__res_vinit): Improve comments about nserv
17933         and nservall.
17935 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
17937         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17938         Clean up check_pf allocation pattern. addresses
17940 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17942         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17943         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17944         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17945         * nptl/pthread_exit.c (__pthread_exit): Likewise.
17946         * nptl/pthread_join.c (pthread_join): Likewise.
17947         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17948         * sysdeps/posix/waitid.c (__waitid): Likewise.
17949         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17950         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17951         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17952         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17953         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17954         Likewise.
17955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17956         (__libc_pread64): Likewise.
17957         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17958         (__libc_pwrite): Likewise.
17959         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17960         (__libc_pwrite64): Likewsie.
17961         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17962         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17963         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17964         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17965         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17966         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17967         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17969         Likewise.
17970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17971         (__libc_pread64): Likewise.
17972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17973         Likewise.
17974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17975         (__libc_pwrite64): Likewise.
17976         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17977         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17978         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17979         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17980         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17981         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17982         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17983         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17984         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17985         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17986         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17987         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17988         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17989         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17990         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17991         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17992         Likewise.
17994 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17996         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17997         (CFLAGS-test-double.c): Likewise.
17998         (CFLAGS-test-ldouble.c): Likewise.
17999         (CPPFLAGS-test-ifloat.c): Likewise.
18000         (CPPFLAGS-test-idouble.c): Likewise.
18001         (CPPFLAGS-test-ildoubl.c): Likewise.
18002         (CFLAGS-test-test-fenv.c): Remove variable.
18003         (CFLAGS-test-misc.c): Likewise.
18005 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18007         [BZ #17797]
18008         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18009         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18010         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18011         CLOCKS_PER_SEC == 1000000.
18012         * time/clocktest.c (main): Replace %ld with %jd and cast to
18013         intmax_t.
18015 2015-01-05  Roland McGrath  <roland@hack.frob.com>
18017         * sysdeps/generic/unwind-resume.h: New file.
18018         * sysdeps/gnu/unwind-resume.c: Include it.
18019         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18020         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18021         argument list.
18022         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18023         global rather than static.
18024         (_Unwind_Resume): Update user.
18025         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18026         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
18027         rather than static.  Add __attribute__ ((cold)).
18028         (_Unwind_Resume, __gcc_personality_v0): Update callers.
18029         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18030         * sysdeps/arm/arm-unwind-resume.S: New file.
18031         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18032         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18033         * sysdeps/arm/Makefile [$(subdir) = csu]
18034         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18035         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18036         Add rt-arm-unwind-resume.
18037         [$(subdir) = nptl]
18038         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18039         Add pt-arm-unwind-resume.
18040         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18041         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18043 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18045         [BZ #17748]
18046         * include/fenv.h (__feholdexcept): Declare.  Use
18047         libm_hidden_proto.
18048         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18049         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
18050         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18051         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18052         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18053         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18054         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18055         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18056         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18057         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18058         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18059         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18060         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18061         (feholdexcept): Likewise.
18062         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18063         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18064         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18065         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18066         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18067         __feholdexcept instead of feholdexcept.
18068         (default_libc_feholdexcept_setround): Likewise.
18070 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18072         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18073         to avoid using stl/str to align destination.
18075 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18077         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18079 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18081         [BZ #17796]
18082         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18083         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18084         Define as weak alias not strong alias.
18086 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18088         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18089         bltzal with addiupc.
18090         (RTLD_START): Ditto.
18092 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
18094         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18095         for __vdso_* functions in declarations.
18096         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18097         definitions.
18098         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18099         INTERNAL_VSYSCALL): Use struct return types to check for error.
18101         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18102         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18103         function with cast from llround().
18104         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18105         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18106         Define.
18108 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18110         [BZ #17793]
18111         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18112         Define as weak alias not strong alias.
18114         [BZ #17635]
18115         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18116         ...
18117         * ctype/ctype-extn.c: ... here.
18118         (__isblank_l): Move to ...
18119         * ctype/ctype-c99_l.c: ... here.  New file.
18120         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18121         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18122         Remove variable.
18123         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18124         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18125         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18126         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18127         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18129         [BZ #17777]
18130         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18131         (posix_fadvise64): Define as weak alias not strong alias.
18132         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18133         (posix_fallocate64): Likewise.
18134         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18135         Remove variable.
18136         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18137         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18138         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18139         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18140         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18142 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
18144         [BZ #16191]
18145         * NEWS: Mention bug fix.
18146         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18147         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18148         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18149         (HOST_STACK_END_ADDR): Likewise.
18151 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18153         [BZ #17748]
18154         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
18155         * math/fegetround.c (fegetround): Rename to __fegetround and
18156         define as weak alias of __fegetround.  Use libm_hidden_weak.
18157         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18158         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18159         * sysdeps/arm/fegetround.c (fegetround): Likewise.
18160         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18161         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18162         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18163         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18164         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18165         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18166         Undefine after rather than before function definition; use
18167         parentheses around function name in definition.
18168         (__fegetround): Also undefine macro after function definition.
18169         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18170         __fegetround and define as weak alias of __fegetround.  Use
18171         libm_hidden_weak.  Do not undefine as macro.
18172         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18173         Likewise.
18174         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18175         __fegetround and define as weak alias of __fegetround.  Use
18176         libm_hidden_weak.
18177         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18178         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18179         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18180         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18181         __fegetround and define as weak alias of __fegetround.  Use
18182         libm_hidden_weak.
18183         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18184         __fegetround instead of fegetround.
18186         [BZ #17782]
18187         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18188         Condition macro definition on [__USE_MISC].
18190         [BZ #17781]
18191         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18192         (struct sigaction): Change type of sa_flags field to int.
18194         [BZ #17780]
18195         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18196         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18197         __glibc_reserved0.
18199         * nptl/version.c (banner): Use single year in copyright notice.
18201         * NEWS: Update copyright dates.
18202         * catgets/gencat.c (print_version): Likewise.
18203         * csu/version.c (banner): Likewise.
18204         * debug/catchsegv.sh: Likewise.
18205         * debug/pcprofiledump.c (print_version): Likewise.
18206         * debug/xtrace.sh (do_version): Likewise.
18207         * elf/ldconfig.c (print_version): Likewise.
18208         * elf/ldd.bash.in: Likewise.
18209         * elf/pldd.c (print_version): Likewise.
18210         * elf/sotruss.sh: Likewise.
18211         * elf/sprof.c (print_version): Likewise.
18212         * iconv/iconv_prog.c (print_version): Likewise.
18213         * iconv/iconvconfig.c (print_version): Likewise.
18214         * locale/programs/locale.c (print_version): Likewise.
18215         * locale/programs/localedef.c (print_version): Likewise.
18216         * login/programs/pt_chown.c (print_version): Likewise.
18217         * malloc/memusage.sh (do_version): Likewise.
18218         * malloc/memusagestat.c (print_version): Likewise.
18219         * malloc/mtrace.pl: Likewise.
18220         * manual/libc.texinfo: Likewise.
18221         * nptl/version.c (banner): Likewise.
18222         * nscd/nscd.c (print_version): Likewise.
18223         * nss/getent.c (print_version): Likewise.
18224         * nss/makedb.c (print_version): Likewise.
18225         * posix/getconf.c (main): Likewise.
18226         * scripts/test-installation.pl: Likewise.
18227         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18229 2015-01-02  Will Newton  <will.newton@linaro.org>
18231         * sysdeps/arm/armv7/configure: Removed.
18232         * sysdeps/arm/armv7/configure.ac: Likewise.
18234 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18236         * All files with FSF copyright notices: Update copyright dates
18237         using scripts/update-copyrights.
18238         * intl/plural.c: Regenerated.
18239         * locale/programs/charmap-kw.h: Likewise.
18240         * locale/programs/locfile-kw.h: Likewise.
18242 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18244         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18246 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18248         [BZ #17748]
18249         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18250         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18251         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18252         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18253         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18254         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18255         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18256         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18257         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18258         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18259         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18260         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18261         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18262         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18263         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18264         libm_hidden_def.
18265         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18266         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18267         Likewise.
18268         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18269         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18270         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18271         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18272         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18273         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18274         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18275         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18276         __fegetenv instead of fegetenv.
18277         (libc_feholdsetround_noex_ctx): Likewise.
18279 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18281         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18282         (Elf_MIPS_ABIFlags_v0): New structure.
18283         (EF_MIPS_FP64): Define.
18284         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18285         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18286         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18287         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18288         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18289         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18290         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18291         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18292         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18293         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18294         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18295         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18296         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18297         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18298         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18299         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18300         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18301         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18302         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18303         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18304         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18305         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18306         field.
18307         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18308         EF_MIPS_FP64.
18309         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18310         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18311         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18312         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18313         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18314         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18315         * sysdeps/mips/tst-abi-interlink.c: Likewise.
18316         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18317         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18318         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18319         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18320         record the current FP ABI extension.
18321         (mips-mode-switch): Define to show if kernel headers support mode
18322         switching.
18323         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18324         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18325         supported SYSV ABI version to 3.
18326         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18327         feature.
18329 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18330             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18332         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18333         path.
18334         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18336 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18338         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18339         __fegetround and redefine to call __fegetround.  Remove condition
18340         on [!__NO_MATH_INLINES].
18341         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18342         function.
18343         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18344         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18345         Remove macro.
18346         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18347         instead of <fenv_libc.h>.
18348         (__llrintl): Call fegetround instead of __fegetround.
18349         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18350         instead of <fenv_libc.h>.
18351         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18352         (__lrintl): Call fegetround instead of __fegetround.
18353         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18354         instead of <fenv_libc.h>.
18355         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18356         (__rintl): Call fegetround instead of __fegetround.
18358 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18360         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18361         arrays.
18363 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18365         [BZ #17775]
18366         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18367         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18368         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18370 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18372         * sysdeps/i386/tls-macros.h: Include <features.h>.
18373         (TLS_LE): Use non-PIC version for GCC >= 5.0.
18374         (TLS_IE): Likewise.
18375         (TLS_LD): Likewise.
18376         (TLS_GD): Likewise.
18377         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18378         define for GCC >= 5.0.
18380 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18382         * math/test-fenv.c (test_single_exception, set_single_exc,
18383         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18384         feexcp_mask_test, feenable_test, fe_single_test): Add
18385         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18386         case where they are not used.
18387         * math/libm-test.inc: Likewise.
18388         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18389         unused in the absence of FP rounding/exception support.
18390         * stdio-common/tst-printf-round.c: Likewise.
18391         * stdlib/tst-strtod-round.c: Likewise.
18392         * stdlib/tst-strtod-underflow.c: Likewise.
18394 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18396         [BZ #17723]
18397         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18398         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18399         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18400         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18401         libm_hidden_weak.
18402         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18403         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18404         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18405         libm_hidden_def.
18406         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18407         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18408         libm_hidden_weak.
18409         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18410         Likewise.
18411         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18412         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18413         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18414         libm_hidden_weak.
18415         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18416         libm_hidden_def.
18417         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18418         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18419         (__feraiseexcept): Likewise.
18420         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18421         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18422         libm_hidden_weak.
18423         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18424         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18425         libm_hidden_def.
18426         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18427         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18428         Use libm_hidden_def.
18429         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18430         libm_hidden_def.
18431         (feraiseexcept): Define as weak not strong alias.  Use
18432         libm_hidden_weak.
18433         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18434         New inline function.  Factored out of ...
18435         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18436         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18437         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18438         feraiseexcept.
18439         * math/w_acos.c (__acos): Likewise.
18440         * math/w_asin.c (__asin): Likewise.
18441         * math/w_ilogb.c (__ilogb): Likewise.
18442         * math/w_j0.c (y0): Likewise.
18443         * math/w_j1.c (y1): Likewise.
18444         * math/w_jn.c (yn): Likewise.
18445         * math/w_log.c (__log): Likewise.
18446         * math/w_log10.c (__log10): Likewise.
18447         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18448         * sysdeps/aarch64/fpu/math_private.h
18449         (libc_feupdateenv_test_aarch64): Likewise.
18450         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18451         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18452         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18453         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18454         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18455         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18456         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18457         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18458         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18459         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18461 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18463         [BZ #17732]
18464         * io/test-utime.c (main): Replace %ld with %jd and cast to
18465         intmax_t.
18466         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18467         * nptl/tst-mutex5.c: Include <stdint.h>.
18468         (do_test): Replace %ld with %jd and cast to intmax_t.
18469         * posix/tst-regex.c (run_test): Likewise.
18470         (run_test_backwards): Likewise.
18471         * rt/tst-clock.c: Include <stdint.h>.
18472         (clock_test): Replace %ld with %jd and cast to intmax_t.
18473         * rt/tst-cpuclock1.c: Include <stdint.h>.
18474         (do_test): Replace %lu with %ju and cast to uintmax_t.
18475         * rt/tst-cpuclock2.c: Include <stdint.h>.
18476         (do_test): Replace %lu with %ju and cast to uintmax_t.
18477         * rt/tst-mqueue1.c: Include <stdint.h>.
18478         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18479         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18480         intmax_t.
18481         * rt/tst-mqueue4.c (do_test): Likewise.
18482         * rt/tst-timer4.c: Include <stdint.h>.
18483         (check_ts): Replace %ld with %jd and cast to intmax_t.
18484         (do_test): Likewise.
18485         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18486         and cast to intmax_t.
18487         * sysdeps/pthread/tst-timer.c (main): Likewise.
18488         * time/clocktest.c (main): Likewise.
18489         * time/tst-posixtz.c (do_test): Likewise.
18490         * timezone/tst-timezone.c (main): Likewise.
18492 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18493             H.J. Lu  <hongjiu.lu@intel.com>
18495         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18496         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18497         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18498         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18499         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18500         version if bit_Fast_Unaligned_Load is set.
18501         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18502         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18503         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18504         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18505         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18506         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18507         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18508         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18509         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18510         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18511         to 4.
18512         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18513         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18514         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18515         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18517 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18519         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18520         instead of #if to avoid a Wundef warning.
18521         * stdlib/tst-limits.c (do_test): Likewise.
18523         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18524         parallel other exception macros.
18525         (fegetenv): Convert from macro to extern inline so that it applies
18526         retroactively to inline functions already seen by the compiler.
18527         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18529         * posix/Makefile (before-compile): Use $(objpfx) for
18530         posix-conf-vars-def.h.
18532 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18534         * posix/getconf.c (main): Use size_t for type of I.
18535         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18536         NSPEC.
18538         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18539         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18540         * posix/posix-envs.def: Likewise.
18541         * sysdeps/posix/sysconf.c: Likewise.
18542         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18543         (specs): Remove array.
18544         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18545         array.
18547         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18548         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18549         (__sysconf): Use CONF_IS_* macros.
18551         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18552         ($(objpfx)posix-conf-vars-def.h): New target.
18553         * posix/posix-conf-vars.list: New file.
18554         * posix/posix-conf-vars.h: New file.
18555         * posix/confstr.c: Include posix-conf-vars.h.
18556         (confstr): Use CONF_IS_* macros.
18557         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18558         CONF_IS_* macros.
18559         * scripts/gen-posix-conf-vars.awk: New file.
18561 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18563         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18564         fegetround): Add no-op macros to avoid linknamespace issues.
18566         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18567         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18569         * sysdeps/unix/sysv/linux/tile/sysdep.h
18570         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18571         assembly-specific section to avoid a redefinition warning.
18573         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18574         long before casting to pointer to avoid a cast warning.
18576 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18578         * sysdeps/tile/tilegx/Implies: New file.
18580 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18582         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18584 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18586         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18588 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18591         not define.
18592         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18593         <kernel-features.h>.
18594         (__utimes) [__NR_utimes]: Make code unconditional.
18595         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18596         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18597         (__ASSUME_UTIMES): Do not undefine.
18598         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18599         (__ASSUME_UTIMES): Likewise.
18600         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18601         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18602         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18603         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18605 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18607         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18609 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18611         [BZ #17747]
18612         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18613         alias to weak alias for j0l, y0l.
18614         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18615         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18617         [BZ #17746]
18618         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18619         conversion.
18621 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18623         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18624         to zero if not already defined.
18626 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18628         [BZ #17724]
18629         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18630         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18631         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18632         (char *) casts added.
18633         * sysdeps/ieee754/k_standardf.c: New file.
18634         * sysdeps/ieee754/k_standardl.c: Likewise.
18635         * math/Makefile (libm-support): Remove k_standard.
18636         (libm-calls): Add k_standard.
18638 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18640         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18641         Optimize to avoid an unnecessary FPCR read.
18643 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18645         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18646         Optimize to reduce FPCR/FPSR accesses.
18648 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18650         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18651         Call libc_fetestexcept_aarch64.
18653 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18655         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18656         Call libc_fesetround_aarch64.
18658 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18660         [BZ #17733]
18661         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18662         (__bind): Do not define as weak alias.
18663         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18664         define.
18665         (__getsockname): Do not define as weak alias.
18667 2014-12-22  Will Newton  <will.newton@linaro.org>
18669         * manual/install.texi: Document that we require bison 2.7
18670         or above.
18671         * INSTALL: Regenerate.
18672         * configure.ac: Use AC_CHECK_PROG_VER instead of
18673         AC_PATH_PROG when checking for bison and check for
18674         version 2.7 or above.
18675         * configure: Regenerate.
18677 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18679         [BZ #17745]
18680         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18681         * sysdeps/tile/ffsll.c (ffsll): To here.
18683         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18685 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18687         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18688         if not defined.
18689         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18690         definition.
18691         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18692         hidden ___tls_get_addr.
18693         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18694         hidden __tls_get_addr.
18695         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18696         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18697         Likewise.
18699 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18701         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18702         _dl_init call.
18704 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18706         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18707         from "call _dl_init@PLT".
18708         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18710 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18712         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18713         guarantees.
18715 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18717         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18719 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18721         [BZ #17744]
18722         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18723         strnlen.
18725 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18727         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18728         of multu on MIPSr6.
18729         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18730         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18731         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18732         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18733         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18735 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18737         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18738         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18739         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18740         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18741         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18742         mips32r6/mips64r6.
18743         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18745 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18747         * string/strncat.c (STRNCAT): Simplify implementation.
18749 2014-12-19  David S. Miller  <davem@davemloft.net>
18751         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18752         access the quad as both a long double and as a series of 4 words.
18754         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18755         link_map->l_info array access.
18757 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18759         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18761         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18762         * math/atest-exp2.c (TIMEOUT): Likewise.
18763         * math/atest-sincos.c (TIMEOUT): Likewise.
18765 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18767         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18768         -Wno-error with -fno-builtin-lround.
18770 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18772         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18773         Contains futex constants and functions moved over from ...
18774         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
18775         <lowlevellock-futex.h>.
18776         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18777         (lll_timedwait_tid): Add comments and parentheses around macro
18778         arguments.
18780 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18782         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18783         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
18784         (__lll_private_flag): Remove.
18785         (lll_futex_wait): Likewise.
18786         (lll_futex_timed_wait): Likewise.
18787         (lll_futex_wake): Likewise.
18788         (lll_futex_requeue): Likewise.
18789         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18790         (__lll_timedwait_tid): Spell out argument names.
18791         (lll_timedwait_tid): Add comments and parentheses around macro
18792         arguments.
18793         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18794         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18796 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18798         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18799         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18800         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18801         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18802         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18803         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18804         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18805         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18806         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18807         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18808         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18809         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18810         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18811         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18812         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18813         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18814         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18815         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18816         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18818 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18820         * sysdeps/x86_64/x32/Makefile: New file.
18822 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18824         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18825         1L with (mp_limb_t) 1.
18827 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18829         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18830         * nptl/libc_pthread_init.c: ... here.
18831         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18832         * nptl/register-atfork.c: ... here.
18834         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18835         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18836         Use assert_perror to check its return value.
18837         (__gai_create_helper_thread): Likewise.
18839         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18841         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18843 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18845         [BZ #17725]
18846         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18847         __profil_counter.
18848         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18849         Likewise.
18850         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18851         Likewise.
18852         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18853         Likewise.
18854         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18855         (profil_counter): Likewise.
18856         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18857         (profil_counter): Likewise.
18858         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18859         Likewise.
18860         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18861         Likewise.
18862         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18863         (profil_counter): Likewise.
18864         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18865         Likewise.
18866         [!__profil_counter] (profil_counter): Define as weak alias of
18867         __profil_counter.
18868         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18869         (profil_counter): Rename to __profil_counter.
18870         [!__profil_counter] (profil_counter): Define as weak alias of
18871         __profil_counter.
18872         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18873         (profil_counter): Rename to __profil_counter.
18874         [!__profil_counter] (profil_counter): Define as weak alias of
18875         __profil_counter.
18876         * sysdeps/posix/profil.c: Update comment referring to
18877         profil_counter.
18878         (__profil): Use __profil_counter instead of profil_counter.
18879         * sysdeps/posix/sprofil.c (profil_counter): Rename to
18880         __profil_counter.  Use __profil_counter_ushort and
18881         __profil_counter_uint in definitions.
18882         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18883         instead of profil_counter_uint and profil_counter_ushort.
18885         [BZ #17722]
18886         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18887         define as weak alias of __inet_makeaddr.
18888         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18889         as weak alias of __inet_addr.
18890         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18891         as weak alias of __inet_pton.  Use libc_hidden_weak.
18892         * include/arpa/inet.h (__inet_pton): Declare.  Use
18893         libc_hidden_proto.
18894         (inet_makeaddr): Don't use libc_hidden_proto.
18895         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
18896         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18897         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
18898         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18899         Remove variable.
18900         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18901         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18903 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
18905         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18907 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18909         * stdio-common/bug-vfprintf-nargs.c (do_test):
18910         Cast value to intptr_t to avoid format warning
18911         for usage with PRIdPTR printing macro.
18913 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18915         * libio/tst-widetext.c (do_test):
18916         Use format type %td instead of %Zd for ptrdiff_t
18917         in order to avoid format warning.
18919 2014-12-17  Andreas Schwab  <schwab@suse.de>
18921         * nscd/mem.c (gc): Add size_t cast to match printf format.
18923 2014-12-16  Roland McGrath  <roland@hack.frob.com>
18925         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18926         (init): Apply PTR_MANGLE to pointers before storing them.
18927         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18928         before using them.
18930 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
18932         [BZ #17719]
18933         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18934         define as weak alias of __memrchr.
18935         (__memrchr): Do not define as strong alias of memrchr.
18936         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18937         Remove variable.
18938         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18939         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18940         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18942         [BZ #17717]
18943         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18944         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
18945         (if_indextoname): Rename to __if_indextoname and define as weak
18946         alias of __if_indextoname.  Use libc_hidden_weak.
18947         (if_freenameindex): Rename to __if_freenameindex and define as
18948         weak alias of __if_freenameindex.
18949         (if_nameindex): Rename to __if_nameindex and define as weak alias
18950         of __if_nameindex.
18951         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18952         __if_nametoindex and define as weak alias of __if_nametoindex.
18953         Use libc_hidden_weak.
18954         (if_freenameindex): Rename to __if_freenameindex and define as
18955         weak alias of __if_freenameindex.
18956         (if_nameindex): Rename to __if_nameindex and define as weak alias
18957         of __if_nameindex.
18958         (if_indextoname): Rename to __if_indextoname and define as weak
18959         alias of __if_indextoname.  Use libc_hidden_weak.
18960         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18961         __if_nametoindex and define as weak alias of __if_nametoindex.
18962         Use libc_hidden_weak.
18963         (if_freenameindex): Rename to __if_freenameindex and define as
18964         weak alias of __if_freenameindex.  Use libc_hidden_weak.
18965         (if_nameindex_netlink): Use __if_freenameindex instead of
18966         if_freenameindex.
18967         (if_nameindex): Rename to __if_nameindex and define as weak alias
18968         of __if_nameindex.  Use libc_hidden_weak.
18969         (if_indextoname): Rename to __if_indextoname and define as weak
18970         alias of __if_indextoname.  Use libc_hidden_weak.
18971         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18972         libc_hidden_proto.
18973         [!_ISOMAC] (__if_freenameindex): Likewise.
18974         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18975         if_nametoindex.
18976         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18977         variable.
18978         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18979         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18980         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18981         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18982         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18983         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18984         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18986         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18987         Remove variable.
18988         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18989         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18991 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18993         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18994         subscript above bounds'
18996         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18997         bounds.
18999 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19001         * libio/tst-fopenloc.c: Use test-skeleton.c.
19003         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19004         (entry): Rename to ITEM.
19005         (do_test, comp): Adjust.
19007         * stdio-common/tst-fseek.c: Use test-skeleton.c.
19009 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19011         * string/tester.c: Include <libc-internal.h>.
19012         (test_memset): Ignore -Wmemset-transposed-args.
19014 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19016         * misc/tst-mntent2.c (do_test): Fix warning.
19018 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19020         * elf/tst-unique4lib.cc(a): Mark as used.
19022 2014-12-16  Florian Weimer  <fweimer@redhat.com>
19024         [BZ #17630]
19025         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19026         names.
19028 2014-12-16  Allan McRae  <allan@archlinux.org>
19030         * stdio-common/Makefile (tests): Re-add bug26.
19032 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
19034         [BZ #17657]
19035         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19036         static array.
19038 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19040         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19041         (__lll_lock_wait): Likewise.
19042         (__lll_timedlock_wait): Likewise.
19043         (__lll_timedwait_tid): Likewise.
19044         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19045         (__lll_robust_timedlock_wait): Likewise.
19046         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19047         (lll_cond_trylock): Likewise.
19048         (__lll_lock): Likewise.
19049         (__lll_robust_lock): Likewise.
19050         (__lll_cond_lock): Likewise.
19051         (lll_robust_cond_lock): Likewise.
19052         (__lll_timedlock): Likewise.
19053         (__lll_robust_timedlock): Likewise.
19054         (__lll_unlock): Likewise.
19055         (__lll_robust_unlock): Likewise.
19056         (lll_wait_tid): Likewise.
19057         (lll_timedwait_tid): Likewise.
19059 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19061         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19063 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19065         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19067 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19069         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19070         * stdio-common/tst-sprintf.c: Likewise.
19072 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19074         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19076 2014-12-15  Jeff Law  <law@redhat.com>
19078         [BZ #16617]
19079         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19080         on the heap.  (CVE-2012-3406)
19081         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19082         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
19083         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19085 2014-12-15  Will Newton  <will.newton@linaro.org>
19087         * manual/install.texi: Bump required version of texinfo
19088         to 4.7 from 4.5.
19089         * INSTALL: Regenerated.
19090         * configure.ac: Check for makeinfo version 4.7 and above.
19091         * configure: Regenerated.
19093 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19095         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19096         PREFIX, string constant to insert between directory and name.
19097         * sysdeps/posix/shm_open.c: Update caller.
19098         * sysdeps/posix/shm_unlink.c: Likewise.
19099         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19100         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19101         (SEM_SHM_PREFIX): New macro.
19102         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19103         [$(have-thread-library) = no].
19104         * nptl/Makefile (libpthread-routines): Add shm-directory.
19105         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19106         * sysdeps/nptl/shm-directory.h: New file.
19107         * sysdeps/posix/shm-directory.c
19108         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19109         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19110         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19111         INTERNAL_SYSCALL.
19112         (__where_is_shmfs): Function removed.
19113         (mountpoint, defaultmount, defaultdir, __namedsem_once):
19114         Variables removed.
19115         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19116         Use SHM_GET_NAME.
19117         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
19119         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19120         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19121         unconditional for use inside libpthread.
19122         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19124 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19126         * nptl/pthread_getaffinity.c: New file.
19127         * nptl/pthread_setaffinity.c: New file.
19128         * nptl/pthread_getname.c: New file.
19129         * nptl/pthread_setname.c: New file.
19131         * nptl/pthread_create.c (START_THREAD_DEFN)
19132         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19134 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19135             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19137         * resolv/res_send.c (send_vc): Disable warning resplen may
19138         be used uninitialized.
19140 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19142         * nptl/tst-mutex6.c
19143         (ATTR_NULL): New define checks ATTR against NULL.
19144         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19145         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19147 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
19149         [BZ #17581]
19150         * malloc/hooks.c
19151         (mem2mem_check): Revert my previous change.
19152         (malloc_check_get_size): Revert my previous change.
19153         (mem2chunk_check): Revert my previous change.
19155 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19157         * sysdeps/posix/shm-directory.c: New file.
19158         * sysdeps/posix/shm-directory.h: New file.
19159         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19160         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19161         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
19162         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19163         Transmute EPERM to EACCES.
19164         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19165         from ...
19166         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
19167         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19169 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19171         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19172         pointer and cast to uintptr_t.
19173         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19174         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19175         Add cast to avoid warning.
19176         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19178 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19180         * nptl/semaphore.h: Move to ...
19181         * sysdeps/pthread/semaphore.h: ... here.
19182         * Makefile (installed-headers): Change nptl/semaphore.h to
19183         sysdeps/pthread/semaphore.h.
19185 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19187         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19188         generated error format strings.
19190         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19191         -Wformat-extra-args warnings for scanf formats.
19192         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19193         test of zero-length format (duh).
19194         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19195         corner-case scanf format test.
19196         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19197         generated fprintf format string.
19198         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19199         corner-case sprintf format tests.
19200         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19201         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19202         -Wformat-extra-args warnings throughout.
19203         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19204         (CFLAGS-scanf4.c): Likewise.
19205         (CFLAGS-scanf7.c): Likewise.
19206         (CFLAGS-tst-sprintf.c): Likewise.
19207         (CFLAGS-tst-printf.c): Likewise.
19208         (CFLAGS-tst-printfsz.c): Likewise.
19210 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19212         * include/cpio.h: New file.
19213         * include/fmtmsg.h: Likewise.
19215         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19216         corresponding format argument to size_t.
19217         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19218         arguments.
19219         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19220         corresponding format argument to size_t.
19221         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19222         arguments.
19223         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19224         corresponding format argument to size_t.
19225         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19226         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19227         (CFLAGS-tst-mbswcs2.c): Likewise.
19228         (CFLAGS-tst-mbswcs3.c): Likewise.
19229         (CFLAGS-tst-mbswcs4.c): Likewise.
19230         (CFLAGS-tst-mbswcs5.c): Likewise.
19231         (CFLAGS-tst-trans.c): Likewise.
19233 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19235         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19236         rather than assuming they won't contain any '%'s.
19238 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19240         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19241         inhibit_loop_to_libcall to avoid recursive calls.
19242         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19243         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19245 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19247         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19248         prototype.
19250 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19252         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19253         integer value instead of boolean.
19255 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19257         * malloc/malloc.c: Fix powerof2 check.
19259 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19261         * locale/programs/locfile.h (maybe_swap_uint32):
19262         Remove inline and add unused attribute.
19264 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19266         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19267         Truncating assembler expression to a .long expression.
19269 2014-12-11  Andreas Schwab  <schwab@suse.de>
19271         * elf/rtld.c (struct map_args): Constify str member.
19272         (do_preload): Constify fname argument.
19274 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19276         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19277         constants definition.
19279 2014-12-11  Andreas Schwab  <schwab@suse.de>
19281         [BZ #16657]
19282         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19283         FORCE_ELISION instead of DO_ELISION.
19284         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19285         Remove.
19286         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19287         Likewise.
19289         * iconvdata/gconv-modules: Remove duplicate entry.
19291 2014-12-11  Will Newton  <will.newton@linaro.org>
19293         Merge gettext 0.19.3 into intl/.
19295         This involves a number of cosmetic changes to comments
19296         and ANSI function definitions and prototypes throughout
19297         all the files. The gettext copyright header is used but
19298         with the date ranges taken from the glibc copy.
19300         * NEWS: Add gettext merge to 2.21.
19301         * intl/bindtextdom.c: Switch to gettext copyright.
19302         Use ANSI definitions and prototypes.
19303         Use gl_* locking primitives rather than __libc_* ones.
19304         Use __builtin_expect rather than __glibc_likely/unlikely.
19305         * intl/dcgettext.c: Switch to gettext copyright.
19306         Use ANSI definitions and prototypes.
19307         * intl/dcigettext.c: Switch to gettext copyright.
19308         Use ANSI definitions and prototypes.
19309         (INTDIV0_RAISES_SIGFPE): New define.
19310         Use gl_* locking primitives rather than __libc_* ones.
19311         Include eval-plural.h instead of plural-eval.c.
19312         Use __builtin_expect rather than __glibc_likely/unlikely.
19313         * intl/dcngettext.c: Switch to gettext copyright.
19314         Use ANSI definitions and prototypes.
19315         * intl/dgettext.c: Likewise.
19316         * intl/dngettext.c: Likewise.
19317         * intl/plural-eval.c: Renamed to...
19318         * intl/eval-plural.h: ...this.
19319         * intl/explodename.c: Switch to gettext copyright.
19320         Use ANSI definitions and prototypes.
19321         (_nl_explode_name): Use strchr instead of __rawmemchr.
19322         * intl/finddomain.c: Switch to gettext copyright.
19323         Use ANSI definitions and prototypes.
19324         Use gl_* locking primitives rather than __libc_* ones.
19325         (_nl_find_domain): Use malloc rather than alloca for
19326         allocation of temporary locale name.
19327         * intl/gettext.c: Switch to gettext copyright.
19328         Use ANSI definitions and prototypes.
19329         * intl/gettextP.h: Switch to gettext copyright.
19330         Use ANSI definitions and prototypes.
19331         Use gl_* locking primitives rather than __libc_* ones.
19332         * intl/gmo.h: Switch to gettext copyright.
19333         (struct sysdep_string): Move struct segment_pair outside of
19334         struct definition.
19335         * intl/hash-string.c: Use ANSI definitions and prototypes.
19336         * intl/hash-string.h: Switch to gettext copyright.
19337         Use ANSI definitions and prototypes.
19338         * intl/l10nflist.c: Switch to gettext copyright.
19339         Use ANSI definitions and prototypes.
19340         (_nl_normalize_codeset): Avoid integer overflow.
19341         * intl/loadinfo.h: Switch to gettext copyright.
19342         Use ANSI definitions and prototypes.
19343         (LIBINTL_DLL_EXPORTED): New define.
19344         (PATH_SEPARATOR): New define.
19345         * intl/loadmsgcat.c: Switch to gettext copyright.
19346         * intl/localealias.c: Switch to gettext copyright.
19347         Use ANSI definitions and prototypes.
19348         (_nl_expand_alias): Use PATH_SEPARATOR.
19349         * intl/ngettext.c: Switch to gettext copyright.
19350         Use ANSI definitions and prototypes.
19351         * intl/plural-exp.c: Likewise.
19352         * intl/plural-exp.h: Switch to gettext copyright.
19353         Use ANSI definitions and prototypes.
19354         (struct expression): Move definition of enum operator outside
19355         of struct definition.
19356         * intl/plural.c: Regenerate.
19357         * intl/plural.y: Switch to gettext copyright.
19358         Use ANSI definitions and prototypes.
19359         Port to bison 3.0.
19360         * intl/textdomain.c: Switch to gettext copyright.
19361         Use ANSI definitions and prototypes.
19362         Use gl_* locking primitives rather than __libc_* ones.
19364 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
19366         * debug/warning-nop.c: Add used atrribute.
19368 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19370         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19372         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19373         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19374         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19376 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19377             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19379         [BZ #17634]
19380         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19381         Undefine after defining function.  Define as weak alias of
19382         __wcschr.  Use libc_hidden_weak.
19383         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19384         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19385         (libc_hidden_def): Also define __GI___wcschr alias.
19386         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19387         __wcschr and define as weak alias of __wcschr.
19388         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19389         __wcschr.
19390         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19391         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19392         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19393         libc_hidden_weak.  Do not use libc_hidden_def.
19394         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19395         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19396         __GI___wcschr alias.
19397         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19398         [IS_IN (libc)] (wcschr): Define as macro expanding to
19399         __redirect_wcschr.
19400         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19401         [IS_IN (libc)] (__wcschr_power6): Likewise.
19402         [IS_IN (libc)] (__wcschr_power7): Likewise.
19403         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19404         instead of wcschr.
19405         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19406         __libc_wcschr.
19407         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19408         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19409         __wcschr and define as weak alias of __wcschr.  Use
19410         libc_hidden_builtin_def.
19411         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19412         as weak alias of __wcschr.  Use libc_hidden_weak.
19413         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19414         wcschr.
19415         * time/era.c (_nl_init_era_entries): Likewise.
19416         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19417         variable.
19418         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19419         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19421 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19423         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19424         format for long int variable.
19426 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19428         [BZ #10672]
19429         * manual/search.texi: (Array Sort Function): Remove claim how to make
19430         qsort stable.
19432 2014-12-10  Andreas Schwab  <schwab@suse.de>
19434         [BZ #12847]
19435         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19436         user-controlled locks.
19438 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19440         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19441         register.
19443 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19445         * configure.ac (--disable-werror): New configure option.
19446         (enable_werror): New AC_SUBST.
19447         * configure: Regenerated.
19448         * config.make.in (enable-werror): New variable.
19449         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19450         -Wno-error=undef.
19451         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19452         * manual/install.texi (Configuring and compiling): Document
19453         --disable-werror.
19454         * INSTALL: Regenerated.
19455         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19456         (CFLAGS-tst-chk2.c): Likewise.
19457         (CFLAGS-tst-chk3.c): Likewise.
19458         (CFLAGS-tst-chk4.cc): Likewise.
19459         (CFLAGS-tst-chk5.cc): Likewise.
19460         (CFLAGS-tst-chk6.cc): Likewise.
19461         (CFLAGS-tst-lfschk1.c): Likewise.
19462         (CFLAGS-tst-lfschk2.c): Likewise.
19463         (CFLAGS-tst-lfschk3.c): Likewise.
19464         (CFLAGS-tst-lfschk4.cc): Likewise.
19465         (CFLAGS-tst-lfschk5.cc): Likewise.
19466         (CFLAGS-tst-lfschk6.cc): Likewise.
19468         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19469         (main): Disable -Wdeprecated-declarations around calls to
19470         register_printf_function.
19472         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19473         (do_test): Disable -Wdiv-by-zero around some calls to
19474         fwrite_unlocked and fread_unlocked.
19476         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19477         (DIAG_POP_NEEDS_COMMENT): Likewise.
19478         (_DIAG_STR1): Likewise.
19479         (_DIAG_STR): Likewise.
19480         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19481         * stdio-common/bug21.c: Include <libc-internal.h>.
19482         (do_test): Disable -Wformat around call to sscanf.
19483         * stdio-common/scanf14.c: Include <libc-internal.h>.
19484         (main): Disable -Wformat around some calls to scanf functions.
19486 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19488         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19490 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19492         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19493         stack variable alignment.
19495 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19497         [BZ #17682]
19498         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19499         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19500         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19501         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19502         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19503         __getrlimit instead of getrlimit.
19504         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19505         __gettimeofday instead of gettimeofday.
19506         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19507         Likewise.
19508         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19509         Likewise.
19510         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19511         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19512         Remove variable.
19513         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19514         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19516 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19518         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19519         for wide-character tests.
19521 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19523         * io/openat64.c: #include <libc-internal.h>
19524         (__openat64): Prototypify.  Use ignore_value on MODE.
19525         * io/openat.c: Likewise.
19526         * misc/reboot.c: #include <libc-internal.h>
19527         (reboot): Prototypify.  Use ignore_value on HOWTO.
19528         * misc/ptrace.c: #include <libc-internal.h>
19529         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19531 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19533         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19534         XPG4, UNIX98 and XOPEN2K.
19535         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19536         Remove variable.
19537         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19539 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19541         * libio/fileops.c: Use ISO C style for function definitions.
19542         * libio/iofopen.c: Likewise.
19543         * libio/wfileops.c: Likewise.
19545         [BZ #17653]
19546         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19547         offset on EOF.
19548         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19549         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19550         (fgets_func): Function pointer to fgets and fgetws.
19551         (do_ftell_test): Add test to verify ftell value after read
19552         EOF.
19553         (do_test): Set fgets_func.
19555         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19556         O_TRUNC flag for w and w+ modes.
19557         (do_rewind_test): Likewise.
19558         (do_ftell_test): Likewise.
19559         (do_write_test): Likewise.
19561         [BZ #17647]
19562         * libio/fileops.c (do_ftell): Seek only when there are
19563         unflushed writes.
19564         * libio/wfileops.c (do_ftell_wide): Likewise.
19565         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19566         test case.
19567         (do_one_test): Call it.
19569 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19571         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19572         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19573         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19574         Remove variable.
19575         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19576         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19577         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19579 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19581         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19582         Remove variable.
19583         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19585         [BZ #17668]
19586         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19587         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19588         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19589         __freeifaddrs.  Use libc_hidden_weak.
19590         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19591         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19592         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19593         __freeifaddrs.  Use libc_hidden_weak.
19594         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19595         __getifaddrs and define as weak alias of __getifaddrs.  Use
19596         libc_hidden_weak.
19597         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19598         __freeifaddrs.  Use libc_hidden_weak.
19599         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19600         Remove variable.
19601         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19602         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19604 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19606         [BZ #17601]
19607         * sysdeps/mips/start.S (__start): Use indirect jump to call
19608         __libc_start_main.
19610 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19612         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19614         * nptl/tst-mutex1.c: Include <stdbool.h>.
19615         [!ATTR] (ATTR_NULL): New macro.
19616         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19617         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19618         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19620         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19621         to char *.
19623         [BZ #17665]
19624         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19625         Change conditional to [__USE_MISC].
19627         [BZ #17664]
19628         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19629         fgets_unlocked.
19630         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19631         __fgets_unlocked.
19632         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19633         fgets_unlocked.
19634         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19635         Remove variable.
19636         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19637         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19638         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19639         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19640         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19641         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19642         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19643         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19644         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19646         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19648 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19650         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19651         Remove strpbrk objects.
19652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19653         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19654         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19655         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19656         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19657         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19659         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19660         Remove strcspn objects.
19661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19662         (__libc_ifunc_impl_list): Remove strcspn implementation.
19663         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19664         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19665         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19666         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19668         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19669         Remove strspn objetcs.
19670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19671         (__libc_ifunc_impl_list): Remove strspn implementation.
19672         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19673         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19674         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19675         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19677 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19679         [BZ #17581]
19680         * malloc/hooks.c
19681         (mem2mem_check): Add a terminator to the chain of checking blocks.
19682         (malloc_check_get_size): Use it here.
19683         (mem2chunk_check): Ditto.
19685 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19687         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19688         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19690 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19692         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19694         * nptl/nptl-init.c: Include libc-internal.h.
19695         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19697         * elf/ldconfig.c (search_dir): Expand comment.
19699 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19701         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19702         variable.
19703         (linknamespace-symlist-stdlibs-tests): Likewise.
19704         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19705         instead of $(objpfx)symlist-stdlibs.
19706         (linknamespace-libs-isoc): New variable.
19707         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19708         (linknamespace-libs-ISO): New variable.
19709         (linknamespace-libs-ISO99): Likewise.
19710         (linknamespace-libs-ISO11): Likewise.
19711         (linknamespace-libs-XPG3): Likewise.
19712         (linknamespace-libs-XPG4): Likewise.
19713         (linknamespace-libs-POSIX): Likewise.
19714         (linknamespace-libs-UNIX98): Likewise.
19715         (linknamespace-libs-XOPEN2K): Likewise.
19716         (linknamespace-libs-POSIX2008): Likewise.
19717         (linknamespace-libs-XOPEN2K8): Likewise.
19718         ($(objpfx)symlist-stdlibs): Replace by
19719         $(linknamespace-symlist-stdlibs-tests).  Use
19720         $(linknamespace-libs-$*) as set of libraries.
19721         ($(linknamespace-header-tests)): Update dependencies.  Use
19722         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19723         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19724         * conform/linknamespace.pl: Remove comment about considering
19725         definitions of symbols from irrelevant libraries.
19727 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19729         [BZ #13862]
19730         * elf/dl-tls.c: Include <atomic.h>.
19731         (oom): Remove #ifdef SHARED/#endif.
19732         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19733         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19734         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19735         big enough.
19736         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19737         * nptl/Makefile (tests): Add tst-stack4.
19738         (modules-names): Add tst-stack4mod.
19739         ($(objpfx)tst-stack4): New.
19740         (tst-stack4mod.sos): Likewise.
19741         ($(objpfx)tst-stack4.out): Likewise.
19742         ($(tst-stack4mod.sos)): Likewise.
19743         (clean): Likewise.
19744         * nptl/tst-stack4.c: New file.
19745         * nptl/tst-stack4mod.c: Likewise.
19747 2014-11-27  J. Brown  <jb999@gmx.de>
19749         * sysdeps/x86/bits/string.h: Add recent CPUs.
19751 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19753         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19754         sigblock.
19756         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19757         feof.
19759         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19760         variable.
19762 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19764         * nscd/connections.c: Include libc-internal.h because of macro
19765         usage ignore_value.
19767 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19769         * string/bits/string3.h (__warn_memset_zero_len): Don't
19770         declare for gcc newer than 5.0.
19771         (memset): Don't test for zero-length __LEN for gcc newer than
19772         5.0.
19774 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19776         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19777         size_t for %zu format.
19779         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19780         difference, not %ju.
19782 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19784         * include/libc-internal.h (ignore_value): New macro.
19785         * nscd/connections.c (restart): Wrap calls to setuid and setgid
19786         with ignore_value.
19788         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19789         definition.
19791         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19792         pthread_cleanup_push to void *.
19794         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19795         Undefine.
19797         [BZ #16619]
19798         [BZ #16740]
19799         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19800         instead of 1L << 52.
19802         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19803         * libio/bug-rewind2.c (do_test): Likewise.
19805         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19806         * debug/test-strcpy_chk-ifunc.c: Likewise.
19807         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19808         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19809         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19810         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19811         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19812         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19813         * Rules [$(multi-arch) = no] (tests): Do not filter out
19814         $(tests-ifunc).
19815         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19816         * debug/Makefile (tests-ifunc): Remove variable.
19817         (tests): Do not add $(tests-ifunc).
19818         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19819         (tests): Do not add $(tests-ifunc).
19820         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19821         [TEST_IFUNC]: Remove conditionals.
19822         * string/test-string.h (TEST_IFUNC): Remove macro.
19823         [TEST_IFUNC]: Remove conditionals.
19825         * string/test-strchr.c [!WIDE] (L): New macro.
19826         [WIDE] (L): Likewise.
19827         (check1): Use CHAR instead of char.  Use L on string and character
19828         constants.
19830 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19832         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19833         tests.
19834         * sysdeps/powerpc/bits/atomic.h
19835         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19836         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19837         (atomic_exchange_and_add_acq): Likewise.
19838         (atomic_exchange_and_add_rel): Likewise.
19839         * sysdeps/powerpc/powerpc32/bits/atomic.h
19840         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19841         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19842         * sysdeps/powerpc/powerpc64/bits/atomic.h
19843         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19844         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19846 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19848         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19849         Change synchronization of __sched_fifo_min_prio and
19850         __sched_fifo_max_prio.
19851         * nptl/pthread_mutexattr_getprioceiling.c
19852         (pthread_mutexattr_getprioceiling): Likewise.
19853         * nptl/pthread_mutexattr_setprioceiling.c
19854         (pthread_mutexattr_setprioceiling): Likewise.
19855         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19856         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19857         Likewise.
19859 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19861         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19862         void.
19864 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19866         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19867         third argument const.
19869 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
19871         fnmatch: work around GCC compiler warning bug with uninit var
19872         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19873         This works around a bug with x86-64 GCC 4.9.2 and earlier
19874         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19875         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19876         used uninitialized in this function [-Wmaybe-uninitialized]".
19878 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19880         * posix/bug-regex31.c (main): Return RES not 0.
19882 2014-11-25  Anton Blanchard <anton@samba.org>
19884         * sysdeps/powerpc/bits/atomic.h
19885         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19887 2014-11-24  Sterling Augustine  <saugustine@google.com>
19889         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19891 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
19893         [BZ #17608]
19894         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19896 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
19898         [BZ #17633]
19899         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19900         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19901         variable.
19902         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19903         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19905 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19907         * string/strncpy.c (strncpy): Improve performance by using memset.
19909 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19911         * string/strcpy.c (strcpy):
19912         Improve performance by using strlen and memcpy.
19914 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
19916         * string/strcoll_l.c (get_next_seq): __always_inline.
19917         * string/strcoll_l.c (do_compare): __always_inline.
19919 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19921         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19922         defined.
19923         * include/mqueue.h: Likewise.
19924         * include/stdlib.h: Likewise.
19926         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19927         (get_null_defines): Adjust.
19928         * sunrpc/Makefile: Adjust comment.
19929         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19930         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19931         (CFLAGS-interp.c): Likewise.
19932         (CFLAGS-ldconfig.c): Likewise.
19933         (CPPFLAGS-.os): Likewise.
19934         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19935         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19936         * extra-modules.mk (extra-modules.mk): Likewise.
19937         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19938         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19939         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19940         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19941         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19942         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19943         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19944         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19945         * iconvdata/Makefile (CPPFLAGS): Likewise.
19946         (cpp-srcs-left): Add libof for all iconvdata routines.
19947         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19948         * include/assert.h: Likewise.
19949         * include/ctype.h: Likewise.
19950         * include/errno.h: Likewise.
19951         * include/libc-symbols.h: Likewise.
19952         * include/math.h: Likewise.
19953         * include/netdb.h: Likewise.
19954         * include/resolv.h: Likewise.
19955         * include/stdio.h: Likewise.
19956         * include/stdlib.h: Likewise.
19957         * include/string.h: Likewise.
19958         * include/sys/stat.h: Likewise.
19959         * include/wctype.h: Likewise.
19960         * intl/l10nflist.c: Likewise.
19961         * libidn/idn-stub.c: Likewise.
19962         * libio/libioP.h: Likewise.
19963         * nptl/libc_multiple_threads.c: Likewise.
19964         * nptl/pthreadP.h: Likewise.
19965         * posix/regex_internal.h: Likewise.
19966         * resolv/res_hconf.c: Likewise.
19967         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19968         * sysdeps/arm/memmove.S: Likewise.
19969         * sysdeps/arm/sysdep.h: Likewise.
19970         * sysdeps/generic/_itoa.h: Likewise.
19971         * sysdeps/generic/symbol-hacks.h: Likewise.
19972         * sysdeps/gnu/errlist.awk: Likewise.
19973         * sysdeps/gnu/errlist.c: Likewise.
19974         * sysdeps/i386/i586/memcpy.S: Likewise.
19975         * sysdeps/i386/i586/memset.S: Likewise.
19976         * sysdeps/i386/i686/memcpy.S: Likewise.
19977         * sysdeps/i386/i686/memmove.S: Likewise.
19978         * sysdeps/i386/i686/mempcpy.S: Likewise.
19979         * sysdeps/i386/i686/memset.S: Likewise.
19980         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19981         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19982         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19983         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19984         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19985         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19986         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19987         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19988         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19989         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19990         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19991         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19992         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19993         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19994         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19995         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19996         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19997         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19998         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19999         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20000         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20001         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20002         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20003         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20004         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20005         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20006         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20007         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20008         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20009         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20010         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20011         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20012         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20013         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20014         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20015         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20016         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20017         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20018         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20019         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20020         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20021         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20022         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20023         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20024         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20025         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20026         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20027         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20028         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20029         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20030         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20031         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20032         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20033         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20034         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20035         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20036         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20037         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20038         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20039         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20040         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20041         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20042         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20043         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20044         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20045         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20046         * sysdeps/posix/closedir.c: Likewise.
20047         * sysdeps/posix/opendir.c: Likewise.
20048         * sysdeps/posix/readdir.c: Likewise.
20049         * sysdeps/posix/rewinddir.c: Likewise.
20050         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20051         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20052         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20053         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20054         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20055         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20056         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20057         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20058         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20059         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20060         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20061         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20062         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20063         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20064         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20065         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20066         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20067         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20068         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20069         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20070         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20071         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20072         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20073         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20074         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20075         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20076         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20077         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20078         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20080         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20084         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20085         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20086         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20087         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20088         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20089         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20090         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20091         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20092         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20093         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20094         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20095         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20096         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20097         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20098         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20099         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20100         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20101         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20102         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20103         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20104         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20105         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20106         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20107         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20108         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20109         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20110         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20111         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20112         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20113         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20114         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20115         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20116         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20117         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20118         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20119         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20120         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20121         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20122         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20123         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20124         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20125         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20126         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20127         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20128         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20129         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20130         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20131         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20132         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20133         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20134         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20135         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20136         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20137         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20138         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20139         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20140         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20141         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20142         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20143         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20144         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20145         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20146         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20147         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20148         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20149         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20150         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20151         * sysdeps/unix/alpha/sysdep.S: Likewise.
20152         * sysdeps/unix/alpha/sysdep.h: Likewise.
20153         * sysdeps/unix/make-syscalls.sh: Likewise.
20154         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20155         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20156         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20157         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20158         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20159         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20160         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20161         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20162         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20163         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20164         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20165         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20166         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20167         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20168         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20169         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20170         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20171         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20172         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20173         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20174         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20175         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20176         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20177         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20178         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20179         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20180         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20183         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20184         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20185         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20186         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20187         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20188         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20190         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20191         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20192         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20193         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20194         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20195         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20196         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20197         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20198         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20199         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20200         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20201         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20202         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20203         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20204         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20205         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20206         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20207         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20208         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20209         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20210         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20212         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20213         * sysdeps/x86_64/memcpy.S: Likewise.
20214         * sysdeps/x86_64/memmove.c: Likewise.
20215         * sysdeps/x86_64/memset.S: Likewise.
20216         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20217         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20218         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20219         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20220         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20221         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20222         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20223         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20224         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20225         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20226         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20227         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20228         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20229         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20230         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20231         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20232         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20233         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20234         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20235         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20236         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20237         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20238         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20239         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20240         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20241         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20242         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20243         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20244         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20245         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20246         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20247         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20248         * sysdeps/x86_64/strcmp.S: Likewise.
20250         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20252         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20253         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20254         * elf/rtld-Rules: Likewise.
20255         * elf/setup-vdso.h: Likewise.
20256         * include/assert.h: Likewise.
20257         * include/bits/stdlib-float.h: Likewise.
20258         * include/errno.h: Likewise.
20259         * include/sys/stat.h: Likewise.
20260         * include/unistd.h: Likewise.
20261         * sysdeps/aarch64/setjmp.S: Likewise.
20262         * sysdeps/alpha/setjmp.S: Likewise.
20263         * sysdeps/arm/__longjmp.S: Likewise.
20264         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20265         * sysdeps/arm/setjmp.S: Likewise.
20266         * sysdeps/arm/sysdep.h: Likewise.
20267         * sysdeps/generic/_itoa.h: Likewise.
20268         * sysdeps/generic/dl-sysdep.h: Likewise.
20269         * sysdeps/generic/ldsodefs.h: Likewise.
20270         * sysdeps/i386/dl-tls.h: Likewise.
20271         * sysdeps/i386/setjmp.S: Likewise.
20272         * sysdeps/m68k/setjmp.c: Likewise.
20273         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20274         * sysdeps/mach/hurd/opendir.c: Likewise.
20275         * sysdeps/posix/getcwd.c: Likewise.
20276         * sysdeps/posix/opendir.c: Likewise.
20277         * sysdeps/posix/profil.c: Likewise.
20278         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20279         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20280         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20281         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20282         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20283         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20284         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20285         * sysdeps/s390/dl-tls.h: Likewise.
20286         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20287         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20288         * sysdeps/sh/sh3/setjmp.S: Likewise.
20289         * sysdeps/sh/sh4/setjmp.S: Likewise.
20290         * sysdeps/unix/alpha/sysdep.h: Likewise.
20291         * sysdeps/unix/arm/sysdep.S: Likewise.
20292         * sysdeps/unix/i386/sysdep.S: Likewise.
20293         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20294         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20295         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20297         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20298         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20299         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20300         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20301         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20302         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20303         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20304         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20305         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20308         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20311         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20312         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20313         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20314         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20316         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20317         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20318         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20320         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20321         * sysdeps/x86_64/setjmp.S: Likewise.
20323         * include/math.h: Use IS_IN instead of IS_IN_libm.
20324         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20325         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20326         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20327         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20328         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20329         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20330         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20331         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20332         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20333         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20334         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20335         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20336         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20337         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20338         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20339         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20340         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20341         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20342         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20343         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20344         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20345         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20346         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20347         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20348         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20349         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20350         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20351         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20352         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20353         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20354         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20355         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20356         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20358         Likewise.
20359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20360         Likewise.
20361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20362         Likewise.
20363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20364         Likewise.
20365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20366         Likewise.
20367         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20368         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20369         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20370         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20371         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20372         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20378         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20379         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20380         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20381         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20382         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20383         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20384         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20385         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20386         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20387         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20388         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20389         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20390         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20391         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20393         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20395         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20396         * nptl/pthreadP.h: Likewise.
20397         * nptl_db/structs.def: Likewise.
20398         * sysdeps/arm/sysdep.h: Likewise.
20399         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20400         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20401         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20402         * sysdeps/unix/alpha/sysdep.h: Likewise.
20403         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20404         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20405         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20406         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20407         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20408         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20409         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20410         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20411         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20412         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20413         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20414         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20415         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20416         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20419         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20420         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20421         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20422         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20423         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20424         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20425         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20426         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20427         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20428         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20430         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20431         * nptl/pthreadP.h: Likewise.
20432         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20433         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20434         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20435         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20436         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20437         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20438         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20439         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20440         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20441         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20442         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20443         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20445         Likewise.
20446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20447         Likewise.
20448         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20449         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20450         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20451         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20453         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20454         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20455         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20457         * dlfcn/dladdr.c: Use IS_IN.
20458         * dlfcn/dladdr1.c: Likewise.
20459         * dlfcn/dlclose.c: Likewise.
20460         * dlfcn/dlerror.c: Likewise.
20461         * dlfcn/dlinfo.c: Likewise.
20462         * dlfcn/dlmopen.c: Likewise.
20463         * dlfcn/dlopen.c: Likewise.
20464         * dlfcn/dlsym.c: Likewise.
20465         * dlfcn/dlvsym.c: Likewise.
20467         * include/ifaddrs.h: Use IS_IN.
20468         * inet/check_pf.c: Likewise.
20469         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20470         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20472         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20473         IS_IN_ldconfig.
20474         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20475         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20477         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20478         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20479         IS_IN (libc).
20481         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20483         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20484         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20485         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20486         * include/libc-symbols.h (IS_IN_LIB): New macro.
20487         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20488         * include/netdb.h: Likewise.
20489         * include/stap-probe.h: Remove all uses of IN_LIB.
20491         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20492         instead of IN_MODULE.
20493         * include/libc-symbols.h (IN_MODULE): Define using
20494         MODULE_NAME.
20495         (PASTE_NAME, PASTE_NAME1): New macros.
20496         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20497         of IN_LIB.
20498         (STAP_PROBE_ASM): Likewise.
20500 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20502         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20503         __mach_init in dlopened libc.
20505 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20507         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20508         * sysdeps/arm/preconfigure: Regenerate.
20510 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20512         * nptl/pthread_create.c (__pthread_create_2_1): Set
20513         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20514         when copying values from IATTR into PD.
20516 2014-11-21  Will Newton  <will.newton@linaro.org>
20517             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20519         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20520         Refactor inline-asm.  Also add comment.
20522         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20523         ElfW macro instead of hardcoded Elf64 types.
20524         (la_aarch64_gnu_pltenter): Likewise.
20525         * sysdeps/aarch64/dl-machine.h
20526         (elf_machine_runtime_setup): Use ElfW(Addr).
20528         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20529         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20530         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20531         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20532         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20533         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20534         (R_AARCH64_TLS_DTPMOD): This.
20535         (R_AARCH64_TLS_DTPREL64): Rename to ...
20536         (R_AARCH64_TLS_DTPREL): This.
20537         (R_AARCH64_TLS_TPREL64): Rename to ...
20538         (R_AARCH64_TLS_TPREL): This.
20539         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20540         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20541         R_AARCH64_TLS_TPREL64.
20542         (elf_machine_rela): Likewise.
20544 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20546         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20547         by setting it to 0.  64b atomics are not supported currently.
20549 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20551         [BZ #16469]
20552         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20553         search domain names.
20555 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20557         [BZ #16469]
20558         * NEWS: Update.
20559         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20560         trailing dot.
20561         * posix/tst-getaddrinfo5.c: New.
20562         * posix/Makefile (tests): Add it.
20564 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20566         [BZ #14498]
20567         * NEWS: Fixed.
20568         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20569         after parsing line but before break_if_match.
20570         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20571         if there is a protocol mismatch.
20573 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20575         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20576         because the potential race is on the user-supplied stream.
20578 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20580         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20581         string literal if not passed a buffer.
20582         * manual/job.texi (ctermid): Update reasoning, note deviation
20583         from posix, suggest mtasurace when not passed a buffer, for
20584         future non-preliminary safety notes.
20586 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20588         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20589         of not passing it a buffer.
20590         Reported by Peng Haitao.
20592 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20594         * manual/Makefile ($(objpfx)stamp-summary): Require
20595         check-safety.sh to pass.
20596         * manual/check-safety.sh: Wish for verification that every
20597         @deftypefn and @deftypefun is followed by a @safety remark.
20599 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20601         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20603         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20604         PTHREAD_CANCEL_ASYNCHRONOUS.
20605         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20606         send SIGCANCEL.
20608         * nptl/default-sched.h: New file.
20609         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20610         * nptl/pthread_create.c: Include it.
20611         (__pthread_create_2_1): Use collect_default_sched instead of making
20612         Linux syscalls here directly.
20614 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20616         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20617         __pthread_once): Use C11 atomics.
20619 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20621         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20623 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20625         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20626         atomic_thread_fence_acquire, atomic_thread_fence_release,
20627         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20628         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20629         atomic_compare_exchange_weak_relaxed,
20630         atomic_compare_exchange_weak_acquire,
20631         atomic_compare_exchange_weak_release,
20632         atomic_exchange_acquire, atomic_exchange_release,
20633         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20634         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20635         atomic_fetch_and_acquire,
20636         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20638 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20640         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20641         USE_ATOMIC_COMPILER_BUILTINS): Define.
20642         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20644         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20646         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20647         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20648         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20649         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20650         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20651         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20652         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20653         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20654         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20656         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20658         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20659         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20660         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20662         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20664         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20666         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20668         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20670         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20672         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20674         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20676         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20677         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20678         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20680         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20681         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20683 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20685         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20686         the sched_priority value here.  It was already checked when the user
20687         called pthread_attr_setschedparam.
20689         * nptl/tst-bad-schedattr.c: New file.
20690         * nptl/Makefile (tests): Add it.
20692 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20693             Florian Weimer  <fweimer@redhat.com>
20694             Joseph Myers  <joseph@codesourcery.com>
20695             Adam Conrad  <adconrad@0c3.net>
20696             Andreas Schwab  <schwab@suse.de>
20697             Brooks  <bmoses@google.com>
20699         [BZ #17625]
20700         * wordexp-test.c (__dso_handle): Add prototype.
20701         (__register_atfork): Likewise.
20702         (__app_register_atfork): New function.
20703         (registered_forks): New global.
20704         (register_fork): New function.
20705         (test_case): Add 3 new tests for WRDE_CMDSUB.
20706         (main): Call __app_register_atfork.
20707         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20708         fork count is non-zero fail the test.
20709         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20710         is set.
20711         (parse_dollars): Remove check for WRDE_NOCMD.
20712         (parse_dquote): Likewise.
20714 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20716         * Makeconfig (built-modules): List non-library modules to be
20717         built.
20718         (module-cppflags): Include libc-modules.h for
20719         everything except shlib-versions.v.i.
20720         (CPPFLAGS): Use it.
20721         (before-compile): Add libc-modules.h.
20722         ($(common-objpfx)libc-modules.h,
20723         $(common-objpfx)libc-modules.stmp): New targets.
20724         (common-generated): Add libc-modules.h and libc-modules.stmp.
20725         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20726         * include/libc-symbols.h: Don't include libc-modules.h.
20727         * include/libc-modules.h: Remove file.
20728         * scripts/gen-libc-modules.awk: New script to generate
20729         libc-modules.h.
20730         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20731         Depend on libc-modules.stmp.
20733         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20735         * Makeconfig (in-module): Get value of libof set for the
20736         translation unit.
20737         (CPPFLAGS): Use $(in-module).
20738         * Makerules: Don't suffix routine names for nonlib.
20739         * include/libc-modules.h: New file.
20740         * include/libc-symbols.h: Include libc-modules.h
20741         (IS_IN): New macro to replace IS_IN_* macros.
20742         * elf/Makefile: Set libof-* for each routine.
20743         * elf/rtld-Rules: Likewise.
20744         * extra-modules.mk: Likewise.
20745         * iconv/Makefile: Likewise.
20746         * iconvdata/Makefile: Likewise.
20747         * locale/Makefile: Likewise.
20748         * malloc/Makefile: Likewise.
20749         * nss/Makefile: Likewise.
20750         * sysdeps/gnu/Makefile: Likewise.
20751         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20752         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20753         * sysdeps/s390/s390-64/Makefile: Likewise.
20754         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20755         CPPFLAGS for nscd instead of nonlib.
20757 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20759         * nptl/createthread.c: New file.
20761         * nptl/createthread.c: Moved ...
20762         * sysdeps/unix/sysv/linux/createthread.c: ... here.
20764         * nptl/createthread.c: Add proper top-line comment.
20765         (do_clone): Folded into ...
20766         (create_thread): ... here.  Take new arguments STOPPED_START and
20767         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
20768         increment __nptl_threads, do event-reporting logic, do
20769         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20770         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
20771         resource cleanup if sched_setaffinity or sched_setscheduler fails,
20772         just send SIGCANCEL.
20773         * nptl/pthread_create.c: Forward-declare create_thread before
20774         including createthread.c.
20775         (start_thread): Use new macro START_THREAD_DEFN to replace defining
20776         declaration, and new macro START_THREAD_SELF to replace argument.
20777         Remove return statement.
20778         (report_thread_creation): New function.
20779         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
20780         synchronization logic, and __nptl_nthreads increment here, around
20781         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
20782         PD->parent_cancelhandling here, before create_thread.  When
20783         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20784         __deallocate_stack, and ENOMEM translation here.
20786 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
20788         [BZ #17616]
20789         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20790         (mptwo): Rename to __mptwo.
20791         (__inv): Use __mptwo instead of mptwo.
20792         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20793         (mptwo): Rename to __mptwo.
20794         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20795         of mpone and __mptwo instead of mptwo.
20796         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20797         instead of mpone.
20798         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20799         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20800         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20801         of mpone and __mptwo instead of mptwo.
20802         (__mpranred): Use __mpone instead of mpone.
20803         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20804         variable.
20805         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20806         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20807         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20808         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20809         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20810         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20811         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20812         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20813         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20814         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20815         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20816         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20817         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20818         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20819         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20820         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20821         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20822         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20823         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20825 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20827         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20828         replace BSD Handler xref with BSD Signal Handling.
20830 2014-11-17  Richard Henderson  <rth@redhat.com>
20832         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20833         (_FP_PACK_RAW_2): Remove.
20834         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20835         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20836         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20837         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20838         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20839         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20840         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20841         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20842         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20843         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20844         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20845         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20846         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20847         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20848         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20849         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20851 2014-11-14  Roland McGrath  <roland@hack.frob.com>
20853         * signal/signal.h [__USE_MISC]
20854         (struct sigvec): Remove type.
20855         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20856         (sigvec): Remove declaration.
20857         * sysdeps/posix/sigvec.c: Moved ...
20858         * signal/sigvec.c: ... here, replacing old file.
20859         (struct sigvec): New type, copied from old signal.h definition.
20860         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20861         (__sigvec): Convert definition to prototype.
20862         (sigvec): Replace weak_alias with compat_symbol.
20863         * signal/Versions (libc: GLIBC_2.21): New version set.
20864         * include/signal.h: Remove __sigvec declaration.
20865         * sysdeps/unix/bsd/sigvec.c: Remove file.
20866         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20867         * manual/signal.texi (BSD Handler): Remove subsection.
20868         Move siginterrupt up to ...
20869         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
20870         (Blocking in BSD): Fold subsection into its parent.
20871         * NEWS: Mention sigvec removal.
20873 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20875         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20876         (DLA_FMS): Make definition conditional only on [__FMA4__].
20877         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20878         definition.
20880         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20881         Make definition conditional only on [PROF].
20882         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20883         definition.
20884         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20885         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20887         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20888         !__GNUC__].
20889         * include/signal.h (__sigpause): Move declaration above call to
20890         libc_hidden_proto.
20891         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20892         variable.
20893         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20894         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20896 2014-11-14  David S. Miller  <davem@davemloft.net>
20898         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20899         Define before including <string/memcpy.c> and <string/mempcpy.c>.
20901 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20903         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20904         * configure: Regenerated.
20905         * manual/install.texi (Tools for Compilation): Document a
20906         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20907         compiler verified to work.
20908         * INSTALL: Regenerated.
20910         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20911         redeclare with asm name.
20912         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20913         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20914         including <string.h>.
20915         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20916         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20917         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20918         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20919         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20920         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20921         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20923 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
20925         * stdlib/strtol.c (__strtol): Use prototype definition.
20927         [BZ #17594]
20928         * stdlib/strtol.c (SYM__): New macro.
20929         (SYM__1): Likewise.
20930         (__strtol): Likewise.
20931         (strtol): Rename to __strtol and define as weak alias of
20932         __strtol.  Use libc_hidden_weak.
20934 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20936         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20937         Use numbered labels in inline assembly.
20939 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20941         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20942         Add setjmp LIBC_PROBE.
20943         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20944         Likewise.
20945         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20946         Add longjmp, longjmp_target LIBC_PROBE.
20947         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20948         Likewise.
20950 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20952         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20953         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20954         to get rid of unused variable warning.
20956 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20958         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20959         Check for unwind_backtrace ==  NULL only in SHARED case.
20960         (__backchain_backtrace): Compile only in SHARED case.
20961         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20962         Likewise.
20963         (__backchain_backtrace): Declare as static.
20965 2014-11-12  Roland McGrath  <roland@hack.frob.com>
20967         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20968         (__libc_multiple_threads_ptr): Variable moved ...
20969         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20971 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
20973         * conform/GlibcConform.pm: New file.
20974         * conform/conformtest.pl: Use GlibcConform module.
20975         * conform/linknamespace.pl: New file.
20976         * conform/list-header-symbols.pl: Likewise.
20977         * conform/Makefile (linknamespace-symlists-base): New variable.
20978         (linknamespace-symlists-tests): Likewise.
20979         (linknamespace-header-base): Likewise.
20980         (linknamespace-header-tests): Likewise.
20981         (tests-special): Add new tests.
20982         ($(linknamespace-symlists-tests)): New rule.
20983         (linknamespace-libs): New variable.
20984         ($(objpfx)symlist-stdlibs): New rule.
20985         ($(linknamespace-header-tests)): Likewise.
20986         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20987         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20988         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20989         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20990         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20991         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20992         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20993         (test-xfail-ISO/math.h/linknamespace): Likewise.
20994         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20995         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20996         (test-xfail-ISO/time.h/linknamespace): Likewise.
20997         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20998         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20999         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21000         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21001         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21002         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21003         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21004         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21005         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21006         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21007         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21008         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21009         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21010         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21011         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21012         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21013         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21014         (test-xfail-XPG3/search.h/linknamespace): Likewise.
21015         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21016         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21017         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21018         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21019         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21020         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21021         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21022         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21023         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21024         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21025         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21026         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21027         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21028         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21029         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21030         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21031         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21032         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21033         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21034         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21035         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21036         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21037         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21038         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21039         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21040         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21041         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21042         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21043         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21044         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21045         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21046         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21047         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21048         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21049         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21050         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21051         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21052         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21053         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21054         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21055         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21056         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21057         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21058         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21059         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21060         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21061         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21062         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21063         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21064         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21065         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21066         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21067         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21068         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21069         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21070         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21071         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21072         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21073         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21074         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21075         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21076         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21077         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21078         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21079         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21080         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21081         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21082         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21083         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21084         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21085         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21086         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21087         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21088         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21089         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21090         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21091         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21092         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21093         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21094         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21095         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21096         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21097         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21098         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21099         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21100         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21101         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21102         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21103         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21104         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21105         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21106         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21107         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21108         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21109         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21110         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21111         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21112         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21113         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21114         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21115         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21116         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21117         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21118         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21119         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21120         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21121         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21122         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21123         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21124         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21125         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21126         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21127         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21128         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21129         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21130         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21131         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21132         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21133         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21134         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21135         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21136         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21137         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21138         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21139         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21140         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21141         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21142         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21143         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21144         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21145         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21146         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21148         [BZ #17589]
21149         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21150         of fgets_unlocked.
21152         [BZ #17585]
21153         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21154         (memmem): Rename to __memmem and define as weak alias of
21155         __memmem.  Use libc_hidden_weak.
21156         (__memmem): Use libc_hidden_def.
21157         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
21158         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21159         memmem.
21161         [BZ #17582]
21162         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21163         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
21164         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21165         and define as weak alias of __fgets_unlocked.  Use
21166         libc_hidden_weak.
21167         (__fgets_unlocked): Use libc_hidden_def.
21168         * include/stdio.h (__fgets_unlocked): Declare.  Use
21169         libc_hidden_proto.
21170         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21171         __fgets_unlocked instead of fgets_unlocked.
21172         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21173         (GET_NPROCS_CONF_PARSER): Likewise.
21174         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21175         (GET_NPROCS_CONF_PARSER): Likewise.
21177         [BZ #17574]
21178         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21179         weak alias of __wmemset.  Use libc_hidden_weak.
21180         (__wmemset): Use libc_hidden_def.
21181         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21182         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21183         of wmemset.
21185         [BZ #17573]
21186         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21187         with asm name __mempcpy.
21188         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21190         [BZ #17572]
21191         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21192         and define as weak alias of __rawmemchr.
21193         (__rawmemchr): Do not define as strong alias of rawmemchr.
21195         [BZ #17571]
21196         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21197         alias of __qsort_r.
21198         (qsort): Call __qsort_r instead of qsort_r.
21199         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21200         (__qsort_r): Declare.  Call libc_hidden_proto.
21201         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21202         instead of qsort_r.
21203         * nscd/gai.c (__qsort_r): Define to qsort_r.
21204         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21205         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21206         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21208         [BZ #17570]
21209         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21210         define as weak alias of __malloc_info.
21212         [BZ #17584]
21213         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21214         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21215         (__rewinddir): Use libc_hidden_def.
21216         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21217         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21218         (__rewinddir): Use libc_hidden_def.
21219         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21220         weak alias of __rewinddir.  Don't use libc_hidden_def.
21221         (__rewinddir): Use libc_hidden_def.
21222         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21223         (__rewinddir): Use libc_hidden_proto.
21224         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21225         rewinddir.
21226         (__getcwd): Use __rewinddir instead of rewinddir.
21228         [BZ #17583]
21229         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21230         alias of __fileno.  Use libc_hidden_weak.
21231         (__fileno): Use libc_hidden_def.
21232         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21233         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21234         alias of __ftello.
21235         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21236         __ftello.
21237         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21238         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21239         libc_hidden_def.
21240         (fread_unlocked): Don't use libc_hidden_ver.
21241         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21242         and define as weak alias of __fread_unlocked.  Don't use
21243         libc_hidden_def.
21244         (__fread_unlocked): Use libc_hidden_def.
21245         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21246         (ftello): Don't use libc_hidden_proto.
21247         (__ftello): Declare.  Use libc_hidden_proto.
21248         (fread_unlocked): Don't use libc_hidden_proto.
21249         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21250         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21251         and __ftello instead of fileno, fread_unlocked and ftello.
21253 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21255         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21256         GOT12.
21257         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21258         Likewise.
21259         (_dl_start_user): Likewise.
21260         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21262 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21263             Siddhesh Poyarekar  <siddhesh@redhat.com>
21265         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21266         Move argv and envp down instead of moving argc up.
21267         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21269 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21271         [BZ #17506]
21272         * test-skeleton.c (main): Return successful if one of
21273         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21274         * string/tst-strcoll-overflow.c: Define expected status.
21276 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21278         [BZ #17475]
21279         * locale/iso-639.def: Define Bhili and Tulu language codes.
21281 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21283         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21285 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21287         [BZ #17555]
21288         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21290 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21292         * configure.ac: Updated check of minimal required version to
21293         2.22.
21294         * manual/install.texi (Tools for Compilation): Updated version
21295         number.
21296         * configure: Regenerated.
21297         * INSTALL: Likewise.
21299 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21301         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21302         __tls_get_addr.
21304 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
21306         * include/sys/wait.h (__libc_waitpid): Remove declaration.
21307         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21308         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21309         libc_hidden_weak.
21310         (waitpid): Define as alias of __waitpid.
21311         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21312         __waitpid.
21313         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21314         libc_hidden_weak.
21315         (waitpid): Define as alias of __waitpid.
21316         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21317         __libc_waitpid alias.
21318         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21319         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21320         Likewise.
21321         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21322         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21323         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21324         alias.
21325         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21326         __waitpid.
21327         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21328         libc_hidden_weak.
21329         (waitpid): Define as alias of __waitpid.
21331 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
21333         * manual/llio.texi: Add comment that write safety has been
21334         fixed in Linux.
21336         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21337         (localplt-build-dso): Add elf/ld.so.
21338         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21339         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21340         and free for ld.so.
21341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21342         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21344         Likewise.
21345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21346         Likewise.
21347         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21348         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21349         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21350         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21351         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21352         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21353         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21354         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21355         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21356         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21357         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21359 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
21361         [BZ #14132]
21362         * include/libc-symbols.h (INTUSE): Remove macro.
21363         (INTDEF): Likewise.
21364         (INTVARDEF): Likewise.
21365         (_INTVARDEF): Likewise.
21366         (INTDEF2): Likewise.
21367         (INTVARDEF2): Likewise.
21368         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21369         rtld_hidden_def instead of INTVARDEF.
21370         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21371         (_dl_starting_up_internal): Remove declaration.
21372         (_dl_starting_up): Use rtld_hidden_proto.
21373         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21374         declaration.
21375         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21376         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21377         _dl_starting_up.
21378         * elf/dl-writev.h (_dl_writev): Likewise.
21379         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21380         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21381         _dl_starting_up_internal.
21383 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21385         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21386         test-skeleton.c.
21388 2014-11-05  Will Newton  <will.newton@linaro.org>
21390         * benchtests/Makefile: (bench-malloc): Add malloc thread
21391         scalability benchmark.
21392         * benchtests/bench-malloc-threads.c: New file.
21394 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21396         * sysdeps/aarch64/strchrnul.S: New file.
21398 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21400         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21401         definition.
21402         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21403         Likwise.
21404         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21405         Likewise.
21406         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21407         Likewise.
21408         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21409         Likewise.
21410         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21411         Likewise.
21413 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21415         * catgets/test-gencat.c: Use test-skeleton.c.
21416         * catgets/tst-catgets.c: Likewise.
21417         * csu/tst-empty.c: Likewise.
21418         * elf/tst-audit2.c: Likewise.
21419         * elf/tst-global1.c: Likewise.
21420         * elf/tst-pathopt.c: Likewise.
21421         * elf/tst-piemod1.c: Likewise.
21422         * elf/tst-tls10.c: Likewise.
21423         * elf/tst-tls11.c: Likewise.
21424         * elf/tst-tls12.c: Likewise.
21425         * gnulib/tst-gcc.c: Likewise.
21426         * iconvdata/tst-e2big.c: Likewise.
21427         * iconvdata/tst-loading.c: Likewise.
21428         * iconv/tst-iconv1.c: Likewise.
21429         * iconv/tst-iconv2.c: Likewise.
21430         * inet/test-inet6_opt.c: Likewise.
21431         * inet/tst-gethnm.c: Likewise.
21432         * inet/tst-network.c: Likewise.
21433         * inet/tst-ntoa.c: Likewise.
21434         * intl/tst-codeset.c: Likewise.
21435         * intl/tst-gettext2.c: Likewise.
21436         * intl/tst-gettext3.c: Likewise.
21437         * intl/tst-ngettext.c: Likewise.
21438         * intl/tst-translit.c: Likewise.
21439         * io/test-stat.c: Likewise.
21440         * libio/test-fmemopen.c: Likewise.
21441         * libio/tst-freopen.c: Likewise.
21442         * libio/tst-sscanf.c: Likewise.
21443         * libio/tst-ungetwc1.c: Likewise.
21444         * libio/tst-ungetwc2.c: Likewise.
21445         * libio/tst-widetext.c: Likewise.
21446         * localedata/tst-ctype.c: Likewise.
21447         * localedata/tst-digits.c: Likewise.
21448         * localedata/tst-leaks.c: Likewise.
21449         * localedata/tst-mbswcs1.c: Likewise.
21450         * localedata/tst-mbswcs2.c: Likewise.
21451         * localedata/tst-mbswcs3.c: Likewise.
21452         * localedata/tst-mbswcs4.c: Likewise.
21453         * localedata/tst-mbswcs5.c: Likewise.
21454         * localedata/tst-setlocale.c: Likewise.
21455         * localedata/tst-trans.c: Likewise.
21456         * localedata/tst-wctype.c: Likewise.
21457         * localedata/tst-xlocale1.c: Likewise.
21458         * login/tst-grantpt.c: Likewise.
21459         * malloc/tst-calloc.c: Likewise.
21460         * malloc/tst-malloc.c: Likewise.
21461         * malloc/tst-mallocstate.c: Likewise.
21462         * malloc/tst-mcheck.c: Likewise.
21463         * malloc/tst-mtrace.c: Likewise.
21464         * malloc/tst-obstack.c: Likewise.
21465         * math/atest-exp2.c: Likewise.
21466         * math/atest-exp.c: Likewise.
21467         * math/atest-sincos.c: Likewise.
21468         * math/test-matherr.c: Likewise.
21469         * math/test-misc.c: Likewise.
21470         * math/test-powl.c: Likewise.
21471         * math/tst-definitions.c: Likewise.
21472         * misc/tst-dirname.c: Likewise.
21473         * misc/tst-efgcvt.c: Likewise.
21474         * misc/tst-fdset.c: Likewise.
21475         * misc/tst-hsearch.c: Likewise.
21476         * misc/tst-mntent2.c: Likewise.
21477         * nptl/tst-sem7.c: Likewise.
21478         * nptl/tst-sem8.c: Likewise.
21479         * nptl/tst-sem9.c: Likewise.
21480         * nss/test-netdb.c: Likewise.
21481         * posix/tst-fnmatch.c: Likewise.
21482         * posix/tst-getlogin.c: Likewise.
21483         * posix/tst-gnuglob.c: Likewise.
21484         * posix/tst-mmap.c: Likewise.
21485         * pwd/tst-getpw.c: Likewise.
21486         * resolv/tst-inet_ntop.c: Likewise.
21487         * rt/tst-timer.c: Likewise.
21488         * stdio-common/test-fseek.c: Likewise.
21489         * stdio-common/test-popen.c: Likewise.
21490         * stdio-common/test-vfprintf.c: Likewise.
21491         * stdio-common/tst-cookie.c: Likewise.
21492         * stdio-common/tst-fileno.c: Likewise.
21493         * stdio-common/tst-gets.c: Likewise.
21494         * stdio-common/tst-obprintf.c: Likewise.
21495         * stdio-common/tst-perror.c: Likewise.
21496         * stdio-common/tst-sprintf2.c: Likewise.
21497         * stdio-common/tst-sprintf3.c: Likewise.
21498         * stdio-common/tst-sprintf.c: Likewise.
21499         * stdio-common/tst-swprintf.c: Likewise.
21500         * stdio-common/tst-tmpnam.c: Likewise.
21501         * stdio-common/tst-unbputc.c: Likewise.
21502         * stdio-common/tst-wc-printf.c: Likewise.
21503         * stdlib/tst-environ.c: Likewise.
21504         * stdlib/tst-fmtmsg.c: Likewise.
21505         * stdlib/tst-limits.c: Likewise.
21506         * stdlib/tst-rand48-2.c: Likewise.
21507         * stdlib/tst-rand48.c: Likewise.
21508         * stdlib/tst-random2.c: Likewise.
21509         * stdlib/tst-random.c: Likewise.
21510         * stdlib/tst-strtol.c: Likewise.
21511         * stdlib/tst-strtoll.c: Likewise.
21512         * stdlib/tst-tls-atexit.c: Likewise.
21513         * stdlib/tst-xpg-basename.c: Likewise.
21514         * string/test-ffs.c: Likewise.
21515         * string/tst-bswap.c: Likewise.
21516         * string/tst-inlcall.c: Likewise.
21517         * string/tst-strtok.c: Likewise.
21518         * string/tst-strxfrm.c: Likewise.
21519         * sysdeps/x86_64/tst-audit10.c: Likewise.
21520         * sysdeps/x86_64/tst-audit3.c: Likewise.
21521         * sysdeps/x86_64/tst-audit4.c: Likewise.
21522         * sysdeps/x86_64/tst-audit5.c: Likewise.
21523         * time/tst-ftime_l.c: Likewise.
21524         * time/tst-getdate.c: Likewise.
21525         * time/tst-mktime3.c: Likewise.
21526         * time/tst-mktime.c: Likewise.
21527         * time/tst-posixtz.c: Likewise.
21528         * time/tst-strptime2.c: Likewise.
21529         * time/tst-strptime3.c: Likewise.
21530         * wcsmbs/tst-btowc.c: Likewise.
21531         * wcsmbs/tst-mbrtowc.c: Likewise.
21532         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21533         * wcsmbs/tst-wchar-h.c: Likewise.
21534         * wcsmbs/tst-wcpncpy.c: Likewise.
21535         * wcsmbs/tst-wcrtomb.c: Likewise.
21536         * wcsmbs/tst-wcsnlen.c: Likewise.
21537         * wcsmbs/tst-wcstof.c: Likewise.
21539 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21541         [BZ #14132]
21542         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21543         INTDEF.
21544         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21545         declaration.
21546         (_dl_mcount): Use rtld_hidden_proto.
21547         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21548         _dl_mcount.
21549         * elf/rtld.c (_rtld_global_ro): Likewise.
21551         [BZ #14132]
21552         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21553         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21554         of _dl_init_internal.
21555         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21556         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21557         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21558         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21559         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21560         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21561         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21562         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21563         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21564         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21565         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21566         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21567         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21568         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21569         * sysdeps/tile/dl-start.S (_start): Likewise.
21570         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21571         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21573         [BZ #14132]
21574         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21575         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21576         (rtld_progname): Make macro definition unconditional.
21577         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21578         INTDEF.
21579         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21580         (dl_main): Likewise.
21581         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21582         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21583         instead of _dl_argv_internal.
21584         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21585         __GI__dl_argv instead of INTUSE(_dl_argv).
21586         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21587         __GI__dl_argv instead of _dl_argv_internal.
21589         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21590         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21591         macro.
21592         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21593         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21594         New macro.
21595         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21596         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21597         macro.
21598         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21599         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21601 2014-11-04  Andreas Schwab  <schwab@suse.de>
21603         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21605 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21607         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21608         mtvsrd instruction in binary form.
21610 2014-11-03  Andreas Schwab  <schwab@suse.de>
21612         [BZ #17522]
21613         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21614         for less than MB_LEN_MAX use a local buffer of that size.
21615         * libio/tst-fputws.c: New file.
21616         * libio/Makefile (tests): Add tst-fputws.
21618 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21620         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21621         the size of the fpu_fr.fpu_dregs[] array.
21623 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21625         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21626         (__nanosleep): Do not define as alias.
21627         (nanosleep): Define as alias of __nanosleep.
21628         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21629         __libc_nanosleep name.
21631 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21633         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21634         install.texi in comment.
21636 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21638         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21639         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21640         ... add here and use lwsync or sync ...
21641         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21642         ... and add here using lwsync.
21644 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21646         * elf/dl-machine-reject-phdr.h: New file.
21647         * elf/dl-load.c: #include that.
21648         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21649         if that returned true.
21651 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21653         [BZ #17496]
21654         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21655         gen-as-const-headers chunk.  Add a big scare comment after the last
21656         safe place to touch before-compile.
21658 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21660         * manual/install.texi (Tools for Compilation): Update autoconf
21661         version requirements.
21662         * INSTALL: Regenerated.
21664         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21665         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21666         (__libc_pselect): Likewise.
21668         [BZ #14138]
21669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21674 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21676         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21677         correct barrier instruction.
21678         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21679         Likewise.
21680         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21681         Likewise.
21683 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21685         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21686         after defining inlines.  Instead, just use parens to defeat macro
21687         expansion of __isctype in its declaration.
21689 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21691         * include/sys/uio.h (__libc_readv): Remove declaration.
21692         (__libc_writev): Likewise.
21693         * misc/readv.c (__libc_readv): Rename to __readv.
21694         (__readv): Do not define as alias.
21695         (readv): Define as alias of __readv.
21696         * misc/writev.c (__libc_writev): Rename to __writev.
21697         (__writev): Do not define as alias.
21698         (writev): Define as alias of __writev.
21699         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21700         (__readv): Do not define as alias.
21701         (readv): Define unconditionally as alias of __readv.
21702         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21703         (__writev): Do not define as alias.
21704         (writev): Define unconditionally as alias of __writev.
21705         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21706         name.
21707         (writev): Do not define __libc_writev name.
21709 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21711         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21712         (convert_charseq): New function, broken out of ...
21713         (use_from_charmap): ... here.  Call it.
21714         (use_to_charmap): Use convert_charseq and free instead of duplicating
21715         its code with a variable-length stack struct.
21717 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21719         * include/fcntl.h (__libc_creat): Remove declaration.
21720         * io/creat.c (__libc_creat): Rename to creat.
21721         (creat): Do not define as alias.
21722         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21723         of creat instead of __libc_creat.
21724         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21725         to creat.
21726         (creat): Do not define as alias.
21727         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21728         __libc_creat.
21729         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21730         __libc_creat name.
21731         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21732         Likewise.
21734 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21736         * manual/llio.texi: Add comments discussing why write() may be
21737         considered MT-unsafe on Linux.
21739 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21741         * dl-load.c (local_strdup): Remove.
21742         (expand_dynamic_string_token): Use __strdup.
21743         (decompose_rpath): Likewise.
21744         (_dl_map_object): Likewise.
21746 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21748         [BZ #14132]
21749         * sysdeps/generic/unwind-dw2-fde.c
21750         (__register_frame_info_bases_internal): Do not declare.
21751         (__register_frame_info_table_bases_internal): Likewise.
21752         (__deregister_frame_info_bases_internal): Likewise.
21753         (__register_frame_info_bases): Declare and use hidden_proto before
21754         definition.  Use hidden_def instead of INTDEF.
21755         (__register_frame_info_table_bases): Likewise.
21756         (__deregister_frame_info_bases): Likewise.
21757         (__register_frame_info): Do not use INTUSE.
21758         (__register_frame): Likewise.
21759         (__register_frame_info_table): Likewise.
21760         (__register_frame_table): Likewise.
21761         (__deregister_frame_info): Likewise.
21762         (__deregister_frame): Likewise.
21764 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
21766         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21767         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21768         not undefine.
21769         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21770         Likewise.
21771         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21772         Likewise.
21774 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
21776         [BZ #14138]
21777         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21778         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21779         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21780         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21781         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21782         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21783         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21784         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21785         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21786         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21787         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21788         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21789         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21790         syscall.
21791         (setfsuid): Likewise.
21792         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21793         (setfsuid): Likewise.
21794         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21795         (setfsuid): Likewise.
21796         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21797         Likewise.
21798         (setfsuid): Likewise.
21799         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21800         (setfsuid): Likewise.
21801         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21802         Likewise.
21803         (setfsuid): Likewise.
21805 2014-10-27  Andreas Schwab  <schwab@suse.de>
21807         [BZ #17501]
21808         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21809         check for Slow_SSE4_2 feature bit.
21810         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21811         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21812         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21813         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21815 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21817         * configure.ac: Validate compiler version with a empirical test of
21818         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21819         $CC -v output.
21820         * configure: Regenerated.
21822         * inet/htons.c (htons): Prototypify.
21823         * inet/htonl.c (htonl): Likewise.
21825 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21827         * string/strncat.c (strncat): Improve performance by using strlen.
21829 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21831         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21833 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21835         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21836         Call libc_fetestexcept_aarch64.
21838 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21840         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21841         Call libc_feholdexcept_aarch64.
21843 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21845         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21846         Call get_rounding_mode.
21848 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21850         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21851         Simplify logic.
21853 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21855         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21856         Simplify logic.
21858 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
21860         [BZ #14138]
21861         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21862         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21863         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21864         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21865         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21866         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21867         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21868         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21869         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21870         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21871         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21872         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21873         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21874         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21875         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21876         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21877         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21878         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21879         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21880         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21881         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21882         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21883         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21884         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21885         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21886         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21887         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21888         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21889         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21890         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21891         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21892         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21893         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21894         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21895         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21896         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21897         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21898         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21899         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21900         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21901         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21902         syscall.
21903         (geteuid): Likewise.
21904         (getgid): Likewise.
21905         (getuid): Likewise.
21906         (getresgid): Likewise.
21907         (getresuid): Likewise.
21908         (getgroups): Likewise.
21909         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21910         (geteuid): Likewise.
21911         (getgid): Likewise.
21912         (getuid): Likewise.
21913         (getresgid): Likewise.
21914         (getresuid): Likewise.
21915         (getgroups): Likewise.
21916         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21917         (geteuid): Likewise.
21918         (getgid): Likewise.
21919         (getuid): Likewise.
21920         (getresgid): Likewise.
21921         (getresuid): Likewise.
21922         (getgroups): Likewise.
21923         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21924         Likewise.
21925         (geteuid): Likewise.
21926         (getgid): Likewise.
21927         (getuid): Likewise.
21928         (getresgid): Likewise.
21929         (getresuid): Likewise.
21930         (getgroups): Likewise.
21931         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21932         (geteuid): Likewise.
21933         (getgid): Likewise.
21934         (getuid): Likewise.
21935         (getresgid): Likewise.
21936         (getresuid): Likewise.
21937         (getgroups): Likewise.
21938         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21939         Likewise.
21940         (geteuid): Likewise.
21941         (getgid): Likewise.
21942         (getuid): Likewise.
21943         (getgroups): Likewise.
21945         [BZ #14138]
21946         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21947         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21948         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21949         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21950         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21951         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21952         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21953         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21954         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21955         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21956         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21957         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21958         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21959         __chown.
21960         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21961         (lchown): Likewise.
21962         (fchown): Likewise.
21963         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21964         Likewise.
21965         (lchown): Likewise.
21966         (fchown): Likewise.
21967         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21968         (lchown): Likewise.
21969         (fchown): Likewise.
21970         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21971         Likewise.
21972         (lchown): Likewise.
21973         (fchown): Likewise.
21975 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21977         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21978         Simplify logic.
21980 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21982         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21983         Cleanup logic.
21985 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21987         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21988         Remove unused include.
21990 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21992         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21993         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21994         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21995         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21997 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21998             Helge Deller <deller@gmx.de>
22000         [BZ #17508]
22001         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22002         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22003         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22005 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22007         [BZ #14132]
22008         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22009         Remove macro definition.
22010         (__ashrdi3_v_glibc20): Likewise.
22011         (__lshrdi3_v_glibc20): Likewise.
22012         (__cmpdi2_v_glibc20): Likewise.
22013         (__ucmpdi2_v_glibc20): Likewise.
22014         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22015         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22016         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22017         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22018         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22019         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22021 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22023         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22024         old GNU extension [0] syntax.
22025         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22026         alloca rather than an array member with variable length.
22027         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22028         * nscd/nscd.c (invalidate_db): New function, broken out of ...
22029         (parse_opt): ... here.  Likewise use alloca there.
22030         Validate the -i argument before checking for rootness.
22031         (send_shutdown): New function, broken out of ...
22032         (parse_opt): ... here.
22034 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22036         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22037         macro to get at the _rt_local_ro field.
22038         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22039         ([PIC] case) or _dl_hwcap ([!PIC] case).
22040         * sysdeps/arm/setjmp.S: Likewise.
22042         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22043         * sysdeps/arm/configure.ac: New check to define it.
22044         * sysdeps/arm/configure: Regenerated.
22045         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22046         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22047         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22048         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22049         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22050         Use move/movt pair instead of a load.
22051         (LDST_GLOBAL): Macro removed.
22052         (LDR_GLOBAL): New macro replaces it.
22053         (LDR_HIDDEN): New macro.
22054         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22055         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22057         * setjmp/tst-setjmp-static.c: New file.
22058         * setjmp/Makefile (tests): Add it.
22059         (tests-static): New variable.
22061 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
22063         [BZ #17485]
22064         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22066 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
22068         [BZ #14132]
22069         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22071 2014-10-21  Roland McGrath  <roland@hack.frob.com>
22073         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22075 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22077         * io/fts.c (dirent_not_directory): New function.
22078         (fts_build): Call it.
22080 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22082         * nptl/version.c (__nptl_main): Use normal __write rather than
22083         INTERNAL_SYSCALL.
22084         (banner): Update copyright years.
22086         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22087         gettimeofday.
22088         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22089         * nptl/pthread_cond_timedwait.c: Likewise.
22090         * nptl/pthread_mutex_timedlock.c: Likewise.
22091         * nptl/sem_timedwait.c: Likewise.
22093         * sysdeps/nptl/bits/libc-lock.h
22094         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22095         (__libc_lock_init_recursive): Return void, not 0.
22096         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22097         (__libc_rwlock_init): Likewise.
22098         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22100 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22102         [BZ #15215]
22103         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22104         (__pthread_once_slow): ... here.
22105         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22106         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22108 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22110         [BZ #15215]
22111         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22112         __PTHREAD_ONCE_FORK_GEN_INCR): New.
22113         * sysdeps/nptl/fork.c (__libc_fork): Use them.
22114         * nptl/pthread_once.c (__pthread_once): Likewise.
22115         Update comments.
22117 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
22119         [BZ #14138]
22120         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22121         name.
22122         (writev): Use __libc_writev as strong name.
22123         * sysdeps/unix/sysv/linux/readv.c: Remove file.
22124         * sysdeps/unix/sysv/linux/writev.c: Likewise.
22126 2014-10-17  Roland McGrath  <roland@hack.frob.com>
22128         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22130         * sysdeps/i386/nptl/tls.h
22131         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22132         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22133         New macros.
22134         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22135         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22136         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22137         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22138         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22139         Call CHECK_THREAD_SYSINFO instead of doing an assert.
22141         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22142         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22143         on [__NR_futex].
22144         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22145         broken out of ...
22146         (__pthread_mutex_init): ... here.  Call it.
22147         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22148         Conditionalize PI cases on [__NR_futex].
22149         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22150         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22151         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22153         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22154         conditional on [SIGSETXID].
22155         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22156         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22157         is defined.  Likewise for SIGSETXID.
22158         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22159         Conditionalize definitions on [SIGSETXID].
22160         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22161         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22162         unblocking on [SIGCANCEL].
22164         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22165         [__NR_set_robust_list].
22167 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22169         * string/strcoll_l.c (get_next_seq): Fix up formatting.
22170         (do_compare): Likewise.
22172 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
22174         [BZ #15884]
22175         * string/strcoll_l.c: Don't include stdio.h.
22176         (coll_seq): Remove members idxarr and rulearr.
22177         (get_next_seq_cached): Remove function.
22178         (get_next_seq): Likewise.
22179         (get_next_seq_nocache): Rename to get_next_seq.
22180         (do_compare): Remove function.
22181         (do_compare_nocache): Rename to do_compare.
22182         (STRCOLL): Remove weight and rules cache.
22184 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22186         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22187         * sysdeps/arm/sfp-machine.h: ... to here.
22188         * sysdeps/arm/Implies: Remove arm/soft-fp.
22190 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22192         * conform/data/sys/utsname.h-data (*_t): Allow.
22193         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22194         [POSIX] (WEXITED): Do not expect constant.
22195         [POSIX] (WSTOPPED): Likewise.
22196         [POSIX] (WNOHANG): Likewise.
22197         [POSIX] (WNOWAIT): Likewise.
22198         [POSIX] (siginfo_t): Do not expect type or elements.
22199         [POSIX] (pid_t): Do not expect type.
22200         [POSIX] (signal.h): Do not allow header.
22201         [POSIX] (sys/resource.h): Likewise.
22202         [POSIX] (si_*): Do not allow pattern.
22203         [POSIX] (W*): Likewise.
22204         [POSIX] (P_*): Likewise.
22205         [POSIX] (BUS_*): Likewise.
22206         [POSIX] (CLD_*): Likewise.
22207         [POSIX] (FPE_*): Likewise.
22208         [POSIX] (ILL_*): Likewise.
22209         [POSIX] (POLL_*): Likewise.
22210         [POSIX] (SEGV_*): Likewise.
22211         [POSIX] (SI_*): Likewise.
22212         [POSIX] (TRAP_*): Likewise.
22213         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22214         variable.
22216 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22218         [BZ #12926]
22219         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22220         infinite loop when __recvmsg returns 0.
22222 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22224         * CANCEL-FCT-WAIVE: Remove file.
22225         * CANCEL-FILE-WAIVE: Likewise.
22227         [BZ #14132]
22228         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22229         instead of INTVARDEF.
22230         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22231         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22232         rtld_hidden_data_def instead of INTVARDEF.
22233         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22234         * elf/dl-deps.c (expand_dst): Likewise.
22235         * elf/dl-load.c (_dl_dst_count): Likewise.
22236         (_dl_dst_substitute): Likewise.
22237         (decompose_rpath): Likewise.
22238         (_dl_init_paths): Likewise.
22239         (open_path): Likewise.
22240         (_dl_map_object): Likewise.
22241         * elf/rtld.c (dl_main): Likewise.
22242         (process_dl_audit): Likewise.
22243         (process_envvars): Likewise.
22244         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22245         Remove declaration.
22246         (__libc_enable_secure): Use rtld_hidden_proto.
22248 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22250         * elf/dl-load.c
22251         (add_path): New function broken out of _dl_rtld_di_serinfo.
22252         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22254 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22256         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22257         parentheses around macro arguments.
22258         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22260         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22261         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22262         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22263         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22264         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22265         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22266         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22267         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22268         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22269         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22270         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22271         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22272         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22273         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22274         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22275         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22276         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22278         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22279         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22280         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22281         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22282         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22283         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22284         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22285         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22286         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22287         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22288         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22289         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22290         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22291         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22292         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22293         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22294         Likewise.
22295         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22296         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22299         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22300         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22301         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22302         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22303         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22304         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22305         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22306         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22307         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22309         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22310         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22311         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22313         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22314         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22315         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22316         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22317         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22318         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22319         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22320         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22321         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22322         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22323         (_FP_FRAC_SRS_1): Likewise.
22324         (_FP_FRAC_CLZ_1): Likewise.
22325         (_FP_MUL_MEAT_1_imm): Likewise.
22326         (_FP_MUL_MEAT_1_wide): Likewise.
22327         (_FP_MUL_MEAT_1_hard): Likewise.
22328         (_FP_SQRT_MEAT_1): Likewise.
22329         (_FP_FRAC_ASSEMBLE_1): Likewise.
22330         (_FP_FRAC_DISASSEMBLE_1): Likewise.
22331         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22332         (__FP_CLZ_2): Likewise.
22333         (_FP_MUL_MEAT_2_wide): Likewise.
22334         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22335         (_FP_MUL_MEAT_2_gmp): Likewise.
22336         (_FP_MUL_MEAT_2_120_240_double): Likewise.
22337         (_FP_SQRT_MEAT_2): Likewise.
22338         (_FP_FRAC_ASSEMBLE_2): Likewise.
22339         (_FP_FRAC_DISASSEMBLE_2): Likewise.
22340         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22341         (_FP_FRAC_CLZ_4): Likewise.
22342         (_FP_MUL_MEAT_4_wide): Likewise.
22343         (_FP_MUL_MEAT_4_gmp): Likewise.
22344         (_FP_SQRT_MEAT_4): Likewise.
22345         (_FP_FRAC_ASSEMBLE_4): Likewise.
22346         (_FP_FRAC_DISASSEMBLE_4): Likewise.
22347         * soft-fp/op-common.h (_FP_CMP): Likewise.
22348         (_FP_CMP_EQ): Likewise.
22349         (_FP_CMP_UNORD): Likewise.
22350         (_FP_TO_INT): Likewise.
22351         (_FP_FROM_INT): Likewise.
22352         [!__FP_CLZ] (__FP_CLZ): Likewise.
22353         (_FP_DIV_HELP_imm): Likewise.
22354         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22355         Likewise.
22356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22357         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22359         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22360         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22361         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22362         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22363         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22364         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22365         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22366         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22367         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22368         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22369         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22370         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22371         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22372         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22377         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22378         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22379         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22380         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22381         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22383         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22384         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22385         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22386         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22387         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22388         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22389         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22390         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22391         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22392         (FP_UNPACK_RAW_SP): Likewise.
22393         (FP_PACK_RAW_S): Likewise.
22394         (FP_PACK_RAW_SP): Likewise.
22395         (FP_UNPACK_S): Likewise.
22396         (FP_UNPACK_SP): Likewise.
22397         (FP_UNPACK_SEMIRAW_S): Likewise.
22398         (FP_UNPACK_SEMIRAW_SP): Likewise.
22399         (FP_PACK_S): Likewise.
22400         (FP_PACK_SP): Likewise.
22401         (FP_PACK_SEMIRAW_S): Likewise.
22402         (FP_PACK_SEMIRAW_SP): Likewise.
22403         (_FP_SQRT_MEAT_S): Likewise.
22404         (FP_CMP_S): Likewise.
22405         (FP_CMP_EQ_S): Likewise.
22406         (FP_CMP_UNORD_S): Likewise.
22407         (FP_TO_INT_S): Likewise.
22408         (FP_FROM_INT_S): Likewise.
22410         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22412         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22413         (FP_EX_INVALID_IMZ): Likewise.
22414         (FP_EX_INVALID_IMZ_FMA): Likewise.
22415         (FP_EX_INVALID_ISI): Likewise.
22416         (FP_EX_INVALID_ZDZ): Likewise.
22417         (FP_EX_INVALID_IDI): Likewise.
22418         (FP_EX_INVALID_SQRT): Likewise.
22419         (FP_EX_INVALID_CVI): Likewise.
22420         (FP_EX_INVALID_VC): Likewise.
22421         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22422         "invalid" exceptions.
22423         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22424         (_FP_ADD_INTERNAL): Likewise.
22425         (_FP_MUL): Likewise.
22426         (_FP_FMA): Likewise.
22427         (_FP_DIV): Likewise.
22428         (_FP_CMP_CHECK_NAN): Likewise.
22429         (_FP_SQRT): Likewise.
22430         (_FP_TO_INT): Likewise.
22431         (FP_EXTEND): Likewise.
22433 2014-10-09  Allan McRae  <allan@archlinux.org>
22435         * po/fr.po: Update French translation from translation project.
22437 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22439         [BZ #14132]
22440         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22441         of INTDEF.
22442         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22443         (__cxa_atexit): Use libc_hidden_proto.
22444         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22446         [BZ #14132]
22447         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22448         declaration.
22449         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22450         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22451         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22452         [!_ISOMAC] (__iswctype_internal): Likewise.
22453         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22454         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22455         alias.
22456         (fcntl): Remove __fcntl_internal alias.
22457         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22458         __connect_internal alias.
22459         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22460         Likewise.
22462         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22463         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22464         FP_DENORM_ZERO.
22465         (_FP_CHECK_FLUSH_ZERO): New macro.
22466         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22467         (_FP_CMP): Likewise.
22468         (_FP_CMP_EQ): Likewise.
22469         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22470         FP_DENORM_ZERO.
22471         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22472         (FP_TRUNC): Likewise.
22474         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22475         treated as invalid conversion, not as normal exponent.
22477         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22478         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22479         (_FP_CMP_EQ): Likewise.
22480         (_FP_CMP_UNORD): Likewise.
22481         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22482         (FP_CMP_EQ_D): Likewise.
22483         (FP_CMP_UNORD_D): Likewise.
22484         * soft-fp/extended.h (FP_CMP_E): Likewise.
22485         (FP_CMP_EQ_E): Likewise.
22486         (FP_CMP_UNORD_E): Likewise.
22487         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22488         (FP_CMP_EQ_Q): Likewise.
22489         (FP_CMP_UNORD_Q): Likewise.
22490         * soft-fp/single.h (FP_CMP_S): Likewise.
22491         (FP_CMP_EQ_S): Likewise.
22492         (FP_CMP_UNORD_S): Likewise.
22493         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22494         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22495         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22496         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22497         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22498         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22499         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22500         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22501         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22502         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22503         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22504         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22505         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22506         to FP_CMP_Q.
22507         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22508         FP_CMP_Q.
22509         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22510         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22511         FP_CMP_EQ_Q.
22512         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22513         FP_CMP_Q.
22514         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22515         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22516         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22517         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22518         FP_CMP_EQ_Q.
22519         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22520         FP_CMP_Q.
22521         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22522         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22523         FP_CMP_EQ_Q.
22524         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22525         FP_CMP_Q.
22526         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22527         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22528         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22529         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22530         FP_CMP_EQ_Q.
22532         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22533         a subnormal result, set the underflow exception if trapping on
22534         underflow is enabled.
22535         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22536         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22537         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22538         redefine to 0.
22539         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22540         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22541         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22542         * soft-fp/extendxftf2.c (__extendxftf2): Use
22543         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22545         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22546         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22547         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22548         FP_HANDLE_EXCEPTIONS.
22549         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22550         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22551         FP_HANDLE_EXCEPTIONS.
22552         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22553         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22554         FP_HANDLE_EXCEPTIONS.
22555         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22556         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22557         FP_HANDLE_EXCEPTIONS.
22559 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22561         [BZ #14132]
22562         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22563         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22564         use INTUSE.
22565         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22566         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22567         Remove alias.
22568         (__adjtimex): Define using libc_hidden_ver.
22569         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22570         Remove declaration.
22571         (ntp_gettime): Call __adjtimex directly.
22572         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22573         Remove declaration.
22574         (ntp_gettimex): Call __adjtimex directly.
22575         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22576         __adjtimex_internal alias.
22578 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22580         [BZ #17460]
22581         * nscd/nscd.c (more_help): Rewrite list of tables collection
22582         using xstrdup and asprintf.
22584         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22586 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22587             Roland McGrath  <roland@hack.frob.com>
22589         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22590         (do_lookup_unique): ... local function 'enter' here; update callers.
22592 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22594         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22595         compat_symbol calls on [SHARED].
22596         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22597         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22598         Remove.
22599         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22600         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22601         (oldsetrlimit): Remove.
22602         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22604         (lchown): New syscall entry.
22605         (oldsetrlimit): Remove.
22606         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22607         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22608         (oldsetrlimit): Remove.
22609         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22611         [BZ #14138]
22612         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22613         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22614         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22615         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22616         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22617         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22618         (fchown): Likewise.
22619         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22620         (fchown): Likewise.
22621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22622         Likewise.
22624 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22626         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22627         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22628         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22629         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22630         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22631         Likewise.
22632         (__old_sem_post): Likewise.
22634 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22636         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22637         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22638         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22639         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22640         Use INLINE_VSYSCALL macro.
22641         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22642         __vdso_clock_gettime.
22643         * sysdeps/unix/sysv/linux/tile/init-first.c
22644         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22645         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22646         __vdso_clock_gettime.
22648         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22649         to set up frame more cleanly.
22651         * sysdeps/tile/memcmp.c: New file.
22653         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22655         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22656         * sysdeps/tile/tilegx/strcasestr.c: New file.
22657         * sysdeps/tile/tilegx/strnlen.c: New file.
22658         * sysdeps/tile/tilegx/strstr.c: New file.
22660         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22662 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22664         * nptl/tst-setuid3.c: Write errors to stdout.
22666 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22668         * elf/dl-deps.c
22669         (preload): New functions broken out of _dl_map_object_deps.
22670         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22672 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22674         [BZ #14138]
22675         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22676         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22678 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22680         * sysdeps/mips/strcmp.S: New.
22682 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22684         [BZ #14138]
22685         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22686         (linkat): Likewise.
22687         (mkdirat): Likewise.
22688         (readlinkat): Likewise.
22689         (renameat): Likewise.
22690         (symlinkat): Likewise.
22691         (unlinkat): Likewise.
22692         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22693         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22694         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22695         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22696         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22697         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22698         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22700 2014-09-30  Will Newton  <will.newton@linaro.org>
22702         * math/math.h: Define long double math functions if
22703         _LIBC_TEST is defined.
22704         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22706         * localedata/Makefile: Move assignment to tests-special
22707         into an ifdef testing run-built-tests.
22708         * timezone/Makefile: Likewise.
22710 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22712         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22713         with $(BASH) not $(SHELL).
22715 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22716             Matthew LeGendre  <legendre1@llnl.gov>
22718         [BZ #17411]
22719         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22720         l_reloc_result.
22722 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22724         * stdio-common/printf_fp.c
22725         (hack_digit): New function, broken out of ...
22726         (__printf_fp): ... local function here.  Update call sites.
22727         hack_digit now takes an additional parameter that is a pointer
22728         to a struct of the referenced locals.  Those locals moved inside
22729         the struct and references updated.
22731 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22733         * aclocal.m4: Require autoconf 2.69.
22734         * configure: Regenerated.
22735         * sysdeps/aarch64/configure: Likewise.
22736         * sysdeps/alpha/configure: Likewise.
22737         * sysdeps/arm/armv7/configure: Likewise.
22738         * sysdeps/arm/configure: Likewise.
22739         * sysdeps/ia64/configure: Likewise.
22740         * sysdeps/mach/configure: Likewise.
22741         * sysdeps/mips/configure: Likewise.
22742         * sysdeps/s390/configure: Likewise.
22743         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22746         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22747         file.
22748         * sysdeps/ia64/configure.ac: Likewise.
22750 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22753         specify symbol version for ld.so.  Do not include entry for
22754         libpthread.
22755         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22756         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22757         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22759         [BZ #14171]
22760         * Makeconfig [$(build-shared) = yes]
22761         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22762         makefiles.
22763         [$(build-shared) = yes && $(soversions.mk-done) = t]
22764         ($(common-objpfx)gnu/lib-names.h): Remove rule.
22765         [$(build-shared) = yes && $(soversions.mk-done) = t]
22766         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
22767         to Makerules.
22768         [$(build-shared) = yes && $(soversions.mk-done) = t]
22769         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22770         here.
22771         [$(build-shared) = yes && $(soversions.mk-done) = t]
22772         (common-generated): Don't append gnu/lib-names.h and
22773         gnu/lib-names.stmp here.
22774         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22775         (lib-names-h-abi): New variable.
22776         [$(build-shared) = yes && $(soversions.mk-done) = t]
22777         (lib-names-stmp-abi): Likewise.
22778         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22779         abi-variants] (before-compile): Append
22780         $(common-objpfx)$(lib-names-h-abi).
22781         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22782         abi-variants] (common-generated): Append gnu/lib-names.h.
22783         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22784         abi-variants] (install-others-nosubdir): Depend on
22785         $(inst_includedir)/$(lib-names-h-abi).
22786         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22787         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22788         [$(build-shared) = yes && $(soversions.mk-done) = t]
22789         ($(common-objpfx)$(lib-names-h-abi)): New rule.
22790         [$(build-shared) = yes && $(soversions.mk-done) = t]
22791         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22792         [$(build-shared) = yes && $(soversions.mk-done) = t]
22793         (common-generated): Append $(lib-names-h-abi) and
22794         $(lib-names-stmp-abi).
22795         * scripts/lib-names.awk: Do not handle multi being set.
22796         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22797         Remove variable.
22798         (abi-lp64_be-ld-soname): Likewise.
22799         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22800         Likewise.
22801         (abi-hard-ld-soname): Likewise.
22802         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22803         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22804         Remove variable.
22805         (abi-o32_hard-ld-soname): Likewise.
22806         (abi-o32_soft_2008-ld-soname): Likewise.
22807         (abi-o32_hard_2008-ld-soname): Likewise.
22808         (abi-n32_soft-ld-soname): Likewise.
22809         (abi-n32_hard-ld-soname): Likewise.
22810         (abi-n32_soft_2008-ld-soname): Likewise.
22811         (abi-n32_hard_2008-ld-soname): Likewise.
22812         (abi-n64_soft-ld-soname): Likewise.
22813         (abi-n64_hard-ld-soname): Likewise.
22814         (abi-n64_soft_2008-ld-soname): Likewise.
22815         (abi-n64_hard_2008-ld-soname): Likewise.
22816         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22817         Likewise.
22818         (abi-64-v2-ld-soname): Likewise.
22819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22820         ld.so entries.
22821         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22822         variable.
22823         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22824         entry.
22825         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22826         variable.
22827         (abi-64-ld-soname): Likewise.
22828         (abi-x32-ld-soname): Likewise.
22829         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22830         entry.
22831         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22833 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22835         [BZ #14138]
22836         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22837         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22838         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22839         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22840         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22841         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22842         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22843         syscall entry for GLIBC_2.2 symbol version.
22844         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22845         Likewise.
22846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22847         (setrlimit): Likewise.
22848         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22849         Likewise.
22851 2014-09-23  Will Newton  <will.newton@linaro.org>
22853         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22854         _LINUX_ARM_SYSDEP_H include guard too.
22855         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22856         define.
22858 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22860         * sysdeps/unix/sysv/linux/eventfd.c:
22861         Make first argument unsigned.
22862         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22863         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22865 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
22867         * socket/recvmmsg.c (recvmmsg): Drop const argument.
22868         * socket/sys/socket.h: Likewise.
22869         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22871 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22873         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22875 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
22877         * time/tst-ftime.c: New test.
22878         * time/Makefile (tests): Add tst-ftime.
22880 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
22882         * soft-fp/extended.h: Fix comment formatting.
22883         * soft-fp/op-1.h: Likewise.
22884         * soft-fp/op-2.h: Likewise.
22885         * soft-fp/op-4.h: Likewise.
22886         * soft-fp/op-8.h: Likewise.
22887         * soft-fp/op-common.h: Likewise.
22888         * soft-fp/soft-fp.h: Likewise.
22890         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22892 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
22894         [BZ #6652]
22895         * Makeconfig (soversions-default-setname): Remove variable.
22896         ($(common-objpfx)soversions.i): Don't pass default_setname to
22897         soversions.awk.
22898         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22899         oldest_abi to abi-versions.awk.
22900         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22901         * config.make.in (oldest-abi): Remove variable.
22902         * configure.ac (--enable-oldest-abi): Remove configure option.
22903         * configure: Regenerated.
22904         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22905         text.
22906         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22907         * scripts/soversions.awk: Do not handle default_setname variable.
22908         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22909         variable.
22910         * sysdeps/mach/hurd/configure: Regenerated.
22911         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22912         variable.
22913         * sysdeps/unix/sysv/linux/configure: Regenerated.
22915 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22917         * elf/Makefile (CFLAGS-interp.c): Remove.
22918         ($(elf-objpfx)runtime-linker.h): Generate header with linker
22919         path string.
22920         * elf/interp.c: Include generated runtime-linker.h
22922         * Makerules (lib%.so): Don't include $(+interp) in
22923         prerequisites.
22924         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22925         * dlfcn/eval.c: Remove file.
22927         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22928         macros.
22930         [BZ #17266]
22931         * misc/sys/cdefs.h: Define __extern_always_inline for clang
22932         4.2 and newer.
22934         [BZ #17370]
22935         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22937 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22938             Jakub Jelinek  <jakub@redhat.com>
22940         [BZ #17266]
22941         * libio/stdio.h: Check definition of __fortify_function
22942         instead of __extern_always_inline to include bits/stdio2.h.
22943         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22944         check if __extern_always_inline is defined.
22945         [__USE_MISC || __USE_XOPEN]: Likewise.
22946         [__USE_ISOC99] Likewise.
22947         * misc/sys/cdefs.h (__fortify_function): Define only if
22948         __extern_always_inline is defined.
22949         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22950         __extern_always_inline and __extern_inline only for g++-4.3
22951         and newer or a compatible gcc.
22953 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
22955         [BZ #17371]
22956         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22957         last change to handle zero prefix length.
22959 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22961         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22962         _SC_REGEX_VERSION.
22964         * posix/getconf.c (vars): Add _POSIX_IPV6 and
22965         _POSIX_RAW_SOCKETS.
22967 2014-09-13  Allan McRae  <allan@archlinux.org>
22969         * po/ru.po: Update Russian translation from translation project.
22971 2014-09-12  Roland McGrath  <roland@hack.frob.com>
22973         * locale/programs/locale.c (show_locale_vars): Inline local function
22974         into its sole call site.  Clean up some style nits.
22975         (print_item): New function, broken out of ...
22976         (show_info): ... local function here.  Clean up style nits.
22978         * locale/programs/ld-ctype.c (set_one_default): New function, broken
22979         out of ...
22980         (set_class_defaults): ... local function set_default here.
22981         Define set_default as a macro locally to pass constant parameters.
22982         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22983         rather than a shared local.
22985         * stdlib/rpmatch.c (try): New function, broken out of ...
22986         (rpmatch): ... local function here.  Also, prototypify definition.
22988 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22990         * scripts/soversions.awk: Do not handle configuration names.
22991         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22992         vendor and os variables to soversions.awk.
22993         * configure.ac: Do not modify gnu-* host_os.
22994         * configure: Regenerated
22995         * shlib-versions: Remove first column with configuration names.
22996         * nptl/shlib-versions: Likewise.
22997         * nptl_db/shlib-versions: Likewise.
22998         * sysdeps/hppa/shlib-versions: Likewise.
22999         * sysdeps/m68k/shlib-versions: Likewise.
23000         * sysdeps/mach/hurd/shlib-versions: Likewise.
23001         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23002         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23003         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23004         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23005         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23006         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23007         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23008         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23010         Likewise.
23011         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23012         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23013         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23014         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23015         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23016         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23017         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23018         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23021         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23023         Regenerated.
23024         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23026         Condition symbol version definitions on [HAVE_ELFV2_ABI].
23028         * shlib-versions: Remove OS-specific entries.  Moved to files in
23029         sysdeps.
23030         * sysdeps/mach/hurd/shlib-versions: New file.
23031         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23033         * nptl/shlib-versions: Remove architecture-specific entries.
23034         Moved to files in sysdeps.
23035         * shlib-versions: Likewise.
23036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23037         file.
23038         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23039         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23040         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23041         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23043         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23044         (UDP_NO_CHECK6_RX): Likewise.
23046 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23048         * sysdeps/posix/sysconf.c (__sysconf): Spell
23049         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23051 2014-08-12  Florian Weimer  <fweimer@redhat.com>
23053         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23054         loading.
23055         * iconv/Versions (__gconv_transliterate): Export for use from
23056         gconv modules.
23057         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23058         (struct __gconv_trans_data, __gconv_trans_fct,
23059         __gconv_trans_context_fct, __gconv_trans_query_fct,
23060         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23061         definitions.
23062         (struct __gconv_step_data): Remove __trans member.
23063         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
23064         longer hidden.  Remove unused trans_data argument.
23065         * iconv/gconv_int.h (struct trans_struct): Remove definition.
23066         (__gconv_translit_find): Remove declaration.
23067         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
23068         prototype.
23069         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23070         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23071         trans_data argument.  Add hidden definition.
23072         (__gconv_translit_find): Remove.
23073         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23074         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23075         * iconv/skeleton.c: Remove transliteration initialization.
23076         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23077         __gconv_step_data initialization.
23078         * libio/iofwide.c (__libio_translit_): Remove.
23079         (_IO_fwide): Adjust struct __gconv_step_data initialization.
23080         * wcsmbs/btowc.c (__btowc): Likewise.
23081         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23082         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23083         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23084         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23085         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23086         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23087         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23088         * wcsmbs/wctob.c (wctob): Likewise.
23090 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23092         [BZ #16194]
23093         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23094         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
23095         register usage.
23096         * sysdeps/x86/Makefile: Adjust.
23098 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23099             Roland McGrath  <roland@hack.frob.com>
23101         * locale/weight.h: Add include guard.
23102         (findidx): Make static rather than auto; take new parameters
23103         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23104         * locale/weightwc.h: Likewise.
23105         * posix/fnmatch_loop.c
23106         (FCT): Change type of EXTRA from int32_t to wint_t.
23107         Don't include either header inside the function.
23108         Call FINDIDX rather than findidx, and pass new arguments.
23109         #undef FINDIDX at the end of the file.
23110         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23111         FINDIDX before including fnmatch_loop.c for the non-wide version.
23112         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23113         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23114         for the wide version.
23115         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23116         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23117         Pass new arguments to findidx.
23118         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23119         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23120         Don't #include it inside the function.  Pass new arguments to findidx.
23121         * posix/regex_internal.h
23122         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23123         (re_string_elem_size_at): Don't #include it inside the function.
23124         Pass new arguments to findidx.
23125         * string/strcoll_l.c: #include WEIGHT_H at top level.
23126         (get_next_seq): Don't #include it inside the function.
23127         Pass new arguments to findidx.
23128         (get_next_seq_nocache): Likewise.
23129         * string/strxfrm_l.c: #include WEIGHT_H at top level.
23130         (STRXFRM): Don't #include it inside the function.
23131         Pass new arguments to findidx.
23133 2014-09-11  Florian Weimer  <fweimer@redhat.com>
23135         [BZ #17344]
23136         * malloc/malloc.c (unlink): Turn asserts into a call to
23137         malloc_printerr.
23139 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
23141         [BZ #17370]
23142         * libio/wfileops (do_ftell_wide): Free OUT.
23144 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
23146         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23148 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23150         [BZ #17363]
23151         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23152         group if the current group is empty.
23154 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23156         * benchtests/bench-memset.c (test_main): Add more test from size
23157         from 32 to 512 bytes.
23158         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23159         Add POWER8 memset object.
23160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23161         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23162         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23163         implementation.
23164         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23165         Likewise.
23166         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23167         multiarch POWER8 memset optimization.
23168         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23169         POWER8 memset optimization.
23171         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23172         Remove bzero multiarch objects.
23173         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23174         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23175         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23176         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23177         Remove define.
23178         [__bzero]: Redefine to specific name.
23179         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23180         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23181         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23182         define.
23183         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23184         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23186 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23188         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23189         warnings into errors.
23191         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23192         __cxa_thread_atexit_impl prototype.
23194 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23196         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23197         Fix capitalization of error message.
23199 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23201         * sysdeps/mips/preconfigure: Modify ABI tests.
23203 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23205         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23207 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23208             Carlos O'Donell  <carlos@systemhalted.org>
23210         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23211         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23212         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23213         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23214         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23215         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23216         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23217         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23218         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23219         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23220         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23221         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23222         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23223         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23224         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23225         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23226         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23227         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23228         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23229         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23230         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23231         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23232         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23233         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23234         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23235         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23236         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23237         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23238         Deconditionalize the code that was previously under [RESET_PID].
23239         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23240         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23241         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23242         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23243         include sysdep.h.
23245 2014-09-08  Allan McRae  <allan@archlinux.org>
23247         * version.h (RELEASE): Set to "development".
23248         (VERSION): Set to "2.20.90"
23250 2014-09-07  Allan McRae  <allan@archlinux.org
23252         * version.h (RELEASE): Set to "stable".
23253         (VERSION): Set to "2.20"
23254         * include/features.h (__GLIBC_MINOR__): Set to 20.
23256         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23257         Liebler.
23259         * po/ko.po: Update Korean translation from translation project.
23261 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23263         [BZ #17354]
23264         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23265         macro for handling signed relocations.
23267 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23269         [BZ #17325]
23270         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23271         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23272         assert.
23273         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23274         * iconvdata/ibm935.c (BODY): Likewise.
23275         * iconvdata/ibm937.c (BODY): Likewise.
23276         * iconvdata/ibm939.c (BODY): Likewise.
23277         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23278         assert.
23279         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23280         script.
23281         * iconvdata/run-iconv-test.sh: New test loop for checking for
23282         decoder crashers.
23284 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23286         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23287         libm_hidden_ver.
23289 2014-09-01  Allan McRae  <allan@archlinux.org>
23291         * po/eo.po: Update Esperanto translation from translation project.
23293         * po/ca.po: Update Catalan translation from translation project.
23295 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23297         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23298         __proc_dostop call.
23300 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23302         [BZ #17319]
23303         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23304         to call set_thread_area instead of hand written asm.
23305         (__NR_set_thread_area): Removed define.
23306         (TLS_FLAG_WRITABLE): Likewise.
23307         (__ASSUME_SET_THREAD_AREA): Remove check.
23308         (TLS_EBX_ARG): Remove define.
23309         (TLS_LOAD_EBX): Likewise.
23311 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23313         Simplify atomicity of socket creation in bind.
23315         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23316         looking up the name after linking the file.
23318 2014-08-27  Allan McRae  <allan@archlinux.org>
23320         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23322 2014-08-26  Florian Weimer  <fweimer@redhat.com>
23324         [BZ #17187]
23325         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23326         trans_compare, open_translit, __gconv_translit_find):
23327         Remove module loading code.
23329 2014-08-26  Allan McRae  <allan@archlinux.org>
23331         * po/vi.po: Update Vietnamese translation from translation project.
23333         * po/uk.po: Update Ukrainian translation from translation project.
23335         * po/fr.po: Update French translation from translation project.
23337         * po/ru.po: Update Russian translation from translation project.
23339         * po/pl.po: Update Polish translation from translation project.
23341         * po/cs.po: Update Czech translation from translation project.
23343         * po/de.po: Update German translation from translation project.
23345         * po/bg.po: Update Bulgarian translation from translation project.
23347         * po/sv.po: Update Sweedish translation from translation project.
23349         * po/nl.po: Update Dutch translation from translation project.
23351         * po/es.po: Update Spanish translation from translation project.
23353 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23355         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23357         * catgets/Makefile (CPPFLAGS-gencat): Remove.
23358         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23359         (CPPFLAGS-iconvconfig): Likewise.
23360         * timezone/Makefile (CPPFLAGS-zic): Likewise.
23362         * include/libc-symbols.h: Remove unnecessary check for
23363         NOT_IN_libc.
23364         * nptl/pthreadP.h: Likewise.
23365         * sysdeps/aarch64/setjmp.S: Likewise.
23366         * sysdeps/alpha/setjmp.S: Likewise.
23367         * sysdeps/arm/sysdep.h: Likewise.
23368         * sysdeps/i386/setjmp.S: Likewise.
23369         * sysdeps/m68k/setjmp.c: Likewise.
23370         * sysdeps/posix/getcwd.c: Likewise.
23371         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23372         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23373         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23374         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23375         * sysdeps/sh/sh3/setjmp.S: Likewise.
23376         * sysdeps/sh/sh4/setjmp.S: Likewise.
23377         * sysdeps/unix/alpha/sysdep.h: Likewise.
23378         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23379         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23380         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23381         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23384         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23386         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23387         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23388         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23389         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23391         * sysdeps/x86_64/setjmp.S: Likewise.
23393 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23395         [BZ #17263]
23396         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23397         <stdint.h>.
23398         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23399         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23401 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23403         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23405         [BZ #17262]
23406         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23407         and __x86_64__ when disabling x87 inline functions.
23409 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23411         [BZ #17259]
23412         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23413         asm statement with __cpuid_count.
23415 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23417         * configure.ac: Change __ehdr_start code to dereference the struct.
23418         Run readelf on the output to look for relocations.
23419         * configure: Regenerated.
23421 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23423         [BZ #17261]
23424         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23425         value to 0.
23426         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23428 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23430         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23432 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23434         [BZ #16892]
23435         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23436         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23438 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23440         * malloc/malloc.c: Fix typo in comment.
23442 2014-08-09  Allan McRae  <allan@archlinux.org>
23444         * Regenerate libc.po.
23446 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23448         * intl/tst-gettext2.sh: Check every lang file for creation.
23450 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23452         * sysdeps/aarch64/fpu/math_private.h
23453         (libc_feholdsetround_noex_aarch64_ctx): New function.
23455 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23457         * sysdeps/arm/armv6/strcpy.S (strcpy):
23458         Fix performance issue in misaligned cases.
23460 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23462         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23463         Move definition from termios.h.
23464         (struct termio): Likewise.
23465         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23466         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23467         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23468         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23469         Likewise.
23470         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23471         Move definition to ioctl-types.h
23472         (struct termio): Likewise.
23473         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23474         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23475         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23476         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23477         Likewise.
23479 2014-08-05  Richard Henderson  <rth@redhat.com>
23481         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23482         exceptions.
23483         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23484         Add fraiseexcpt.
23485         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23486         Use __feraiseexcept.
23487         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23488         Protect libm symbols with IS_IN_libm.
23490         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23492 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23494         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23496 2014-08-04  Will Newton  <will.newton@linaro.org>
23498         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23499         file.
23501 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23503         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23504         variants for each function.
23506 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23508         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23509         appended ...
23510         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23511         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23512         appended ...
23513         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23514         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23515         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23516         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23517         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23518         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23519         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23520         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23521         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23522         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23523         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23524         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23525         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23526         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23527         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23528         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23529         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23530         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23531         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23532         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23533         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23534         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23535         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23536         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23537         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23538         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23539         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23540         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23541         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23542         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23543         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23544         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23545         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23546         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23547         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23548         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23549         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23550         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23551         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23552         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23553         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23554         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23555         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23556         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23557         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23558         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23559         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23560         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23561         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23562         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23563         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23564         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23565         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23566         Update #include.
23567         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23568         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23570 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23572         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23573         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23574         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23575         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23576         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23577         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23579 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23581         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23582         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23583         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23584         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23586 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23588         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23589         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23590         (__libc_vfork): Define function under this name.
23591         (__vfork): Define as an alias.
23592         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23593         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23595 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23597         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23598         that was previously under [RESET_PID].
23599         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23601 2014-08-04  Andreas Schwab  <schwab@suse.de>
23603         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23605 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23607         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23608         (main): Likewise.
23610 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23612         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23614 2014-08-01  Richard Henderon  <rth@redhat.com>
23616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23617         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23618         typo in exact zero test.
23619         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23620         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23621         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23623 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23625         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23626         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23627         * sysdeps/arm/sysdep.h: ... here.
23628         [!__ASSEMBLER__]: Include <stdint.h>.
23630 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23632         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23633         (HAVE_WCTYPE_H): Likewise.
23634         (HAVE_ISWCTYPE): Likewise.
23635         (ENABLE_NLS): Likewise.
23636         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23637         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23639         * posix/regex_internal.c: Check if DEBUG is defined and is
23640         set.
23642         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23643         (HAVE_MBSRTOWCS): Likewise.
23644         * posix/fnmatch.c: Include string.h unconditionally.
23646 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23648         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23649         reversal.
23651 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23653         * sysdeps/generic/safe-fatal.h: New file.
23654         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23655         * nptl/forward.c: Include it.
23656         (__pthread_unwind): Use __safe_fatal as default action, rather
23657         than a bogus use of INTERNAL_SYSCALL that could never work.
23659         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23660         * configure.ac (libc_cv_builtin_trap): New test.
23661         * configure: Regenerated.
23662         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23663         (ABORT_INSTRUCTION): Define using __builtin_trap.
23665         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23666         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23667         * sysdeps/nptl/nptl-signals.h: New file.
23668         * nptl/pthreadP.h: Include <nptl-signals.h>.
23670 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23672         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23673         (ONE_DIRECTION): Define.
23674         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23675         (ONE_DIRECTION): Define.
23676         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23677         (ONE_DIRECTION): Define.
23679 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23681         * sysdeps/s390/Makefile: Delete file.
23682         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23683         * sysdeps/s390/__longjmp.c: Delete file.
23684         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23685         Remove fields __flags and __reserved.
23686         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23687         and add versioning.
23688         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23689         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23690         * sysdeps/s390/rtld-setjmp.S: Likewise.
23691         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23692         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23693         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23694         * sysdeps/s390/s390-32/setjmp.S: ... here.
23695         Add versioning.
23696         (__sigsetjmp): Remove setting __flags field.
23697         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23698         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23699         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23700         * sysdeps/s390/s390-64/setjmp.S: ... here.
23701         Add versioning.
23702         (__sigsetjmp): Remove setting __flags field.
23703         * sysdeps/s390/setjmp.S: Delete file.
23704         * sysdeps/s390/sigjmp.c: Likewise.
23705         * sysdeps/s390/v1-longjmp.c: Likewise.
23706         * sysdeps/s390/v1-setjmp.h: Likewise.
23707         * sysdeps/s390/v1-sigjmp.c: Likewise.
23708         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23709         Remove v1-longjmp_chk.
23710         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23711         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23712         Include debug/longjmp_chk.c and add versioning.
23713         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23714         Include nptl/pt-longjmp.c and add versioning.
23715         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23716         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23717         Include __longjmp.c.
23718         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23719         Move to ...
23720         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23721         (__getcontext): Remove setting __flags field.
23722         Add versioning.
23723         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23724         Don't restore upper high grps.
23725         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23726         Likewise.
23727         (__swapcontext): Remove setting uc_flags field.
23728         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23729         Delete file.
23730         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23731         Include __longjmp.c.
23732         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23733         Move to ...
23734         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23735         (__getcontext): Remove setting __flags field.
23736         Add versioning.
23737         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23738         (__swapcontext): Remove setting uc_flags field.
23739         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23740         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23741         Remove fields uc_high_gprs and __reserved.
23742         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23743         New file with reverted content.
23744         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23745         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23746         Regenerated.
23747         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23748         Regenerated.
23750 2014-07-31  Andreas Schwab  <schwab@suse.de>
23752         * config.h.in (HAVE_IFUNC): Define to 0.
23753         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23754         definedness.
23756 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23759         memmove-avx-unaligned, memcpy-avx-unaligned and
23760         mempcpy-avx-unaligned.
23761         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23762         Add tests for AVX memcpy functions.
23763         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23764         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23765         memcpy_chk.
23766         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23767         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23768         memmove_chk.
23769         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23770         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23771         mempcpy_chk.
23772         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23773         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23774         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23776 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23778         [BZ #17213]
23779         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23780         powerpc64le.
23782 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
23784         [BZ #16839]
23785         * manual/llio.texi: Add section about open file description locks.
23786         * manual/examples/ofdlocks.c: Example of open file description
23787         lock usage.
23788         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23789         F_OFD_SETLK, and F_OFD_SETLKW.
23791 2014-07-23  Allan McRae  <allan@archlinux.org>
23793         * po/es.po: Update Spanish translation from translation project.
23795 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23797         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23799 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23801         [BZ #17078]
23802         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23803         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23804         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23806 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23808         [BZ #17088]
23809         * math/fesetenv.c (__fesetenv)
23810         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23811         * math/feupdateenv.c (__feupdateenv)
23812         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23814         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23815         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23816         (__ASSUME_SOCKETCALL): Do not define.
23818         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23819         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23820         (__ASSUME_SOCKETCALL): Do not define.
23821         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23822         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23823         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23824         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23825         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23826         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23827         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23828         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23830         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23831         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23832         (__ASSUME_SOCKETCALL): Do not define.
23833         (__ASSUME_IPC64): Define unconditionally.
23834         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23835         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23836         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23837         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23838         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23839         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23840         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23841         Likewise.
23843         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23844         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23845         (__ASSUME_SOCKETCALL): Do not define.
23846         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23847         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23848         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23849         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23850         (__ASSUME_REQUEUE_PI): Define unconditionally.
23851         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23852         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23853         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23854         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23855         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23856         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23858         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23859         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23860         (__ASSUME_SOCKETCALL): Do not define.
23861         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23862         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23863         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23864         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23865         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23866         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23868         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23869         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23870         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23871         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23872         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23873         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23874         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23875         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23876         (__ASSUME_GETCPU_SYSCALL): Likewise.
23878         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23879         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
23880         cases for individual architectures.
23881         * sysdeps/gnu/configure: Regenerated.
23882         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23883         LIBC_SLIBDIR_RTLDDIR.
23884         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23885         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23886         LIBC_SLIBDIR_RTLDDIR.
23887         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23889         LIBC_SLIBDIR_RTLDDIR.
23890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23891         Regenerated.
23892         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23893         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23894         file.
23895         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23896         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23897         file.
23898         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23899         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23900         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23901         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23903         * sysdeps/aarch64/shlib-versions: Move to ...
23904         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23905         * sysdeps/alpha/shlib-versions: Move to ...
23906         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23907         * sysdeps/arm/shlib-versions: Move to ...
23908         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23909         * sysdeps/hppa/shlib-versions: Move all contents except for
23910         libgcc_s entry to ...
23911         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
23912         entry from ...
23913         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
23914         * sysdeps/ia64/shlib-versions: Move to ...
23915         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
23916         entry from ...
23917         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
23918         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23919         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23920         * sysdeps/microblaze/shlib-versions: Move to ...
23921         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23922         * sysdeps/mips/shlib-versions: Move to ...
23923         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
23924         entry from ...
23925         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
23926         * sysdeps/tile/shlib-versions: Move to ...
23927         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23928         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23929         from ...
23930         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
23931         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23932         entry from ...
23933         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
23935 2014-07-17  Will Newton  <will.newton@linaro.org>
23937         * sysdeps/arm/bits/atomic.h
23938         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23939         (__arch_compare_and_exchange_bool_16_int): Likewise.
23940         (__arch_compare_and_exchange_bool_64_int): Likewise.
23942         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23943         into an #else block.
23945 2014-07-16  Roland McGrath  <roland@hack.frob.com>
23947         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23948         just Linux configurations.  Test empirically that the compiler sets
23949         __ARM_EABI__, rather than using the tuple to decide.
23950         * sysdeps/arm/preconfigure: Regenerated.
23951         * sysdeps/unix/sysv/linux/arm/configure: File removed.
23952         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23953         contents appended ...
23954         * sysdeps/arm/configure.ac: ... here.
23955         * sysdeps/arm/configure: Regenerated.
23957 2014-07-15  Roland McGrath  <roland@hack.frob.com>
23959         * nptl/pthread_kill.c: New file.
23960         * nptl/pthread_sigmask.c: New file.
23961         * nptl/pthread_sigqueue.c: New file.
23963         * sysdeps/nptl/lowlevellock.h: New file.
23964         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23965         * sysdeps/nptl/lowlevellock-futex.h: New file.
23967         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23968         Remove dead declarations.
23970 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
23972         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23973         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23974         config-cflags-avx2.
23975         * sysdeps/x86_64/configure.ac: Likewise.
23976         * sysdeps/i386/configure: Regenerated.
23977         * sysdeps/x86_64/configure: Likewise.
23978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23979         memset-avx2 only if config-cflags-avx2 is yes.
23980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23981         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23982         defined.
23983         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23984         only if HAVE_AVX2_SUPPORT is defined.
23985         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23987 2014-07-14  Alan Modra  <amodra@gmail.com>
23989         [BZ #17153]
23990         * elf/elf.h (DT_PPC64_NUM): Correct value.
23991         * NEWS: Add to fixed bug list.
23993 2014-07-13  Jim Meyering  <meyering@fb.com>
23995         [BZ 17150]
23996         regex: don't deref NULL upon heap allocation failure
23997         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23998         failure in one more place.
23999         To trigger the segfault, configure grep -with-included-regex,
24000         build it, and run these commands:
24001         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24003 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24005         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24007 2014-07-11  Richard Henderson  <rth@redhat.com>
24009         * sysdeps/aarch64/libm-test-ulps: Update.
24011 2014-07-10  Florian Weimer  <fweimer@redhat.com>
24013         [BZ #17135]
24014         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24015         * nptl/allocatestack.c (__nptl_setxid_error): New function.
24016         (__nptl_setxid): Initialize error member.  Call
24017         __nptl_setxid_error.
24018         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24019         * nptl/descr.h (struct xid_command): Add error member.
24020         * nptl/tst-setuid3.c: New file.
24021         * nptl/Makefile (tests): Add it.
24023 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24025         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24026         New define.
24027         (__lll_trylock): Use __lll_base_trylock.
24028         (__lll_cond_trylock): Likewise.
24030 2014-07-10  Roland McGrath  <roland@hack.frob.com>
24032         * nptl/pthread_create.c (start_thread): Use atomic_or and
24033         lll_futex_wake directly rather than lll_robust_dead.
24034         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24035         (lll_robust_dead): Macro removed.
24036         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24037         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24038         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24039         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24040         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24041         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24042         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24043         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24044         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24045         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24046         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24047         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24048         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24049         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24052         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24053         Use atomic_compare_and_exchange_val_acq directly rather than
24054         lll_robust_trylock.
24055         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24056         (__lll_robust_trylock, lll_robust_trylock): Removed.
24057         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24058         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24059         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24060         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24061         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24062         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24063         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24064         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24065         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24066         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24067         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24068         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24069         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24070         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24072 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24074         * manual/locale.texi (Locale Names): New section documenting
24075         locale name syntax.  Adjust menu and node chaining accordingly.
24076         (Choosing Locale): Reference Locale Names, Locale Categories.
24077         Mention setting LC_ALL=C.  Reflect that name syntax is now
24078         documented.
24079         (Locale Categories): New section title.  Reference Locale Names.
24080         LC_ALL is an environment variable, but not a category.
24081         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24082         description, now in Locale Name.  Reference that section.  Locale
24083         name syntax is now documented.
24085 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24087         [BZ #17137]
24088         * locale/findlocale.c (name_present, valid_locale_name): New
24089         functions.
24090         (_nl_find_locale): Use the loc_name variable to store name
24091         candidates.  Call name_present and valid_locale_name to check and
24092         validate locale names.  Return an error if the locale is invalid.
24094 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24096         * locale/setlocale.c (setlocale): Use strdup for allocating
24097         composite name copy.
24099 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24101         Sync up with gnulib.
24102         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24103         [!_LIBC && ENABLE_NLS]: Include gettext.h.
24104         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24105         and _GL_ARG_NONNULL.
24106         [USE_UNLOCKED_IO]: Include unlocked-io.h.
24107         [!_LIBC]: Include code for Windows and Cygwin.
24108         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24109         Include prototype for int strerror_r.
24110         [!_LIBC] (is_open): New function.
24111         (flush_stdout): New function.
24112         (print_errno_message): Use it.
24113         (error): Likewise.
24114         (error_at_line): Likewise.
24115         (error_tail) Add function attribute macros.  Use
24116         __builtin_expect.
24118         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24120         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24122         * io/ftw.c: Include sys/param.h unconditionally.
24124         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24126         [BZ #17125]
24127         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24128         libc_freeres_ptr.
24129         (freecache): New function to free CACHE on exit.
24131         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24132         initialization.
24134 2014-07-09  David S. Miller  <davem@davemloft.net>
24136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24138         * sysdeps/sparc/nptl/internaltypes.h: Delete.
24139         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24140         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24141         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24142         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24143         * sysdeps/sparc/nptl/sem_init.c: Likewise.
24144         * sysdeps/sparc/nptl/sem_post.c: Likewise.
24145         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24146         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24147         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24148         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24149         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24150         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24152 2014-07-09  Andreas Schwab  <schwab@suse.de>
24154         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24155         output.
24156         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24157         (do_test): Likewise.
24159         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24161 2014-07-09  Will Newton  <will.newton@linaro.org>
24163         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24164         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24165         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24166         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24167         * sysdeps/hppa/start.S (_start): Likewise.
24169 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24171         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24173         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24174         defined.
24176 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24178         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24179         after checking that it is non-NULL.
24181         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24183 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24185         * sysdeps/powerpc/memmove.c: Remove file.
24186         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24187         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24188         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24189         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24190         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24191         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24192         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24193         string memmove instead of removed powerpc one.
24195         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24196         [weak_alias]: Fix compiler warning due trailing data.
24197         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24198         [weak_alias]: Likewise.
24199         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24200         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24202         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24203         (__libc_ifunc_impl_list): Add memmove functions.
24205 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24207         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24208         Remove code.
24209         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24210         Likewise.
24211         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24212         Likewise.
24213         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24214         Likewise.
24215         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24216         Likewise.
24217         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24218         Likewise.
24219         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24220         Likewise.
24221         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24222         Likewise.
24223         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24224         Likewise.
24225         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24226         Likewise.
24227         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24228         Likewise.
24229         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24230         Likewise.
24231         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24232         Likewise.
24233         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24234         Likewise.
24235         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24236         Likewise.
24237         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24238         Likewise.
24239         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24240         Likewise.
24242 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24244         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24245         to avoid alignment traps in non-cacheable memory.
24246         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24249         multiarch objects.
24250         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24251         file: multiarch power7 memmove.
24252         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24253         multiarch default memmove.
24254         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24255         multiarch memove for powerpc32/power4.
24257         * string/bcopy.c: Use full path to include memmove.c.
24258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24259         multiarch objects.
24260         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24261         bcopy for powerpc64.
24262         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24263         bcopy for powerpc64.
24264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24265         and memmove implementations.
24266         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24267         optimized multiarch memmove for POWER7/powerpc64.
24268         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24269         default multiarch memmove for powerpc64.
24270         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24271         multiarch for powerpc64.
24272         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24273         for POWER7/powerpc64.
24274         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24275         memmove for POWER7/powerpc64.
24277         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24278         glibc default one.
24280         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24281         __ELF_NATIVE_CLASS equal to 64.
24283 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24285         * sysdeps/nptl/lowlevellock.h: File removed.
24287         * NEWS: NPTL is no longer an add-on!
24288         * nptl/internaltypes.h: Moved ...
24289         * sysdeps/nptl/internaltypes.h: ... here.
24290         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24291         * sysdeps/nptl/fork.c: Likewise.
24292         * sysdeps/nptl/gai_misc.h: Likewise.
24293         * sysdeps/nptl/librt-cancellation.c: Likewise.
24294         * sysdeps/nptl/jmp-unwind.c: Likewise.
24295         * sysdeps/nptl/setxid.h: Likewise.
24296         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24297         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24298         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24299         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24300         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24301         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24302         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24303         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24304         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24305         * sysdeps/unix/sysv/linux/mips/Implies: New file.
24306         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24307         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24308         * sysdeps/unix/sysv/linux/sh/Implies: New file.
24309         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24310         * sysdeps/unix/sysv/linux/tile/Implies: New file.
24311         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24312         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24313         * nptl/Makeconfig: Moved ...
24314         * sysdeps/nptl/Makeconfig: ... here.
24315         * nptl/configure: File removed.
24316         * nptl/ANNOUNCE: File removed.
24317         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24318         * sysdeps/unix/sysv/linux/configure: Regenerated.
24320         * nptl/Makefile (routines): Add libc_pthread_init,
24321         libc_multiple_threads, register-atfork and unregister-atfork.
24322         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24323         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24324         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24325         pthread-pi-defines.sym, structsem.sym.
24326         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24327         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24328         [$(subdir) = nptl] (tests): Add tst-setgetname.
24329         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24330         * sysdeps/unix/sysv/linux/sigaction.c: Just include
24331         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24332         [!LIBC_SIGACTION]: Remove aliases.
24333         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24334         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24335         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24336         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24337         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24338         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24339         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24340         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24341         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24342         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24343         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24344         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24345         __libc_allocate_rtsig_private.
24346         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24347         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24348         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24349         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24350         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24351         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24352         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24353         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24354         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24355         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24356         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24357         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24358         * nptl/internaltypes.h: ... here.
24359         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24360         * sysdeps/nptl/jmp-unwind.c: ... here.
24361         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24362         * nptl/libc-lowlevellock.c: ... here.
24363         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24364         * nptl/libc_multiple_threads.c: ... here.
24365         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24366         * nptl/libc_pthread_init.c: ... here.
24367         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24368         * nptl/lowlevelbarrier.sym: ... here.
24369         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24370         * nptl/lowlevelcond.sym: ... here.
24371         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24372         * nptl/lowlevellock.c: ... here.
24373         * nptl/lowlevellock.h: Moved ...
24374         * sysdeps/nptl/lowlevellock.h: ... here.
24375         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24376         * nptl/lowlevelrobustlock.c: ... here.
24377         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24378         * nptl/lowlevelrobustlock.sym: ... here.
24379         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24380         * nptl/lowlevelrwlock.sym: ... here.
24381         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24382         * nptl/pt-fork.c: ... here.
24383         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24384         * nptl/pthread-pi-defines.sym: ... here.
24385         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24386         * nptl/pthread_attr_getaffinity.c: ... here.
24387         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24388         * nptl/pthread_attr_setaffinity.c: ... here.
24389         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24390         * nptl/pthread_mutex_cond_lock.c: ... here.
24391         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24392         Update #include.
24393         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24394         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24395         * nptl/pthread_once.c: ... here, replacing old file.
24396         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24397         * nptl/pthread_yield.c: ... here.
24398         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24399         * nptl/register-atfork.c: ... here.
24400         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24401         * nptl/sem_post.c: ... here.
24402         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24403         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24404         * nptl/sem_timedwait.c: ... here.
24405         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24406         * nptl/sem_trywait.c: ... here.
24407         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24408         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24409         * nptl/sem_wait.c: ... here.
24410         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24411         * nptl/structsem.sym: ... here.
24412         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24413         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24414         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24415         * nptl/unregister-atfork.c: ... here.
24416         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24417         * nptl/unwindbuf.sym: ... here.
24418         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24419         * sysdeps/nptl/fork.c: ... here.
24420         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24421         * sysdeps/nptl/fork.h: ... here.
24422         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24423         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24424         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24425         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24426         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24427         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24428         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24429         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24430         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24431         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24432         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24433         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24434         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24435         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24436         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24437         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24438         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24439         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24440         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24441         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24442         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24443         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24444         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24445         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24446         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24447         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24448         * sysdeps/unix/sysv/linux/raise.c: ... here.
24449         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24450         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24451         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24452         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24453         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24454         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24455         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24456         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24457         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24458         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24459         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24460         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24461         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24462         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24463         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24465 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24467         * sysdeps/generic/memcopy.h: Add comment for
24468         MEMCPY_OK_FOR_FWD_MEMMOVE.
24470 2014-07-04  Will Newton  <will.newton@linaro.org>
24472         * string/memchr.c: Merge from gnulib.
24473         [_LIBC]: Remove conditionals.
24474         (__ptr_t): Remove define.
24475         (LONG_MAX_32_BITS): Likewise.
24476         (LONG_MAX): Likewise.
24477         (MEMCHR): Use ANSI prototype and optimize algorithm.
24479         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24481 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24483         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24484         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24486         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24487         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24488         in a bare environment with no <stdlib.h> installed.
24489         * sysdeps/nptl/configure: Regenerated.
24491         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24493         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24494         AC_EGREP_CPP for kernel header checks, so they only succeed if
24495         including <linux/version.h> actually works right.
24496         * sysdeps/unix/sysv/linux/configure: Regenerated.
24498         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24499         value so it's not diagnosed as unused.
24501         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24502         thing) with "ifeq ($(subdir),rt)".
24504 2014-07-03  Richard Henderson  <rth@redhat.com>
24506         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24507         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24508         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24510         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24511         (math_force_eval): New.
24513         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24514         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24516         * sysdeps/alpha/fpu/s_round.c: Remove file.
24517         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24519         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24520         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24521         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24522         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24523         (_dl_start, print_statistics): Likewise.
24524         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24525         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24527         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24528         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24529         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24530         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24531         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24532         (HP_SMALL_TIMING_AVAIL): Define.
24533         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24534         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24535         (HP_SMALL_TIMING_AVAIL): Define.
24536         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24537         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24539         * sysdeps/aarch64/hp-timing.h: New file.
24541         * sysdeps/generic/hp-timing.h: Remove dead comment.
24542         * sysdeps/generic/hp-timing-common.h: New file.
24543         * sysdeps/alpha/hp-timing.h: Include it.
24544         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24545         * sysdeps/i386/i686/hp-timing.h: Likewise.
24546         * sysdeps/ia64/hp-timing.h: Likewise.
24547         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24548         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24549         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24550         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24551         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24552         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24553         (hp_timing_t): New.
24555         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24556         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24557         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24558         * elf/rtld.c (_dl_start_final): Likewise.
24559         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24560         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24561         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24562         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24563         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24564         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24565         (HP_TIMING_DIFF_INIT): Remove.
24566         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24567         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24568         (HP_TIMING_DIFF_INIT): Remove.
24569         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24570         * sysdeps/i386/i686/hp-timing.c: Remove file.
24571         * sysdeps/x86_64/hp-timing.c: Remove file.
24572         * sysdeps/ia64/hp-timing.c: Remove file.
24573         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24574         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24575         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24576         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24578         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24579         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24580         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24581         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24582         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24583         (HP_TIMING_ACCUM): Remove.
24584         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24585         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24586         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24588         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24589         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24590         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24591         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24592         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24593         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24594         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24595         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24597         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24599 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24601         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24603 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24605         Sync up with gettext.
24606         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24607         [_MSC_VER]: Include malloc.h
24608         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24609         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24610         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24611         TEMP_FAILURE_RETRY.  Cast return of alloca.
24612         [!_LIBC] Call gl_rwlock_init.
24613         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24615 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24617         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24618         before checking its value.
24620 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24622         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24624         * debug/memcpy_chk.c: Don't include pagecopy.h.
24625         * debug/mempcpy_chk.c: Likewise.
24626         * string/memcpy.c: Likewise.
24627         * string/memmove.c: Likewise.
24628         * sysdeps/powerpc/memmove.c: Likewise.
24629         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24630         definition of PAGE_COPY_FWD_MAYBE here...
24631         * sysdeps/generic/pagecopy.h: ... from here.
24632         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24634 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24635             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24637         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24639         optimizations.
24640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24641         (__libc_ifunc_impl_list): Likewise.
24642         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24643         multiarch strcat for PPC64.
24644         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24645         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24647 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24649         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24651 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24653         * intl/loadmsgcat.c: Remove declaration of
24654         get_sysdep_segment_value.
24655         (get_sysdep_segment_value): Use ISO C style.
24656         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24657         semicolon.  Fix typo and formatting in comment.
24658         (_nl_unload_domain): Use ISO C style.
24660         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24662 2014-07-02  Will Newton  <will.newton@linaro.org>
24664         * malloc/obstack.c: Merge from gnulib master.
24665         [HAVE_CONFIG_H]: Remove conditional code.
24666         [!_LIBC]: Include config.h.
24667         [!ELIDE_CODE]: Don't include inttypes.h, include
24668         stdint.h unconditionally.
24669         (print_and_abort): Mark as _Noreturn.
24670         (_obstack_allocated_p): Mark as __attribute_pure__.
24671         (obstack_free): Rename to __obstack_free.
24672         [!__attribute__]: Remove conditional code.
24673         * malloc/obstack.h: Merge from gnulib master.
24674         [__cplusplus]: Move conditional down.
24675         [!__attribute_pure__]: Define __attribute_pure__ here
24676         if it is not already defined.
24677         (_obstack_memory_used): Mark as __attribute_pure__.
24678         [!__obstack_free]: Define as obstack_free.
24679         [__GNUC__]: Remove check for ancient NeXT gcc.
24681 2014-07-02  Will Newton  <will.newton@linaro.org>
24682             Paul Eggert  <eggert@cs.ucla.edu>
24684         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24686 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24688         * resolv/gethnamaddr.c: Add comment warning that the file is
24689         not maintained.
24691 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24693         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24694         entries.
24696         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24697         entry for aio_cancel and aio_cancel64.
24698         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24699         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24700         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24701         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24702         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24703         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24704         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24705         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24706         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24707         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24708         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24709         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24710         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24712 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24714         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24715         * nptl/pthread_mutex_lock.c: Likewise.
24716         * nptl/pthread_mutex_timedlock.c: Likewise.
24717         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24719 2014-07-01  Richard henderson  <rth@redhat.com>
24721         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24722         (__isnan, __isnanl): Remove.
24723         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24725         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24727 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24729         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24731 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24733         * resolv/nss_dns/dns-host.c (getanswer_r)
24734         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24736 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24738         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24739         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24740         undefine.
24741         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24742         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24744 2014-07-01  Roland McGrath <roland@hack.frob.com>
24746         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24747         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24749         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24750         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24752         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24753         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24754         ... here.
24755         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24756         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24758         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24759         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24760         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24761         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24763         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24764         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24765         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24766         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24767         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24768         Moved ...
24769         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24770         ... here.
24771         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24772         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24773         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24774         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24775         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24776         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24777         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24778         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24779         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24780         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24781         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24782         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24783         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24784         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24785         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24786         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24787         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24788         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24789         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24790         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24791         ... here.
24792         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24793         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24794         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24795         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24796         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24797         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24798         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24799         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24801 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24803         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24804         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24805         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24806         Add sysdep.
24808 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24812 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24814         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24815         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24817         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24819         * sysdeps/arm/libm-test-ulps: Regenerated.
24821 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24822             Roland McGrath <roland@hack.frob.com>
24824         * test-skeleton.c (signal_handler): Kill the whole process group
24825         before killing the child individually.
24826         (main): Report any failure on `setpgid'.
24828 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24830         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24831         from _TLS_H to _ARM_NPTL_TLS_H.
24832         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24833         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24835 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24837         [BZ #16539]
24838         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24839         (__expm1l): Return argument unchanged when small but not
24840         subnormal.
24842         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24843         include macro name.
24844         (_FP_UNPACK_RAW_1_P): Likewise.
24845         (_FP_PACK_RAW_1): Likewise.
24846         (_FP_PACK_RAW_1_P): Likewise.
24847         (_FP_MUL_MEAT_1_wide): Likewise.
24848         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24849         (_FP_MUL_MEAT_1_hard): Likewise.
24850         (_FP_DIV_MEAT_1_imm): Likewise.
24851         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24852         (_FP_DIV_MEAT_1_udiv): Likewise.
24853         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24854         (_FP_UNPACK_RAW_2): Likewise.
24855         (_FP_UNPACK_RAW_2_P): Likewise.
24856         (_FP_PACK_RAW_2): Likewise.
24857         (_FP_PACK_RAW_2_P): Likewise.
24858         (_FP_MUL_MEAT_DW_2_wide): Likewise.
24859         (_FP_MUL_MEAT_2_wide): Likewise.
24860         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24861         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24862         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24863         (_FP_MUL_MEAT_2_gmp): Likewise.
24864         (_FP_DIV_MEAT_2_udiv): Likewise.
24865         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24866         (_FP_FRAC_SRL_4): Likewise.
24867         (_FP_FRAC_SRST_4): Likewise.
24868         (_FP_FRAC_SRS_4): Likewise.
24869         (_FP_UNPACK_RAW_4): Likewise.
24870         (_FP_UNPACK_RAW_4_P): Likewise.
24871         (_FP_PACK_RAW_4): Likewise.
24872         (_FP_PACK_RAW_4_P): Likewise.
24873         (_FP_MUL_MEAT_DW_4_wide): Likewise.
24874         (_FP_MUL_MEAT_4_wide): Likewise.
24875         (_FP_MUL_MEAT_4_gmp): Likewise.
24876         (umul_ppppmnnn): Likewise.
24877         (_FP_DIV_MEAT_4_udiv): Likewise.
24878         (__FP_FRAC_ADD_4): Likewise.
24879         (__FP_FRAC_SUB_3): Likewise.
24880         (__FP_FRAC_SUB_4): Likewise.
24881         (__FP_FRAC_DEC_3): Likewise.
24882         (__FP_FRAC_DEC_4): Likewise.
24883         (__FP_FRAC_ADDI_4): Likewise.
24884         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24885         (_FP_FRAC_SRL_8): Likewise.
24886         (_FP_FRAC_SRS_8): Likewise.
24888         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24889         include macro name.
24890         (FP_UNPACK_RAW_EP): Likewise.
24891         (FP_PACK_RAW_E): Likewise.
24892         (FP_PACK_RAW_EP): Likewise.
24893         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24894         (_FP_ISSIGNAN): Likewise.
24895         (_FP_ADD_INTERNAL): Likewise.
24896         (_FP_FMA): Likewise.
24897         (_FP_CMP): Likewise.
24898         (_FP_SQRT): Likewise.
24899         (_FP_TO_INT): Likewise.
24900         (_FP_FROM_INT): Likewise.
24901         (FP_EXTEND): Likewise.
24902         (_FP_DIV_MEAT_N_loop): Likewise.
24904 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24906         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24907         throughout.
24909 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
24911         [BZ #17097]
24912         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24913         result with correct sign in case of exponents that produce
24914         overflow except for X very close to 1.
24916 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
24918         mktime: merge #if/#ifdef usage from glibc
24919         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24920         as that works with both Glibc's and Gnulib's style.
24921         See thread starting at Siddhesh Poyarekar's bug report at:
24922         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24924 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24926         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24927         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24928         * sysdeps/tile/tilegx/memmove.c: Remove file.
24930 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24932         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24933         abi-name definition.
24934         * scripts/soversions.awk: Do not handle or generate ABI lines.
24935         * shlib-versions: Remove ABI entries.
24936         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24937         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24939 2014-06-27  Roland McGrath  <roland@hack.frob.com>
24941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24942         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24943         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24944         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24946         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24948         Moved ...
24949         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24950         ... here.
24951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24952         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24954         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24956         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24957         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24958         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24960         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24961         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24962         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24963         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24964         Moved ...
24965         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24967         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24969         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24971         Moved ...
24972         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24974         Moved ...
24975         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24977         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24979         Moved ...
24980         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24982         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24984         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24985         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24986         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24988         Moved ...
24989         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24991         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24992         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24993         Moved ...
24994         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24995         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24996         Moved ...
24997         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24998         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24999         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25000         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25001         Moved ...
25002         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25003         ... here.
25004         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25005         Identical file removed.
25006         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25007         Moved ...
25008         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25009         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25010         Identical file removed.
25011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25012         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25014         Moved ...
25015         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25017         Identical file removed.
25018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25019         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25020         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25021         Identical file removed.
25022         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25023         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25024         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25025         Identical file removed.
25026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25027         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25028         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25029         Identical file removed.
25030         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25031         Moved ...
25032         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25033         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25034         Identical file removed.
25035         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25036         Moved ...
25037         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25038         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25039         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25041         Identical file removed.
25042         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25043         Moved ...
25044         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25045         ... here.
25046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25047         Identical file removed.
25048         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25049         Moved ...
25050         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25051         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25052         Identical file removed.
25053         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25054         Moved ...
25055         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25056         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25057         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25058         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25059         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25060         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25061         Moved ...
25062         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25063         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25064         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25066         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25067         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25068         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25069         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25070         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25072 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
25074         [BZ #17092]
25075         * nscd/nscd.c (monitor_child): Return exit status of child
25076         instead of return value from wait syscall.
25078 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25080         * configure.ac (libc_commonpagesize): Remove variable.
25081         (libc_relro_required): Likewise.
25082         (libc_cv_z_relro): Remove configure test.
25083         * configure: Regenerated.
25084         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25085         variable.
25086         (libc_relro_required): Likewise.
25087         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25088         (libc_relro_required): Likewise.
25089         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25090         (libc_relro_required): Likewise.
25091         * sysdeps/arm/preconfigure: Regenerated.
25092         * sysdeps/ia64/preconfigure: Remove file.
25093         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25094         variable.
25095         (libc_relro_required): Likewise.
25097         [BZ #16561]
25098         [BZ #16562]
25099         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25100         (__ieee754_yn): Set FE_TONEAREST mode internally and then
25101         recompute overflowing results in original rounding mode.
25102         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25103         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25104         recompute overflowing results in original rounding mode.
25105         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25106         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25107         recompute overflowing results in original rounding mode.
25108         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25109         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25110         recompute overflowing results in original rounding mode.
25111         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25112         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25113         recompute overflowing results in original rounding mode.
25114         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25115         (libc_feholdsetround_ctx): New macro.
25116         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25117         * sysdeps/i386/fpu/libm-test-ulps: Update.
25118         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25120 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25122         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25123         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25124         corresponding .cpsetup call.
25126 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25128         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25129         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25130         * sysdeps/arm/Makefile [$(subdir) = csu]
25131         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25132         (static-only-routines): Add aeabi_read_tp here.
25133         (shared-only-routines): Add libc-aeabi_read_tp here.
25134         (CFLAGS-libc-start.c): Add -fexceptions here.
25135         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25136         (sysdep_routines, static-only-routines, shared-only-routines):
25137         Don't add to these here.
25138         (CFLAGS-libc-start.c): Likewise.
25140         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25141         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25142         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25143         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25144         * sysdeps/arm/Makefile [$(subdir) = rt]
25145         (librt-sysdep_routines, librt-shared-only-routines):
25146         Append rt-aeabi_unwind_cpp_pr1 here.
25147         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25148         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25149         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25150         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25151         Append nptl-aeabi_unwind_cpp_pr1 here.
25152         (tests): Filter out tst-cleanupx4 here.
25153         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25154         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25155         Don't do those here.
25157 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25159         * scripts/list-sources.sh: Do not handle ports specially.
25161 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25163         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25164         * sysdeps/arm/feupdateenv.c: Likewise.
25166         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25168 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25170         * manual/texinfo.tex: Update to version 2014-05-05.10 with
25171         trailing whitespace removed.
25172         * scripts/config.guess: Update to version 2014-03-23.
25173         * scripts/config.sub: Update to version 2014-05-01
25174         * scripts/install-sh: Update to version 2013-12-25.23.
25175         * scripts/move-if-change: Update from gnulib.
25177 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25179         * debug/memmove_chk.c: Remove pagecopy.h include.
25181 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25183         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25184         identical to gnulib mktime.
25186 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25188         * configure.ac: Do not test for machine being rs6000.  Do not test
25189         for powerpc*-*soft.
25190         * configure: Regenerated.
25192         [BZ #11505]
25193         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25194         test.
25195         * configure: Regenerated.
25196         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25197         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25198         Remove configure test.
25199         * sysdeps/arm/configure: Regenerated.
25200         * sysdeps/nptl/configure.ac: Do not check
25201         libc_cv_asm_cfi_directives.
25202         * sysdeps/nptl/configure: Regenerated.
25203         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25204         * sysdeps/x86_64/nptl/configure: Remove generated file.
25205         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25206         unconditional.
25207         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25209 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25211         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25212         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25213         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25214         it is defined.
25216         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25217         instead of whether it is defined.
25218         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25219         * sysdeps/hppa/dl-machine.h: Likewise.
25220         * sysdeps/ia64/dl-machine.h: Likewise.
25221         * sysdeps/m68k/dl-machine.h: Likewise.
25222         * sysdeps/microblaze/dl-machine.h: Likewise.
25223         * sysdeps/mips/dl-machine.: Likewise.
25224         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25225         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25226         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25227         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25228         * sysdeps/sh/dl-machine.h: Likewise.
25229         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25230         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25231         * sysdeps/tile/dl-machine.h: Likewise.
25232         * sysdeps/x86_64/dl-machine.h: Likewise.
25234         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25235         code.
25236         (verify_persistent_db): Likewise.
25238 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25241         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25243         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25245         Moved ...
25246         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25247         ... here.
25248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25249         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25251         Identical file removed.
25252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25253         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25255         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25257         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25259         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25261         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25263         Moved ...
25264         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25266         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25268         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25270         Moved ...
25271         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25273         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25275         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25277         Identical file removed.
25278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25279         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25281         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25283         Moved ...
25284         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25285         ... here.
25286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25287         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25289         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25291         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25293         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25295         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25297         Moved ...
25298         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25300         Moved ...
25301         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25303         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25305         Moved ...
25306         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25308         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25310         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25311         folded into ...
25312         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25313         * sysdeps/unix/sysv/linux/s390/Versions
25314         (libpthread: GLIBC_2.19): New version set.
25315         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25316         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25317         (librt: GLIBC_2.3.3): New version set.
25318         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25319         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25320         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25321         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25322         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25323         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25324         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25325         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25326         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25327         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25328         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25329         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25330         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25331         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25332         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25333         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25334         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25335         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25336         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25337         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25338         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25339         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25340         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25341         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25342         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25343         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25344         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25345         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25346         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25347         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25348         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25349         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25350         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25352         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25354         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25356         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25358         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25359         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25360         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25361         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25362         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25364         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25365         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25366         (__libc_vfork): Define the function under this name.
25367         [!NOT_IN_libc] (__vfork): Make this an alias.
25368         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25369         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25370         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25371         (__libc_vfork): Define the function under this name.
25372         [!NOT_IN_libc] (__vfork): Make this an alias.
25373         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25374         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25375         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25376         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25377         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25378         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25380         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25381         code that was previously under [RESET_PID].
25382         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25383         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25384         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25386         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25387         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25388         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25389         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25390         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25391         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25392         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25393         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25394         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25395         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25396         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25397         Moved ...
25398         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25399         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25400         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25401         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25402         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25403         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25404         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25405         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25406         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25407         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25408         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25409         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25410         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25411         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25412         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25413         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25414         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25415         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25416         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25417         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25418         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25419         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25420         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25421         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25422         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25423         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25424         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25425         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25426         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25428 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25430         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25431         that was previously under [RESET_PID].
25432         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25434 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25436         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25437         not undefine and redefine.
25438         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25439         [O_CLOEXEC]: Make code unconditional.
25440         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25441         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25442         <kernel-features.h>.
25443         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25444         conditional variable definition.
25445         (shm_open) [O_CLOEXEC]: Make code unconditional.
25446         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25447         code.
25449         * configure.ac (USE_REGPARMS): Don't define here.
25450         * configure: Regenerated.
25451         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25452         * sysdeps/i386/configure: Regenerated.
25454         * nptl/createthread.c: Don't include kernel-features.h.
25455         * nptl/pthread_cancel.c: Likewise.
25456         * nptl/pthread_condattr_setclock.c: Likewise.
25457         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25458         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25459         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25460         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25461         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25462         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25463         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25464         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25466         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25467         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25468         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25469         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25470         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25471         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25472         * nscd/gai.c: Likewise.
25473         * nss/nss_db/db-open.c: Likewise.
25474         * sysdeps/generic/ldsodefs.h: Likewise.
25475         * sysdeps/sh/nptl/tls.h: Likewise.
25476         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25477         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25478         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25479         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25480         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25481         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25482         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25483         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25484         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25485         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25486         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25487         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25488         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25489         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25490         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25491         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25492         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25493         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25494         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25495         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25496         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25497         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25498         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25499         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25501         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25502         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25503         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25504         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25505         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25506         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25507         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25508         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25509         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25510         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25511         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25512         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25513         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25514         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25515         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25516         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25517         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25518         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25519         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25520         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25521         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25522         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25523         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25524         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25525         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25526         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25527         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25528         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25529         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25530         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25531         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25532         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25533         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25556         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25557         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25558         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25559         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25560         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25561         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25562         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25563         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25564         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25565         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25566         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25567         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25568         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25569         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25570         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25571         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25572         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25573         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25574         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25575         * sysdeps/unix/sysv/linux/system.c: Likewise.
25576         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25577         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25578         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25579         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25580         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25581         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25582         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25584         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25585         * configure: Regenerated.
25586         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25588         * configure.ac (base_machine): Do not set specially for particular
25589         machines here.
25590         * configure: Regenerated.
25591         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25592         settings from configure.ac.
25593         * sysdeps/i386/preconfigure: New file.
25594         * sysdeps/s390/preconfigure: Likewise.
25595         * sysdeps/sh/preconfigure: Likewise.
25596         * sysdeps/sparc/preconfigure: Likewise.
25598 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25600         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25601         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25602         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25603         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25604         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25605         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25606         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25607         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25608         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25609         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25610         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25611         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25612         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25613         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25614         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25615         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25616         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25617         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25618         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25620         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25621         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25622         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25623         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25624         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25625         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25626         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25627         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25628         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25629         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25630         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25631         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25632         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25633         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25634         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25635         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25636         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25637         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25638         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25639         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25640         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25641         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25642         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25643         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25644         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25645         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25646         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25647         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25648         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25649         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25650         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25651         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25652         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25653         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25654         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25655         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25656         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25657         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25660         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25662         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25664         Moved ...
25665         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25666         ... here.
25667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25668         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25670         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25672         Moved ...
25673         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25675         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25677         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25679         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25681         Moved ...
25682         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25684         Moved ...
25685         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25687         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25689         Moved ...
25690         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25692         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25694         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25696         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25698         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25700         Moved ...
25701         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25702         ... here.
25703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25704         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25706         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25708         Moved ...
25709         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25711         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25713         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25715         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25717         Moved ...
25718         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25720         Moved ...
25721         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25723         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25725         Moved ...
25726         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25728         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25730         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25732 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25734         * timezone/checktab.awk: Update from tzcode 2014e.
25735         * timezone/private.h: Likewise.
25736         * timezone/tzfile.h: Likewise.
25737         * timezone/zdump.c: Likewise.
25738         * timezone/zic.c: Likewise.
25740         * sysdeps/unix/sysv/linux/kernel-features.h
25741         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25742         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25743         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25744         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25745         Remove conditional code.
25747 2014-06-25  Will Newton  <will.newton@linaro.org>
25749         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25750         (_dl_arm_cap_flags): Add HWCAP2 values.
25751         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25752         (_DL_HWCAP_COUNT): Increase to 37.
25753         (_DL_HWCAP_LAST): New define.
25754         (_DL_HWCAP2_LAST): New define.
25755         (_dl_procinfo): Add support for printing
25756         AT_HWCAP2 entries.
25757         (_dl_string_hwcap): Use _dl_hwcap_string.
25759 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25763 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25765         * README: Do not mention ports directory.
25767         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25768         Remove macro.
25769         * sysdeps/unix/sysv/linux/futimes.c: Do not include
25770         <kernel-features.h>.
25771         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25772         conditional variable definition.
25773         (__futimes): Update comment.
25774         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25775         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25777         [BZ #16560]
25778         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25779         arguments close to 0.
25780         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25781         Likewise.
25782         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25783         Likewise.
25784         * math/auto-libm-test-in: Add more tests of exp10.
25785         * math/auto-libm-test-out: Regenerated.
25786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25788         * sysdeps/unix/sysv/linux/kernel-features.h
25789         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25790         * sysdeps/unix/sysv/linux/readv.c: Do not include
25791         <kernel-features.h>.
25792         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25793         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25794         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25795         unconditional.
25796         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25797         conditional code.
25798         * sysdeps/unix/sysv/linux/writev.c: Do not include
25799         <kernel-features.h>.
25800         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25801         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25802         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25803         unconditional.
25804         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25805         conditional code.
25807 2014-06-25  Will Newton  <will.newton@linaro.org>
25809         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25810         comment changes throughout the file.  Remove checks
25811         for HAVE_*_H definitions that are not required.
25812         (__gen_tempname): Call abort if an unknown kind value is
25813         passed.
25815 2014-06-25  Andreas Schwab  <schwab@suse.de>
25817         [BZ #17086]
25818         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25819         scalbln, scalblnf, scalblnl in libc.
25821 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25823         [BZ #17086]
25824         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25825         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25826         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25828 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25830         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25831         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25832         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25833         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25834         Update #include.
25835         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25836         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25837         Update #include.
25838         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25839         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25840         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25841         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25842         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25843         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25844         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25845         * sysdeps/x86/bits/semaphore.h: ... here.
25846         * sysdeps/x86/nptl/elide.h: Moved ...
25847         * sysdeps/x86/elide.h: ... here.
25848         * sysdeps/x86_64/nptl/Implies: File removed.
25849         * sysdeps/i386/nptl/Implies: File removed.
25851 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
25853         [BZ #16539]
25854         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25855         return the argument for normal arguments with exponent below -64.
25856         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25857         Likewise.
25858         * math/auto-libm-test-in: Add another test of expm1.
25859         * math/auto-libm-test-out: Regenerated.
25861         [BZ #16287]
25862         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25863         calling __erfcl for arguments at least 16.
25864         * math/auto-libm-test-in: Add more tests of erf.
25865         * math/auto-libm-test-out: Regenerated.
25867         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25868         individual architectures.
25869         * sysdeps/unix/sysv/linux/configure: Regenerated.
25870         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25871         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25872         * sysdeps/unix/sysv/linux/powerpc/configure.ac
25873         (ldd_rewrite_script): Define variable.
25874         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25876         file.
25877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25878         generated file.
25879         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25880         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25881         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25882         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25883         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25884         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25885         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25886         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25888 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25890         [BZ #17084]
25891         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25892         Rename member __data.d to __data.__elision_data.
25894 2014-06-24  Wilco  <wdijkstr@arm.com>
25896         * NEWS: Add 16918 to fixed bug list.
25898 2014-06-24  Wilco  <wdijkstr@arm.com>
25900         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25902 2014-06-24  Wilco  <wdijkstr@arm.com>
25904         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25905         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25906         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25907         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25908         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25909         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25910         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25911         Use _FPU_MASK_RM.
25913 2014-06-24  Wilco  <wdijkstr@arm.com>
25915         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25917 2014-06-24  Wilco  <wdijkstr@arm.com>
25919         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25920         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25921         * sysdeps/arm/fesetround.c (fesetround): Remove space.
25922         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25924 2014-06-24  Wilco  <wdijkstr@arm.com>
25926         [BZ #16918]
25927         * sysdeps/arm/feupdateenv.c (feupdateenv):
25928         Rewrite to reduce FPSCR accesses and fix return value.
25930 2014-06-24  Wilco  <wdijkstr@arm.com>
25932         * sysdeps/arm/fclrexcpt.c (feclearexcept):
25933         Optimize to avoid unnecessary FPSCR writes.
25934         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25935         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25936         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25937         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25939 2014-06-24  Wilco  <wdijkstr@arm.com>
25941         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25942         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25943         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25944         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25945         Call libc_fetestexcept_vfp.
25946         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25947         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25948         __SOFTFP__ ifdef so that they can be built for softfp.
25950 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25952         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25953         argument type signed char.
25955         * Makerules (check-abi): Dump diff of symlist if the test
25956         fails.
25958 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25960         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25961         using abort.
25963         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25964         Remove unused variable ST.
25966 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25968         [BZ #16354]
25969         [BZ #17061]
25970         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25971         small arguments before calling __expm1.
25972         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25973         small arguments before calling __expm1f.
25974         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25975         small arguments before calling __expm1l.
25976         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25977         Likewise.
25978         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25979         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25980         spurious underflow for some cosh tests.
25981         * math/auto-libm-test-out: Regenerated.
25982         * sysdeps/i386/fpu/libm-test-ulps: Update.
25984         [BZ #17050]
25985         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25986         (__ieee754_y1): Set errno if return value overflows.
25987         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25988         (__ieee754_y1f): Set errno if return value overflows.
25989         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25990         (__ieee754_y1l): Set errno if return value overflows.
25991         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25992         (__ieee754_y1l): Set errno if return value overflows.
25993         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25994         * math/auto-libm-test-out: Regenerated.
25996         * math/gen-auto-libm-tests.c: Document use of
25997         ignore-zero-inf-sign.
25998         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25999         (input_flags): Add ignore-zero-inf-sign.
26000         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26001         * math/gen-libm-test.pl (generate_testfile): Handle
26002         ignore-zero-inf-sign.
26003         * math/auto-libm-test-in: Mark some cpow tests with
26004         ignore-zero-inf-sign and some with xfail-rounding.
26005         * math/auto-libm-test-out: Regenerated.
26006         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26007         * sysdeps/i386/fpu/libm-test-ulps: Update.
26008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26010         [BZ #16315]
26011         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26012         overflowing or underflowing operations take place with sign of
26013         result.
26014         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26015         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26016         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26017         (__ieee754_pow): Recompute overflowing and underflowing results in
26018         original rounding mode.
26019         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26020         (__powl_helper): Allow negative argument X and scale negated value
26021         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
26022         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26023         overflowing or underflowing operations take place with sign of
26024         result.
26025         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26026         Include <math.h>.
26027         * math/auto-libm-test-in: Add more tests of pow.
26028         * math/auto-libm-test-out: Regenerated.
26029         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26030         (pow_tonearest_test_data): Remove.
26031         (pow_test_tonearest): Likewise.
26032         (pow_towardzero_test_data): Likewise.
26033         (pow_test_towardzero): Likewise.
26034         (pow_downward_test_data): Likewise.
26035         (pow_test_downward): Likewise.
26036         (pow_upward_test_data): Likewise.
26037         (pow_test_upward): Likewise.
26038         (main): Don't call removed functions.
26039         * sysdeps/i386/fpu/libm-test-ulps: Update.
26040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26042 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26045         Moved ...
26046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26048         Moved ...
26049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26051         Moved ...
26052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26054         Moved ...
26055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26057         File removed.
26058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26059         File removed.
26060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26061         File removed.
26062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26063         File removed.
26064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26065         File removed.
26066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26067         File removed.
26068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26069         File removed.
26070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26071         File removed.
26072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26073         File removed.
26074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26075         File removed.
26076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26077         File removed.
26078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26079         File removed.
26080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26081         Moved ...
26082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26084         Moved ...
26085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26086         ... here.
26087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26088         Moved ...
26089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26091         Moved ...
26092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26094         Moved ...
26095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26097         Moved ...
26098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26100         Moved ...
26101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26103         Moved ...
26104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26106         Moved ...
26107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26110         ... here.
26111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26112         Moved ...
26113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26115         Moved ...
26116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26117         ... here.
26118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26119         Moved ...
26120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26121         ... here.
26122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26123         Moved ...
26124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26125         ... here.
26126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26127         Moved ...
26128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26130         Moved ...
26131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26135         Moved ...
26136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26137         ... here.
26138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26139         Moved ...
26140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26141         ... here.
26142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26143         Moved ...
26144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26146         Moved ...
26147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26149         Moved ...
26150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26152         Moved ...
26153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26155         Moved ...
26156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26157         ... here.
26158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26159         Moved ...
26160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26162         Moved ...
26163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26165         Moved ...
26166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26168         Moved ...
26169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26173         Moved ...
26174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26176         Moved ...
26177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26179         Moved ...
26180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26181         ... here.
26182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26183         Moved ...
26184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26185         ... here.
26186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26187         Moved ...
26188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26189         ... here.
26190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26191         Moved ...
26192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26194         Moved ...
26195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26197         Moved ...
26198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26200         Moved ...
26201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26202         ... here.
26203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26204         Moved ...
26205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26206         ... here.
26207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26208         Moved ...
26209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26210         ... here.
26211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26212         Moved ...
26213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26215         Moved ...
26216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26218 2014-06-23  Will Newton  <will.newton@linaro.org>
26219             Wilco  <wdijkstr@arm.com>
26221         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26222         implementation.  Include get-rounding-mode.h.
26223         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26224         [!libc_feholdsetround_noex_ctx]: Define
26225         libc_feholdsetround_noex_ctx.
26226         [!libc_feholdsetround_noexf_ctx]: Define
26227         libc_feholdsetround_noexf_ctx.
26228         [!libc_feholdsetround_noexl_ctx]: Define
26229         libc_feholdsetround_noexl_ctx.
26230         (libc_feholdsetround_ctx): New function.
26231         (libc_feresetround_ctx): New function.
26232         (libc_feholdsetround_noex_ctx): New function.
26233         (libc_feresetround_noex_ctx): New function.
26235 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26237         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26238         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26239         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26240         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26241         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26242         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26244         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26245         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26246         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26247         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26248         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26249         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26251         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26252         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26253         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26254         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26255         Moved ...
26256         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26257         ... here.
26258         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26259         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26260         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26261         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26262         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26263         Moved ...
26264         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26265         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26266         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26267         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26268         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26270         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26271         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26272         Moved ...
26273         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26274         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26275         Moved ...
26276         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26277         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26278         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26279         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26280         Moved ...
26281         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26282         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26283         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26284         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26285         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26286         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26287         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26288         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26289         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26290         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26291         Moved ...
26292         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26293         ... here.
26294         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26295         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26296         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26297         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26298         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26299         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26300         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26301         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26302         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26303         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26304         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26305         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26306         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26307         Moved ...
26308         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26309         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26310         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26311         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26312         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26313         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26314         Moved ...
26315         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26316         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26317         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26318         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26319         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26321         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26322         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26323         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26324         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26325         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26326         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26327         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26328         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26329         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26330         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26331         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26332         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26333         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26334         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26335         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26336         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26337         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26338         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26339         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26340         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26341         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26342         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26343         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26344         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26345         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26346         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26347         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26348         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26350 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26353         (FALLOC_FL_COLLAPSE_RANGE): New macro.
26354         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26355         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26356         (IPV6_PMTUDISC_INTERFACE): Likewise.
26357         (IPV6_PMTUDISC_OMIT): Likewise.
26359 2014-06-23  Andreas Schwab  <schwab@suse.de>
26361         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26362         Remove unused errout label.
26364 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26366         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26367         macro: hardware supports Vector Crypto instructions.
26369 2014-06-23  Will Newton  <will.newton@linaro.org>
26371         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26372         rather than __builtin_expect.
26374         * elf/dl-lookup.c (undefined_msg): Remove variable.
26375         (_dl_lookup_symbol_x): Replace undefined_msg with string
26376         literal.
26378         * elf/dl-lookup.c (do_lookup_unique): New function.
26379         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26380         to a separate function.
26382 2014-06-23  Andreas Schwab  <schwab@suse.de>
26384         [BZ #17079]
26385         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26386         before reading the next line.
26388 2014-06-23  Will Newton  <will.newton@linaro.org>
26390         * test-skeleton.c (signal_handler): Use printf and %m
26391         rather than perror.  Use printf rather than fprintf to
26392         stderr.  Use puts rather than fputs to stderr.
26393         (main): Likewise.
26395 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26397         * nscd/nscd.c (thread_info_t): Remove typedef.
26398         (thread_info): Remove variable.
26400 2014-06-21  Allan McRae  <allan@archlinux.org>
26402         * NEWS: Mention CVE-2014-4043.
26404 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26406         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26407         * nptl/smp.h: ... here.
26409         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26411         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26412         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26413         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26414         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26416         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26417         * nptl/stack-aliasing.h: New file.
26418         * sysdeps/i386/i686/stack-aliasing.h: New file.
26419         * sysdeps/i386/i686/nptl/Makefile: File removed.
26420         * sysdeps/x86_64/stack-aliasing.h: New file.
26421         * sysdeps/x86_64/nptl/Makefile
26422         (CFLAGS-pthread_create.c): Variable removed.
26424         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26425         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26426         old file.
26427         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26428         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26429         old file.
26431 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26433         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26434         (__ASSUME_SIGFRAME_V2): Remove macro.
26435         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26436         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26437         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26438         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26439         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26440         Declare as function.  Remove conditional macro definitions.
26441         (__default_rt_sa_restorer): Likewise.
26442         (__default_sa_restorer_v1): Remove declaration.
26443         (__default_sa_restorer_v2): Likewise.
26444         (__default_rt_sa_restorer_v1): Likewise.
26445         (__default_rt_sa_restorer_v2): Likewise.
26446         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26447         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26448         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26450 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26452         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26453         (libpthread-routines): Add sysdep.
26454         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26455         * sysdeps/unix/sysv/linux/sparc/Versions
26456         (libpthread: GLIBC_2.3.3): New version set.
26457         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26458         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26459         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26460         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26461         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26462         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26463         Moved ...
26464         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26465         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26466         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26467         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26468         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26469         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26470         * sysdeps/sparc/nptl/sem_init.c: ... here.
26471         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26472         * sysdeps/sparc/nptl/sem_post.c: ... here.
26473         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26474         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26475         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26476         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26477         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26478         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26479         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26480         (libpthread-routines): Add cpu_relax.
26481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26482         File removed.
26483         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26484         (librt: GLIBC_2.3.3): New version set.
26485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26486         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26487         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26488         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26491         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26493         Moved ...
26494         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26496         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26498         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26500         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26502         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26504         Moved ...
26505         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26506         Update #include.
26507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26508         Moved ...
26509         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26510         Update #include.
26511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26512         Moved ...
26513         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26514         Update #include.
26515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26516         Moved ...
26517         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26518         Update #include.
26519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26520         Moved ...
26521         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26522         Update #include.
26523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26524         Moved ...
26525         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26526         Update #include.
26527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26528         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26530         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26532         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26534         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26536         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26538         Moved ...
26539         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26541         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26543         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26545 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26547         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26548         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26549         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26550         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26551         * nscd/nscd.c: Likewise.
26552         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26553         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26554         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26555         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26557         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26558         <kernel-features.h>.
26559         (init_mq_netlink): Remove conditional have_sock_cloexec
26560         definitions.  Remove code conditional on have_sock_cloexec < 0.
26561         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26562         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26563         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26564         <kernel-features.h>.
26565         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26566         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26568 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26571         Add tests for memset_chk and memset.
26573         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26574         with AVX2_Usable.
26576 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26578         [BZ #16046]
26579         * elf/tst-dl-iter-static.c: New file.
26580         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26582         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26583         error.
26585 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26587         * sysdeps/unix/sysv/linux/kernel-features.h
26588         (__ASSUME_F_GETOWN_EX): Remove macro.
26589         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26590         <kernel-features.h>.
26591         (miss_F_GETOWN_EX): Remove variable or macro.
26592         (do_fcntl): Do not check miss_F_GETOWN_EX.
26593         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26595         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26596         Remove macro.
26597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26598         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26599         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26601         * sysdeps/unix/sysv/linux/kernel-features.h
26602         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26603         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26604         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26605         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26607 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26609         [BZ #17075]
26610         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26611         Fix calculation of the symbol's value.
26612         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26613         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26614         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26615         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26616         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26617         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26618         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26619         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26620         (modules-names): Add `tst-armtlsdescmod',
26621         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26622         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26623         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26624         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26625         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26626         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26627         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26628         ($(objpfx)tst-armtlsdescloc): New dependency.
26629         ($(objpfx)tst-armtlsdescextnow): Likewise.
26630         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26631         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26632         TLS scheme support.
26633         * sysdeps/arm/configure: Regenerate.
26635 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26637         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26638         (__atfct_seterrno_2): Likewise.
26639         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26640         <kernel-features.h>.
26641         (__ASSUME_ATFCTS): Do not undefine and redefine.
26642         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26643         (__have_atfcts): Remove conditional definition.
26644         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26645         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26646         unreachable if [__ASSUME_ATFCTS].
26647         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26648         not undefine and redefine.
26649         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26650         <kernel-features.h>.
26651         (faccessat) [__NR_faccessat]: Make code unconditional.
26652         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26653         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26654         <kernel-features.h>.
26655         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26656         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26657         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26658         <kernel-features.h>.
26659         (fchownat) [__NR_fchownat]: Make code unconditional.
26660         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26661         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26662         <kernel-features.h>.
26663         (futimesat) [__NR_futimesat]: Make code unconditional.
26664         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26665         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26666         <kernel-features.h>.
26667         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26668         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26669         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26670         <kernel-features.h>.
26671         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26672         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26673         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26674         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26675         <kernel-features.h>.
26676         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26677         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26678         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26679         <kernel-features.h>.
26680         (linkat) [__NR_linkat]: Make code unconditional.
26681         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26682         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26683         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26684         <kernel-features.h>.
26685         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26686         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26687         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26688         <kernel-features.h>.
26689         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26690         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26691         * sysdeps/unix/sysv/linux/openat.c: Do not include
26692         <kernel-features.h>.
26693         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26694         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26695         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26696         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26697         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26698         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26699         <kernel-features.h>.
26700         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26701         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26702         result of INLINE_SYSCALL directly, not via int variable.
26703         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26704         <kernel-features.h>.
26705         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26706         (renameat) [__NR_renameat]: Make code unconditional.
26707         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26708         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26709         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26710         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26711         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26712         (__ASSUME_ATFCTS): Do not undefine and redefine.
26713         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26714         <kernel-features.h>.
26715         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26716         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26717         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26718         <kernel-features.h>.
26719         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26720         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26721         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26722         (__ASSUME_ATFCTS): Do not undefine and redefine.
26723         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26724         <kernel-features.h>.
26725         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26726         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26727         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26728         <kernel-features.h>.
26729         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26730         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26732 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26734         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26736 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26738         [BZ #17069]
26739         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26740         constructed tree before returning error.
26741         * posix/bug-regexp36.c: Expand test case.
26743 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26745         [BZ #6803]
26746         * math/libm-test.inc (scalbln_test_date):
26747         Add errno expectations.
26748         * math/w_scalblnf.c: New File.
26749         Add wrapper which checks for setting errno to ERANGE.
26750         Add weak_alias for corresponding scalbln function.
26751         * math/w_scalbln.c: Likewise.
26752         * math/w_scalblnl.c: Likewise.
26753         * math/Makefile (libm-calls): Add w_scalbln.
26754         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26755         Remove weak_alias for corresponding scalbln function.
26756         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26757         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26758         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26759         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26760         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26761         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26762         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26763         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26764         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26765         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26766         Remove long_double_symbol for scalblnl function in libm, libc.
26767         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26768         Add wrapper which checks for setting errno to ERANGE.
26769         Add long_double_symbol for scalblnl function in libm, libc.
26770         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26771         Remove long_double_symbol for scalblnl in libm.
26772         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26773         Add wrapper which checks for setting errno to ERANGE.
26774         Add long_double_symbol for scalblnl function in libm.
26775         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26776         Do not use wrapper because of own implementation.
26778 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
26780         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26781         3 bytes for __pad1 for x32.
26782         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26784 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
26785             H.J. Lu  <hongjiu.lu@intel.com>
26787         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26788         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26789         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26790         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26791         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26793 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26795         [BZ #17069]
26796         * posix/regcomp.c (parse_expression): Deallocate partially
26797         constructed tree before returning error.
26798         * posix/Makefile.c (tests): Add bug-regex36.
26799         (generated): Add bug-regex36.mtrace.
26800         (tests-special): Add $(objpfx)bug-regex36-mem.out
26801         (bug-regex36-ENV): New variable.
26802         ($(objpfx)bug-regex36-mem.out): New rule.
26803         * posix/bug-regex36.c: New file.
26805 2014-06-19  Will Newton  <will.newton@linaro.org>
26807         * malloc/malloc.c (systrim): If extra is zero then return
26808         early.
26810 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26812         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26814 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26816         * sysdeps/aarch64/strchr.S: New file.
26818 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26820         [BZ #17022]
26821         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26822         from arguments -2 or below.
26823         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26824         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26826 2014-06-18  Andreas Schwab  <schwab@suse.de>
26828         [BZ #17062]
26829         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26830         of a bracket expr not to run off the end of the string.
26831         * posix/Makefile (tests): Add tst-fnmatch3.
26832         * posix/tst-fnmatch3.c: New file.
26834 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26836         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26837         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26838         [$(cross-compiling) = no]: Likewise.
26839         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26840         [$(cross-compiling) = no]: Likewise.
26842 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26844         [BZ #17031]
26845         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26846         double, adjusted for any remainder from the high double.
26847         * math/libm-test.inc (nearbyint): Add tests.
26848         (rint): Likewise.
26850 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26852         * nptl/sysdeps/powerpc/Makefile: Moved ...
26853         * sysdeps/powerpc/nptl/Makefile: ... here.
26854         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26855         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26856         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26857         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26858         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26859         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26860         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26861         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26862         * nptl/sysdeps/powerpc/tls.h: Moved ...
26863         * sysdeps/powerpc/nptl/tls.h: ... here.
26865 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
26867         [BZ #16681]
26868         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26869         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26870         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26871         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26872         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26873         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26874         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26875         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26876         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26878 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
26880         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26882 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
26884         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26885         defined operator.
26887         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26888         $TIMEOUTFACTOR.
26890 2014-06-16  Florian Weimer  <fweimer@redhat.com>
26892         [BZ #17058]
26893         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26894         non-executed part of the test.
26896 2014-06-16  Andreas Schwab  <schwab@suse.de>
26898         * string/bits/string2.h (strdup, strndup): Update feature guard.
26900 2014-06-14  David S. Miller  <davem@davemloft.net>
26902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26904 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
26906         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26907         that was previously under [RESET_PID].
26908         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26910         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26911         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26912         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26913         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26914         (__libc_vfork): New strong alias.
26915         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26917 2014-06-14 Andi Kleen  <ak@linux.intel.com>
26919         * sysdeps/generic/elide.h: New file.
26921 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26923         * Makefile (installed-headers): Adjust path of pthread.h header.
26925 2014-06-13  Roland McGrath  <roland@hack.frob.com>
26927         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26928         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26929         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26930         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26932         * nptl/sysdeps/s390/Makefile: Moved ...
26933         * sysdeps/s390/nptl/Makefile: ... here.
26934         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26935         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26936         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26937         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26938         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26939         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26940         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26941         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26942         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26943         * sysdeps/s390/nptl/pthreaddef.h: ... here.
26944         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26945         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26946         * nptl/sysdeps/s390/tls.h: Moved ...
26947         * sysdeps/s390/nptl/tls.h: ... here.
26949         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26950         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26952 2014-06-13  David S. Miller  <davem@davemloft.net>
26954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26957         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26958         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26961         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26962         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26963         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26964         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26965         Remove RESET_PID cpp guards.
26966         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26967         Remove RESET_PID cpp guards.
26968         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26970 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
26972         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26973         __sp to uintptr_t.
26975 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26977         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26978         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26979         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26980         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26981         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26982         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26983         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26984         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26985         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26986         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26987         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26989         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26990         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26991         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26992         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26993         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26994         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26995         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26996         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26998         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26999         (pthread_rwlock_rdlock): Add elision.
27000         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27001         (pthread_rwlock_wrlock): Add elision.
27002         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27003         (pthread_rwlock_trywrlock): Add elision.
27004         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27005         (pthread_rwlock_tryrdlock): Add elision.
27006         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27007         (pthread_rwlock_tryrdlock): Add elision unlock.
27008         * nptl/sysdeps/pthread/pthread.h:
27009         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27010         (PTHREAD_RWLOCK_INITIALIZER,
27011         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27012         Handle new elision field.
27013         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27014         * sysdeps/arm/nptl/bits/pthreadtypes.h
27015         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27016         * sysdeps/sh/nptl/bits/pthreadtypes.h
27017         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27018         * sysdeps/tile/nptl/bits/pthreadtypes.h
27019         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27020         * sysdeps/a/nptl/bits/pthreadtypes.h
27021         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27022         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27023         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27024         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27025         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27026         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27028         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27029         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27030         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27031         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27032         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27033         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27034         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27035         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27036         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27037         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27038         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27039         (elision_init): Set try_xbegin to zero when no RTM.
27040         * sysdeps/x86/nptl/bits/pthreadtypes.h
27041         (pthread_rwlock_t): Change __pad1 to __rwelision.
27042         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27044 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27046         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27047         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27048         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27049         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27051 2014-06-13  Meador Inge  <meadori@codesourcery.com>
27053         [BZ #16996]
27054         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27055         that the cached result has been set before returning it.
27057 2014-06-12  Roland McGrath  <roland@hack.frob.com>
27059         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27060         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27061         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27062         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27063         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27064         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27066         * nptl/sysdeps/sparc/Makefile: Moved ...
27067         * sysdeps/sparc/nptl/Makefile: ... here.
27068         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27069         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27070         * nptl/sysdeps/sparc/tls.h: Moved ...
27071         * sysdeps/sparc/nptl/tls.h: ... here.
27072         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27073         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27074         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27075         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27076         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27077         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27078         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27079         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27080         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27081         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27082         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27083         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27084         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27085         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27086         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27087         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27088         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27089         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27090         Update #include.
27091         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27092         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27093         Update #include.
27094         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27095         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27096         Update #include.
27097         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27098         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27099         Update #include.
27101         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27103         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27104         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27106         * sysdeps/pthread/posix-timer.h: Include <list.h>.
27107         (struct list_links): Type removed.
27108         (struct thread_node, struct timer_node): Replace struct list_links
27109         with struct list_head.
27110         (list_unlink_ip): Likewise.
27111         * sysdeps/pthread/timer_routines.c
27112         (timer_free_list, thread_free_list, thread_active_list): Likewise.
27113         (list_append, list_insbefore): Likewise.
27114         (list_init): Function removed.
27115         (thread_init, init_module): Use INIT_LIST_HEAD instead.
27116         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27117         * sysdeps/pthread/Makefile: ... here, new file.
27119         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27120         * sysdeps/nptl/Implies: ... here.
27121         * sysdeps/unix/sysv/linux/Implies: Add nptl.
27122         * nptl/sysdeps/pthread/list.h: Moved ...
27123         * include/list.h: ... here.
27124         * nptl/sysdeps/pthread/createthread.c: Moved ...
27125         * nptl/createthread.c: ... here.
27126         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27127         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27128         * nptl/pt-longjmp.c: ... here.
27129         * nptl/sysdeps/pthread/Makefile: Moved ...
27130         * sysdeps/nptl/Makefile: ... here.
27131         * nptl/sysdeps/pthread/Subdirs: Moved ...
27132         * sysdeps/nptl/Subdirs: ... here.
27133         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27134         * sysdeps/nptl/aio_misc.h: ... here.
27135         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27136         * sysdeps/nptl/bits/libc-lock.h: ... here.
27137         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27138         * sysdeps/nptl/bits/libc-lockP.h: ... here.
27139         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27140         * sysdeps/nptl/bits/stdio-lock.h: ... here.
27141         * nptl/sysdeps/pthread/configure: Moved ...
27142         * sysdeps/nptl/configure: ... here.
27143         * nptl/sysdeps/pthread/configure.ac: Moved ...
27144         * sysdeps/nptl/configure.ac: ... here.
27145         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27146         * sysdeps/nptl/gai_misc.h: ... here.
27147         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27148         * sysdeps/nptl/librt-cancellation.c: ... here.
27149         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27150         * sysdeps/nptl/malloc-machine.h: ... here.
27151         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27152         * sysdeps/nptl/pthread-functions.h: ... here.
27153         * nptl/sysdeps/pthread/pthread.h: Moved ...
27154         * sysdeps/nptl/pthread.h: ... here.
27155         * nptl/sysdeps/pthread/setxid.h: Moved ...
27156         * sysdeps/nptl/setxid.h: ... here.
27157         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27158         * sysdeps/nptl/sigfillset.c: ... here.
27159         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27160         * sysdeps/nptl/tcb-offsets.h: ... here.
27161         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27162         * sysdeps/nptl/tst-mqueue8x.c: ... here.
27163         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27164         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27165         * nptl/sysdeps/pthread/allocalim.h: Moved ...
27166         * sysdeps/pthread/allocalim.h: ... here.
27167         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27168         * sysdeps/pthread/bits/sigthread.h: ... here.
27169         * nptl/sysdeps/pthread/flockfile.c: Moved ...
27170         * sysdeps/pthread/flockfile.c: ... here.
27171         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27172         * sysdeps/pthread/ftrylockfile.c: ... here.
27173         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27174         * sysdeps/pthread/funlockfile.c: ... here.
27175         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27176         * sysdeps/pthread/posix-timer.h: ... here.
27177         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27178         * sysdeps/pthread/timer_create.c: ... here.
27179         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27180         * sysdeps/pthread/timer_delete.c: ... here.
27181         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27182         * sysdeps/pthread/timer_getoverr.c: ... here.
27183         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27184         * sysdeps/pthread/timer_gettime.c: ... here.
27185         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27186         * sysdeps/pthread/timer_routines.c: ... here.
27187         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27188         * sysdeps/pthread/timer_settime.c: ... here.
27189         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27190         * sysdeps/pthread/tst-timer.c: ... here.
27191         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27192         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27194         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27195         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27197         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27198         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27199         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27200         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27201         Update #include target.
27202         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27203         * sysdeps/i386/i686/nptl/Makefile: ... here.
27204         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27205         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27206         Update #include target.
27207         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27208         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27209         * nptl/sysdeps/i386/Makefile: Moved ...
27210         * sysdeps/i386/nptl/Makefile: ... here.
27211         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27212         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27213         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27214         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27215         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27216         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27217         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27218         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27219         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27220         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27221         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27222         * nptl/sysdeps/i386/tls.h: Moved ...
27223         * sysdeps/i386/nptl/tls.h: ... here.
27225         * sysdeps/sh/Makefile [$(subdir) = csu]
27226         (gen-as-const-headers): Add tcb-offsets.sym.
27227         * nptl/sysdeps/sh/Makefile: File removed.
27228         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27229         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27230         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27231         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27232         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27233         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27234         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27235         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27236         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27237         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27238         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27239         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27240         * nptl/sysdeps/sh/tls.h: Moved ...
27241         * sysdeps/sh/nptl/tls.h: ... here.
27242         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27243         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27244         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27245         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27246         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27247         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27248         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27249         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27250         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27251         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27252         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27253         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27254         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27255         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27256         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27257         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27258         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27259         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27260         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27261         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27262         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27263         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27264         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27265         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27266         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27267         Moved ...
27268         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27269         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27270         Moved ...
27271         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27272         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27273         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27274         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27275         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27276         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27277         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27278         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27279         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27280         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27281         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27282         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27283         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27284         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27285         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27286         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27287         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27288         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27289         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27291 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27293         * posix/spawn_faction_addopen.c: Include string.h.
27295 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27297         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27298         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27299         * nptl/sysdeps/x86_64/Makefile: Moved ...
27300         * sysdeps/x86_64/nptl/Makefile: ... here.
27301         * nptl/sysdeps/x86_64/configure: Moved ...
27302         * sysdeps/x86_64/nptl/configure: ... here.
27303         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27304         * sysdeps/x86_64/nptl/configure.ac: ... here.
27305         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27306         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27307         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27308         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27309         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27310         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27311         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27312         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27313         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27314         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27315         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27316         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27317         * nptl/sysdeps/x86_64/tls.h: Moved ...
27318         * sysdeps/x86_64/nptl/tls.h: ... here.
27319         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27320         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27321         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27322         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27324         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27326 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27330 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
27332         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27333         type.
27334         [POSIX] (off_t): Likewise.
27335         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27336         [POSIX] (S_ISBLK): Require macro.
27337         [POSIX] (S_ISCHR): Likewise.
27338         [POSIX] (S_ISDIR): Likewise.
27339         [POSIX] (S_ISFIFO): Likewise.
27340         [POSIX] (S_ISREG): Likewise.
27341         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27342         optional-macro.
27343         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27344         type.
27345         [POSIX] (time_t): Likewise.
27346         [POSIX] (timer_t): Likewise.
27348 2014-06-11  Florian Weimer  <fweimer@redhat.com>
27350         [BZ #17048]
27351         * posix/spawn_int.h (struct __spawn_action): Make the path string
27352         non-const to support deallocation.
27353         * posix/spawn_faction_addopen.c
27354         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27355         * posix/spawn_faction_destroy.c
27356         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
27357         path in all spawn_do_open actions.
27358         * posix/tst-spawn.c (do_test): Exercise the copy operation in
27359         posix_spawn_file_actions_addopen.
27361 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
27363         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27364         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27365         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27366         conditional code always true.
27367         (__libc_vfork): New alias.
27369 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27371         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27372         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27374         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27376         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27377         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27379         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27380         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27382         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27383         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27385 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27387         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27388         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27389         multiarch strcmp for PPC64.
27390         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27391         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27393         multiarch optimizations.
27394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27395         (__libc_ifunc_impl_list): Likewise.
27397 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27399         * benchtests/scripts/validate_benchout.py: New script.
27400         * benchtests/Makefile (bench-func): Call it.
27401         * benchtests/scripts/benchout.schema.json: New file.
27403 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27405         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27406         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27407         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27408         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27409         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27410         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27411         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27412         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27413         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27414         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27415         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27416         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27417         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27418         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27419         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27420         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27422         Moved ...
27423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27424         ... here.
27425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27426         Moved ...
27427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27429         Moved ...
27430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27431         ... here.
27432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27433         Moved ...
27434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27435         ... here.
27436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27437         Moved ...
27438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27440         Moved ...
27441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27442         ... here.
27443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27444         Moved ...
27445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27446         ... here.
27447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27448         Moved ...
27449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27451         Moved ...
27452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27453         ... here.
27454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27455         Moved ...
27456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27457         ... here.
27458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27459         Moved ...
27460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27461         ... here.
27462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27463         Moved ...
27464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27466         Moved ...
27467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27468         ... here.
27469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27470         Moved ...
27471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27472         ... here.
27473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27474         Moved ...
27475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27476         ... here.
27477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27478         Moved ...
27479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27481         Moved ...
27482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27483         ... here.
27484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27485         Moved ...
27486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27487         ... here.
27488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27489         Moved ...
27490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27492         Moved ...
27493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27494         ... here.
27495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27496         Moved ...
27497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27499         Moved ...
27500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27502         Moved ...
27503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27504         ... here.
27505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27506         Moved ...
27507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27508         ... here.
27509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27510         Moved ...
27511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27512         ... here.
27513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27514         Moved ...
27515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27517         Moved ...
27518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27519         ... here.
27520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27521         Moved ...
27522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27523         ... here.
27524         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27525         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27526         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27527         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27528         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27529         Moved ...
27530         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27531         ... here.
27532         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27533         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27534         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27535         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27536         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27537         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27538         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27539         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27540         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27541         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27542         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27543         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27544         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27545         Moved ...
27546         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27548         Moved ...
27549         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27550         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27551         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27552         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27553         Moved ...
27554         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27555         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27556         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27557         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27558         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27559         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27560         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27562 2014-06-10  Wilco  <wdijkstr@arm.com>
27564         * math/test-fenv-return.c: New file.
27565         * math/Makefile: Add new test test-fenv-return.
27567 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27569         [BZ #17042]
27570         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27571         when x - 1 is zero.
27572         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27573         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27574         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27575         0.0L for an argument of 1.0L.
27576         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27577         Likewise.
27578         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27579         value when x - 1 is zero.
27580         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27581         * sysdeps/i386/fpu/libm-test-ulps: Update.
27582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27584 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27586         [BZ #15119]
27587         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27589 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27591         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27592         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27594 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27596         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27597         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27599         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27600         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27602         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27603         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27605         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27606         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27608         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27609         if not already defined.
27610         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27611         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27612         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27613         (TLS_INIT_TP): Use it.
27614         (TLS_DEFINE_INIT_TP): New macro.
27615         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27617 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27619         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27620         constant.
27621         [POSIX] (IXANY): Likewise.
27622         [POSIX] (OLCUC): Likewise.
27623         [POSIX || POSIX2008] (CBAUD): Do not allow.
27624         [POSIX || POSIX2008] (DEFECHO): Likewise.
27625         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27626         [POSIX || POSIX2008] (ECHOKE): Likewise.
27627         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27628         [POSIX || POSIX2008] (EXTA): Likewise.
27629         [POSIX || POSIX2008] (EXTB): Likewise.
27630         [POSIX || POSIX2008] (FLUSHO): Likewise.
27631         [POSIX || POSIX2008] (LOBLK): Likewise.
27632         [POSIX || POSIX2008] (PENDIN): Likewise.
27633         [POSIX || POSIX2008] (SWTCH): Likewise.
27634         [POSIX || POSIX2008] (VDISCARD): Likewise.
27635         [POSIX || POSIX2008] (VDSUSP): Likewise.
27636         [POSIX || POSIX2008] (VLNEXT): Likewise.
27637         [POSIX || POSIX2008] (VREPRINT): Likewise.
27638         [POSIX || POSIX2008] (VSTATUS): Likewise.
27639         [POSIX || POSIX2008] (VWERASE): Likewise.
27640         (B*): Change to B[0123456789]*.
27641         * conform/data/time.h-data [POSIX || UNIX98]
27642         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27643         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27644         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27645         [POSIX] (tm_*): Do not allow.
27647 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27649         * Makefile (install): Don't set LANGUAGE.
27650         * Makefile.in (install): Likewise.
27651         * assert/Makefile (test-assert-ENV): Remove variable.
27652         (test-assert-perr-ENV): Likewise.
27653         * elf/Makefile (neededtest4-ENV): Likewise.
27654         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27655         [$(cross-compiling) = no]: Don't set LANGUAGE.
27656         * io/ftwtest-sh (LANG): Remove variable.
27657         * libio/Makefile (tst-widetext-ENV): Likewise.
27658         * manual/install.texi (Running make install): Don't refer to
27659         environment settings for make install.
27660         * INSTALL: Regenerated.
27661         * nptl/tst-tls6.sh: Don't set LANG.
27662         * posix/globtest.sh (LANG): Remove variable.
27663         * string/Makefile (tester-ENV): Likewise.
27664         (inl-tester-ENV): Likewise.
27665         (noinl-tester-ENV): Likewise.
27666         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27667         [$(cross-compiling) = no]: Don't set LANGUAGE.
27668         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27669         without explicit environment settings.
27671 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27673         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27674         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27675         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27676         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27678 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27680         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27681         other files in the crypt directory.
27682         * crypt/crypt.c: Remove duplicate includes.
27683         * crypt/crypt-entry.c: Likewise.
27684         * crypt/crypt_util.c: Likewise.
27686 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27688         * Makeconfig (run-program-env): New variable.
27689         (run-program-prefix-before-env): Likewise.
27690         (run-program-prefix-after-env): Likewise.
27691         (run-program-prefix): Define in terms of new variables.
27692         (built-program-cmd-before-env): New variable.
27693         (built-program-cmd-after-env): Likewise.
27694         (built-program-cmd): Define in terms of new variables.
27695         (test-program-prefix-before-env): New variable.
27696         (test-program-prefix-after-env): Likewise.
27697         (test-program-prefix): Define in terms of new variables.
27698         (test-program-cmd-before-env): New variable.
27699         (test-program-cmd-after-env): Likewise.
27700         (test-program-cmd): Define in terms of new variables.
27701         * Rules (make-test-out): Use $(run-program-env).
27702         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27703         (help): Do not mention environment variables.  Mention
27704         --timeoutfactor option.
27705         (timeoutfactor): New variable.
27706         (blacklist_exports): Remove function.
27707         (exports): Remove variable.
27708         (command): Do not include ${exports}.
27709         * manual/install.texi (Configuring and compiling): Do not mention
27710         test wrappers preserving environment variables.  Mention that last
27711         assignment to a variable must take precedence.
27712         * INSTALL: Regenerated.
27713         * benchtests/Makefile (run-bench): Use $(run-program-env).
27714         * catgets/Makefile ($(objpfx)test1.cat): Use
27715         $(built-program-cmd-before-env), $(run-program-env) and
27716         $(built-program-cmd-after-env).
27717         ($(objpfx)test2.cat): Do not specify environment variables
27718         explicitly.
27719         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27720         $(run-program-env) and $(built-program-cmd-after-env).
27721         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27722         $(run-program-env) and $(test-program-cmd-after-env).
27723         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27724         explicitly.
27725         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27726         run_program_env and test_program_cmd_after_env arguments.
27727         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27728         * elf/tst-pathopt.sh: Use run_program_env argument.
27729         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27730         $(test-wrapper-env) and $(run-program-env).
27731         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27732         run_program_env arguments.
27733         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27734         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27735         $(test-program-prefix-before-env), $(run-program-env) and
27736         $(test-program-prefix-after-env).
27737         ($(objpfx)tst-gettext2.out): Likewise.
27738         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27739         run_program_env and test_program_prefix_after_env arguments.
27740         * intl/tst-gettext2.sh: Likewise.
27741         * intl/tst-gettext4.sh: Do not set environment variables
27742         explicitly.
27743         * intl/tst-gettext6.sh: Likewise.
27744         * intl/tst-translit.sh: Likewise.
27745         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27746         $(test-program-prefix-before-env), $(run-program-env) and
27747         $(test-program-prefix-after-env).
27748         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27749         run_program_env and test_program_prefix_after_env arguments.
27750         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27751         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27752         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27753         explicitly with each use of ${test_wrapper_env}.
27754         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27755         $(test-program-prefix-before-env), $(run-program-env) and
27756         $(test-program-prefix-after-env).
27757         * posix/tst-getconf.sh: Do not set environment variables
27758         explicitly.
27759         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27760         run_program_env and test_program_prefix_after_env arguments.
27761         * stdio-common/tst-printf.sh: Do not set environment variables
27762         explicitly.
27763         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27764         $(test-program-prefix-before-env), $(run-program-env) and
27765         $(test-program-prefix-after-env).
27766         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27767         run_program_env and test_program_prefix_after_env arguments.
27768         Split $test calls into $test_pre and $test.
27769         * timezone/Makefile (build-testdata): Use
27770         $(built-program-cmd-before-env), $(run-program-env) and
27771         $(built-program-cmd-after-env).
27773 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27775         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27776         strlen for non SHARED builds.
27778 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27780         * nptl/allocatestack.c (check_list): Inlined function...
27781         (__reclaim_stacks): ... here.
27783 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27785         [BZ #15698]
27786         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27787         memory overrun.
27789 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
27791         * Rules (make-test-out): Include
27792         LOCPATH=$(common-objpfx)localedata in default environment.
27793         * debug/Makefile (tst-chk1-ENV): Remove variable.
27794         (tst-chk2-ENV): Likewise.
27795         (tst-chk3-ENV): Likewise.
27796         (tst-chk4-ENV): Likewise.
27797         (tst-chk5-ENV): Likewise.
27798         (tst-chk6-ENV): Likewise.
27799         (tst-lfschk1-ENV): Likewise.
27800         (tst-lfschk2-ENV): Likewise.
27801         (tst-lfschk3-ENV): Likewise.
27802         (tst-lfschk4-ENV): Likewise.
27803         (tst-lfschk5-ENV): Likewise.
27804         (tst-lfschk6-ENV): Likewise.
27805         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27806         (tst-iconv7-ENV): Likewise.
27807         * intl/Makefile (LOCPATH-ENV): Likewise.
27808         (tst-codeset-ENV): Likewise.
27809         (tst-gettext3-ENV): Likewise.
27810         (tst-gettext5-ENV): Likewise.
27811         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27812         (tst-fopenloc-ENV): Likewise.
27813         (tst-fgetws-ENV): Remove variable.
27814         (tst-ungetwc1-ENV): Likewise.
27815         (tst-ungetwc2-ENV): Likewise.
27816         (bug-ungetwc2-ENV): Likewise.
27817         (tst-swscanf-ENV): Likewise.
27818         (bug-ftell-ENV): Likewise.
27819         (tst-fgetwc-ENV): Likewise.
27820         (tst-fseek-ENV): Likewise.
27821         (tst-ftell-partial-wide-ENV): Likewise.
27822         (tst-ftell-active-handler-ENV): Likewise.
27823         (tst-ftell-append-ENV): Likewise.
27824         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27825         (tst-regexloc-ENV): Likewise.
27826         (bug-regex1-ENV): Likewise.
27827         (tst-regex-ENV): Likewise.
27828         (tst-regex2-ENV): Likewise.
27829         (bug-regex5-ENV): Likewise.
27830         (bug-regex6-ENV): Likewise.
27831         (bug-regex17-ENV): Likewise.
27832         (bug-regex18-ENV): Likewise.
27833         (bug-regex19-ENV): Likewise.
27834         (bug-regex20-ENV): Likewise.
27835         (bug-regex22-ENV): Likewise.
27836         (bug-regex23-ENV): Likewise.
27837         (bug-regex25-ENV): Likewise.
27838         (bug-regex26-ENV): Likewise.
27839         (bug-regex30-ENV): Likewise.
27840         (bug-regex32-ENV): Likewise.
27841         (bug-regex33-ENV): Likewise.
27842         (bug-regex34-ENV): Likewise.
27843         (bug-regex35-ENV): Likewise.
27844         (tst-rxspencer-ENV): Likewise.
27845         (tst-rxspencer-no-utf8-ENV): Likewise.
27846         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27847         (tst-sscanf-ENV): Likewise.
27848         (tst-swprintf-ENV): Likewise.
27849         (tst-swscanf-ENV): Likewise.
27850         (test-vfprintf-ENV): Likewise.
27851         (scanf13-ENV): Likewise.
27852         (bug14-ENV): Likewise.
27853         (tst-grouping-ENV): Likewise.
27854         * stdlib/Makefile (tst-strtod-ENV): Likewise.
27855         (tst-strtod3-ENV): Likewise.
27856         (tst-strtod4-ENV): Likewise.
27857         (tst-strtod5-ENV): Likewise.
27858         (testmb2-ENV): Likewise./
27859         * string/Makefile (tst-strxfrm-ENV): Likewise.
27860         (tst-strxfrm2-ENV): Likewise.
27861         (bug-strcoll1-ENV): Likewise.
27862         (test-strcasecmp-ENV): Likewise.
27863         (test-strncasecmp-ENV): Likewise.
27864         * time/Makefile (tst-strptime-ENV): Likewise.
27865         (tst-ftime_l-ENV): Likewise.
27866         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27867         (tst-mbrtowc-ENV): Likewise.
27868         (tst-wcrtomb-ENV): Likewise.
27869         (tst-mbrtowc2-ENV): Likewise.
27870         (tst-c16c32-1-ENV): Likewise.
27871         (tst-mbsnrtowcs-ENV): Likewise.
27873 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27875         * manual/resource.texi (How to get information about the memory
27876         subsystem?): Fix typo.
27877         Reported by Peon de la Parra Ivan <peon@keba.com>
27879 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
27881         [BZ #16882]
27882         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27883         (pthread_spin_lock): Branch out of spin loop to proper location.
27884         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27885         (pthread_spin_lock): Likewise.
27887         * nptl/tst-spin4.c: New test.
27888         * nptl/Makefile (tests): Add tst-spin4.
27890 2014-06-03  Andreas Schwab  <schwab@suse.de>
27892         [BZ #15946]
27893         * resolv/res_send.c (send_dg): Reload file descriptor after
27894         calling reopen.
27896 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
27898         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27900 2014-06-03  Richard Henderson  <rth@redhat.com>
27902         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27903         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27904         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27905         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
27906         in the SAVE_PID block.
27907         (__libc_vfork): New alias.
27908         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27910         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27911         child in registers, not on the stack.  Remove RESET_PID conditionals.
27912         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27914 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27916         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27918 2014-06-03  Wilco  <wdijkstr@arm.com>
27920         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27921         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27922         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27923         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27924         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27925         Likewise.
27927 2014-06-03  Wilco  <wdijkstr@arm.com>
27929         * sysdeps/aarch64/fpu/math_private.h
27930         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27931         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27932         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27933         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27934         Fix declarations.
27936 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27938         * crypt/crypt-private.h: Include ufc-crypt.h.
27939         (__b64_from_24bit): Declare extern.
27940         * crypt/crypt_util.c(__b64_from_24bit): New function.
27941         (b64t): New static const variable.
27942         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27943         (b64t): Remove variable.
27944         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27945         * crypt/sha256-crypt.c: Include crypt-private.h.
27946         (b64t): Remove variable.
27947         (__sha256_crypt_r): Remove b64_from_24bit and replace
27948         with __b64_from_24bit.
27949         * crypt/sha512-crypt.c: Likewise.
27951 2014-06-02  Roland McGrath  <roland@hack.frob.com>
27953         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27954         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27955         Label the code __libc_vfork rather than __vfork.
27956         [!NOT_IN_libc] (vfork): Define as weak alias.
27957         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27958         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27959         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27961 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27963         * malloc/malloc.c (malloc_info): Fix format specifier for
27964         n_mmaps.
27966 2014-06-02  Wilco  <wdijkstr@arm.com>
27968         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27969         FPCR write.
27971 2014-06-02  Wilco  <wdijkstr@arm.com>
27973         [BZ #17009]
27974         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27975         Rewrite to reduce FPCR/FPSR accesses.
27977 2014-06-01  David S. Miller  <davem@davemloft.net>
27979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27981 2014-05-31  David S. Miller  <davem@davemloft.net>
27983         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27984         to occur in round to nearest mode when |x| >= 2.0
27986 2014-05-30  Richard Henderson  <rth@twiddle.net>
27988         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27989         (PSEUDO_RET_NOERRNO): Remove.
27990         (ret): Don't redefine.
27991         (ret_NOERRNO): Define in terms of ret.
27992         (ret_ERRVAL): Likewise.
27994         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27995         use of PSEUDO_RET; perform the error check directly.
27997 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27999         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28000         with __int128_t.
28002 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28004         * malloc/malloc (malloc_info): Fix formatting.
28006 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28007             Roland McGrath  <roland@hack.frob.com>
28009         * malloc/malloc (malloc_info): Also print mmapped statistics.
28011 2014-05-30  Roland McGrath  <roland@hack.frob.com>
28013         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28014         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28016 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
28018         * malloc/malloc.c (malloc_info): Inline mi_arena.
28020 2014-05-29  Richard Henderson  <rth@twiddle.net>
28022         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28023         Remove comma before expanding ASM_ARGS_##nr.
28024         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28025         Make _x0 a strict output; make _x8 a strict input; adjust expansion
28026         of ASM_ARGS_##nr.
28027         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28028         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28029         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28030         (ASM_ARGS_1): Add leading comma.
28032         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28033         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28034         to __errno_location.
28035         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28036         Remove the expected plt for __errno_location.
28038         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28039         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28040         call to __read_tp.
28042         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28043         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
28044         it and break it down.
28045         (DOCARGS_0, DOCARGS_1): Do nothing.
28046         (DOCARGS_2): Update to store into the new stack frame.
28047         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28048         (UNDOCARGS_1): Update to restore from the new stack frame.
28049         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28050         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28052         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28053         (SINGLE_THREAD_P): New parameter for result regno.
28054         (PSEUDO): Update to match; use cbz instead of beq.
28056         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28057         Use ENTRY to define the _nocancel entry point.  Share the syscall
28058         and syscall error check paths with the cancel path.
28059         (PSEUDO_END): New.
28061         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28062         whitespace; tabs before and after asm mnemonics.
28064 2014-05-29  Eric Wong  <normalperson@yhbt.net>
28066         [BZ #15132]
28067         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28068         Call fstat64 or stat64 internally, depending on arguments passed.
28069         Replace stat buffer argument with file descriptor argument.
28070         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28071         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28072         Pass fd to __internal_statvfs instead of calling fstat64.
28073         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28074         Pass fd to __internal_statvfs64 instead of calling fstat64.
28075         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28076         Pass -1 to __internal_statvfs instead of calling stat64.
28077         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28078         Pass -1 to __internal_statvfs64 instead of calling stat64.
28080 2014-05-28  Roland McGrath  <roland@hack.frob.com>
28082         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28083         that was previously under [RESET_PID].
28084         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28086         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28087         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28089 2014-05-27  Roland McGrath  <roland@hack.frob.com>
28091         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28093         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28094         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28096 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
28098         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28100 2014-05-27  Andreas Schwab  <schwab@suse.de>
28102         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28103         TLS_INIT_TP macro.
28104         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28105         * elf/rtld.c (init_tls, dl_main): Likewise.
28106         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28107         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28108         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28109         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28110         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28111         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28112         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28113         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28114         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28115         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28116         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28117         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28118         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28119         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28120         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28121         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28122         * sysdeps/generic/tls.h: Update description.
28124 2014-05-27  Will Newton  <will.newton@linaro.org>
28126         [BZ #16990]
28127         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28128         and restore r2 rather than just restoring.
28130 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28132         [BZ #16724]
28133         * libio/tst-ftell-append.c: New test case.
28134         * libio/Makefile (tests): Add test case.
28135         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28136         append mode.
28137         * libio/wfileops.c (do_ftell_wide): Likewise.
28139 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28143         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28144         ...
28145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28147         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28148         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28149         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28150         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28151         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28152         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28154         Moved ...
28155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28157         Moved ...
28158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28159         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28160         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28161         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28162         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28163         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28164         ...
28165         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28166         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28167         Moved ...
28168         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28169         here.
28170         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28171         ...
28172         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28173         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28174         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28176         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28177         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28178         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28179         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28181         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28182         merge into ...
28183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28185         ...
28186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28187         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28188         ...
28189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28190         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28191         Moved ...
28192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28193         here.
28194         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28195         Moved ...
28196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28198         Moved ...
28199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28202         conditional [RESET_PID].
28203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28204         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28205         removed.
28206         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28207         removed.
28209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28210         <tcb-offsets.h>.
28211         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28212         (__libc_vfork): New strong alias.
28213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28214         removed.
28215         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28216         Removed.
28218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28219         <tcb-offsets.h>.
28220         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28221         (__libc_vfork): New strong alias.
28222         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28223         removed.
28224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28225         removed.
28227 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28229         * malloc/malloc.c (mi_arena): New function.
28230         (malloc_info): Remove nested function mi_arena. Call non-nosted
28231         function mi_arena.
28233 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28235         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28236         by insrwi.
28237         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28238         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28239         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28240         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28241         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28242         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28243         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28245 2014-05-26  Andreas Schwab  <schwab@suse.de>
28247         [BZ #16984]
28248         * locale/programs/repertoire.c (repertoire_read): Add slash
28249         between I18NPATH element and file name.
28250         * locale/programs/locfile.c (locfile_read): Likewise.
28252 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28254         * nptl/pthread_mutexattr_settype.c
28255         (__pthread_mutexattr_settype):
28256         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28258 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28260         * nptl/tst-mutex5 (do_test):
28261         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28263 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28265         * benchtests/README: Document 'init' directive.
28266         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28267         BENCH_INIT.
28268         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28269         (parse_file): Recognize 'init' directive.
28271 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28273         [BZ #16796]
28274         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28275         alignment of struct pthread.
28277 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28279         [BZ #16878]
28280         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28281         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28282         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28283         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28285 2014-05-25  Richard Henderson  <rth@twiddle.net>
28287         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28288         (SINGLE_THREAD_P_PIC): Remove.
28289         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28290         (SINGLE_THREAD_P_PIC): Remove.
28292         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28293         branch to syscall error ...
28294         (PSEUDO): ... here.
28295         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28296         from __local_syscall_error to .Lsyscall_error.
28297         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28298         (SYSCALL_ERROR): Update label name.
28300         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28301         Do not use DOARGS/UNDOARGS.
28302         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28303         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28304         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28305         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28306         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28308         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28309         block comment.
28311         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28312         define if !NOT_IN_libc.
28313         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28314         define with non-default symbol versions.
28316 2014-05-23  Richard Henderson  <rth@twiddle.net>
28318         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28319         (vfork, __vfork): Define via compat_symbol.
28321         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28322         [!HAVE_IFUNC] (vfork_compat): Remove.
28323         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28325 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28327         [BZ #16978]
28328         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28329         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28330         variable.
28332 2014-05-23  Richard Henderson  <rth@twiddle.net>
28334         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28335         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28336         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28337         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28339         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28340         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28341         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28342         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28343         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28344         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28345         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28346         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28347         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28348         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28349         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28350         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28351         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28352         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28353         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28354         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28355         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28356         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28357         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28358         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28359         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28360         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28361         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28362         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28363         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28364         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28365         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28366         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28367         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28368         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28369         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28370         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28371         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28372         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28373         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28374         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28375         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28376         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28377         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28378         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28379         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28380         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28381         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28382         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28383         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28384         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28385         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28386         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28387         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28388         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28389         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28390         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28391         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28392         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28393         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28394         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28396         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28397         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28398         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28399         before exiting on error.
28400         (__libc_vfork): New strong alias.
28401         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28402         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28404         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28405         that was previously under [RESET_PID].
28406         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28408         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28410 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28412         [BZ #16977]
28413         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28414         value when x - 1 is zero.
28415         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28416         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28417         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28418         0.0L for an argument of 1.0L.
28419         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28420         Likewise.
28421         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28422         value when x - 1 is zero.
28423         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28424         * sysdeps/i386/fpu/libm-test-ulps: Update.
28425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28427 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28429         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28430         alphasort and versionsort.
28432 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28434         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28435         macro.
28436         [copysignf]: Likewise.
28438 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28440         * crypt/md5-crypt.c: Fix formatting.
28442 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28444         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28445         (b64_from_24bit): New function.
28447 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28449         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28450         libc_hidden_builtin_def to ifunc.
28451         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28452         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28454 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28456         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28457         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28459 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28461         * nscd/Depend (linuxthreads): Remove.
28462         (nptl): Add.
28463         * resolv/Depend (linuxthreads): Remove.
28464         * rt/Depend (linuxthreads): Remove.
28466         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28467         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28468         $(common-objpfx)elf/.
28469         (link-libc-before-gnulib): Likewise.
28470         (elfobjdir): Remove variable.
28471         * Makefile (install): Use $(elf-objpfx) instead of
28472         $(common-objpfx)elf/.
28473         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28474         $(elfobjdir)/.
28475         (link-libc-deps): Likewise.
28476         ($(common-objpfx)libc.so): Likewise.
28477         ($(common-objpfx)linkobj/libc.so): Likewise.
28478         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28479         instead of $(common-objpfx)elf/.
28480         (symbolic-link-list): Likewise.
28481         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28482         [$(cross-compiling) = no]: Likewise.
28483         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28484         $(elfobjdir)/.
28485         (static-gnulib-arch): Likewise.
28486         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28487         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28488         $(common-objpfx)elf/.
28490 2014-05-21  Richard Henderson  <rth@redhat.com>
28492         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28493         (SINGLE_THREAD_P): Use the correct width load.  Fold
28494         into the ldr offset.
28496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28497         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28499 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28501         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28502         (libgcc_s_resume): Use __attribute_used__.
28503         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28504         Likewise.
28506 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28508         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28509         optimization when used with float constants.
28511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28513 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28515         [BZ #16915]
28516         * locale/nl_langinfo_l.c: Make direct reference to every
28517         _nl_current_CATEGORY symbol.
28518         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28519         (tests-static): Add tst-langinfo-static.
28520         (tests-special): Add tst-langinfo-static.out.
28521         ($(objpfx)tst-langinfo.out): Redirect output.
28522         ($(objpfx)tst-langinfo-static.out): New.
28523         * localedata/tst-langinfo.sh: Send output to stdout.
28524         * localedata/tst-langinfo-static.c: New file.
28526         [BZ #16965]
28527         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28528         when the shift amount is modulo the limb size.
28530 2014-05-20  Richard Henderson  <rth@redhat.com>
28532         [BZ #16967]
28533         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28534         Change type of sa_flags from unsigned int to int.
28536         [BZ #16966]
28537         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28539         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28541 2014-05-20  Will Newton  <will.newton@linaro.org>
28543         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28544         Test the return value of the system call in the nocancel case.
28546 2014-05-20  Will Newton  <will.newton@linaro.org>
28547             Yvan Roux  <yvan.roux@linaro.org>
28549         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28550         #include of asm/ptrace.h.
28551         (PTRACE_GET_THREAD_AREA): Remove #undef.
28552         (PTRACE_GETHBPREGS): Likewise.
28553         (PTRACE_SETHBPREGS): Likewise.
28554         (struct user_regs_struct): New structure.
28555         (struct user_fpsimd_struct): New structure.
28556         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28557         #include of asm/ptrace.h and second #include of sys/user.h.
28558         (PTRACE_GET_THREAD_AREA): Remove #undef.
28559         (PTRACE_GETHBPREGS): Likewise.
28560         (PTRACE_SETHBPREGS): Likewise.
28561         (ELF_NGREG): Use new struct user_regs_struct.
28562         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28564 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28566         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28567         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28569 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28571         [BZ #16958]
28572         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28573         membar to avoid block loads/stores to overlap previous stores.
28575 2014-05-17  Richard Henderson  <rth@redhat.com>
28577         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28578         Create the __##syscall_name##_nocancel entry point.
28579         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28580         Remove; let the sysdep-cancel.h code create it.
28582 2014-05-17  David S. Miller  <davem@davemloft.net>
28584         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28585         Protect with __USE_GNU.
28586         (TIOCSET_TEMPT): Likewise.
28587         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28588         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28589         these are already provided in bits/ioctl-types.h
28591 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28593         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28594         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28596         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28597         Use wait4 regardless of [__NR_waitpid].
28599 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28601         PR libgcc/60166
28602         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28603         (_FP_NANSIGN_Q): Set the quiet bit.
28605 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28607         * benchtests/Makefile
28608         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28609         not $(common-objpfx)math/libm.so.
28610         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28611         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28612         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28613         $(common-objpfx)dlfcn/libdl.so.
28614         ($(objpfx)tst-audit8): Depend on $(libm), not
28615         $(common-objpfx)math/libm.so.
28616         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28617         not $(common-objpfx)dlfcn/libdl.so.
28618         * math/Makefile
28619         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28620         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28621         [$(build-shared) = yes].
28622         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28623         $(common-objpfx)nptl/libpthread.so.
28624         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28625         $(common-objpfx)math/libm.so$(libm.so-version) or
28626         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28627         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28628         $(common-objpfx)dlfcn/libdl.so.
28629         * setjmp/Makefile (link-libm): Remove variable.
28630         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28631         * stdio-common/Makefile (link-libm): Remove variable.
28632         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28633         * stdlib/Makefile (link-libm): Remove variable.
28634         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28635         ($(objpfx)tst-strtod-round): Likewise.
28636         ($(objpfx)tst-tininess): Likewise.
28637         ($(objpfx)tst-strtod-underflow): Likewise.
28638         ($(objpfx)tst-strtod6): Likewise.
28639         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28640         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28641         $(common-objpfx)dlfcn/libdl.so.
28643 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28645         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28646         BSD terminal modes definitions.
28648 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28650         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28651         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28653         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28654         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28655         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28656         Don't do #include_next.
28657         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28658         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28659         Don't do #include_next.
28660         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28661         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28662         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28663         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28665 2014-05-16  Allan McRae  <allan@archlinux.org>
28667         * po/sv.po: Update Swedish translation from translation project.
28669         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28670         in sed expression.
28672 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28674         [BZ #16917]
28675         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28676         errno if the TIOCGPTN ioctl fails with an error different than
28677         EINVAL.
28678         * login/tst-ptsname.c: New file.
28679         * login/Makefile (tests): Add tst-ptsname.
28681         [BZ #16943]
28682         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28683         and prlimit64.
28685 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28687         [BZ #16849]
28688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28689         herrno to return EAI_AGAIN.
28691 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28693         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28694         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28695         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28696         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28697         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28698         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28699         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28700         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28701         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28702         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28703         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28704         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28705         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28706         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28707         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28708         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28709         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28710         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28711         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28712         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28713         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28714         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28715         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28716         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28717         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28718         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28719         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28720         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28721         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28722         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28724         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28726         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28728         Moved ...
28729         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28731         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28733         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28735         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28737         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28739         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28741         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28743         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28745         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28747         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28748         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28749         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28751         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28753         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28755         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28757         Moved ...
28758         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28760         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28762         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28764         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28766         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28768         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28770         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28772         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28774         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28776         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28778         Moved ...
28779         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28781         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28783         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28784         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28785         (libpthread-sysdep_routines): Add elision-related stuff here instead.
28786         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28787         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28788         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28789         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28790         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28791         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28792         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28793         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28794         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28795         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28796         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28797         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28798         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28799         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28800         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28801         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28802         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28803         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28804         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28805         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28806         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28807         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28808         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28809         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28810         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28811         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28812         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28813         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28815         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28816         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28818         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28819         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28820         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28821         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28822         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28823         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28824         Moved ...
28825         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28826         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28827         Moved ...
28828         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28829         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28830         Moved ...
28831         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28832         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28833         Moved ...
28834         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28835         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28836         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28837         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28838         Moved ...
28839         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28840         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28841         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28842         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28843         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28844         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28845         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28846         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28847         Moved ...
28848         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28849         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28850         Moved ...
28851         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28852         ... here.
28853         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28854         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28855         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28856         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28857         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28858         Moved ...
28859         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28860         ... here.
28861         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28862         Moved ...
28863         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28864         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28865         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28866         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28867         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28868         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28869         Moved ...
28870         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28871         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28872         Moved ...
28873         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28874         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28875         Moved ...
28876         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28877         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28878         Moved ...
28879         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28880         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28881         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28882         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28883         Moved ...
28884         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28885         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28886         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28887         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28888         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28889         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28890         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28891         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28892         Moved ...
28893         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28894         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28895         Moved ...
28896         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28897         ... here.
28898         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28899         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28900         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28901         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28902         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28903         Moved ...
28904         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28905         ... here.
28906         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28907         Moved ...
28908         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28909         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28910         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28911         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28912         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28913         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28914         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28915         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28916         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28917         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28918         Moved ...
28919         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28920         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28921         Moved ...
28922         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28923         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28924         Moved ...
28925         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28926         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28927         Moved ...
28928         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28929         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28930         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28931         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28932         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28933         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28934         Moved ...
28935         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28936         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28937         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28938         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28939         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28940         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28941         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28942         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28943         Moved ...
28944         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28945         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28946         Moved ...
28947         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28948         ... here.
28949         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28950         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28951         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28952         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28954         Moved ...
28955         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28956         ... here.
28957         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28958         Moved ...
28959         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28960         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28961         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28962         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28963         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28964         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28965         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28966         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28967         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28968         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28969         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28971         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28972         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28974         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28975         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28977         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28978         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28979         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28980         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28981         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28982         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28983         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28984         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28985         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28986         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28987         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28988         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28989         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28990         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28991         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28993         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28994         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28995         Moved ...
28996         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28997         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28998         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28999         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29000         Moved ...
29001         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29002         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29003         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29004         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29005         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29006         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29007         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29008         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29009         Moved ...
29010         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29011         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29012         Moved ...
29013         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29014         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29015         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29016         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29017         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29018         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29019         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29020         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29021         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29022         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29023         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29024         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29025         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29026         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29027         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29028         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29029         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29031         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29032         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29033         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29034         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29035         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29037         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29038         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29039         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29040         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29041         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29042         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29043         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29044         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29045         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29046         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29048         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29049         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29051         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29052         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29053         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29054         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29055         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29056         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29057         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29058         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29059         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29060         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29061         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29062         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29063         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29064         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29066         Update #include.
29067         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29068         Likewise.
29069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29070         Likewise.
29071         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29072         Likewise.
29073         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29074         Likewise.
29075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29076         Likewise.
29077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29078         Likewise.
29079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29080         Likewise.
29081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29082         Likewise.
29083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29084         Likewise.
29085         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29086         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29087         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29088         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29089         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29090         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29091         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29092         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29093         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29094         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29095         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29096         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29097         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29098         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
29099         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
29101         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29102         that was previously under [RESET_PID].
29103         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29104         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29105         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29107         * sysdeps/i386/nptl/Implies: New file.
29108         * sysdeps/x86_64/nptl/Implies: New file.
29109         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29110         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29111         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29112         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29114         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29115         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29116         (__libc_vfork): New strong alias.
29117         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29118         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29120         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29121         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29122         (__libc_vfork): New strong alias.
29123         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29124         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29126         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29127         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29128         (__libc_vfork): New strong alias.
29129         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29130         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29131         * nptl/pt-vfork.c: New file.
29132         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29133         (libpthread: GLIBC_2.20): New version set (empty).
29135 2014-05-14  Will Newton  <will.newton@linaro.org>
29137         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29138         rather than #if.
29140 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29142         [BZ #16564]
29143         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29144         arguments with exponent 65 or above.
29145         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29146         arguments 0x1p113L or above.
29147         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29148         to arguments 0x1p107L or above.
29149         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29150         positive arguments with exponent 65 or above.
29151         * math/auto-libm-test-in: Add more tests of log1p.
29152         * math/auto-libm-test-out: Regenerated.
29154         [BZ #16928]
29155         * math/s_cacos.c (__cacos): Ensure zero real part of result from
29156         non-finite arguments is +0.
29157         * math/s_cacosf.c (__cacosf): Likewise.
29158         * math/s_cacosl.c (__cacosl): Likewise.
29159         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29160         * sysdeps/i386/fpu/libm-test-ulps: Update.
29161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29163         [BZ #16927]
29164         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29165         value.
29166         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29167         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29168         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29169         for explicit high bit of mantissa when testing for argument equal
29170         to 1.
29171         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29172         * sysdeps/i386/fpu/libm-test-ulps: Update.
29173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29175         [BZ #16516]
29176         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29177         (__erf): Scale by 16 instead of 8 in potentially underflowing
29178         case.  Ensure exception if result actually underflows.
29179         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29180         (__erff): Scale by 16 instead of 8 in potentially underflowing
29181         case.  Ensure exception if result actually underflows.
29182         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29183         (efx8): Remove variable.
29184         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29185         case.  Ensure exception if result actually underflows.
29186         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29187         (efx8): Remove variable.
29188         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29189         case.  Ensure exception if result actually underflows.
29190         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29191         (efx8): Remove variable.
29192         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29193         case.  Ensure exception if result actually underflows.
29194         * math/auto-libm-test-in: Add more tests of erf.
29195         * math/auto-libm-test-out: Regenerated.
29197 2014-05-14  Andreas Schwab  <schwab@suse.de>
29199         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29200         Remove code conditionalized on USE___THREAD.
29202         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29203         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29204         not definedness.
29206 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29208         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29209         Define unconditionally.
29210         (__ASSUME_O_CLOEXEC): Likewise.
29211         (__ASSUME_SOCK_CLOEXEC): Likewise.
29212         (__ASSUME_IN_NONBLOCK): Likewise.
29213         (__ASSUME_PIPE2): Likewise.
29214         (__ASSUME_EVENTFD2): Likewise.
29215         (__ASSUME_SIGNALFD4): Likewise.
29216         (__ASSUME_DUP3): Likewise.
29217         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29218         (__ASSUME_DUP3): Do not define.
29219         (__ASSUME_EVENTFD2): Likewise.
29220         (__ASSUME_IN_NONBLOCK): Likewise.
29221         (__ASSUME_O_CLOEXEC): Likewise.
29222         (__ASSUME_PIPE2): Likewise.
29223         (__ASSUME_SIGNALFD4): Likewise.
29224         (__ASSUME_SOCK_CLOEXEC): Likewise.
29225         (__ASSUME_UTIMES): Undefine.
29226         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29227         (__ASSUME_UTIMES): Do not define.
29228         (__ASSUME_O_CLOEXEC): Likewise.
29229         (__ASSUME_SOCK_CLOEXEC): Likewise.
29230         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29231         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29232         0x020621].
29233         (__ASSUME_PIPE2): Likewise.
29234         (__ASSUME_EVENTFD2): Likewise.
29235         (__ASSUME_SIGNALFD4): Likewise.
29236         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29237         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29238         Do not define.
29239         (__ASSUME_EVENTFD2): Likewise.
29240         (__ASSUME_SIGNALFD4): Likewise.
29241         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29242         (__ASSUME_32BITUIDS): Likewise.
29243         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29244         (__ASSUME_IPC64): Likewise.
29245         (__ASSUME_ST_INO_64_BIT): Likewise.
29246         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29247         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29248         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29249         (__ASSUME_UTIMES): Do not define.
29250         (__ASSUME_PSELECT): Likewise.
29251         (__ASSUME_PPOLL): Likewise.
29252         (__ASSUME_O_CLOEXEC): Likewise.
29253         (__ASSUME_SOCK_CLOEXEC): Likewise.
29254         (__ASSUME_IN_NONBLOCK): Likewise.
29255         (__ASSUME_PIPE2): Likewise.
29256         (__ASSUME_EVENTFD2): Likewise.
29257         (__ASSUME_SIGNALFD4): Likewise.
29258         (__ASSUME_DUP3): Likewise.
29259         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29260         (__ASSUME_UTIMES): Likewise.
29261         (__ASSUME_O_CLOEXEC): Likewise.
29262         (__ASSUME_SOCK_CLOEXEC): Likewise.
29263         (__ASSUME_IN_NONBLOCK): Likewise.
29264         (__ASSUME_PIPE2): Likewise.
29265         (__ASSUME_EVENTFD2): Likewise.
29266         (__ASSUME_SIGNALFD4): Likewise.
29267         (__ASSUME_DUP3): Likewise.
29268         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29269         (__ASSUME_UTIMES): Likewise.
29270         (__ASSUME_O_CLOEXEC): Likewise.
29271         (__ASSUME_SOCK_CLOEXEC): Likewise.
29272         (__ASSUME_IN_NONBLOCK): Likewise.
29273         (__ASSUME_PIPE2): Likewise.
29274         (__ASSUME_EVENTFD2): Likewise.
29275         (__ASSUME_SIGNALFD4): Likewise.
29276         (__ASSUME_DUP3): Likewise.
29277         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29278         Likewise.
29279         (__ASSUME_UTIMES): Likewise.
29280         (__ASSUME_EVENTFD2): Likewise.
29281         (__ASSUME_SIGNALFD4): Likewise.
29282         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29283         (__ASSUME_O_CLOEXEC): Likewise.
29284         (__ASSUME_SOCK_CLOEXEC): Likewise.
29285         (__ASSUME_IN_NONBLOCK): Likewise.
29286         (__ASSUME_PIPE2): Likewise.
29287         (__ASSUME_EVENTFD2): Likewise.
29288         (__ASSUME_SIGNALFD4): Likewise.
29289         (__ASSUME_DUP3): Likewise.
29290         (__ASSUME_UTIMES): Undefine.
29292         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29293         feclearexcept.  Remove symbol versioning code.
29294         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29295         symbol versioning code.
29296         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29297         symbol versioning code.
29298         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29299         feupdateenv.  Remove symbol versioning code.
29300         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29301         fegetexceptflag.  Remove symbol versioning code.
29302         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29303         fesetexceptflag.  Remove symbol versioning code.
29304         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29305         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
29306         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29307         (__posix_fadvise64_l32): Remove prototype.
29308         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29309         code.
29311 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29313         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29314         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29315         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29316         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29318 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
29320         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29321         current working directory
29323 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29325         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29326         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29327         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29328         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29329         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29330         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29331         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29332         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29333         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29334         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29335         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29336         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29337         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29338         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29339         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29340         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29341         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29342         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29343         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29344         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29345         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29346         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29347         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29348         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29349         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29350         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29351         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29352         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29353         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29354         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29355         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29356         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29357         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29358         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29359         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29360         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29361         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29362         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29363         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29364         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29365         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29366         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29368         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29369         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29371         * sysdeps/unix/sysv/linux/arm/Makefile
29372         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29373         Add rt-aeabi_unwind_cpp_pr1.
29374         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29375         Add nptl-aeabi_unwind_cpp_pr1.
29376         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29377         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29378         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29379         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29380         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29381         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29383         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29384         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29385         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29386         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29388         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29389         Deconditionalize the code that was previously under [RESET_PID].
29390         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29392         * sysdeps/generic/exit-thread.h: New file.
29393         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29394         * include/unistd.h (__exit_thread): Remove declaration.
29395         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29396         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29397         * csu/libc-start.c: Include <exit-thread.h>.
29398         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29399         * nptl/pthread_create.c: Include <exit-thread.h>.
29400         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29401         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29402         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29403         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29404         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29405         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29406         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29407         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29408         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29409         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29410         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29411         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29412         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29413         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29414         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29415         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29416         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29418 2014-05-13  Andreas Schwab  <schwab@suse.de>
29420         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29422 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29424         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29425         (__ASSUME_UTIMES): Do not condition on kernel version.
29426         (__ASSUME_PSELECT): Define unconditionally.
29427         (__ASSUME_PPOLL): Likewise.
29428         (__ASSUME_ATFCTS): Likewise.
29429         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29430         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29431         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29432         (__ASSUME_UTIMENSAT): Define unconditionally.
29433         (__ASSUME_PRIVATE_FUTEX): Likewise.
29434         (__ASSUME_FALLOCATE): Likewise.
29435         (__ASSUME_O_CLOEXEC): Likewise.
29436         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29437         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29438         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29439         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29440         (__ASSUME_IN_NONBLOCK): Likewise.
29441         (__ASSUME_PIPE2): Likewise.
29442         (__ASSUME_EVENTFD2): Likewise.
29443         (__ASSUME_SIGNALFD4): Likewise.
29444         (__ASSUME_DUP3): Likewise.
29445         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29446         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29447         (__ASSUME_AT_RANDOM): Likewise.
29448         (__ASSUME_PREADV): Likewise.
29449         (__ASSUME_PWRITEV): Likewise.
29450         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29451         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29452         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29453         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29454         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29455         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29456         (__ASSUME_O_CLOEXEC): Define unconditionally.
29457         (__ASSUME_PSELECT): Do not undefine conditionally.
29458         (__ASSUME_PPOLL): Likewise.
29459         (__ASSUME_ATFCTS): Likewise.
29460         (__ASSUME_SET_ROBUST_LIST): Likewise.
29461         (__ASSUME_UTIMENSAT): Likewise.
29462         (__ASSUME_FDATASYNC): Define unconditionally.
29463         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29464         (__ASSUME_SIGFRAME_V2): Likewise.
29465         )__ASSUME_EVENTFD2): Likewise.
29466         (__ASSUME_SIGNALFD4): Likewise.
29467         (__ASSUME_PSELECT): Do not undefine conditionally.
29468         (__ASSUME_PPOLL): Likewise.
29469         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29470         (__ASSUME_PSELECT): Define unconditionally.
29471         (__ASSUME_PPOLL): Likewise.
29472         (__ASSUME_O_CLOEXEC): Likewise.
29473         (__ASSUME_SOCK_CLOEXEC): Likewise.
29474         (__ASSUME_IN_NONBLOCK): Likewise.
29475         (__ASSUME_PIPE2): Likewise.
29476         (__ASSUME_EVENTFD2): Likewise.
29477         (__ASSUME_SIGNALFD4): Likewise.
29478         (__ASSUME_DUP3): Likewise.
29479         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29480         (__ASSUME_O_CLOEXEC): Likewise.
29481         (__ASSUME_SOCK_CLOEXEC): Likewise.
29482         (__ASSUME_IN_NONBLOCK): Likewise.
29483         (__ASSUME_PIPE2): Likewise.
29484         (__ASSUME_EVENTFD2): Likewise.
29485         (__ASSUME_SIGNALFD4): Likewise.
29486         (__ASSUME_DUP3): Likewise.
29487         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29488         (__ASSUME_EVENTFD2): Likewise.
29489         (__ASSUME_SIGNALFD4): Likewise.
29490         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29492 2014-05-12  Andreas Schwab  <schwab@suse.de>
29494         [BZ #16932]
29495         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29496         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29497         than maximum RPC packet size.
29498         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29499         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29500         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29501         (_nss_nis_getservbyport_r): Likewise.
29503 2014-05-12  Will Newton  <will.newton@linaro.org>
29505         * malloc/Makefile (tests): Add tst-mallopt.
29506         * malloc/tst-mallopt.c: New file.
29508 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29510         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29511         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29513 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29515         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29516         (tst-tlsmod6.so): Likewise.
29518 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29520         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29522 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29524         [BZ #16064]
29525         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29526         and <dl-procinfo.h>.
29527         (__fegetenv): Save SSE state in envp->__eip if supported.
29528         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29529         envp->__eip if supported.
29530         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29531         and <dl-procinfo.h>.
29532         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29533         __data_offset and __data_selector in environment to 0.  Set SSE
29534         state if supported.
29535         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29536         test-fenv-sse.
29537         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29538         -mfpmath=sse.
29539         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29541 2014-05-09  Will Newton  <will.newton@linaro.org>
29543         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29544         and libc_relro_required for ARM.
29545         * sysdeps/arm/preconfigure: Regenerate.
29547 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29548             Stefan Liebler  <stli@linux.vnet.ibm.com>
29550         * config.make.in (enable-lock-elision): New Makefile variable.
29551         * configure.ac: Likewise.
29552         * configure: Regenerate.
29553         * sysdeps/s390/configure.ac:
29554         Add check for gcc transactions support.
29555         * sysdeps/s390/configure: Regenerate.
29556         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29557         Build elision files if enabled.
29558         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29559         Add lock elision support for s390.
29560         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29561         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29562         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29563         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29564         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29565         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29566         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29567         Likewise.
29568         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29569         Likewise.
29570         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29571         Likewise.
29572         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29573         Likewise.
29574         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29575         (__lll_timedlock_elision, __lll_lock_elision)
29576         (__lll_unlock_elision, __lll_trylock_elision)
29577         (lll_timedlock_elision, lll_lock_elision)
29578         (lll_unlock_elision, lll_trylock_elision): Add.
29579         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29580         (pthread_mutex_t): Add lock elision support for s390.
29582 2014-05-14  Wilco  <wdijkstr@arm.com>
29584         * sysdeps/arm/fclrexcpt.c: Cleanup.
29585         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29586         * sysdeps/arm/feenablxcpt.c: Cleanup.
29587         * sysdeps/arm/fegetenv.c: Cleanup.
29588         * sysdeps/arm/fegetexcept.c: Cleanup.
29589         * sysdeps/arm/fegetround.c: Cleanup.
29590         * sysdeps/arm/feholdexcpt.c: Cleanup.
29591         * sysdeps/arm/fesetenv.c: Cleanup.
29592         * sysdeps/arm/fesetround.c: Cleanup.
29593         * sysdeps/arm/feupdateenv.c: Cleanup.
29594         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29595         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29596         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29597         * sysdeps/arm/ftestexcept.c: Cleanup.
29598         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29599         * sysdeps/arm/setfpucw.c: Cleanup.
29601 2014-05-09  Will Newton  <will.newton@linaro.org>
29603         * sysdeps/arm/armv7/strcmp.S: New file.
29604         * NEWS: Mention addition of ARMv7 optimized strcmp.
29606 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29608         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29609         look for %.ac rather than %.in.
29611         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29612         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29613         * sysdeps/mach/hurd/configure: Regenerated.
29614         * sysdeps/unix/sysv/linux/configure: Regenerated.
29616         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29618 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29620         [BZ# 16922]
29621         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29622         (LONG_SUB): Ditto.
29623         (PTR_SUB): Ditto.
29625 2014-05-07  Andreas Schwab  <schwab@suse.de>
29627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29628         when skipping over non-matching result from nscd.
29630 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29632         [BZ #16876]
29633         * nptl/sockperf.c (client): Check socket return value.
29635         [BZ #16877]
29636         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29637         nscd security class.
29639 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29641         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29642         * sysdeps/arm/unwind.h: ... here.
29644 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29646         [BZ# 16916]
29647         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29648         Define.
29650 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29652         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29653         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29654         multiarch strncpy for PPC64.
29655         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29656         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29658         multiarch optimizations.
29659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29660         (__libc_ifunc_impl_list): Likewise.
29661         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29662         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29663         multiarch stpncpy for PPC64.
29664         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29665         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29667 2014-05-06  Andreas Schwab  <schwab@suse.de>
29669         [BZ #16912]
29670         * gmon/mcount.c (_MCOUNT_DECL): Use
29671         atomic_compare_and_exchange_bool_acq instead of
29672         catomic_compare_and_exchange_bool_acq.
29674 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29676         * elf/Makefile (others, install-bin): Remove pldd.
29677         (pldd-modules): Variable removed.
29678         ($(objpfx)pldd): Target removed.
29679         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29680         (others, install-bin): Append pldd here.
29681         ($(objpfx)pldd): New target.
29683         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29684         to 0, so the first #if test emitted later doesn't see it undefined.
29685         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29686         * sysdeps/gnu/errlist.c: Regenerated.
29688 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29690         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29691         [libc_hidden_builtin_def]: Define to empty value.
29692         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29693         [libc_hidden_builtin_def]: Likewise.
29694         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29695         [libc_hidden_builtin_def]: Likewise.
29696         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29697         [libc_hidden_builtin_def]: Likewise.
29698         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29699         __redirect_memcpy and define ifunc as default hidden symbol.
29700         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29701         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29703 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29705         * locale/iso-4217.def: Reintroduce XDR currency.
29707 2014-05-04  Allan McRae  <allan@archlinux.org>
29709         * po/eo.po: Update Esperanto translation from translation project.
29711 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29713         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29714         and FEATURE_INDEX_MAX to 1.
29715         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29717 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29719         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29720         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29721         * iconvdata/big5.c (ONE_DIRECTION): Define.
29722         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29723         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29724         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29725         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29726         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29727         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29728         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29729         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29730         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29731         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29732         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29733         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29734         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29735         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29736         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29737         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29738         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29739         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29740         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29741         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29742         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29743         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29744         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29745         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29746         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29747         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29748         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29749         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29750         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29751         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29752         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29753         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29754         * iconvdata/johab.c (ONE_DIRECTION): Define.
29755         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29756         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29757         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29758         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29759         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29760         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29761         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29762         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29763         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29764         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29766 2014-05-01  Roland McGrath  <roland@hack.frob.com>
29768         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29769         (_IO_JUMPS_OFFSET): Define to 0.
29771         * nptl/sysdeps/pthread/bits/libc-lock.h
29772         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29773         (__libc_lock_define_initialized_recursive): Always define using
29774         initializer.  Modern compilers treat uninitialized (implicit zero) and
29775         explicit zero initializers the same (i.e. put the datum in bss).
29777 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29779         * nscd/nscd-client.h: Include <string.h>.
29781 2014-05-01  David S. Miller  <davem@davemloft.net>
29783         [BZ #16885]
29784         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29785         multiple zero bytes exist at the end of a string.
29786         Reported by Aurelien Jarno <aurelien@aurel32.net>
29788         * string/test-strcmp.c (check): Add explicit test for situations where
29789         there are multiple zero bytes after the first.
29791 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29793         [BZ #16890]
29794         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29795         when compiling wprintf.
29796         * stdio-common/tstdiomisc.c (t3): New function.
29797         (main): Call it.
29799 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29801         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29802         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29803         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29804         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29806 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29808         * stdlib/longlong.h: Updated from GCC.
29810 2014-05-01  Will Newton  <will.newton@linaro.org>
29811             Bernard Ogden  <bernie.ogden@linaro.org>
29813         * NEWS: Update fixed bug list.
29815         [BZ #15119]
29816         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29818 2014-04-30  David S. Miller  <davem@davemloft.net>
29820         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29821         (libc_feholdexcept_setround_sparc_ctx): New function.
29822         (libc_fesetenv_sparc_ctx): Likewise.
29823         (libc_feupdateenv_sparc_ctx): Likewise.
29824         (libc_feholdsetround_sparc_ctx): Likewise.
29825         (libc_feholdexcept_setround_ctx): Define.
29826         (libc_feholdexcept_setroundf_ctx): Likewise.
29827         (libc_feholdexcept_setroundl_ctx): Likewise.
29828         (libc_fesetenv_ctx): Likewise.
29829         (libc_fesetenvf_ctx): Likewise.
29830         (libc_fesetenvl_ctx): Likewise.
29831         (libc_feupdateenv_ctx): Likewise.
29832         (libc_feupdateenvf_ctx): Likewise.
29833         (libc_feupdateenvl_ctx): Likewise.
29834         (libc_feresetround_ctx): Likewise.
29835         (libc_feresetroundf_ctx): Likewise.
29836         (libc_feresetroundl_ctx): Likewise.
29837         (libc_feholdsetround_ctx): Likewise.
29838         (libc_feholdsetroundf_ctx): Likewise.
29839         (libc_feholdsetroundl_ctx): Likewise.
29841         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29842         with __USE_GNU instead of XOPEN cpp guards.
29844         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29845         0.
29847         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29848         with XOPEN cpp guards.
29850 2014-04-30  Julian Brown  <julian@codesourcery.com>
29852         [BZ #16888]
29853         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29854         handling.
29856 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
29858         [BZ #9894]
29859         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29860         Change to 2.6.32.
29861         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29862         * sysdeps/unix/sysv/linux/configure: Regenerated.
29863         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29864         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29865         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29866         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29867         * README: Update reference to required Linux kernel version.
29868         * manual/install.texi (Linux): Update reference to required Linux
29869         kernel headers version.
29870         * INSTALL: Regenerated.
29872         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29873         header inclusion.
29874         [POSIX] (limits.h): Likewise.
29875         [POSIX] (math.h): Likewise.
29876         [POSIX] (sys/wait.h): Likewise.
29877         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29878         function.
29879         [POSIX] (stddef.h): Do not allow header inclusion.
29881 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29883         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29885 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
29887         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29888         Return immediately after lll_futex_wake.
29890 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29892         [BZ #16791]
29893         * nscd/nscd-client.h (datahead_init_common): Initialize entire
29894         structure.
29895         (datahead_init_pos): Call datahead_init_common early.
29896         (datahead_init_neg): Likewise.
29898         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29899         datahead_init_neg): New functions.
29900         * nscd/aicache.c (addhstaiX): Use them.
29901         * nscd/grpcache.c (cache_addgr): Likewise.
29902         * nscd/hstcache.c (cache_addhst): Likewise.
29903         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29904         * nscd/netgroupcache.c (do_notfound): Likewise.
29905         (addgetnetgrentX): Likewise.
29906         (addinnetgrX): Likewise.
29907         * nscd/pwdcache.c (cache_addpw): Likewise.
29908         * nscd/servicescache.c (cache_addserv): Likewise.
29910 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29911             Atsushi Onoe  <atsushi@onoe.org>
29913         [BZ #14308]
29914         [BZ #12994]
29915         [BZ #13651]
29916         * resolv/res_query.c (__libc_res_nsearch): Return if at least
29917         one response is valid.
29918         * resolv/res_send.c (send_dg): Check for validity of other
29919         response if the current response is a referral.
29921 2014-04-29  Steve Ellcey  <sellcey@mips.com>
29923         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29925 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
29927         [BZ #16823]
29928         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29929         Always divide by positive zero when computing -Inf result.
29930         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29931         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29933 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29935         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29936         FPSCR if value do not change.
29937         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29938         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29939         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29940         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29941         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29942         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29943         function.
29945 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
29947         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29948         * sysdeps/unix/sysv/linux/hppa: Move directory from
29949         ports/systeps/unix/sysv/linux/hppa.
29950         * README: Update listing for hppa-*-linux-gnu.
29952 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
29954         [BZ #16754]
29955         * manual/stdio.texi (Hook functions): Fix types of stream hook
29956         functions.
29957         [BZ #16854]
29958         * socket/sys/socket.h: Fix typo in comment.
29960 2014-04-28  Wilco  <wdijkstr@arm.com>
29962         * sysdeps/arm/fenv_private.h: New file.
29963         * sysdeps/arm/math_private.h: New file.
29964         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29966 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
29968         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29969         with __int128_t.
29970         (La_x86_64_retval): Likewise.
29972 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
29974         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29975         fpsr if value didn't change.
29976         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29977         to fpcr if value didn't change.
29978         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29979         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29980         fpsr or fpcr if value didn't change.
29981         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29982         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29983         fpcr if value didn't change.
29984         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29985         to fpsr if value didn't change.
29987 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29989         * nptl/tst-sem3.c: Use test-skeleton.c
29990         (main): Rename to do_test.  Use return instead of
29991         exit.
29992         * nptl/tst-sem4.c: Use test-skeleton.c
29993         (main): Rename to do_test.
29995 2014-04-22  David S. Miller  <davem@davemloft.net>
29997         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29998         (struct sigaction): New struct member __glibc_reserved0, change
29999         type of sa_flags to int.
30001 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30003         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30004         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30006 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30008         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30009         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30011 2014-04-22  Will Newton  <will.newton@linaro.org>
30012             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
30014         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30015         (__longjmp): Add longjmp and longjmp_target SystemTap
30016         probes.
30017         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30018         (__sigsetjmp): Add setjmp SystemTap probe.
30020 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
30022         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30023         match manual order.
30025 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30027         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30029         * sysdeps/powerpc/fpu/fenv_private.h
30030         (libc_feholdexcept_setroundl_ctx): Define to
30031         libc_feholdexcept_setround_ppc_ctx.
30032         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30033         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30034         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30035         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30037 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30039         * sysdeps/aarch64/math-tests.h: New file.
30041 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
30043         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30044         New.
30045         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30046         Check and set bit_AVX2_Usable.
30047         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30048         macro.
30049         (bit_AVX2): Likewise.
30050         (index_AVX2_Usable): Likewise.
30051         (CPUID_AVX2): Likewise.
30052         (HAS_AVX2): Likewise.
30054 2014-04-17  Will Newton  <will.newton@linaro.org>
30056         * manual/setjmp.texi (System V contexts): Add note that
30057         calling setcontext on a context created by a call to a
30058         signal handler is undefined.  Update text to note that
30059         setcontext from a signal handler is possible but not
30060         recommended.
30062         [BZ #16629]
30063         * stdlib/tst-setcontext.c: Include signal.h.
30064         (main): Check that the signal stack before and
30065         after swapcontext is the same.
30067         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30068         Re-implement to restore registers in user code and avoid
30069         rt_sigreturn system call.
30071 2014-04-17  Wilco  <wdijkstr@arm.com>
30073         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30074         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30075         * math/test-fenv.c: Skip exception trap tests on targets which only
30076         support non-stop mode.
30078 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30079             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30081         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30082         (libc_feholdsetround_aarch64_ctx)
30083         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30084         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30085         (libc_feresetround_ctx, libc_feresetroundf_ctx)
30086         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30087         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30088         (libc_feresetround_noexl_ctx): Define.
30090 2014-04-16  Richard Henderson  <rth@redhat.com>
30092         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30094         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30095         unwind tables.
30097         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30098         const from the non-libc, non-ldso copy.
30100         * sysdeps/alpha/libm-test-ulps: Regenerate.
30102 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
30103             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30105         * sysdeps/aarch64/fpu/math_private.h: New file.
30107 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30109         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30111 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
30113         [BZ #16275]
30114         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30115         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30116         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30117         Intel MPX bound registers before _dl_profile_fixup.
30118         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30119         registers after _dl_profile_fixup.  Save and restore bound
30120         registers bnd0/bnd1 when calling _dl_call_pltexit.
30121         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30122         (LR_BND_OFFSET): Likewise.
30123         (LRV_BND0_OFFSET): Likewise.
30124         (LRV_BND1_OFFSET): Likewise.
30126 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30128         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30129         to...
30130         * sysdeps/mach/hurd/i386/tls.h: ... here.
30131         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30132         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30133         fields.
30135 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30137         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30139 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30141         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30143 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30145         [BZ #14770]
30146         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30147         * sysdeps/s390/configure: Regenerate.
30149         [BZ #16824]
30150         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30151         Set round-to-nearest internally to reduce error accumulation.
30153 2014-04-16  Alan Modra  <amodra@gmail.com>
30155         [BZ #16740]
30156         [BZ #16619]
30157         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30158         * math/libm-test.inc (frexp_test_data): Add tests.
30159         * NEWS: Update fixed bug list.
30161 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30163         * benchtests/Makefile: Depend on libraries in build directory.
30164         (bench-math): Separate out math tests.
30165         (bench-pthread): Separate out pthread tests.
30166         (bench): Include math and pthread tests.
30168 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
30170         [BZ #16831]
30171         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30172         _dl_debug_initialize.
30174         * configure.ac: Remove SELinux header check.
30175         * configure: Regenerate.
30176         * nscd/selinux.c (perms): Array of const char* to permission names.
30177         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30178         default policy. Call string_to_security_class and string_to_av_perm to
30179         translate strings. Enforce default policy and call avs_has_perm with
30180         results of translated strings.
30182 2014-04-13  David S. Miller  <davem@davemloft.net>
30184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30186 2014-04-12  Allan McRae  <allan@archlinux.org>
30188         [BZ #16838]
30189         * manual/string.texi (Collation Functions): Fix qsort argument
30190         order in example.
30191         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30193 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30195         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30196         Make the test a no-op if there are no exceptions defined.
30198 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30200         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30201         enable-hardcoded-path-in-tests
30203 2014-04-11  Will Newton  <will.newton@linaro.org>
30205         * benchtests/Makefile (extra-objs): Add json-lib.o.
30206         (bench-func): Tidy up JSON output.
30207         * benchtests/bench-skeleton.c: Include json-lib.h.
30208         (main): Use JSON library functions to do output of
30209         benchmark results.
30210         * benchtests/bench-timing-type.c (main): Output the
30211         timing type simply, leaving formatting to the user.
30212         * benchtests/json-lib.c: New file.
30213         * benchtests/json-lib.h: Likewise.
30215 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30217         [BZ #15215]
30218         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30219         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30220         memory barriers.  Add comments.
30221         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30222         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30223         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30224         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30225         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30226         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30228 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30230         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30231         * sysdeps/s390/s390-64/configure.ac: ... this ...
30232         * sysdeps/s390/configure.ac: ... to here.
30233         * sysdeps/s390/s390-32/configure: Delete file.
30234         * sysdeps/s390/s390-64/configure: Delete file.
30235         * sysdeps/s390/configure: Regenerate.
30237 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30239         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30241 2014-04-11  Will Newton  <will.newton@linaro.org>
30243         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30244         to zero if it is not defined elsewhere.  (mtrim): Test
30245         the value of MALLOC_DEBUG with #if rather than #ifdef.
30247 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30249         * benchtests/pthread_once-inputs: New file.
30250         * benchtests/pthread_once-source.c: New file.
30251         * benchtests/README: Update documentation.
30253 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30254             H.J. Lu  <hongjiu.lu@intel.com>
30256         [BZ #16275]
30257         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30258         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30259         * sysdeps/x86_64/configure: Regenerated.
30260         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30261         macro.
30262         (REGISTER_SAVE_RAX): Likewise.
30263         (REGISTER_SAVE_RCX): Likewise.
30264         (REGISTER_SAVE_RDX): Likewise.
30265         (REGISTER_SAVE_RSI): Likewise.
30266         (REGISTER_SAVE_RDI): Likewise.
30267         (REGISTER_SAVE_R8): Likewise.
30268         (REGISTER_SAVE_R9): Likewise.
30269         (REGISTER_SAVE_BND0): Likewise.
30270         (REGISTER_SAVE_BND1): Likewise.
30271         (REGISTER_SAVE_BND2): Likewise.
30272         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30273         bound registers when calling _dl_fixup.
30275 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30277         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30278         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30279         of its definition.
30280         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30281         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30282         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30283         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30284         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30285         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30286         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30288 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30290         [BZ #15514]
30291         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30292         pathconf(_PC_NAME_MAX).
30294 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30296         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30297         Remove macro usage.
30298         (__PTHREAD_SPINS): Move definition to ...
30299         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30300         (__PTHREAD_SPINS): ... here.
30301         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30302         (__PTHREAD_SPIN): Likewise.
30303         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30304         (__PTHREAD_SPIN): Likewise.
30305         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30306         (__PTHREAD_SPIN): Likewise.
30307         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30308         (__PTHREAD_SPIN): Likewise.
30309         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30310         (__PTHREAD_SPIN): Likewise.
30311         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30312         (__PTHREAD_SPIN): Likewise.
30313         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30314         (__PTHREAD_SPIN): Likewise.
30315         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30316         (__PTHREAD_SPIN): Likewise.
30317         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30318         (__PTHREAD_SPIN): Likewise.
30319         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30320         (__PTHREAD_SPIN): Likewise.
30321         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30322         (__PTHREAD_SPIN): Likewise.
30323         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30324         (__PTHREAD_SPIN): Likewise.
30326         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30327         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30328         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30329         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30330         imply folder.
30331         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30332         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30333         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30334         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30335         correct imply path.
30336         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30337         strlen symbol for non multi-arch builds.
30338         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30339         missing hidden_def and weak_alias.
30341 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
30343         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30345 2014-04-07  Will Newton  <will.newton@linaro.org>
30347         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30348         and contents.  [!_LIBC] Remove #ifndef and contents.
30349         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
30350         * string/memccpy.c (__memccpy): Use ANSI prototype.
30351         * string/memfrob.c (memfrob): Likewise.
30352         * string/strcoll.c (STRCOLL): Likewise.
30353         * string/strlen.c (strlen): Likewise.
30354         * string/strtok.c (STRTOK): Likewise.
30355         * string/strcat.c: Remove unused #include of memcopy.h.
30356         (strcat): Use ANSI prototype.
30357         * string/strchr.c: Remove unused #include of memcopy.h.
30358         (strchr): Use ANSI prototype.
30359         * string/strcmp.c: Remove unused #include of memcopy.h.
30360         (strcmp): Use ANSI prototype.
30361         * string/strcpy.c: Remove unused #include of memcopy.h.
30362         (strcpy): Use ANSI prototype.
30364 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30366         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30367         * config.make.in (config-extra-cppflags): Set it from
30368         libc_extra_cppflags.
30369         * configure.ac (libc_extra_cflags): Make it accumulate over
30370         configure fragments.
30371         (libc_extra_cppflags): New flag.
30372         * configure. Regenerate.
30373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30374         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30375         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30378         [BZ #16815]
30379         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30380         result for FE_DOWNWARD rounding mode.
30381         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30382         Likewise.
30383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30385 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30387         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30388         in function argument name.
30390 2014-04-03  David Svoboda  <svoboda@cert.org>
30392         [BZ #5666]
30393         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30394         explicitly.
30396 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30398         * elf/dl-unmap-segments.h: New file.
30399         * sysdeps/generic/ldsodefs.h
30400         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30401         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30402         * elf/dl-fptr.c: Likewise.
30403         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30404         * sysdeps/aarch64/tlsdesc.c: Likewise.
30405         * sysdeps/arm/tlsdesc.c: Likewise.
30406         * sysdeps/i386/tlsdesc.c: Likewise.
30407         * sysdeps/tile/dl-runtime.c: Likewise.
30408         * sysdeps/x86_64/tlsdesc.c: Likewise.
30409         * elf/dl-load.h: New file.
30410         * elf/dl-load.c: Include it.
30411         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30412         Macros moved to dl-load.h.
30413         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30414         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30415         Use _dl_unmap_segments in place of __munmap.
30416         Break out segment-mapping loop into ...
30417         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30419 2014-04-03  Will Newton  <will.newton@linaro.org>
30421         * elf/dl-lookup.c (do_lookup_x): Remove comment
30422         referring to nested function and move variable
30423         declarations down to before first use.
30425 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30427         [BZ #16799]
30428         [BZ #16800]
30429         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30430         with 0 numerator.
30431         * math/s_catanf.c (__catanf): Likewise.
30432         * math/s_catanh.c (__catanh): Likewise.
30433         * math/s_catanhf.c (__catanhf): Likewise.
30434         * math/s_catanhl.c (__catanhl): Likewise.
30435         * math/s_catanl.c (__catanl): Likewise.
30436         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30437         by positive zero when computing -Inf result.
30438         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30439         (catanh_test): Likewise.
30440         * sysdeps/i386/fpu/libm-test-ulps: Update.
30441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30443         [BZ #16789]
30444         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30445         instead of using underflowing value in computing result.
30446         * math/s_clog10.c (__clog10): Likewise.
30447         * math/s_clog10f.c (__clog10f): Likewise.
30448         * math/s_clog10l.c (__clog10l): Likewise.
30449         * math/s_clogf.c (__clogf): Likewise.
30450         * math/s_clogl.c (__clogl): Likewise.
30451         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30452         (clog10_test): Likewise.
30453         * sysdeps/i386/fpu/libm-test-ulps: Update.
30454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30456 2014-04-02  Alan Modra  <amodra@gmail.com>
30458         [BZ #16739]
30459         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30460         output when value is near a power of two.  Use int64_t for lx and
30461         remove casts.  Use decimal rather than hex exponent constants.
30462         Don't use long double multiplication when double will suffice.
30463         * math/libm-test.inc (nextafter_test_data): Add tests.
30464         * NEWS: Add 16739 and 16786 to bug list.
30466         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30468         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30470 2014-04-01  Will Newton  <will.newton@linaro.org>
30472         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30473         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30475 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30477         [BZ #13347]
30478         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30479         * nptl/tst-setuid2.c: New file.
30480         * nptl/Makefile (xtests): Add tst-setuid2.
30482 2014-04-01  Alan Modra  <amodra@gmail.com>
30484         [BZ #16786]
30485         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30487 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30489         [BZ #6803]
30490         [BZ #6804]
30491         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30492         set errno as appropriate.
30493         * math/w_scalbf.c (__scalbf): Likewise.
30494         * math/w_scalbl.c (__scalbl): Likewise.
30495         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30496         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30497         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30498         Add more NaN tests.
30500         [BZ #16349]
30501         * math/w_atan2.c: Include <errno.h>.
30502         (__atan2): Set errno for result underflowing to zero.
30503         * math/w_atan2f.c: Include <errno.h>.
30504         (__atan2f): Set errno for result underflowing to zero.
30505         * math/w_atan2l.c: Include <errno.h>.
30506         (__atan2l): Set errno for result underflowing to zero.
30507         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30508         tests.
30509         * math/auto-libm-test-out: Regenerated.
30511 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30513         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30514         Encode instruction correctly in little endian.
30515         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30516         Likewise.
30517         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30518         Likewise.
30519         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30520         Likewise.
30521         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30522         Likewise.
30524 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30526         [BZ #9894]
30527         * sysdeps/unix/sysv/linux/kernel-features.h
30528         [__sparc__ && !__arch64__ && !__sparc_v9__]
30529         (__ASSUME_SET_ROBUST_LIST): Do not define.
30530         [__sparc__ && !__arch64__ && !__sparc_v9__]
30531         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30532         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30533         Likewise.
30534         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30535         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30536         (__ASSUME_REQUEUE_PI): Likewise.
30537         (__ASSUME_SET_ROBUST_LIST): Likewise.
30538         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30539         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30540         Undefine.
30541         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30542         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30543         Likewise.
30544         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30545         Likewise.
30546         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30547         Likewise.
30548         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30549         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30550         Undefine.
30551         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30552         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30553         Likewise.
30555         [BZ #16648]
30556         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30557         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30558         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30560 2014-03-31  Will Newton  <will.newton@linaro.org>
30562         * benchtests/Makefile (bench): Add ffs and ffsll to list
30563         of tests.
30564         * benchtests/ffs-inputs: New file.
30565         * benchtests/ffsll-inputs: Likewise.
30567 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30569         [BZ #16770]
30570         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30571         too large before casting to int.
30572         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30573         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30574         * math/libm-test.inc (scalb_test_data): Add more tests.
30576 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30578         * benchtests/Makefile (DETAILED_OPT): New make option.
30579         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30580         set.
30581         * benchtests/bench-skeleton.c: Include stdbool.h.
30582         (main): Store and print timings per input.
30583         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30584         member to each argument value.
30585         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30586         (_print_arg_data): Initialize per-input timing to 0.
30588         * benchtests/Makefile (timing-type): New binary.
30589         (bench-clean): Also remove bench-timing-type.
30590         (bench): New target for timing-type.
30591         (bench-func): Print output in JSON format.
30592         * benchtests/bench-skeleton.c (main): Print output in JSON
30593         format.
30594         * benchtests/bench-timing-type.c: New file.
30595         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30596         (TIMING_PRINT_STATS): Remove.
30597         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30598         name separately.
30600         * benchtests/bench-modf.c: Remove.
30601         * benchtests/modf-inputs: New inputs file.
30603 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30605         [BZ #16362]
30606         * math/s_clog10.c (M_PI_LOG10E): New macro.
30607         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30608         imaginary parts are 0.
30609         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30610         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30611         imaginary parts are 0.
30612         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30613         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30614         imaginary parts are 0.
30615         * math/libm-test.inc (clog10_test_data): Update expected results
30616         for when real and imaginary parts are 0.
30618 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30620         * elf/dl-load.c: Finish conversion of __builtin_expect into
30621         __glibc_{un}likely.
30623 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30625         [BZ #16348]
30626         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30627         1+x for argument with exponent below -67.
30628         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30629         Likewise.
30630         * math/auto-libm-test-in: Add more tests of exp.
30631         * math/auto-libm-test-out: Regenerated.
30633 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30635         [BZ #16759]
30636         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30637         (nscd_getnetgrent): Use it.
30639         [BZ #16760]
30640         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30641         of stpcpy.
30643 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30645         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30646         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30647         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30648         (lll_robust_unlock): Remove out of line section. Use cfi
30649         intrinsics.
30650         (LLL_STUB_UNWIND_INFO*): Remove.
30651         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30652         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30653         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30654         (lll_robust_unlock): Remove out of line section. Use cfi
30655         intrinsics.
30656         (LLL_STUB_UNWIND_INFO*): Remove.
30658 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30660         [BZ #16758]
30661         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30662         blank values.
30664 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30666         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30668 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30670         [BZ #16198]
30671         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30672         fnstenv.
30673         * math/test-fenv-preserve.c: New file.
30674         * math/Makefile (tests): Add test-fenv-preserve.
30676 2014-03-26  Will Newton <will.newton@linaro.org>
30678         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30680 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30682         * scripts/versionlist.awk: Partition the version sets and emit all
30683         GLIBC_* (sorted) before all others (sorted).
30685 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30687         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30688         GLIBC_2.2.5 version.
30690 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30692         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30693         calls.
30695         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30696         previous change.
30698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30700 2014-03-25  Andreas Schwab  <schwab@suse.de>
30702         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30703         label to be used after in6ailist is initialized.
30705 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30707         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30708         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30710 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30712         [BZ #16357]
30713         [BZ #16599]
30714         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30715         min_plus_half.
30716         (fp_formats): Update initializers.
30717         (init_fp_formats): Initialize new field.
30718         (output_for_one_input_case): Allow underflow for results up to
30719         min_plus_half.
30720         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30721         * math/auto-libm-test-in: Don't mark some underflows from asin and
30722         atanh as spurious.
30723         * math/auto-libm-test-out: Regenerated.
30724         * sysdeps/i386/fpu/libm-test-ulps: Update.
30725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30727 2014-03-25  Andreas Schwab  <schwab@suse.de>
30729         * libio/Makefile (tst-ftell-partial-wide-ENV)
30730         (tst-ftell-active-handler-ENV): Define.
30732 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30734         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30736 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30738         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30740 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30742         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30743         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30744         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30746 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30748         [BZ #16634]
30749         * elf/dl-load.c (open_verify): Add mode parameter.
30750         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30751         (open_path): Change from boolean 'secure' to complete flag 'mode'
30752         (_dl_map_object): Adjust.
30753         * elf/Makefile (tests): Add tst-dlopen-aout.
30754         * elf/tst-dlopen-aout.c: New test.
30756 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30758         [BZ #16714]
30759         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30760         (struct stat): Rename member pad0 to __glibc_reserved0.
30762         [BZ #16712]
30763         * sysdeps/s390/s390-32/bits/wordsize.h
30764         (__WORDSIZE32_SIZE_ULONG): New define.
30765         * sysdeps/s390/s390-64/bits/wordsize.h
30766         (__WORDSIZE32_SIZE_ULONG): Likewise.
30767         * sysdeps/generic/stdint.h (SIZE_MAX):
30768         Define as UL if __WORDSIZE32_SIZE_ULONG.
30770         [BZ #16713]
30771         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30772         (__glibc_reserved0): New variable.
30773         (sa_flags): Change type to int.
30775         * posix/Makefile (before-compile): Use += before-compile instead
30776         of a :=.
30778         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30779         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30781 2014-03-20  Andreas Schwab  <schwab@suse.de>
30783         [BZ #16743]
30784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30785         non-matching result from nscd.
30787 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30789         * scripts/bench.py: Moved to ...
30790         * benchtests/scripts/bench.py: ... here.
30791         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30793 2014-03-24  Andreas Schwab  <schwab@suse.de>
30795         [BZ #16002]
30796         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30797         alloca_account and account alloca use for struct in6ailist.
30799 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30801         [BZ #16284]
30802         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30803         rounding mode to recompute results that overflow to infinity or
30804         underflow to zero.
30805         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30806         bug 16284.
30807         * math/auto-libm-test-out: Regenerated.
30808         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30809         (ccosh_test): Likewise.
30810         (csin_test_data): Use plus_oflow.
30811         (csin_test): Use ALL_RM_TEST.
30812         (csinh_test_data): Use plus_oflow.
30813         (csinh_test): Use ALL_RM_TEST.
30814         * sysdeps/i386/fpu/libm-test-ulps: Update.
30815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30817 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30819         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30820         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30821         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30823         [BZ #16731]
30824         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30825         when x - 1 is zero.
30826         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30827         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30828         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30829         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30830         argument is 1.
30831         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30832         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30833         zero.
30834         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30835         * sysdeps/i386/fpu/libm-test-ulps: Update.
30836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30838 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30840         * scripts/bench.pl: Remove file.
30841         * scripts/bench.py: New benchmark script.
30842         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30843         * benchtests/README: Mention python dependency.
30844         * scripts/pylintrc: New file.
30845         * scripts/pylint: New file.
30847         * bits/mathdef.h: Use #ifdef instead of #if.
30848         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30849         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30850         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30851         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30852         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30853         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30855 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30856             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30858         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30860         and strpbrk-ppc64 objects.
30861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30862         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30863         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30864         multiarch strpbrk for POWER7.
30865         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30866         multiarch strpbrk for PPC64.
30867         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30868         ifunc selector.
30869         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30870         strpbrk for POWER7.
30872 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30874         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30875         (atan_test): Likewise.
30876         (atanh_test_data): Use NO_TEST_INLINE for two tests.
30877         (atanh_test): Use ALL_RM_TEST.
30878         (atan2_test_data): Likewise.
30879         (cabs_test): Likewise.
30880         (cacosh_test): Likewise.
30881         (carg_test): Likewise.
30882         (casin_test): Likewise.
30883         (casinh_test): Likewise.
30884         (cbrt_test): Likewise.
30885         (csqrt_test): Likewise.
30886         (erf_test): Likewise.
30887         (erfc_test): Likewise.
30888         (pow10_test): Likewise.
30889         (exp2_test): Likewise.
30890         (hypot_test): Likewise.
30891         (j0_test): Likewise.
30892         (j1_test): Likewise.
30893         (lgamma_test): Likewise.
30894         (gamma_test): Likewise.
30895         (sincos_test): Likewise.
30896         (tanh_test): Likewise.
30897         (y0_test): Likewise.
30898         (y1_test): Likewise.
30899         * sysdeps/i386/fpu/libm-test-ulps: Update.
30900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30902 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30904         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30906         and strcspn-ppc64 objects.
30907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30908         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30909         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30910         multiarch strcspn for POWER7.
30911         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30912         multiarch strcspn for PPC64.
30913         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30914         ifunc selector.
30915         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30916         strcspn for POWER7.
30918 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30920         * math/gen-libm-test.pl (generate_testfile): Expect only function
30921         name as argument to AUTO_TESTS_* and pass results for all rounding
30922         modes to parse_args.
30923         (parse_auto_input): Separate inputs of automatic tests from
30924         outputs before storing in %auto_tests.
30925         * math/libm-test.inc (acos_test_data): Update call to
30926         AUTO_TESTS_f_f.
30927         (acos_test): Use ALL_RM_TEST.
30928         (acos_tonearest_test_data): Remove.
30929         (acos_test_tonearest): Likewise.
30930         (acos_towardzero_test_data): Likewise.
30931         (acos_test_towardzero): Likewise.
30932         (acos_downward_test_data): Likewise.
30933         (acos_test_downward): Likewise.
30934         (acos_upward_test_data): Likewise.
30935         (acos_test_upward): Likewise.
30936         (acosh_test_data): Update call to AUTO_TESTS_f_f.
30937         (asin_test_data): Likewise.
30938         (asin_test): Use ALL_RM_TEST.
30939         (asin_tonearest_test_data): Remove.
30940         (asin_test_tonearest): Likewise.
30941         (asin_towardzero_test_data): Likewise.
30942         (asin_test_towardzero): Likewise.
30943         (asin_downward_test_data): Likewise.
30944         (asin_test_downward): Likewise.
30945         (asin_upward_test_data): Likewise.
30946         (asin_test_upward): Likewise.
30947         (asinh_test_data): Update call to AUTO_TESTS_f_f.
30948         (atan_test_data): Likewise.
30949         (atanh_test_data): Likewise.
30950         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30951         (cabs_test_data): Update call to AUTO_TESTS_c_f.
30952         (carg_test_data): Likewise.
30953         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30954         (ccos_test_data): Update call to AUTO_TESTS_c_c.
30955         (ccosh_test_data): Likewise.
30956         (cexp_test_data): Likewise.
30957         (clog_test_data): Likewise.
30958         (clog10_test_data): Likewise.
30959         (cos_test_data): Update call to AUTO_TESTS_f_f.
30960         (cos_test): Use ALL_RM_TEST.
30961         (cos_tonearest_test_data): Remove.
30962         (cos_test_tonearest): Likewise.
30963         (cos_towardzero_test_data): Likewise.
30964         (cos_test_towardzero): Likewise.
30965         (cos_downward_test_data): Likewise.
30966         (cos_test_downward): Likewise.
30967         (cos_upward_test_data): Likewise.
30968         (cos_test_upward): Likewise.
30969         (cosh_test_data): Update call to AUTO_TESTS_f_f.
30970         (cosh_test): Use ALL_RM_TEST.
30971         (cosh_tonearest_test_data): Remove.
30972         (cosh_test_tonearest): Likewise.
30973         (cosh_towardzero_test_data): Likewise.
30974         (cosh_test_towardzero): Likewise.
30975         (cosh_downward_test_data): Likewise.
30976         (cosh_test_downward): Likewise.
30977         (cosh_upward_test_data): Likewise.
30978         (cosh_test_upward): Likewise.
30979         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30980         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30981         (ctan_test_data): Likewise.
30982         (ctan_test): Use ALL_RM_TEST.
30983         (ctan_tonearest_test_data): Remove.
30984         (ctan_test_tonearest): Likewise.
30985         (ctan_towardzero_test_data): Likewise.
30986         (ctan_test_towardzero): Likewise.
30987         (ctan_downward_test_data): Likewise.
30988         (ctan_test_downward): Likewise.
30989         (ctan_upward_test_data): Likewise.
30990         (ctan_test_upward): Likewise.
30991         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30992         (ctanh_test): Use ALL_RM_TEST.
30993         (ctanh_tonearest_test_data): Remove.
30994         (ctanh_test_tonearest): Likewise.
30995         (ctanh_towardzero_test_data): Likewise.
30996         (ctanh_test_towardzero): Likewise.
30997         (ctanh_downward_test_data): Likewise.
30998         (ctanh_test_downward): Likewise.
30999         (ctanh_upward_test_data): Likewise.
31000         (ctanh_test_upward): Likewise.
31001         (erf_test_data): Update call to AUTO_TESTS_f_f.
31002         (erfc_test_data): Likewise.
31003         (exp_test_data): Likewise.
31004         (exp_test): Use ALL_RM_TEST.
31005         (exp_tonearest_test_data): Remove.
31006         (exp_test_tonearest): Likewise.
31007         (exp_towardzero_test_data): Likewise.
31008         (exp_test_towardzero): Likewise.
31009         (exp_downward_test_data): Likewise.
31010         (exp_test_downward): Likewise.
31011         (exp_upward_test_data): Likewise.
31012         (exp_test_upward): Likewise.
31013         (exp10_test_data): Update call to AUTO_TESTS_f_f.
31014         (exp10_test): Use ALL_RM_TEST.
31015         (exp10_tonearest_test_data): Remove.
31016         (exp10_test_tonearest): Likewise.
31017         (exp10_towardzero_test_data): Likewise.
31018         (exp10_test_towardzero): Likewise.
31019         (exp10_downward_test_data): Likewise.
31020         (exp10_test_downward): Likewise.
31021         (exp10_upward_test_data): Likewise.
31022         (exp10_test_upward): Likewise.
31023         (exp2_test_data): Update call to AUTO_TESTS_f_f.
31024         (expm1_test_data): Likewise.
31025         (expm1_test): Use ALL_RM_TEST.
31026         (expm1_tonearest_test_data): Remove.
31027         (expm1_test_tonearest): Likewise.
31028         (expm1_towardzero_test_data): Likewise.
31029         (expm1_test_towardzero): Likewise.
31030         (expm1_downward_test_data): Likewise.
31031         (expm1_test_downward): Likewise.
31032         (expm1_upward_test_data): Likewise.
31033         (expm1_test_upward): Likewise.
31034         (fma_test_data): Update call to AUTO_TESTS_fff_f.
31035         (fma_test): Use ALL_RM_TEST.
31036         (fma_towardzero_test_data): Remove.
31037         (fma_test_towardzero): Likewise.
31038         (fma_downward_test_data): Likewise.
31039         (fma_test_downward): Likewise.
31040         (fma_upward_test_data): Likewise.
31041         (fma_test_upward): Likewise.
31042         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31043         (j0_test_data): Update call to AUTO_TESTS_f_f.
31044         (j1_test_data): Likewise.
31045         (jn_test_data): Update call to AUTO_TESTS_if_f.
31046         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31047         (log_test_data): Update call to AUTO_TESTS_f_f.
31048         (log10_test_data): Likewise.
31049         (log1p_test_data): Likewise.
31050         (log2_test_data): Likewise.
31051         (pow_test_data): Update call to AUTO_TESTS_ff_f.
31052         (pow_tonearest_test_data): Likewise.
31053         (sin_test_data): Update call to AUTO_TESTS_f_f.
31054         (sin_test): Use ALL_RM_TEST.
31055         (sin_tonearest_test_data): Remove.
31056         (sin_test_tonearest): Likewise.
31057         (sin_towardzero_test_data): Likewise.
31058         (sin_test_towardzero): Likewise.
31059         (sin_downward_test_data): Likewise.
31060         (sin_test_downward): Likewise.
31061         (sin_upward_test_data): Likewise.
31062         (sin_test_upward): Likewise.
31063         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31064         (sinh_test_data): Update call to AUTO_TESTS_f_f.
31065         (sinh_test): Use ALL_RM_TEST.
31066         (sinh_tonearest_test_data): Remove.
31067         (sinh_test_tonearest): Likewise.
31068         (sinh_towardzero_test_data): Likewise.
31069         (sinh_test_towardzero): Likewise.
31070         (sinh_downward_test_data): Likewise.
31071         (sinh_test_downward): Likewise.
31072         (sinh_upward_test_data): Likewise.
31073         (sinh_test_upward): Likewise.
31074         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31075         (sqrt_test): Use ALL_RM_TEST.
31076         (sqrt_tonearest_test_data): Remove.
31077         (sqrt_test_tonearest): Likewise.
31078         (sqrt_towardzero_test_data): Likewise.
31079         (sqrt_test_towardzero): Likewise.
31080         (sqrt_downward_test_data): Likewise.
31081         (sqrt_test_downward): Likewise.
31082         (sqrt_upward_test_data): Likewise.
31083         (sqrt_test_upward): Likewise.
31084         (tan_test_data): Update call to AUTO_TESTS_f_f.
31085         (tan_test): Use ALL_RM_TEST.
31086         (tan_tonearest_test_data): Remove.
31087         (tan_test_tonearest): Likewise.
31088         (tan_towardzero_test_data): Likewise.
31089         (tan_test_towardzero): Likewise.
31090         (tan_downward_test_data): Likewise.
31091         (tan_test_downward): Likewise.
31092         (tan_upward_test_data): Likewise.
31093         (tan_test_upward): Likewise.
31094         (tanh_test_data): Update call to AUTO_TESTS_f_f.
31095         (tgamma_test_data): Likewise.
31096         (y0_test_data): Likewise.
31097         (y1_test_data): Likewise.
31098         (yn_test_data): Update call to AUTO_TESTS_if_f.
31099         (main): Do not call removed functions.
31101 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31103         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31104         (ldexp_test_data): Remove.
31105         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
31106         scalbn_test_data.
31107         (scalb_test): Use ALL_RM_TEST.
31109 2014-03-19  Andreas Schwab  <schwab@suse.de>
31111         * nscd/nscd.service: Also invalidate netgroup cache on reload.
31113 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31115         [BZ #16649]
31116         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31117         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31118         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31119         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31120         (__ASSUME_PREADV): Undefine.
31121         (__ASSUME_PWRITEV): Likewise.
31123 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31125         * bits/mman-linux.h: Add comment about non-Linux use.
31126         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31127         bits/mman-linux.h resting place.
31129         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31130         * bits/mman-linux.h: ... here.
31132 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31134         * conform/conformtest.pl: Add standard definition when calling C
31135         preprocessor on data files.
31136         (checknamespace): Remove unused variable.
31138 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31140         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31141         minus_oflow, plus_uflow and minus_uflow in expected results.
31142         * math/libm-test.inc (scalbn_test_data): Add more tests of
31143         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
31144         minus_uflow.
31145         (scalbn_test): Use ALL_RM_TEST.
31146         (scalbln_test_data): Add more tests of negative arguments.  Use
31147         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31148         (scalbln_test): Use ALL_RM_TEST.
31150 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31152         * scripts/abilist.awk: Ignore symbols marked with .hidden.
31154 2014-03-18  Will Newton  <will.newton@linaro.org>
31156         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31157         inaccurate comment.
31159 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31161         * Makerules [!subdir] (check-abi): Exit with error status if a
31162         test failed.
31164 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31166         * math/libm-test.inc (nearbyint_test_data): Include all tests used
31167         for rint.  Include results for all rounding modes.
31168         (nearbyint_test): Use ALL_RM_TEST.
31169         (rint_test_data): Include all tests used for nearbyint.
31171 2014-03-17  Will Newton  <will.newton@linaro.org>
31173         * nptl/sysdeps/pthread/pthread.h: Revert previous
31174         change.
31176         * sysdeps/generic/ldsodefs.h: Revert previous
31177         change.
31179         * libio/genops.c: Revert previous change.
31180         * libio/libioP.h: Likewise.
31181         * stdio-common/vfprintf.c: Likewise.
31183         * sysdeps/generic/math_private.h: Revert previous
31184         change.
31186         * sysdeps/generic/math_private.h: Check whether
31187         HAVE_RM_CTX is defined with #ifdef rather
31188         than #if.
31190         * argp/argp-fmtstream.h: Check whether
31191         __STRICT_ANSI__ is defined with #ifdef rather
31192         than #if.
31193         * argp/argp.h: Likewise.
31195         * libio/genops.c: Check whether
31196         _IO_JUMPS_OFFSET is defined with #ifdef rather
31197         than #if.
31198         * libio/libioP.h: Likewise.
31199         * stdio-common/vfprintf.c: Likewise.
31201         * sysdeps/generic/ldsodefs.h: Check whether
31202         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31203         than #if.
31205         * nptl/sysdeps/pthread/pthread.h: Check
31206         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31207         its value.
31209 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31211         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31212         setting O_APPEND.
31213         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31214         test case.
31216         [BZ #16680]
31217         * libio/fileops.c (_IO_file_open): Seek to end of file but
31218         don't cache the offset.
31219         (get_file_offset): Remove function.
31220         (do_ftell): Use cached offset when available.
31221         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31222         don't cache the offset.
31223         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31224         case.
31225         (do_one_test): Call it.
31226         (do_ftell_test): Fix up expected old offset for a+ mode.
31227         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31228         available.
31230         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31231         up test status with function return status.
31232         (do_write_test): Likewise.
31233         (do_append_test): Likewise.
31235         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31236         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31237         Remove.
31239 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31241         * math/gen-libm-test.pl (parse_args): Handle results specified for
31242         each rounding mode separately.
31243         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31244         tests and results from lrint_tonearest_test_data,
31245         lrint_towardzero_test_data, lrint_downward_test_data and
31246         lrint_upward_test_data.
31247         (lrint_test): Use ALL_RM_TEST.
31248         (lrint_tonearest_test_data): Remove.
31249         (lrint_test_tonearest): Likewise.
31250         (lrint_towardzero_test_data): Likewise.
31251         (lrint_test_towardzero): Likewise.
31252         (lrint_downward_test_data): Likewise.
31253         (lrint_test_downward): Likewise.
31254         (lrint_upward_test_data): Likewise.
31255         (lrint_test_upward): Likewise.
31256         (llrint_test_data): Merge in per-rounding-mode tests and results
31257         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31258         llrint_downward_test_data and llrint_upward_test_data.
31259         (llrint_test): Use ALL_RM_TEST.
31260         (llrint_tonearest_test_data): Remove.
31261         (llrint_test_tonearest): Likewise.
31262         (llrint_towardzero_test_data): Likewise.
31263         (llrint_test_towardzero): Likewise.
31264         (llrint_downward_test_data): Likewise.
31265         (llrint_test_downward): Likewise.
31266         (llrint_upward_test_data): Likewise.
31267         (llrint_test_upward): Likewise.
31268         (rint_test_data): Merge in per-rounding-mode tests and results
31269         from rint_tonearest_test_data, rint_towardzero_test_data,
31270         rint_downward_test_data and rint_upward_test_data.  Add
31271         per-rounding-mode results for tests not in those arrays.
31272         (rint_test): Use ALL_RM_TEST.
31273         (rint_tonearest_test_data): Remove.
31274         (rint_test_tonearest): Likewise.
31275         (rint_towardzero_test_data): Likewise.
31276         (rint_test_towardzero): Likewise.
31277         (rint_downward_test_data): Likewise.
31278         (rint_test_downward): Likewise.
31279         (rint_upward_test_data): Likewise.
31280         (rint_test_upward): Likewise.
31281         (main): Don't call removed functions.
31283 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31285         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31286         "Compiled on ..." crapola.  It is anti-useful.
31288 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31290         * scripts/evaluate-test.sh: Handle fourth argument to determine
31291         whether test run should stop on failure.
31292         * Makeconfig (stop-on-test-failure): New variable.
31293         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31294         $(stop-on-test-failure).
31295         * Makefile (tests): Give a summary of results from testing and
31296         exit with failure status if they include an ERROR or FAIL.
31297         (xtests): Likewise.
31298         * manual/install.texi (Configuring and compiling): Mention
31299         stop-on-test-failure=y.
31300         * INSTALL: Regenerated.
31302 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31304         * scripts/versionlist.awk: New file.
31305         * Makerules [$(build-shared) = yes]
31306         (postclean-generated): Add Versions.def, not Versions.def.v and
31307         Versions.def.v.i.
31308         ($(common-objpfx)Versions.def.v.i): Target removed.
31309         ($(common-objpfx)Versions.def): New target.
31310         ($(common-objpfx)Versions.all): Depend on that rather that
31311         $(common-objpfx)Versions.def.v.
31312         * Versions.def: File removed.
31314         * Makeconfig (+gccwarn): Add -Wundef.
31315         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31316         a dl-sysdep.h breaking its contract.
31317         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31318         * include/stackinfo.h: New file.
31319         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31320         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31321         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31322         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31323         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31324         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31325         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31326         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31327         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31328         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31329         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31330         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31331         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31332         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31333         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31335 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31337         [BZ #16707]
31338         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31339         implementation.
31340         * math/libm-test.inc (round_test_data): Add more tests.
31342         [BZ #16706]
31343         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31344         implementation.
31345         * math/libm-test.inc (nearbyint_test_data): Add more tests.
31347         [BZ #16701]
31348         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31349         implementation.
31350         * math/libm-test.inc (ceil_test_data): Add more tests.
31352         * math/libm-test.inc (trunc_test_data): Add more tests related to
31353         BZ#16414.
31355 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31357         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31358         with #if rather than #ifdef.
31359         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31361 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
31363         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31364         first.  Disable AVX-512 GCC support if assembler doesn't support
31365         it.
31366         * sysdeps/x86_64/configure: Regenerated.
31368 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
31370         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31371         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31372         (__old_pthread_attr_setstack): Likewise.
31373         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31374         [!_STACK_GROWS_DOWN]: Likewise.
31376 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31378         * config.make.in (have-bash2): Delete.
31379         * configure.ac (libc_cv_have_bash2): Delete.
31380         * configure: Regenerate.
31381         * elf/Makefile (common-ldd-rewrite): Rename to ...
31382         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31383         (sh-ldd-rewrite): Delete.
31384         (bash-ldd-rewrite): Delete.
31385         (have-bash2): Delete checks.
31386         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31387         ldd-rewrite.
31389         * config.make.in (have-ksh): Delete.
31390         (KSH): Delete.
31391         * configure.ac (libc_cv_have_ksh): Delete.
31392         * configure: Regenerate.
31394         * elf/Makefile: Delete $(have-ksh) check.
31395         ($(objpfx)sotruss): Change KSH to BASH.
31396         * elf/sotruss.ksh: Rename to ...
31397         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31398         function style to match POSIX.  Drop ksh vim mode setting.
31400         * manual/time.texi (Specifying the Time Zone with TZ): Change
31401         Tuesday to Thursday.
31403         * debug/tst-longjmp_chk2.c: Update header comment.
31404         (stackoverflow_handler): Add comment.  Call assert on pass value.
31406 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31408         [BZ #16194]
31409         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31410         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31411         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31412         (La_x86_64_vector): Add zmm.
31413         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31414         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31415         ($(objpfx)tst-audit10): New target.
31416         ($(objpfx)tst-audit10.out): Likewise.
31417         (tst-audit10-ENV): New.
31418         (AVX512-CFLAGS): Likewise.
31419         (CFLAGS-tst-audit10.c): Likewise.
31420         (CFLAGS-tst-auditmod10a.c): Likewise.
31421         (CFLAGS-tst-auditmod10b.c): Likewise.
31422         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31423         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31424         * sysdeps/x86_64/configure: Regenerated.
31425         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31426         AVX-512 zmm register support.
31427         (_dl_x86_64_save_sse): Likewise.
31428         (_dl_x86_64_restore_sse): Likewise.
31429         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31430         size vector registers.
31431         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31432         (ZMM_SIZE): Likewise.
31433         * sysdeps/x86_64/tst-audit10.c: New file.
31434         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31435         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31437 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31439         * configure.ac (HAVE_EHDR_START): New check.
31440         * configure: Regenerated.
31441         * config.h.in (HAVE_EHDR_START): New #undef.
31442         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31443         assuming the lowest-addressed segment maps the start of the file.
31445 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31447         * INSTALL: Regenerated.
31449 2014-03-13  Will Newton  <will.newton@linaro.org>
31451         * manual/setjmp.texi (System V contexts): Improve
31452         clarity and grammar of documentation.
31454 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31456         [BZ #16381]
31457         * elf/Makefile (tests): Add tst-pie2.
31458         (tests-pie): Add tst-pie2.
31459         * elf/tst-pie2.c: New file.
31460         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31461         for ET_EXEC.
31462         * elf/rtld.c (map_doit): Load executable as lt_executable.
31463         (dl_main): Likewise.
31465 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31467         [BZ #16642]
31468         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31469         (__ASSUME_PSELECT): Undefine.
31471 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31473         [BZ #16689]
31474         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31475         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31476         static build.
31477         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31478         selector for static builds.
31480 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31482         [BZ #16695]
31483         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31484         key in the buffer.
31486 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31488         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31489         IFUNC selector for static builds.
31491 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31493         * sysdeps/mips/math_private.h [__mips_hard_float]
31494         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31495         libc_feresetround_mips_ctx.
31496         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31497         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31498         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31500         [BZ #16677]
31501         * math/s_nextafter.c (__nextafter): Do not return value from
31502         overflowing computation.
31503         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31504         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31505         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31506         Likewise.
31507         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31508         Likewise.
31509         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31510         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31512 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31514         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31515         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31516         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31517         the new mov targetting sp.
31519 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31521         [BZ #16683]
31522         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31523         Define it for static builds as well.
31524         (NO_BZERO_IMPL): Likewise.
31526 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31528         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31529         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31530         multiarch strspn for PPC64.
31531         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31532         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31534         (__libc_ifunc_impl_list): Likewise.
31535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31536         multiarch optimizations
31537         * string/strspn.c (strspn): Using macro to redefine symbol name.
31539 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31540             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31542         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31543         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31544         multiarch strncat for PPC64.
31545         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31546         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31548         (__libc_ifunc_impl_list): Likewise.
31549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31550         multiarch optimizations
31552 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31554         [BZ #16639]
31555         * nscd/nscd.service: Make service type forking.
31557 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31559         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31560         sign in non default rounding modes.
31561         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31563 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31565         * math/libm-test.inc (ALL_RM_TEST): New macro.
31566         (ceil_test): Use ALL_RM_TEST.
31567         (cimag_test): Likewise.
31568         (conj_test): Likewise.
31569         (copysign_test): Likewise.
31570         (cproj_test): Likewise.
31571         (creal_test): Likewise.
31572         (fabs_test): Likewise.
31573         (floor_test): Likewise.
31574         (fmax_test): Likewise.
31575         (fmin_test): Likewise.
31576         (fmod_test): Likewise.
31577         (fpclassify_test): Likewise.
31578         (frexp_test): Likewise.
31579         (ilogb_test): Likewise.
31580         (isfinite_test): Likewise.
31581         (finite_test): Likewise.
31582         (isgreater_test): Likewise.
31583         (isgreaterequal_test): Likewise.
31584         (isinf_test): Likewise.
31585         (isless_test): Likewise.
31586         (islessequal_test): Likewise.
31587         (islessgreater_test): Likewise.
31588         (isnan_test): Likewise.
31589         (isnormal_test): Likewise.
31590         (issignaling_test): Likewise.
31591         (isunordered_test): Likewise.
31592         (logb_test): Likewise.
31593         (logb_downward_test_data): Remove.
31594         (logb_test_downward): Likewise.
31595         (lround_test): Use ALL_RM_TEST.
31596         (llround_test): Likewise.
31597         (modf_test): Likewise.
31598         (nexttoward_test): Likewise.
31599         (remainder_test): Likewise.
31600         (drem_test): Likewise.
31601         (remainder_tonearest_test_data): Likewise.
31602         (remainder_test_tonearest): Likewise.
31603         (drem_test_tonearest): Likewise.
31604         (remainder_towardzero_test_data): Likewise.
31605         (remainder_test_towardzero): Likewise.
31606         (drem_test_towardzero): Likewise.
31607         (remainder_downward_test_data): Likewise.
31608         (remainder_test_downward): Likewise.
31609         (drem_test_downward): Likewise.
31610         (remainder_upward_test_data): Likewise.
31611         (remainder_test_upward): Likewise.
31612         (drem_test_upward): Likewise.
31613         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31614         (round_test): Use ALL_RM_TEST.
31615         (signbit_test): Likewise.
31616         (trunc_test): Likewise.
31617         (significand_test): Likewise.
31618         (main): Don't call removed functions.
31620 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31622         [BZ #16674]
31623         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31624         || __USE_XOPEN2K8].
31625         (ILL_ILLOPN): Likewise.
31626         (ILL_ILLADR): Likewise.
31627         (ILL_ILLTRP): Likewise.
31628         (ILL_PRVOPC): Likewise.
31629         (ILL_PRVREG): Likewise.
31630         (ILL_COPROC): Likewise.
31631         (ILL_BADSTK): Likewise.
31632         (FPE_INTDIV): Likewise.
31633         (FPE_INTOVF): Likewise.
31634         (FPE_FLTDIV): Likewise.
31635         (FPE_FLTOVF): Likewise.
31636         (FPE_FLTUND): Likewise.
31637         (FPE_FLTRES): Likewise.
31638         (FPE_FLTINV): Likewise.
31639         (FPE_FLTSUB): Likewise.
31640         (SEGV_MAPERR): Likewise.
31641         (SEGV_ACCERR): Likewise.
31642         (BUS_ADRALN): Likewise.
31643         (BUS_ADRERR): Likewise.
31644         (BUS_OBJERR): Likewise.
31645         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31646         (TRAP_TRACE): Likewise.
31647         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31648         __USE_XOPEN2K8].
31649         (CLD_KILLED): Likewise.
31650         (CLD_DUMPED): Likewise.
31651         (CLD_TRAPPED): Likewise.
31652         (CLD_STOPPED): Likewise.
31653         (CLD_CONTINUED): Likewise.
31654         (POLL_IN): Likewise.
31655         (POLL_OUT): Likewise.
31656         (POLL_MSG): Likewise.
31657         (POLL_ERR): Likewise.
31658         (POLL_PRI): Likewise.
31659         (POLL_HUP): Likewise.
31660         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31661         Likewise.
31662         (ILL_ILLOPN): Likewise.
31663         (ILL_ILLADR): Likewise.
31664         (ILL_ILLTRP): Likewise.
31665         (ILL_PRVOPC): Likewise.
31666         (ILL_PRVREG): Likewise.
31667         (ILL_COPROC): Likewise.
31668         (ILL_BADSTK): Likewise.
31669         (FPE_INTDIV): Likewise.
31670         (FPE_INTOVF): Likewise.
31671         (FPE_FLTDIV): Likewise.
31672         (FPE_FLTOVF): Likewise.
31673         (FPE_FLTUND): Likewise.
31674         (FPE_FLTRES): Likewise.
31675         (FPE_FLTINV): Likewise.
31676         (FPE_FLTSUB): Likewise.
31677         (SEGV_MAPERR): Likewise.
31678         (SEGV_ACCERR): Likewise.
31679         (BUS_ADRALN): Likewise.
31680         (BUS_ADRERR): Likewise.
31681         (BUS_OBJERR): Likewise.
31682         (BUS_MCEERR_AR): Likewise.
31683         (BUS_MCEERR_AO): Likewise.
31684         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31685         (TRAP_TRACE): Likewise.
31686         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31687         __USE_XOPEN2K8].
31688         (CLD_KILLED): Likewise.
31689         (CLD_DUMPED): Likewise.
31690         (CLD_TRAPPED): Likewise.
31691         (CLD_STOPPED): Likewise.
31692         (CLD_CONTINUED): Likewise.
31693         (POLL_IN): Likewise.
31694         (POLL_OUT): Likewise.
31695         (POLL_MSG): Likewise.
31696         (POLL_ERR): Likewise.
31697         (POLL_PRI): Likewise.
31698         (POLL_HUP): Likewise.
31699         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31700         (ILL_ILLOPN): Likewise.
31701         (ILL_ILLADR): Likewise.
31702         (ILL_ILLTRP): Likewise.
31703         (ILL_PRVOPC): Likewise.
31704         (ILL_PRVREG): Likewise.
31705         (ILL_COPROC): Likewise.
31706         (ILL_BADSTK): Likewise.
31707         (FPE_INTDIV): Likewise.
31708         (FPE_INTOVF): Likewise.
31709         (FPE_FLTDIV): Likewise.
31710         (FPE_FLTOVF): Likewise.
31711         (FPE_FLTUND): Likewise.
31712         (FPE_FLTRES): Likewise.
31713         (FPE_FLTINV): Likewise.
31714         (FPE_FLTSUB): Likewise.
31715         (SEGV_MAPERR): Likewise.
31716         (SEGV_ACCERR): Likewise.
31717         (BUS_ADRALN): Likewise.
31718         (BUS_ADRERR): Likewise.
31719         (BUS_OBJERR): Likewise.
31720         (BUS_MCEERR_AR): Likewise.
31721         (BUS_MCEERR_AO): Likewise.
31722         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31723         (TRAP_TRACE): Likewise.
31724         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31725         __USE_XOPEN2K8].
31726         (CLD_KILLED): Likewise.
31727         (CLD_DUMPED): Likewise.
31728         (CLD_TRAPPED): Likewise.
31729         (CLD_STOPPED): Likewise.
31730         (CLD_CONTINUED): Likewise.
31731         (POLL_IN): Likewise.
31732         (POLL_OUT): Likewise.
31733         (POLL_MSG): Likewise.
31734         (POLL_ERR): Likewise.
31735         (POLL_PRI): Likewise.
31736         (POLL_HUP): Likewise.
31737         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31738         Likewise.
31739         (ILL_ILLOPN): Likewise.
31740         (ILL_ILLADR): Likewise.
31741         (ILL_ILLTRP): Likewise.
31742         (ILL_PRVOPC): Likewise.
31743         (ILL_PRVREG): Likewise.
31744         (ILL_COPROC): Likewise.
31745         (ILL_BADSTK): Likewise.
31746         (ILL_BADIADDR): Likewise.
31747         (ILL_BREAK): Likewise.
31748         (FPE_INTDIV): Likewise.
31749         (FPE_INTOVF): Likewise.
31750         (FPE_FLTDIV): Likewise.
31751         (FPE_FLTOVF): Likewise.
31752         (FPE_FLTUND): Likewise.
31753         (FPE_FLTRES): Likewise.
31754         (FPE_FLTINV): Likewise.
31755         (FPE_FLTSUB): Likewise.
31756         (FPE_DECOVF): Likewise.
31757         (FPE_DECDIV): Likewise.
31758         (FPE_DECERR): Likewise.
31759         (FPE_INVASC): Likewise.
31760         (FPE_INVDEC): Likewise.
31761         (SEGV_MAPERR): Likewise.
31762         (SEGV_ACCERR): Likewise.
31763         (SEGV_PSTKOVF): Likewise.
31764         (BUS_ADRALN): Likewise.
31765         (BUS_ADRERR): Likewise.
31766         (BUS_OBJERR): Likewise.
31767         (BUS_MCEERR_AR): Likewise.
31768         (BUS_MCEERR_AO): Likewise.
31769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31770         (TRAP_TRACE): Likewise.
31771         (TRAP_BRANCH): Likewise.
31772         (TRAP_HWBKPT): Likewise.
31773         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31774         __USE_XOPEN2K8].
31775         (CLD_KILLED): Likewise.
31776         (CLD_DUMPED): Likewise.
31777         (CLD_TRAPPED): Likewise.
31778         (CLD_STOPPED): Likewise.
31779         (CLD_CONTINUED): Likewise.
31780         (POLL_IN): Likewise.
31781         (POLL_OUT): Likewise.
31782         (POLL_MSG): Likewise.
31783         (POLL_ERR): Likewise.
31784         (POLL_PRI): Likewise.
31785         (POLL_HUP): Likewise.
31786         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31787         (ILL_ILLOPN): Likewise.
31788         (ILL_ILLADR): Likewise.
31789         (ILL_ILLTRP): Likewise.
31790         (ILL_PRVOPC): Likewise.
31791         (ILL_PRVREG): Likewise.
31792         (ILL_COPROC): Likewise.
31793         (ILL_BADSTK): Likewise.
31794         (FPE_INTDIV): Likewise.
31795         (FPE_INTOVF): Likewise.
31796         (FPE_FLTDIV): Likewise.
31797         (FPE_FLTOVF): Likewise.
31798         (FPE_FLTUND): Likewise.
31799         (FPE_FLTRES): Likewise.
31800         (FPE_FLTINV): Likewise.
31801         (FPE_FLTSUB): Likewise.
31802         (SEGV_MAPERR): Likewise.
31803         (SEGV_ACCERR): Likewise.
31804         (BUS_ADRALN): Likewise.
31805         (BUS_ADRERR): Likewise.
31806         (BUS_OBJERR): Likewise.
31807         (BUS_MCEERR_AR): Likewise.
31808         (BUS_MCEERR_AO): Likewise.
31809         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31810         (TRAP_TRACE): Likewise.
31811         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31812         __USE_XOPEN2K8].
31813         (CLD_KILLED): Likewise.
31814         (CLD_DUMPED): Likewise.
31815         (CLD_TRAPPED): Likewise.
31816         (CLD_STOPPED): Likewise.
31817         (CLD_CONTINUED): Likewise.
31818         (POLL_IN): Likewise.
31819         (POLL_OUT): Likewise.
31820         (POLL_MSG): Likewise.
31821         (POLL_ERR): Likewise.
31822         (POLL_PRI): Likewise.
31823         (POLL_HUP): Likewise.
31824         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31825         (ILL_ILLOPN): Likewise.
31826         (ILL_ILLADR): Likewise.
31827         (ILL_ILLTRP): Likewise.
31828         (ILL_PRVOPC): Likewise.
31829         (ILL_PRVREG): Likewise.
31830         (ILL_COPROC): Likewise.
31831         (ILL_BADSTK): Likewise.
31832         (FPE_INTDIV): Likewise.
31833         (FPE_INTOVF): Likewise.
31834         (FPE_FLTDIV): Likewise.
31835         (FPE_FLTOVF): Likewise.
31836         (FPE_FLTUND): Likewise.
31837         (FPE_FLTRES): Likewise.
31838         (FPE_FLTINV): Likewise.
31839         (FPE_FLTSUB): Likewise.
31840         (SEGV_MAPERR): Likewise.
31841         (SEGV_ACCERR): Likewise.
31842         (BUS_ADRALN): Likewise.
31843         (BUS_ADRERR): Likewise.
31844         (BUS_OBJERR): Likewise.
31845         (BUS_MCEERR_AR): Likewise.
31846         (BUS_MCEERR_AO): Likewise.
31847         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31848         (TRAP_TRACE): Likewise.
31849         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31850         __USE_XOPEN2K8].
31851         (CLD_KILLED): Likewise.
31852         (CLD_DUMPED): Likewise.
31853         (CLD_TRAPPED): Likewise.
31854         (CLD_STOPPED): Likewise.
31855         (CLD_CONTINUED): Likewise.
31856         (POLL_IN): Likewise.
31857         (POLL_OUT): Likewise.
31858         (POLL_MSG): Likewise.
31859         (POLL_ERR): Likewise.
31860         (POLL_PRI): Likewise.
31861         (POLL_HUP): Likewise.
31862         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
31863         (ILL_ILLOPN): Likewise.
31864         (ILL_ILLADR): Likewise.
31865         (ILL_ILLTRP): Likewise.
31866         (ILL_PRVOPC): Likewise.
31867         (ILL_PRVREG): Likewise.
31868         (ILL_COPROC): Likewise.
31869         (ILL_BADSTK): Likewise.
31870         (FPE_INTDIV): Likewise.
31871         (FPE_INTOVF): Likewise.
31872         (FPE_FLTDIV): Likewise.
31873         (FPE_FLTOVF): Likewise.
31874         (FPE_FLTUND): Likewise.
31875         (FPE_FLTRES): Likewise.
31876         (FPE_FLTINV): Likewise.
31877         (FPE_FLTSUB): Likewise.
31878         (SEGV_MAPERR): Likewise.
31879         (SEGV_ACCERR): Likewise.
31880         (BUS_ADRALN): Likewise.
31881         (BUS_ADRERR): Likewise.
31882         (BUS_OBJERR): Likewise.
31883         (BUS_MCEERR_AR): Likewise.
31884         (BUS_MCEERR_AO): Likewise.
31885         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31886         (TRAP_TRACE): Likewise.
31887         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31888         __USE_XOPEN2K8].
31889         (CLD_KILLED): Likewise.
31890         (CLD_DUMPED): Likewise.
31891         (CLD_TRAPPED): Likewise.
31892         (CLD_STOPPED): Likewise.
31893         (CLD_CONTINUED): Likewise.
31894         (POLL_IN): Likewise.
31895         (POLL_OUT): Likewise.
31896         (POLL_MSG): Likewise.
31897         (POLL_ERR): Likewise.
31898         (POLL_PRI): Likewise.
31899         (POLL_HUP): Likewise.
31900         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
31901         (ILL_ILLOPN): Likewise.
31902         (ILL_ILLADR): Likewise.
31903         (ILL_ILLTRP): Likewise.
31904         (ILL_PRVOPC): Likewise.
31905         (ILL_PRVREG): Likewise.
31906         (ILL_COPROC): Likewise.
31907         (ILL_BADSTK): Likewise.
31908         (ILL_DBLFLT): Likewise.
31909         (ILL_HARDWALL): Likewise.
31910         (FPE_INTDIV): Likewise.
31911         (FPE_INTOVF): Likewise.
31912         (FPE_FLTDIV): Likewise.
31913         (FPE_FLTOVF): Likewise.
31914         (FPE_FLTUND): Likewise.
31915         (FPE_FLTRES): Likewise.
31916         (FPE_FLTINV): Likewise.
31917         (FPE_FLTSUB): Likewise.
31918         (SEGV_MAPERR): Likewise.
31919         (SEGV_ACCERR): Likewise.
31920         (BUS_ADRALN): Likewise.
31921         (BUS_ADRERR): Likewise.
31922         (BUS_OBJERR): Likewise.
31923         (BUS_MCEERR_AR): Likewise.
31924         (BUS_MCEERR_AO): Likewise.
31925         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31926         (TRAP_TRACE): Likewise.
31927         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31928         __USE_XOPEN2K8].
31929         (CLD_KILLED): Likewise.
31930         (CLD_DUMPED): Likewise.
31931         (CLD_TRAPPED): Likewise.
31932         (CLD_STOPPED): Likewise.
31933         (CLD_CONTINUED): Likewise.
31934         (POLL_IN): Likewise.
31935         (POLL_OUT): Likewise.
31936         (POLL_MSG): Likewise.
31937         (POLL_ERR): Likewise.
31938         (POLL_PRI): Likewise.
31939         (POLL_HUP): Likewise.
31940         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31941         (ILL_ILLOPN): Likewise.
31942         (ILL_ILLADR): Likewise.
31943         (ILL_ILLTRP): Likewise.
31944         (ILL_PRVOPC): Likewise.
31945         (ILL_PRVREG): Likewise.
31946         (ILL_COPROC): Likewise.
31947         (ILL_BADSTK): Likewise.
31948         (FPE_INTDIV): Likewise.
31949         (FPE_INTOVF): Likewise.
31950         (FPE_FLTDIV): Likewise.
31951         (FPE_FLTOVF): Likewise.
31952         (FPE_FLTUND): Likewise.
31953         (FPE_FLTRES): Likewise.
31954         (FPE_FLTINV): Likewise.
31955         (FPE_FLTSUB): Likewise.
31956         (SEGV_MAPERR): Likewise.
31957         (SEGV_ACCERR): Likewise.
31958         (BUS_ADRALN): Likewise.
31959         (BUS_ADRERR): Likewise.
31960         (BUS_OBJERR): Likewise.
31961         (BUS_MCEERR_AR): Likewise.
31962         (BUS_MCEERR_AO): Likewise.
31963         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31964         (TRAP_TRACE): Likewise.
31965         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31966         __USE_XOPEN2K8].
31967         (CLD_KILLED): Likewise.
31968         (CLD_DUMPED): Likewise.
31969         (CLD_TRAPPED): Likewise.
31970         (CLD_STOPPED): Likewise.
31971         (CLD_CONTINUED): Likewise.
31972         (POLL_IN): Likewise.
31973         (POLL_OUT): Likewise.
31974         (POLL_MSG): Likewise.
31975         (POLL_ERR): Likewise.
31976         (POLL_PRI): Likewise.
31977         (POLL_HUP): Likewise.
31978         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31979         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31981         [BZ #16670]
31982         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31983         before #include of <time.h>.
31984         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31985         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31986         (test-xfail-UNIX98/sched.h/conform): Likewise.
31988 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31990         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31991         error absence of trapping exception support.
31992         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31994 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31996         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31997         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31998         * timezone/Makefile (testdata): Move definition above include of
31999         Rules.
32000         (test-zones): New variable.
32001         (tests-special): Add zone files.
32002         (build-testdata): Use $(evaluate-test).
32004         * elf/Makefile (tests-special): Rename tests to end with .out.
32005         ($(objpfx)noload-mem): Likewise.
32006         ($(objpfx)tst-leaks1-mem): Likewise.
32007         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32008         * iconv/Makefile (xtests-special): Change test-iconvconfig to
32009         $(objpfx)test-iconvconfig.out.
32010         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
32011         set -e inside subshell and redirect output to file.
32012         * iconvdata/Makefile (generated): Rename tests to end with .out.
32013         Correct type.
32014         (tests-special): Rename tests to end with .out.
32015         ($(objpfx)mtrace-tst-loading): Likewise.
32016         * intl/Makefile (generated): Likewise.
32017         (tests-special): Likewise.
32018         ($(objpfx)mtrace-tst-gettext): Likewise.
32019         * misc/Makefile (generated): Likewise.
32020         (tests-special): Likewise.
32021         ($(objpfx)tst-error1-mem): Likewise.
32022         * nptl/Makefile (tests-special): Likewise.
32023         ($(objpfx)tst-stack3-mem): Likewise.
32024         (generated): Likewise.
32025         * posix/Makefile (generated): Likewise.
32026         (tests-special): Likewise.
32027         (xtests-special): Likewise.
32028         ($(objpfx)tst-fnmatch-mem): Likewise.
32029         ($(objpfx)bug-regex2-mem): Likewise.
32030         ($(objpfx)bug-regex14-mem): Likewise.
32031         ($(objpfx)bug-regex21-mem): Likewise.
32032         ($(objpfx)bug-regex31-mem): Likewise.
32033         ($(objpfx)tst-vfork3-mem): Likewise.
32034         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32035         ($(objpfx)tst-pcre-mem): Likewise.
32036         ($(objpfx)tst-boost-mem): Likewise.
32037         ($(objpfx)bug-ga2-mem): Likewise.
32038         ($(objpfx)bug-glob2-mem): Likewise.
32039         * resolv/Makefile (generate): Likewise.
32040         (tests-special): Likewise.
32041         (xtests-special): Likewise.
32042         (generated): Likewise.
32043         ($(objpfx)mtrace-tst-leaks): Likewise.
32044         ($(objpfx)mtrace-tst-leaks2): Likewise.
32046         * scripts/merge-test-results.sh: New file.
32047         * Makefile (tests-special-notdir): New variable.
32048         (tests): Run merge-test-results.sh.
32049         (xtests): Likewise.
32050         * Rules (tests-special-notdir): New variable.
32051         (xtests-special-notdir): Likewise.
32052         (tests): Run merge-test-results.sh
32053         (xtests): Likewise.
32055         * Makeconfig (test-xfail-name): New variable.
32056         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32057         compute variable name for expected failures.
32058         * conform/Makefile (conformtest-headers-data): New variable.
32059         (conformtest-standards): Likewise.
32060         (conformtest-headers-ISO): Likewise.
32061         (conformtest-headers-ISO99): Likewise.
32062         (conformtest-headers-ISO11): Likewise.
32063         (conformtest-headers-POSIX): Likewise.
32064         (conformtest-headers-XPG3): Likewise.
32065         (conformtest-headers-XPG4): Likewise.
32066         (conformtest-headers-UNIX98): Likewise.
32067         (conformtest-headers-XOPEN2K): Likewise.
32068         (conformtest-headers-POSIX2008): Likewise.
32069         (conformtest-headers-XOPEN2K8): Likewise.
32070         (conformtest-header-list-base): Likewise.
32071         (conformtest-header-list-tests): Likewise.
32072         (conformtest-header-base): Likewise.
32073         (conformtest-header-tests): Likewise.
32074         (tests-special): Add $(conformtest-header-list-tests).  If
32075         [$(fast-check) && !$(cross-compiling)], add
32076         $(conformtest-header-tests) instead of
32077         $(objpfx)run-conformtest.out.
32078         (generated): Add $(conformtest-header-list-base).  If
32079         [$(fast-check) && !$(cross-compiling)], add
32080         $(conformtest-header-base).  Remove previous setting.
32081         ($(conformtest-header-list-tests)): New target.
32082         (test-xfail-run-conformtest): Remove variable.
32083         ($(objpfx)run-conformtest.out): Remove target.
32084         (test-xfail-ISO11/complex.h/conform): New variable.
32085         (test-xfail-ISO11/stdalign.h/conform): Likewise.
32086         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32087         (test-xfail-XPG3/varargs.h/conform): Likewise.
32088         (test-xfail-XPG4/varargs.h/conform): Likewise.
32089         (test-xfail-UNIX98/varargs.h/conform): Likewise.
32090         (test-xfail-XPG4/ndbm.h/conform): Likewise.
32091         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32092         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32093         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32094         (test-xfail-XPG3/fcntl.h/conform): Likewise.
32095         (test-xfail-XPG3/ftw.h/conform): Likewise.
32096         (test-xfail-XPG3/grp.h/conform): Likewise.
32097         (test-xfail-XPG3/langinfo.h/conform): Likewise.
32098         (test-xfail-XPG3/limits.h/conform): Likewise.
32099         (test-xfail-XPG3/pwd.h/conform): Likewise.
32100         (test-xfail-XPG3/search.h/conform): Likewise.
32101         (test-xfail-XPG3/signal.h/conform): Likewise.
32102         (test-xfail-XPG3/stdio.h/conform): Likewise.
32103         (test-xfail-XPG3/stdlib.h/conform): Likewise.
32104         (test-xfail-XPG3/string.h/conform): Likewise.
32105         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32106         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32107         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32108         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32109         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32110         (test-xfail-XPG3/sys/types.h/conform): Likewise.
32111         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32112         (test-xfail-XPG3/termios.h/conform): Likewise.
32113         (test-xfail-XPG3/time.h/conform): Likewise.
32114         (test-xfail-XPG3/unistd.h/conform): Likewise.
32115         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32116         (test-xfail-XPG4/fcntl.h/conform): Likewise.
32117         (test-xfail-XPG4/langinfo.h/conform): Likewise.
32118         (test-xfail-XPG4/netdb.h/conform): Likewise.
32119         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32120         (test-xfail-XPG4/signal.h/conform): Likewise.
32121         (test-xfail-XPG4/stdio.h/conform): Likewise.
32122         (test-xfail-XPG4/stdlib.h/conform): Likewise.
32123         (test-xfail-XPG4/stropts.h/conform): Likewise.
32124         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32125         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32126         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32127         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32128         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32129         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32130         (test-xfail-XPG4/sys/time.h/conform): Likewise.
32131         (test-xfail-XPG4/sys/types.h/conform): Likewise.
32132         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32133         (test-xfail-XPG4/termios.h/conform): Likewise.
32134         (test-xfail-XPG4/ucontext.h/conform): Likewise.
32135         (test-xfail-XPG4/unistd.h/conform): Likewise.
32136         (test-xfail-XPG4/utmpx.h/conform): Likewise.
32137         (test-xfail-POSIX/sched.h/conform): Likewise.
32138         (test-xfail-POSIX/signal.h/conform): Likewise.
32139         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32140         (test-xfail-POSIX/tar.h/conform): Likewise.
32141         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32142         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32143         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32144         (test-xfail-UNIX98/netdb.h/conform): Likewise.
32145         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32146         (test-xfail-UNIX98/sched.h/conform): Likewise.
32147         (test-xfail-UNIX98/signal.h/conform): Likewise.
32148         (test-xfail-UNIX98/stdio.h/conform): Likewise.
32149         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32150         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32151         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32152         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32153         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32154         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32155         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32156         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32157         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32158         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32159         (test-xfail-UNIX98/unistd.h/conform): Likewise.
32160         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32161         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32162         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32163         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32164         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32165         (test-xfail-XOPEN2K/math.h/conform): Likewise.
32166         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32167         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32168         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32169         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32170         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32171         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32172         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32173         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32174         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32175         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32176         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32177         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32178         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32179         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32180         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32181         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32182         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32183         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32184         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32185         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32186         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32187         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32188         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32189         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32190         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32191         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32192         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32193         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32194         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32195         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32196         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32197         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32198         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32199         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32200         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32201         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32202         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32203         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32204         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32205         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32206         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32207         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32208         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32209         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32210         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32211         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32212         (conformtest-cc-flags): Likewise.
32213         ($(conformtest-header-tests): New target.
32214         * conform/check-header-lists.sh: New file.
32215         * conform/run-conformtest.sh: Remove.
32217         * conform/conformtest.pl: Allow ' and \ in values given for
32218         constants.
32219         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32220         inclusion.
32221         [POSIX] (sys/types.h): Likewise.
32222         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32223         inclusion.
32224         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32225         inclusion.
32226         * conform/data/signal.h-data (SIGIO): Remove expectation.
32227         [XPG3] (SIGBUS): Do not expect.
32228         [POSIX || XPG3] (SIGPOLL): Likewise.
32229         [POSIX || XPG3] (SIGPROF): Likewise.
32230         [POSIX || XPG3] (SIGSYS): Likewise.
32231         [XPG3] (SIGTRAP): Likewise.
32232         [POSIX || XPG3] (SIGURG): Likewise.
32233         [POSIX || XPG3] (SIGVTALRM): Likewise.
32234         [POSIX || XPG3] (SIGXCPU): Likewise.
32235         [POSIX || XPG3] (SIGXFSZ): Likewise.
32236         [POSIX] (SA_SIGINFO): Expect.
32237         [XPG3] (siginfo_t): Do not expect type or contents.
32238         [POSIX] (si_pid): Do not expect element.
32239         [POSIX] (si_uid): Likewise.
32240         [POSIX] (si_addr): Likewise.
32241         [POSIX] (si_status): Likewise.
32242         [POSIX] (si_band): Likewise.
32243         [XPG4] (si_value): Likewise.
32244         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32245         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32246         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32247         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32248         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32249         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32250         [POSIX || XPG3] (ILL_COPROC): Likewise.
32251         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32252         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32253         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32254         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32255         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32256         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32257         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32258         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32259         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32260         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32261         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32262         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32263         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32264         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32265         [POSIX || XPG3] (CLD_EXITED): Likewise.
32266         [POSIX || XPG3] (CLD_KILLED): Likewise.
32267         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32268         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32269         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32270         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32271         [POSIX || XPG3] (POLL_IN): Likewise.
32272         [POSIX || XPG3] (POLL_OUT): Likewise.
32273         [POSIX || XPG3] (POLL_MSG): Likewise.
32274         [POSIX || XPG3] (POLL_ERR): Likewise.
32275         [POSIX || XPG3] (POLL_PRI): Likewise.
32276         [POSIX || XPG3] (POLL_HUP): Likewise.
32277         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32278         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32279         (SIG*): Do not allow.
32280         [XPG3] (si_*): Likewise.
32281         [XPG3] (SI_*): Likewise.
32282         [XPG3 || XPG4] (sigev_*): Likewise.
32283         [XPG3 || XPG4] (SIGEV_*): Likewise.
32284         [XPG3 || XPG4] (sival_*): Likewise.
32285         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32286         [POSIX || XPG3] (BUS_*): Likewise.
32287         [POSIX || XPG3] (CLD_*): Likewise.
32288         [POSIX || XPG3] (FPE_*): Likewise.
32289         [POSIX || XPG3] (ILL_*): Likewise.
32290         [POSIX || XPG3] (POLL_*): Likewise.
32291         [POSIX || XPG3] (SEGV_*): Likewise.
32292         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32293         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32294         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32295         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32296         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32297         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32298         Specify type and value.
32299         (TVERSLEN): Likewise.
32300         (REGTYPE): Likewise.
32301         (AREGTYPE): Likewise.
32302         (LNKTYPE): Likewise.
32303         (SYMTYPE): Likewise.
32304         (CHRTYPE): Likewise.
32305         (BLKTYPE): Likewise.
32306         (DIRTYPE): Likewise.
32307         (FIFOTYPE): Likewise.
32308         (CONTTYPE): Likewise.
32309         (TSUID): Likewise.
32310         (TSGID): Likewise.
32311         (TSVTX): Likewise.
32312         (TUREAD): Likewise.
32313         (TUWRITE): Likewise.
32314         (TUEXEC): Likewise.
32315         (TGREAD): Likewise.
32316         (TGWRITE): Likewise.
32317         (TGEXEC): Likewise.
32318         (TOREAD): Likewise.
32319         (TOWRITE): Likewise.
32320         (TOEXEC): Likewise.
32321         [POSIX] (TSVTX): Expect constant.
32323 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
32325         * Makefile (tests): Change dependencies to ....
32326         (tests-special): ... additions to this variable.
32327         (tests): Depend on $(tests-special).
32328         * Makerules (check-abi-list): New variable.
32329         (check-abi): Depend on $(check-abi-list).
32330         [$(subdir) = elf] (tests-special): Add
32331         $(objpfx)check-abi-libc.out.
32332         [$(build-shared) = yes && subdir] (tests-special): Add
32333         $(check-abi-list).
32334         [$(build-shared) = yes && subdir] (tests): Do not depend on
32335         check-abi.
32336         * Rules (tests): Depend on $(tests-special).
32337         (xtests): Depend on $(xtests-special).
32338         * catgets/Makefile (tests): Change dependencies to ....
32339         (tests-special): ... additions to this variable.
32340         * conform/Makefile (tests): Change dependencies to ....
32341         (tests-special): ... additions to this variable.
32342         * elf/Makefile (tests): Change dependencies to ....
32343         (tests-special): ... additions to this variable.
32344         * grp/Makefile (tests): Change dependencies to ....
32345         (tests-special): ... additions to this variable.
32346         * iconv/Makefile (xtests): Change dependencies to ....
32347         (xtests-special): ... additions to this variable.
32348         * iconvdata/Makefile (tests): Change dependencies to ....
32349         (tests-special): ... additions to this variable.
32350         * intl/Makefile (tests): Change dependencies to ....
32351         (tests-special): ... additions to this variable.  Also add
32352         $(objpfx)tst-gettext.out.
32353         * io/Makefile (tests): Change dependencies to ....
32354         (tests-special): ... additions to this variable.
32355         * libio/Makefile (tests): Change dependencies to ....
32356         (tests-special): ... additions to this variable.
32357         * malloc/Makefile (tests): Change dependencies to ....
32358         (tests-special): ... additions to this variable.
32359         * misc/Makefile (tests): Change dependencies to ....
32360         (tests-special): ... additions to this variable.
32361         * nptl/Makefile (tests): Change dependencies to ....
32362         (tests-special): ... additions to this variable.
32363         * nptl_db/Makefile (tests): Change dependencies to ....
32364         (tests-special): ... additions to this variable.
32365         * posix/Makefile (tests): Change dependencies to ....
32366         (tests-special): ... additions to this variable.
32367         (xtests): Change dependencies to ....
32368         (xtests-special): ... additions to this variable.
32369         * resolv/Makefile (tests): Change dependencies to ....
32370         (tests-special): ... additions to this variable.
32371         (xtests): Change dependencies to ....
32372         (xtests-special): ... additions to this variable.
32373         * stdio-common/Makefile (tests): Change dependencies to ....
32374         (tests-special): ... additions to this variable.
32375         (do-tst-unbputc): Remove target.
32376         (do-tst-printf): Likewise.
32377         * stdlib/Makefile (tests): Change dependencies to ....
32378         (tests-special): ... additions to this variable.
32379         * string/Makefile (tests): Change dependencies to ....
32380         (tests-special): ... additions to this variable.
32381         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32382         (tests-special): ... additions to this variable.
32384         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32385         whole file.
32386         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32387         whole file.
32388         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32389         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32391         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32392         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32393         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32394         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32395         * conform/data/libgen.h-data [XPG3]: Likewise.
32396         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32397         * conform/data/ndbm.h-data [XPG3]: Likewise.
32398         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32399         * conform/data/netdb.h-data [XPG3]: Likewise.
32400         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32401         * conform/data/poll.h-data [XPG3]: Likewise.
32402         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32403         * conform/data/strings.h-data [XPG3]: Likewise.
32404         * conform/data/stropts.h-data [XPG3]: Likewise.
32405         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32406         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32407         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32408         Likewise.
32409         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32410         * conform/data/sys/time.h-data [XPG3]: Likewise.
32411         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32412         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32413         * conform/data/sys/un.h-data [XPG3]: Likewise.
32414         * conform/data/syslog.h-data [XPG3]: Likewise.
32415         * conform/data/ucontext.h-data [XPG3]: Likewise.
32416         * conform/data/utmpx.h-data [XPG3]: Likewise.
32417         * conform/data/varargs.h-data [UNIX98]: Enable file.
32419         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32421         * math/libm-test.inc (struct test_f_f_data): Move expected results
32422         into structure for each rounding mode.
32423         (struct test_ff_f_data): Likewise.
32424         (struct test_ff_f_data_nexttoward): Likewise.
32425         (struct test_fi_f_data): Likewise.
32426         (struct test_fl_f_data): Likewise.
32427         (struct test_if_f_data): Likewise.
32428         (struct test_fff_f_data): Likewise.
32429         (struct test_c_f_data): Likewise.
32430         (struct test_f_f1_data): Likewise.
32431         (struct test_fF_f1_data): Likewise.
32432         (struct test_ffI_f1_data): Likewise.
32433         (struct test_c_c_data): Likewise.
32434         (struct test_cc_c_data): Likewise.
32435         (struct test_f_i_data): Likewise.
32436         (struct test_ff_i_data): Likewise.
32437         (struct test_f_l_data): Likewise.
32438         (struct test_f_L_data): Likewise.
32439         (struct test_fFF_11_data): Likewise.
32440         (RM_): New macro.
32441         (RM_FE_DOWNWARD): Likewise.
32442         (RM_FE_TONEAREST): Likewise.
32443         (RM_FE_TOWARDZERO): Likewise.
32444         (RM_FE_UPWARD): Likewise.
32445         (RUN_TEST_LOOP_f_f): Update references to expected results.
32446         (RUN_TEST_LOOP_2_f): Likewise.
32447         (RUN_TEST_LOOP_fff_f): Likewise.
32448         (RUN_TEST_LOOP_c_f): Likewise.
32449         (RUN_TEST_LOOP_f_f1): Likewise.
32450         (RUN_TEST_LOOP_fF_f1): Likewise.
32451         (RUN_TEST_LOOP_fI_f1): Likewise.
32452         (RUN_TEST_LOOP_ffI_f1): Likewise.
32453         (RUN_TEST_LOOP_c_c): Likewise.
32454         (RUN_TEST_LOOP_cc_c): Likewise.
32455         (RUN_TEST_LOOP_f_i): Likewise.
32456         (RUN_TEST_LOOP_f_i_tg): Likewise.
32457         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32458         (RUN_TEST_LOOP_f_b): Likewise.
32459         (RUN_TEST_LOOP_f_b_tg): Likewise.
32460         (RUN_TEST_LOOP_f_l): Likewise.
32461         (RUN_TEST_LOOP_f_L): Likewise.
32462         (RUN_TEST_LOOP_fFF_11): Likewise.
32463         * math/gen-libm-test.pl (parse_args): Output four copies of
32464         expected results for each test.
32466         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32467         (__ASSUME_UTIMES): Remove.
32468         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32469         (__ASSUME_UTIMES): Likewise.
32471         * math/gen-auto-libm-tests.c: Update comment on output format.
32472         (output_for_one_input_case): Generate before-rounding and
32473         after-rounding information as conditions on output flags not
32474         floating-point format.
32475         * math/auto-libm-test-out: Regenerated.
32476         * math/gen-libm-test.pl (cond_value): New function.
32477         (or_cond_value): Use cond_value.
32478         (generate_testfile): Handle conditional exceptions.
32480 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32482         * math/libm-test.inc (max_valid_error): New variable.
32483         (init_max_error): Take new argument specifying whether function
32484         results are exactly determined.  Set max_valid_error and bound
32485         other variables for errors based on this argument.
32486         (set_max_error): Do not record results above max_valid_error.
32487         (check_float_internal): Only accept errors of up to 0.5ulps if
32488         also at most max_valid_error.
32489         (START): Take new argument EXACT and pass it to init_max_error.
32490         (acos_test): Update call to START.
32491         (acos_test_tonearest): Likewise.
32492         (acos_test_towardzero): Likewise.
32493         (acos_test_downward): Likewise.
32494         (acos_test_upward): Likewise.
32495         (acosh_test): Likewise.
32496         (asin_test): Likewise.
32497         (asin_test_tonearest): Likewise.
32498         (asin_test_towardzero): Likewise.
32499         (asin_test_downward): Likewise.
32500         (asin_test_upward): Likewise.
32501         (asinh_test): Likewise.
32502         (atan_test): Likewise.
32503         (atanh_test): Likewise.
32504         (atan2_test): Likewise.
32505         (cabs_test): Likewise.
32506         (cacos_test): Likewise.
32507         (cacosh_test): Likewise.
32508         (carg_test): Likewise.
32509         (casin_test): Likewise.
32510         (casinh_test): Likewise.
32511         (catan_test): Likewise.
32512         (catanh_test): Likewise.
32513         (cbrt_test): Likewise.
32514         (ccos_test): Likewise.
32515         (ccosh_test): Likewise.
32516         (ceil_test): Likewise.
32517         (cexp_test): Likewise.
32518         (cimag_test): Likewise.
32519         (clog_test): Likewise.
32520         (clog10_test): Likewise.
32521         (conj_test): Likewise.
32522         (copysign_test): Likewise.
32523         (cos_test): Likewise.
32524         (cos_test_tonearest): Likewise.
32525         (cos_test_towardzero): Likewise.
32526         (cos_test_downward): Likewise.
32527         (cos_test_upward): Likewise.
32528         (cosh_test): Likewise.
32529         (cosh_test_tonearest): Likewise.
32530         (cosh_test_towardzero): Likewise.
32531         (cosh_test_downward): Likewise.
32532         (cosh_test_upward): Likewise.
32533         (cpow_test): Likewise.
32534         (cproj_test): Likewise.
32535         (creal_test): Likewise.
32536         (csin_test): Likewise.
32537         (csinh_test): Likewise.
32538         (csqrt_test): Likewise.
32539         (ctan_test): Likewise.
32540         (ctan_test_tonearest): Likewise.
32541         (ctan_test_towardzero): Likewise.
32542         (ctan_test_downward): Likewise.
32543         (ctan_test_upward): Likewise.
32544         (ctanh_test): Likewise.
32545         (ctanh_test_tonearest): Likewise.
32546         (ctanh_test_towardzero): Likewise.
32547         (ctanh_test_downward): Likewise.
32548         (ctanh_test_upward): Likewise.
32549         (erf_test): Likewise.
32550         (erfc_test): Likewise.
32551         (exp_test): Likewise.
32552         (exp_test_tonearest): Likewise.
32553         (exp_test_towardzero): Likewise.
32554         (exp_test_downward): Likewise.
32555         (exp_test_upward): Likewise.
32556         (exp10_test): Likewise.
32557         (exp10_test_tonearest): Likewise.
32558         (exp10_test_towardzero): Likewise.
32559         (exp10_test_downward): Likewise.
32560         (exp10_test_upward): Likewise.
32561         (pow10_test): Likewise.
32562         (exp2_test): Likewise.
32563         (expm1_test): Likewise.
32564         (expm1_test_tonearest): Likewise.
32565         (expm1_test_towardzero): Likewise.
32566         (expm1_test_downward): Likewise.
32567         (expm1_test_upward): Likewise.
32568         (fabs_test): Likewise.
32569         (fdim_test): Likewise.
32570         (floor_test): Likewise.
32571         (fma_test): Likewise.
32572         (fma_test_towardzero): Likewise.
32573         (fma_test_downward): Likewise.
32574         (fma_test_upward): Likewise.
32575         (fmax_test): Likewise.
32576         (fmin_test): Likewise.
32577         (fmod_test): Likewise.
32578         (fpclassify_test): Likewise.
32579         (frexp_test): Likewise.
32580         (hypot_test): Likewise.
32581         (ilogb_test): Likewise.
32582         (isfinite_test): Likewise.
32583         (finite_test): Likewise.
32584         (isgreater_test): Likewise.
32585         (isgreaterequal_test): Likewise.
32586         (isinf_test): Likewise.
32587         (isless_test): Likewise.
32588         (islessequal_test): Likewise.
32589         (islessgreater_test): Likewise.
32590         (isnan_test): Likewise.
32591         (isnormal_test): Likewise.
32592         (issignaling_test): Likewise.
32593         (isunordered_test): Likewise.
32594         (j0_test): Likewise.
32595         (j1_test): Likewise.
32596         (jn_test): Likewise.
32597         (ldexp_test): Likewise.
32598         (lgamma_test): Likewise.
32599         (gamma_test): Likewise.
32600         (lrint_test): Likewise.
32601         (lrint_test_tonearest): Likewise.
32602         (lrint_test_towardzero): Likewise.
32603         (lrint_test_downward): Likewise.
32604         (lrint_test_upward): Likewise.
32605         (llrint_test): Likewise.
32606         (llrint_test_tonearest): Likewise.
32607         (llrint_test_towardzero): Likewise.
32608         (llrint_test_downward): Likewise.
32609         (llrint_test_upward): Likewise.
32610         (log_test): Likewise.
32611         (log10_test): Likewise.
32612         (log1p_test): Likewise.
32613         (log2_test): Likewise.
32614         (logb_test): Likewise.
32615         (logb_test_downward): Likewise.
32616         (lround_test): Likewise.
32617         (llround_test): Likewise.
32618         (modf_test): Likewise.
32619         (nearbyint_test): Likewise.
32620         (nextafter_test): Likewise.
32621         (nexttoward_test): Likewise.
32622         (pow_test): Likewise.
32623         (pow_test_tonearest): Likewise.
32624         (pow_test_towardzero): Likewise.
32625         (pow_test_downward): Likewise.
32626         (pow_test_upward): Likewise.
32627         (remainder_test): Likewise.
32628         (drem_test): Likewise.
32629         (remainder_test_tonearest): Likewise.
32630         (drem_test_tonearest): Likewise.
32631         (remainder_test_towardzero): Likewise.
32632         (drem_test_towardzero): Likewise.
32633         (remainder_test_downward): Likewise.
32634         (drem_test_downward): Likewise.
32635         (remainder_test_upward): Likewise.
32636         (drem_test_upward): Likewise.
32637         (remquo_test): Likewise.
32638         (rint_test): Likewise.
32639         (rint_test_tonearest): Likewise.
32640         (rint_test_towardzero): Likewise.
32641         (rint_test_downward): Likewise.
32642         (rint_test_upward): Likewise.
32643         (round_test): Likewise.
32644         (scalb_test): Likewise.
32645         (scalbn_test): Likewise.
32646         (scalbln_test): Likewise.
32647         (signbit_test): Likewise.
32648         (sin_test): Likewise.
32649         (sin_test_tonearest): Likewise.
32650         (sin_test_towardzero): Likewise.
32651         (sin_test_downward): Likewise.
32652         (sin_test_upward): Likewise.
32653         (sincos_test): Likewise.
32654         (sinh_test): Likewise.
32655         (sinh_test_tonearest): Likewise.
32656         (sinh_test_towardzero): Likewise.
32657         (sinh_test_downward): Likewise.
32658         (sinh_test_upward): Likewise.
32659         (sqrt_test): Likewise.
32660         (sqrt_test_tonearest): Likewise.
32661         (sqrt_test_towardzero): Likewise.
32662         (sqrt_test_downward): Likewise.
32663         (sqrt_test_upward): Likewise.
32664         (tan_test): Likewise.
32665         (tan_test_tonearest): Likewise.
32666         (tan_test_towardzero): Likewise.
32667         (tan_test_downward): Likewise.
32668         (tan_test_upward): Likewise.
32669         (tanh_test): Likewise.
32670         (tgamma_test): Likewise.
32671         (trunc_test): Likewise.
32672         (y0_test): Likewise.
32673         (y1_test): Likewise.
32674         (yn_test): Likewise.
32675         (significand_test): Likewise.
32677         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32678         individual tests in comment.
32679         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32680         (prev_max_error): New variable.
32681         (prev_real_max_error): Likewise.
32682         (prev_imag_max_error): Likewise.
32683         (compare_ulp_data): Don't refer to test names in comment.
32684         (find_test_ulps): Remove function.
32685         (find_function_ulps): Likewise.
32686         (find_complex_function_ulps): Likewise.
32687         (init_max_error): Take function name as argument.  Look up ulps
32688         for that function.
32689         (print_ulps): Remove function.
32690         (print_max_error): Use prev_max_error instead of calling
32691         find_function_ulps.
32692         (print_complex_max_error): Use prev_real_max_error and
32693         prev_imag_max_error instead of calling find_complex_function_ulps.
32694         (check_float_internal): Take max_ulp parameter instead of calling
32695         find_test_ulps.  Don't call print_ulps.
32696         (check_float): Update call to check_float_internal.
32697         (check_complex): Update calls to check_float_internal.
32698         (START): Pass argument to init_max_error.
32699         * math/gen-libm-test.pl (%results): Don't include "kind"
32700         information.
32701         (parse_ulps): Don't handle ulps of individual tests.
32702         (print_ulps_file): Likewise.
32703         (output_ulps): Likewise.
32704         * math/README.libm-test: Update.
32705         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32706         individual tests.
32707         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32708         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32709         * sysdeps/arm/libm-test-ulps: Likewise.
32710         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32711         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32712         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32713         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32714         * sysdeps/microblaze/libm-test-ulps: Likewise.
32715         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32716         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32717         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32718         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32719         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32720         * sysdeps/sh/libm-test-ulps: Likewise.
32721         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32722         * sysdeps/tile/libm-test-ulps: Likewise.
32723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32725 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32727         * math/libm-test.inc (print_complex_max_error): Check separately
32728         whether real and imaginary errors are within allowed range and
32729         pass 0 to print_complex_function_ulps instead of value within
32730         allowed range.
32732 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32734         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32735         formatting.
32736         (get_handles_fopen): Likewise.
32737         (do_write_test): Likewise.
32739         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32741         * libio/fileops.c (do_ftell): Use cached offset when
32742         available.
32743         * libio/iofwide.c (do_ftell_wide): Likewise.
32744         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32745         _IO_file_attach.
32746         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32748         [BZ #16532]
32749         * libio/libioP.h (get_file_offset): New function.
32750         * libio/fileops.c (get_file_offset): Likewise.
32751         (do_ftell): Likewise.
32752         (_IO_new_file_seekoff): Split out ftell logic.
32753         * libio/wfileops.c (do_ftell_wide): Likewise.
32754         (_IO_wfile_seekoff): Split out ftell logic.
32755         * libio/tst-ftell-active-handler.c: New test case.
32756         * libio/Makefile (tests): Add it.
32758 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32760         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32761         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32763 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32765         [BZ #16639]
32766         * nscd/connections.c (nscd_init): Call do_exit.
32767         (start_threads): Call do_exit and notify_parent.
32768         (begin_drop_privileges): Call do_exit.
32769         (finish_drop_privileges): Likewise.
32770         * nscd/selinux.c (preserve_capabilities): Likewise.
32771         (install_real_capabilities): Likewise.
32772         (nscd_selinux_enabled): Likewise.
32773         (avc_create_thread): Likewise.
32774         (avc_alloc_lock): Likewise.
32775         (nscd_avc_init): Likewise.
32776         * nscd/nscd.c (parent_fd): New static variable.
32777         (main): Create a pipe between parent and child processes.
32778         Skip closing parent_fd.
32779         (monitor_child): New function.
32780         (do_exit): Likewise.
32781         (notify_parent): Likewise.
32782         * nscd/nscd.h (notify_parent): Likewise.
32783         (do_exit): Likewise.
32785 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
32787         * malloc/malloc.c (__libc_calloc): Revert last change.
32789 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32793 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32795         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32797         implementation.
32798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32799         (__libc_ifunc_impl_list): Likewise.
32800         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32801         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32802         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32803         * string/strrchr.c: Define STRRCHR.
32805 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32807         * benchtest/bench-strtok.c (simple_strtok): Delete.
32808         (strtok_string): Use as benchmark.
32809         * string/strtok (STRTOK): New macro.
32811 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32813         * manual/threads.texi: Add header and standard comments to all
32814         functions.
32816         * elf/dl-lookup.c (check_match): New function.
32817         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32818         (do_lookup_x): Remove nested function check_match. Use non-nested
32819         function check_match.
32821 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32823         * csu/Makefile (generated, before-compile): Use += rather than =.
32824         * catgets/Makefile (generated, generated-dirs): Likewise.
32825         * debug/Makefile (generated): Likewise.
32826         * dlfcn/Makefile (generated): Likewise.
32827         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32828         * iconvdata/Makefile (before-compile, generated): Likewise.
32829         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32830         * libio/Makefile (generated): Likewise.
32831         * malloc/Makefile (generated): Likewise.
32832         * manual/Makefile (generated, generated-dirs): Likewise.
32833         * misc/Makefile (generated): Likewise.
32834         * posix/Makefile (generated): Likewise.
32835         * resolv/Makefile (generated): Likewise.
32836         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32837         * timezone/Makefile (generated, generated-dirs): Likewise.
32839         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32841 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32843         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32844         power8 implementation.
32845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32846         file: POWER8 llround ifunc implementation.
32847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32848         (__lllround): Add POWER8 implementation.
32849         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32850         POWER8 llround implementation.
32852         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32853         power8 implementation.
32854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32855         file: POWER8 llrint ifunc implementation.
32856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32857         Add POWER8 implementation.
32858         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32859         POWER8 llrint implementation.
32861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32862         power8 implementation.
32863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32864         file: POWER8 finite ifunc implementation.
32865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32866         Add POWER8 implementation.
32867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32868         Likewise.
32869         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32870         POWER8 finite implementation.
32871         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32874         power8 implementation.
32875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32876         file: POWER8 isinf ifunc implementation.
32877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32878         POWER8 implementation.
32879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32880         Likewise.
32881         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32882         isinf implementation.
32883         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32885         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32886         (INIT_ARCH): Add hwcap2 initialization.
32887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32888         power8 implementation.
32889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32890         file: POWER8 isnan ifunc implementation.
32891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32892         POWER8 implementation.
32893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32894         Likewise.
32895         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32896         isnan implementation.
32897         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32899 2014-02-27  Joey Ye  <joey.ye@arm.com>
32901         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32902         (_FP_NANFRAC_Q): Set to zero.
32904 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32906         [BZ #16623]
32907         * math/auto-libm-test-in: New test inputs.
32908         * math/auto-libm-test-out: Regenerate.
32909         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32910         and DA.
32911         (__cos): Likewise.
32912         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32914 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
32916         * scripts/evaluate-test.sh: Take new argument indicating whether
32917         failure is expected.
32918         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32919         indicating whether failure is expected.
32920         * conform/Makefile (test-xfail-run-conformtest): New variable.
32921         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32922         level.
32923         * posix/Makefile (test-xfail-annexc): New variable.
32924         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32926 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
32928         * argp/Makefile: Include Makeconfig immediately after defining
32929         subdir.
32930         * assert/Makefile: Likewise.
32931         * benchtests/Makefile: Likewise.
32932         * catgets/Makefile: Likewise.
32933         * conform/Makefile: Likewise.
32934         * crypt/Makefile: Likewise.
32935         * csu/Makefile: Likewise.
32936         (all): Remove target.
32937         * ctype/Makefile: Include Makeconfig immediately after defining
32938         subdir.
32939         * debug/Makefile: Likewise.
32940         * dirent/Makefile: Likewise.
32941         * dlfcn/Makefile: Likewise.
32942         * gmon/Makefile: Likewise.
32943         * gnulib/Makefile: Likewise.
32944         * grp/Makefile: Likewise.
32945         * gshadow/Makefile: Likewise.
32946         * hesiod/Makefile: Likewise.
32947         * hurd/Makefile: Likewise.
32948         (all): Remove target.
32949         * iconvdata/Makefile: Include Makeconfig immediately after
32950         defining subdir.
32951         * inet/Makefile: Likewise.
32952         * intl/Makefile: Likewise.
32953         * io/Makefile: Likewise.
32954         * libio/Makefile: Likewise.
32955         (all): Remove target.
32956         * locale/Makefile: Include Makeconfig immediately after defining
32957         subdir.
32958         * login/Makefile: Likewise.
32959         * mach/Makefile: Likewise.
32960         (all): Remove target.
32961         * malloc/Makefile: Include Makeconfig immediately after defining
32962         subdir.
32963         (all): Remove target.
32964         * manual/Makefile: Include Makeconfig immediately after defining
32965         subdir.
32966         * math/Makefile: Likewise.
32967         * misc/Makefile: Likewise.
32968         * nis/Makefile: Likewise.
32969         * nss/Makefile: Likewise.
32970         * po/Makefile: Likewise.
32971         (all): Remove target.
32972         * posix/Makefile: Include Makeconfig immediately after defining
32973         subdir.
32974         * pwd/Makefile: Likewise.
32975         * resolv/Makefile: Likewise.
32976         * resource/Makefile: Likewise.
32977         * rt/Makefile: Likewise.
32978         * setjmp/Makefile: Likewise.
32979         * shadow/Makefile: Likewise.
32980         * signal/Makefile: Likewise.
32981         * socket/Makefile: Likewise.
32982         * soft-fp/Makefile: Likewise.
32983         * stdio-common/Makefile: Likewise.
32984         * stdlib/Makefile: Likewise.
32985         * streams/Makefile: Likewise.
32986         * string/Makefile: Likewise.
32987         * sunrpc/Makefile: Likewise.
32988         (all): Remove target.
32989         * sysvipc/Makefile: Include Makeconfig immediately after defining
32990         subdir.
32991         * termios/Makefile: Likewise.
32992         * time/Makefile: Likewise.
32993         * timezone/Makefile: Likewise.
32994         (all): Remove target.
32995         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32996         subdir.
32997         * wctype/Makefile: Likewise.
32999 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33001         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33002         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33003         (libc_feholdexcept_setround_mips): Ditto.
33004         (libc_feholdsetround): New.
33005         (libc_feholdsetroundf): New.
33006         (libc_feholdsetroundl): New.
33007         (libc_feupdateenv_test_mips): New.
33008         (libc_feupdateenv_test): New.
33009         (libc_feupdateenv_testf): New.
33010         (libc_feupdateenv_testl): New.
33011         (libc_feresetround): New.
33012         (libc_feresetroundf): New.
33013         (libc_feresetroundl): New.
33014         (libc_fetestexcept_mips): New.
33015         (libc_fetestexcept): New.
33016         (libc_fetestexceptf): New.
33017         (libc_fetestexceptl): New.
33018         (HAVE_RM_CTX): New.
33019         (libc_feholdexcept_setround_mips_ctx): New.
33020         (libc_feholdexcept_setround_ctx): New.
33021         (libc_feholdexcept_setroundf_ctx): New.
33022         (libc_feholdexcept_setroundl_ctx): New.
33023         (libc_fesetenv_mips_ctx): New.
33024         (libc_fesetenv_ctx): New.
33025         (libc_fesetenv_ctxf): New.
33026         (libc_fesetenv_ctxl): New.
33027         (libc_feupdateenv_mips_ctx): New.
33028         (libc_feupdateenv_ctx): New.
33029         (libc_feupdateenvf_ctx): New.
33030         (libc_feupdateenvl_ctx): New.
33031         (libc_feholdsetround_mips_ctx): New.
33032         (libc_feholdsetround_ctx): New.
33033         (libc_feholdsetroundf_ctx): New.
33034         (libc_feholdsetroundl_ctx): New.
33035         (libc_feresetround_mips_ctx): New.
33036         (libc_feresetround_ctx): New.
33037         (libc_feresetroundf_ctx): New.
33038         (libc_feresetroundl_ctx): New.
33040 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
33042         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33044         * manual/ipc.texi: New file.
33045         * manual/Makefile (chapters): Add ipc.
33046         * manual/job.texi: Add "Inter-Process Communication" to next.
33047         * manual/process.texi: Add "Inter-Process Communication" to prev.
33049 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33053 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
33055         * malloc/malloc.c (__libc_calloc): Simplify implementation.
33057         * manual/arith.texi: Fix spaces after sentences.
33058         * manual/charset.texi: Likewise.
33059         * manual/errno.texi: Likewise.
33060         * manual/install.texi: Likewise.
33061         * manual/llio.texi: Likewise.
33062         * manual/locale.texi: Likewise.
33063         * manual/maint.texi: Likewise.
33064         * manual/math.texi: Likewise.
33065         * manual/memory.texi: Likewise.
33066         * manual/message.texi: Likewise.
33067         * manual/probes.texi: Likewise.
33068         * manual/resource.texi: Likewise.
33069         * manual/signal.texi: Likewise.
33070         * manual/socket.texi: Likewise.
33071         * manual/stdio.texi: Likewise.
33072         * manual/string.texi: Likewise.
33073         * manual/time.texi: Likewise.
33074         * manual/users.texi: Likewise.
33076 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
33078         [BZ #16632]
33079         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33080         _DEFAULT_SOURCE is defined.
33082 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
33083             Carlos O'Donell  <carlos@redhat.com>
33085         [BZ #16613]
33086         * elf/dl-tls.c (_dl_count_modids): New function.
33087         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33088         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33089         audit library and increment generation counter.
33090         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33091         * elf/tst-audit9.c: New file.
33092         * elf/tst-auditmod9a.c: New file.
33093         * elf/tst-auditmod9b.c: New file.
33094         * elf/Makefile: Add rules to build and run tst-audit9.
33096 2014-02-25  Florian Weimer  <fweimer@redhat.com>
33098         [BZ #15347]
33099         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33101 2014-02-25  Will Newton  <will.newton@linaro.org>
33103         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33104         (__longjmp): Restore sp and lr before restoring callee
33105         saved registers.  Add longjmp and longjmp_target
33106         SystemTap probe point.
33107         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33108         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33109         Define to zero to match jmpbuf layout.
33110         * sysdeps/arm/setjmp.S: Include stap-probe.h.
33111         (__sigsetjmp): Save sp and lr before saving callee
33112         saved registers.  Add setjmp SystemTap probe point.
33114 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33116         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33118 2014-02-24  Andreas Schwab  <schwab@suse.de>
33120         [BZ #15804]
33121         * elf/pldd.c (wait_for_ptrace_stop): New function.
33122         (main): Call it after attaching.
33124 2014-02-22  Roland McGrath  <roland@hack.frob.com>
33126         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33127         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33128         Versions files is now verboten.
33129         * hurd/Versions (libc: GLIBC_2.0):
33130         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33131         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33132         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33133         * mach/Versions: Likewise.
33135         * csu/Versions: Remove unused %include.
33136         * resolv/Versions: Likewise.
33138 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
33140         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33141         ($(objpfx)check-local-headers.out): Likewise.
33142         ($(objpfx)begin-end-check.out): Likewise.
33143         * Makerules (check-abi-%.out): Likewise.
33144         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33145         ($(objpfx)test2.cat): Likewise.
33146         ($(objpfx)de/libc.cat): Likewise.
33147         ($(objpfx)test-gencat.out): Likewise.
33148         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33149         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33150         ($(objpfx)noload-mem): Likewise.
33151         ($(objpfx)tst-pathopt.out): Likewise.
33152         ($(objpfx)tst-rtld-load-self.out): Likewise.
33153         ($(objpfx)tst-array1-cmp.out): Likewise.
33154         ($(objpfx)tst-array1-static-cmp.out): Likewise.
33155         ($(objpfx)tst-array2-cmp.out): Likewise.
33156         ($(objpfx)tst-array3-cmp.out): Likewise.
33157         ($(objpfx)tst-array4-cmp.out): Likewise.
33158         ($(objpfx)tst-array5-cmp.out): Likewise.
33159         ($(objpfx)tst-array5-static-cmp.out): Likewise.
33160         ($(objpfx)check-textrel.out): Likewise.
33161         ($(objpfx)check-execstack.out): Likewise.
33162         ($(objpfx)check-localplt.out): Likewise.
33163         ($(objpfx)order2-cmp.out): Likewise.
33164         ($(objpfx)tst-leaks1-mem): Likewise.
33165         ($(objpfx)tst-leaks1-static-mem): Likewise.
33166         ($(objpfx)tst-initorder-cmp.out): Likewise.
33167         ($(objpfx)tst-initorder2-cmp.out): Likewise.
33168         ($(objpfx)tst-unused-dep.out): Likewise.
33169         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33170         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33171         * iconv/Makefile (test-iconvconfig): Likewise.
33172         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33173         ($(objpfx)iconv-test.out): Likewise.
33174         ($(objpfx)tst-tables.out): Likewise.
33175         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33176         ($(objpfx)tst-gettext.out): Likewise.
33177         ($(objpfx)tst-translit.out): Likewise.
33178         ($(objpfx)tst-gettext2.out): Likewise.
33179         ($(objpfx)tst-gettext4.out): Likewise.
33180         ($(objpfx)tst-gettext6.out): Likewise.
33181         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33182         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33183         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33184         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33185         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33186         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33187         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33188         ($(objpfx)wordexp-tst.out): Likewise.
33189         ($(objpfx)annexc.out): Likewise.
33190         ($(objpfx)tst-fnmatch-mem): Likewise.
33191         ($(objpfx)bug-regex2-mem): Likewise.
33192         ($(objpfx)bug-regex14-mem): Likewise.
33193         ($(objpfx)bug-regex21-mem): Likewise.
33194         ($(objpfx)bug-regex31-mem): Likewise.
33195         ($(objpfx)tst-vfork3-mem): Likewise.
33196         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33197         ($(objpfx)tst-pcre-mem): Likewise.
33198         ($(objpfx)tst-boost-mem): Likewise.
33199         ($(objpfx)tst-getconf.out): Likewise.
33200         ($(objpfx)bug-ga2-mem): Likewise.
33201         ($(objpfx)bug-glob2-mem): Likewise.
33202         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33203         ($(objpfx)mtrace-tst-leaks2): Likewise.
33204         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33205         ($(objpfx)tst-printf.out): Likewise.
33206         ($(objpfx)tst-setvbuf1.out): Likewise.
33207         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33208         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33209         ($(objpfx)tst-fmtmsg.out): Likewise.
33210         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33211         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33213         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33214         * bits/sigaction.h [__USE_MISC]: Likewise.
33215         * bits/waitstatus.h: Update #endif comments.
33216         * ctype/ctype.h: Likewise.
33217         * dirent/dirent.h: Likewise.
33218         [__USE_MISC]: Remove redundant conditionals.
33219         * grp/grp.h: Update #endif comments.
33220         [__USE_GNU]: Remove redundant conditionals.
33221         [__USE_MISC]: Likewise.
33222         * inet/netinet/in.h [__USE_GNU]: Likewise.
33223         * io/sys/stat.h [__USE_MISC]: Likewise.
33224         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33225         * libio/bits/stdio.h: Update #endif comments.
33226         [__USE_MISC]: Remove redundant conditionals.
33227         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33228         * libio/stdio.h: Update #endif comments.
33229         [__USE_MISC]: Remove redundant conditionals.
33230         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33231         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33232         * math/math.h: Update #else and #endif comments.
33233         [__USE_MISC]: Remove redundant conditionals.
33234         * misc/sys/uio.h: Update #endif comments.
33235         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33236         * posix/glob.h [__USE_MISC]: Likewise.
33237         * posix/sys/types.h: Update #endif comments.
33238         [__USE_MISC]: Remove redundant conditionals.
33239         * posix/sys/wait.h: Update #endif comments.
33240         [__USE_MISC]: Remove redundant conditionals.
33241         * posix/unistd.h: Update #endif comments.
33242         [__USE_MISC]: Remove redundant conditionals.
33243         * pwd/pwd.h [__USE_GNU]: Likewise.
33244         [__USE_MISC]: Likewise.
33245         * resolv/netdb.h [__USE_GNU]: Likewise.
33246         * signal/signal.h: Update #endif comments.
33247         [__USE_MISC]: Remove redundant conditionals.
33248         * stdlib/stdlib.h: Update #else and #endif comments.
33249         [__USE_MISC]: Remove redundant conditionals.
33250         [__USE_GNU]: Likewise.
33251         * string/bits/string2.h [__USE_MISC]: Likewise.
33252         * string/string.h: Update #endif comments.
33253         [__USE_MISC]: Remove redundant conditionals.
33254         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33255         Likewise.
33256         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33257         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33258         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33259         Likewise.
33260         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33261         Likewise.
33262         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33263         comments.
33264         [__USE_MISC]: Remove redundant conditionals.
33265         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33266         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33267         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33268         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33269         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33270         Likewise.
33271         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33272         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33273         Likewise.
33274         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33275         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33276         Likewise.
33277         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33278         Likewise.
33279         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33280         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33281         Likewise.
33282         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33283         Likewise.
33284         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33285         * sysdeps/x86/bits/string.h: Update #endif comments.
33286         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33287         conditionals.
33288         * time/sys/time.h: Update #endif comments.
33289         * time/time.h: Likewise.
33290         [__USE_MISC]: Remove redundant conditionals.
33292 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33294         [BZ #16600]
33295         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33297 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33299         * Versions.def (librt): Add GLIBC_2.17.
33301 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33303         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33304         synonym for _SYS_AUXV_H to allow direct inclusion.
33305         * sysdeps/sparc/bits/hwcap.h: Likewise.
33306         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33307         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33308         * sysdeps/sparc/sysdep.h: Likewise.
33310 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33312         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33314 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33316         * benchtests/bench-strrchr.c: Print length instead of position.
33318 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
33320         [BZ #16611]
33321         * sysdeps/unix/sysv/linux/kernel-features.h
33322         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33323         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33324         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33325         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33326         Likewise.
33327         [__i386__ || __powerpc__ || __sh__ || __sparc__]
33328         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33329         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33330         (__ASSUME_SENDMMSG): Define instead of using previous
33331         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33332         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33333         (__ASSUME_SENDMMSG_SYSCALL): Define.
33334         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33335         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33336         Likewise.
33337         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33338         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33339         Likewise.
33340         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33341         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33342         Likewise.
33343         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33344         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33345         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33346         [__ASSUME_SENDMMSG]: Change conditionals to
33347         [__ASSUME_SENDMMSG_SOCKETCALL].
33348         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33349         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33350         Define.
33351         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33352         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33353         Likewise.
33354         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33355         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33356         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33357         [!__ASSUME_SENDMMSG]: Change conditional to
33358         [!__ASSUME_SENDMMSG_SOCKETCALL].
33359         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33360         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33361         Define.
33363         [BZ #16610]
33364         * sysdeps/unix/sysv/linux/kernel-features.h
33365         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33366         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33367         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33368         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33369         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33370         [__i386__ || __sparc__]
33371         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33372         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33373         (__ASSUME_RECVMMSG): Define instead of using previous
33374         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33375         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33376         (__ASSUME_RECVMMSG_SYSCALL): Define.
33377         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33378         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33379         Likewise.
33380         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33381         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33382         Likewise.
33383         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33384         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33385         Likewise.
33386         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33387         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33388         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33389         [__ASSUME_RECVMMSG]: Change condition to
33390         [__ASSUME_RECVMMSG_SOCKETCALL].
33391         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33392         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33393         Define.
33394         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33395         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33396         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33397         Likewise.
33398         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33399         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33400         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33401         [!__ASSUME_RECVMMSG]: Change condition to
33402         [!__ASSUME_RECVMMSG_SOCKETCALL].
33403         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33404         (__ASSUME_RECVMMSG_SYSCALL): Define.
33406         [BZ #16609]
33407         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33408         __powerpc__ || __s390__ || __sh__ || __sparc__]
33409         (__ASSUME_SOCKETCALL): Define.
33410         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33411         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33412         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33413         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33414         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33415         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33416         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33417         (__ASSUME_ACCEPT4): Define instead of using previous
33418         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33419         __powerpc__ || __sparc__ || __s390__)] condition.
33420         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33421         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33422         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33423         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33424         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33425         [!__ASSUME_ACCEPT4]: Change condition to
33426         [!__ASSUME_ACCEPT4_SOCKETCALL].
33427         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33428         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33429         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33430         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33431         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33432         __ASSUME_ACCEPT4_SYSCALL.
33433         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33434         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33435         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33436         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33437         __ASSUME_ACCEPT4_SYSCALL.
33438         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33439         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33440         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33441         [__ASSUME_ACCEPT4]: Change condition to
33442         [__ASSUME_ACCEPT4_SOCKETCALL].
33443         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33444         (__ASSUME_SOCKETCALL): Define.
33445         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33446         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33447         (__ASSUME_SOCKETCALL): Define.
33448         (__ASSUME_ACCEPT4): Remove.
33449         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33450         Define.
33451         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33452         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33453         Likewise.
33454         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33455         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33457         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33458         macro.
33459         (HWCAP_ARM_LPAE): Likewise.
33460         (HWCAP_ARM_EVTSTRM): Likewise.
33461         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33462         Add vpfd32, lpae and evtstrm.
33463         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33464         Increase to 22.
33466 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33468         * math/auto-libm-test-in: Add tests of clog10.
33469         * math/auto-libm-test-out: Regenerated.
33470         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33471         * sysdeps/i386/fpu/libm-test-ulps: Update.
33472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33474 2014-02-18  Andreas Schwab  <schwab@suse.de>
33476         [BZ #16574]
33477         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33478         Store non-zero if the second buffer was newly allocated.
33479         (send_dg): Likewise.
33480         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33481         to send_vc and send_dg.
33482         (res_nsend): Pass NULL for ansp2_malloced.
33483         * resolv/res_query.c (__libc_res_nquery): Add parameter
33484         answerp2_malloced and pass it down to __libc_res_nsend.
33485         (res_nquery): Pass additional NULL to __libc_res_nquery.
33486         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33487         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33488         second answer buffer if answerp2_malloced was set.
33489         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33490         (__libc_res_nquerydomain): Add parameter
33491         answerp2_malloced and pass it down to __libc_res_nquery.
33492         (res_nquerydomain): Pass additional NULL to
33493         __libc_res_nquerydomain.
33494         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33495         additional NULL to __libc_res_nsend and __libc_res_nquery.
33496         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33497         additional NULL to __libc_res_nsearch.
33498         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33499         parameter of __libc_res_nsearch to check for separately allocated
33500         second buffer.
33501         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33502         __libc_res_nquery.
33503         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33504         additional NULL to __libc_res_nquery.
33505         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33506         __libc_res_nsearch.
33507         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33508         * include/resolv.h: Update prototypes of __libc_res_nquery,
33509         __libc_res_nsearch, __libc_res_nsend.
33511 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33513         * math/auto-libm-test-in: Add tests of fma.
33514         * math/auto-libm-test-out: Regenerated.
33515         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33516         (fma_towardzero_test_data): Likewise.
33517         (fma_downward_test_data): Likewise.
33518         (fma_upward_test_data): Likewise.
33519         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33520         mpc_mode.
33521         (rounding_modes): Add values for new field.
33522         (func_calc_method): Add value mpfr_fff_f.
33523         (func_calc_desc): Add mpfr_fff_f union field.
33524         (test_function): Add field exact_args.
33525         (FUNC): Add macro argument EXACT_ARGS.
33526         (FUNC_mpfr_f_f): Update call to FUNC.
33527         (FUNC_mpfr_f_f): Likewise.
33528         (FUNC_mpfr_ff_f): Likewise.
33529         (FUNC_mpfr_if_f): Likewise.
33530         (FUNC_mpc_c_f): Likewise.
33531         (FUNC_mpc_c_c): Likewise.
33532         (test_functions): Add fma.  Update calls to FUNC.
33533         (handle_input_arg): Add argument exact_args.
33534         (add_test): Update call to handle_input_arg.
33535         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33536         (output_for_one_input_case): Update call to calc_generic_results.
33537         Recalculate exact zero results in each rounding mode.
33539         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33540         non-negative before setting low bit.
33541         * math/auto-libm-test-in: Mark one asin test possibly having
33542         spurious underflow.
33543         * math/auto-libm-test-out: Regenerated.
33544         * sysdeps/i386/fpu/libm-test-ulps: Update.
33545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33547 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33549         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33550         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33551         ports/sysdeps/unix/sysv/linux/microblaze.
33552         * README: Add missing listing for microblaze*-*-linux-gnu.
33554 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33556         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33557         duplicate code
33559 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33561         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33562         * sysdeps/unix/sysv/linux/ia64: Move directory from
33563         ports/sysdeps/unix/sysv/linux/ia64.
33564         * README: Update listing for ia64-*-linux-gnu.
33566 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33567             Joseph Myers  <joseph@codesourcery.com>
33569         * Makeconfig (test-name): New variable.
33570         (evaluate-test): Likewise.
33571         * Makerules (do-test-clean): Remove .test-result files.
33572         (common-mostlyclean): Likewise.
33573         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33574         * scripts/evaluate-test.sh: New file.
33576 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33578         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33579         separate $(objpfx)tst-fopenloc-cmp.out and
33580         $(objpfx)tst-fopenloc-mem.out targets.
33581         (tests): Update dependencies.
33582         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33583         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33584         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33585         (tst-rxspencer-no-utf8-ARGS): New variable.
33586         (tst-rxspencer-no-utf8-ENV): Likewise.
33587         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33588         instead of $(objpfx)tst-rxspencer-mem.
33589         ($(objpfx)tst-rxspencer-mem): Change target to
33590         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33591         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33592         * posix/tst-rxspencer-no-utf8.c: New file.
33594         * elf/Makefile ($(objpfx)order.out): Remove rule.
33595         [$(run-built-tests) = yes] (tests): Depend on
33596         $(objpfx)order-cmp.out.
33597         ($(objpfx)order-cmp.out): New rule.
33598         [$(run-built-tests) = yes] (tests): Depend on
33599         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33600         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33601         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33602         $(objpfx)tst-array5-static-cmp.out.
33603         ($(objpfx)tst-array1.out): Remove rule.
33604         ($(objpfx)tst-array1-cmp.out): New rule.
33605         ($(objpfx)tst-array1-static.out): Remove rule.
33606         ($(objpfx)tst-array1-static-cmp.out): New rule.
33607         ($(objpfx)tst-array2.out): Remove rule.
33608         ($(objpfx)tst-array2-cmp.out): New rule.
33609         ($(objpfx)tst-array3.out): Remove rule.
33610         ($(objpfx)tst-array3-cmp.out): New rule.
33611         ($(objpfx)tst-array4.out): Remove rule.
33612         ($(objpfx)tst-array4-cmp.out): New rule.
33613         ($(objpfx)tst-array5.out): Remove rule.
33614         ($(objpfx)tst-array5-cmp.out): New rule.
33615         ($(objpfx)tst-array5-static.out): Remove rule.
33616         ($(objpfx)tst-array5-static-cmp.out): New rule.
33617         [$(run-built-tests) = yes] (tests): Depend on
33618         $(objpfx)order2-cmp.out.
33619         ($(objpfx)order2.out): Remove rule.
33620         ($(objpfx)order2-cmp.out): New rule.
33621         ($(objpfx)tst-initorder.out): Remove rule.
33622         [$(run-built-tests) = yes] (tests): Depend on
33623         $(objpfx)tst-initorder-cmp.out.
33624         ($(objpfx)tst-initorder-cmp.out): New rule.
33625         ($(objpfx)tst-initorder2.out): Remove rule.
33626         [$(run-built-tests) = yes] (tests): Depend on
33627         $(objpfx)tst-initorder2-cmp.out.
33628         ($(objpfx)tst-initorder2-cmp.out): New rule.
33629         [$(run-built-tests) = yes] (tests): Depend on
33630         $(objpfx)tst-unused-dep-cmp.out.
33631         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33632         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33633         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33634         on $(objpfx)tst-setvbuf1-cmp.out.
33635         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33636         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33637         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33638         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33639         ($(objpfx)tst-svc.out): Remove rule.
33640         ($(objpfx)tst-svc-cmp.out): New rule.
33642 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33644         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33645         * ctype/ctype.h [__USE_MISC]: Likewise.
33646         * dirent/dirent.h [__USE_MISC]: Likewise.
33647         * grp/grp.h [__USE_MISC]: Likewise.
33648         * io/fcntl.h [__USE_MISC]: Likewise.
33649         * io/sys/stat.h [__USE_MISC]: Likewise.
33650         * libio/stdio.h [__USE_MISC]: Likewise.
33651         * posix/unistd.h [__USE_MISC]: Likewise.
33652         * pwd/pwd.h [__USE_MISC]: Likewise.
33653         * stdlib.h [__USE_MISC]: Likewise.
33654         * string/bits/string2.h [__USE_MISC]: Likewise.
33655         * string/string.h [__USE_MISC]: Likewise.
33656         * time/time.h [__USE_MISC]: Likewise.
33658 2014-02-13  Andreas Schwab  <schwab@suse.de>
33660         [BZ #16574]
33661         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33662         second answer buffer if it was separately allocated.
33664 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33666         * sysdeps/mips/math-tests.h: Include <features.h>.
33667         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33668         (ROUNDING_TESTS_long_double): Do not define.
33669         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33670         (EXCEPTION_TESTS_long_double): Likewise.
33671         * sysdeps/mips/mips64/libm-test-ulps: Update.
33673         * include/features.h (__USE_BSD): Remove macro definitions.
33674         (__USE_SVID): Likewise.
33675         (_BSD_SOURCE): Likewise.
33676         (_SVID_SOURCE): Likewise.
33677         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33678         from definition of _DEFAULT_SOURCE.
33679         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33680         [_DEFAULT_SOURCE].
33681         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33682         * bits/mman.h [__USE_BSD]: Likewise.
33683         * bits/termios.h [__USE_BSD]: Likewise.
33684         * bits/waitstatus.h [__USE_BSD]: Likewise.
33685         * ctype/ctype.h [__USE_SVID]: Likewise.
33686         * dirent/dirent.h [__USE_BSD]: Likewise.
33687         * grp/grp.h [__USE_SVID]: Likewise.
33688         [__USE_BSD]: Likewise.
33689         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33690         * io/fcntl.h [__USE_BSD]: Likewise.
33691         * io/ftw.h [__USE_BSD]: Likewise.
33692         * io/sys/stat.h [__USE_BSD]: Likewise.
33693         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33694         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33695         * libio/stdio.h [__USE_SVID]: Likewise.
33696         [__USE_BSD]: Likewise.
33697         * math/math.h [__USE_SVID]: Likewise.
33698         [__USE_BSD]: Likewise.
33699         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33700         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33701         * misc/search.h [__USE_SVID]: Likewise.
33702         * misc/sys/mman.h [__USE_BSD]: Likewise.
33703         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33704         * misc/sys/uio.h [__USE_BSD]: Likewise.
33705         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33706         * posix/glob.h [__USE_BSD]: Likewise.
33707         * posix/regex.h [__USE_BSD]: Likewise.
33708         * posix/sys/types.h [__USE_BSD]: Likewise.
33709         [__USE_SVID]: Likewise.
33710         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33711         * posix/sys/wait.h [__USE_BSD]: Likewise.
33712         [__USE_SVID]: Likewise.
33713         * posix/unistd.h [__USE_BSD]: Likewise.
33714         [__USE_SVID]: Likewise.
33715         * pwd/pwd.h [__USE_SVID]: Likewise.
33716         * resolv/netdb.h [__USE_BSD]: Likewise.
33717         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33718         * signal/signal.h [__USE_BSD]: Likewise.
33719         [__USE_SVID]: Likewise.
33720         * socket/sys/socket.h [__USE_BSD]: Likewise.
33721         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33722         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33723         [__USE_SVID]: Likewise.
33724         * string/bits/string2.h [__USE_BSD]: Likewise.
33725         [__USE_SVID]: Likewise.
33726         * string/bits/string3.h [__USE_BSD]: Likewise.
33727         * string/endian.h [__USE_BSD]: Likewise.
33728         * string/string.h [__USE_SVID]: Likewise.
33729         [__USE_BSD]: Likewise.
33730         * string/strings.h [__USE_BSD]: Likewise.
33731         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33732         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33733         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33734         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33735         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33736         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33737         Likewise.
33738         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33739         Likewise.
33740         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33741         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33742         Likewise.
33743         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33744         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33745         Likewise.
33746         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33747         Likewise.
33748         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33749         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33750         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33751         Likewise.
33752         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33753         Likewise.
33754         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33755         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33756         * termios/termios.h [__USE_BSD]: Likewise.
33757         * time/sys/time.h [__USE_BSD]: Likewise.
33758         * time/time.h [__USE_BSD]: Likewise.
33759         [__USE_SVID]: Likewise.
33761         * Makefile (subdir_targets): Remove subdir_lint.out.
33763         * stdio-common/Makefile (do-tst-unbputc): Remove target.
33764         (do-tst-printf): Likewise.
33765         (tests): Depend directly on $(objpfx)tst-unbputc.out and
33766         $(objpfx)tst-printf.out.
33768         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33770         * Makerules (check-abi-%): Change target to
33771         $(objpfx)check-abi-%.out.
33772         (check-abi target): Update dependencies.
33773         (check-abi-pattern variable): Redirect output of diff to $@.
33774         (check-abi variable): Likewise.
33775         * elf/Makefile (check-abi): Update dependencies.
33777         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33778         unused.
33779         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33780         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33781         subnormal range.
33782         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33783         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33784         value has largest subnormal exponent.
33785         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33786         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33787         * sysdeps/aarch64/soft-fp/sfp-machine.h
33788         (_FP_TININESS_AFTER_ROUNDING): New macro.
33789         * sysdeps/alpha/soft-fp/sfp-machine.h
33790         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33791         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33792         Likewise.
33793         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33794         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33795         * sysdeps/mips/soft-fp/sfp-machine.h
33796         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33797         * sysdeps/powerpc/soft-fp/sfp-machine.h
33798         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33799         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33800         Likewise.
33801         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33802         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33803         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33804         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33805         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33806         Likewise.
33808 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33810         [BZ #16545]
33811         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33812         model 1.
33814 2014-02-12  Richard Henderson  <rth@redhat.com>
33816         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33817         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33818         * sysdeps/unix/sysv/linux/alpha: Move directory from
33819         ports/sysdeps/unix/sysv/linux/alpha.
33820         * README: Update listing for alpha-*-linux-gnu.
33822 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33824         * include/features.h: Update comment documenting feature test
33825         macros.
33826         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33827         _DEFAULT_SOURCE.
33828         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33829         (_SVID_SOURCE): Likewise.
33830         (_DEFAULT_SOURCE): Update description of default features.
33831         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33832         with _GNU_SOURCE.
33833         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33834         (S_ISVTX): Likewise.
33835         * manual/math.texi (Mathematical Constants): Likewise.
33836         * manual/signal.texi (Interrupted Primitives): Likewise.
33837         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33838         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33839         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33840         Don't refer to _SVID_SOURCE in warning text.
33842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33844         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33845         already defined.
33846         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33847         * sysdeps/mips/dl-lookup.c: Remove.
33848         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33850 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33852         [BZ #16447]
33853         * math/auto-libm-test-in: Add testcase for expl.
33854         * math/auto-libm-test-out: Regenerate.
33855         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33856         calculation of unsafe.
33857         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33859 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33861         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33862         * sysdeps/unix/sysv/linux/aarch64: Move directory from
33863         ports/sysdeps/unix/sysv/linux/aarch64.
33864         * README: Update listing for aarch64*-*-linux-gnu.
33866 2014-02-11  Will Newton  <will.newton@linaro.org>
33868         * manual/probes.texi (Mathematical Function Probes): Use
33869         "triggered" instead of "hit".
33871         * manual/probes.texi (Internal Probes): Add documentation
33872         of setjmp, longjmp and longjmp_target probes.
33874         * include/stap-probe.h: Add comment about probe argument
33875         format.
33877         * malloc/mtrace.c (attribute_hidden): Remove unused macro
33878         definition.  (tr_where, tr_freehook, tr_mallochook,
33879         tr_reallochook, tr_memalignhook): Use ANSI protoype.
33881 2014-02-11  David S. Miller  <davem@davemloft.net>
33883         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33884         processing int_tests.
33886 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
33888         * sysdeps/mips: Move directory from ports/sysdeps/mips.
33889         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33890         * sysdeps/unix/sysv/linux/mips: Move directory from
33891         ports/sysdeps/unix/sysv/linux/mips.
33892         * README: Update listing for mips-*-linux-gnu and
33893         mips64-*-linux-gnu.
33895 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
33897         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33898         * sysdeps/unix/sysv/linux/m68k: Move directory from
33899         ports/sysdeps/unix/sysv/linux/m68k.
33900         * README: Update listing for m68k-*-linux-gnu.
33902 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
33904         * sysdeps/tile: Move directory from ports/sysdeps/tile.
33905         * sysdeps/unix/sysv/linux/generic: Move directory from
33906         ports/sysdeps/unix/sysv/linux/generic.
33907         * sysdeps/unix/sysv/linux/tile: Move directory from
33908         ports/sysdeps/unix/sysv/linux/tile.
33909         * README: Update listing for tile*-*-linux-gnu.
33911 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
33913         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33914         __builtin_expect.
33915         * benchtests/bench-memmem.c (simple_memmem): Likewise.
33916         * catgets/open_catalog.c (__open_catalog): Likewise.
33917         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33918         * debug/confstr_chk.c: Likewise.
33919         * debug/fread_chk.c (__fread_chk): Likewise.
33920         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33921         * debug/getgroups_chk.c: Likewise.
33922         * debug/mbsnrtowcs_chk.c: Likewise.
33923         * debug/mbsrtowcs_chk.c: Likewise.
33924         * debug/mbstowcs_chk.c: Likewise.
33925         * debug/memcpy_chk.c: Likewise.
33926         * debug/memmove_chk.c: Likewise.
33927         * debug/mempcpy_chk.c: Likewise.
33928         * debug/memset_chk.c: Likewise.
33929         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33930         * debug/strcat_chk.c (__strcat_chk): Likewise.
33931         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33932         * debug/strncat_chk.c (__strncat_chk): Likewise.
33933         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33934         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33935         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33936         * debug/wcpncpy_chk.c: Likewise.
33937         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33938         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33939         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33940         * debug/wcsncpy_chk.c: Likewise.
33941         * debug/wcsnrtombs_chk.c: Likewise.
33942         * debug/wcsrtombs_chk.c: Likewise.
33943         * debug/wcstombs_chk.c: Likewise.
33944         * debug/wmemcpy_chk.c: Likewise.
33945         * debug/wmemmove_chk.c: Likewise.
33946         * debug/wmempcpy_chk.c: Likewise.
33947         * debug/wmemset_chk.c: Likewise.
33948         * dirent/scandirat.c (SCANDIRAT): Likewise.
33949         * dlfcn/dladdr1.c (dladdr1): Likewise.
33950         * dlfcn/dladdr.c (dladdr): Likewise.
33951         * dlfcn/dlclose.c (dlclose_doit): Likewise.
33952         * dlfcn/dlerror.c (__dlerror): Likewise.
33953         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33954         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33955         * dlfcn/dlopen.c (dlopen_doit): Likewise.
33956         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33957         * dlfcn/dlsym.c (dlsym_doit): Likewise.
33958         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33959         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33960         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33961         Likewise.
33962         * elf/dl-conflict.c: Likewise.
33963         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33964         * elf/dl-dst.h: Likewise.
33965         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33966         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33967         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33968         * elf/dl-init.c (call_init, _dl_init): Likewise.
33969         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33970         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33971         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33972         Likewise.
33973         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33974         Likewise.
33975         * elf/dl-minimal.c (__libc_memalign): Likewise.
33976         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33977         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33978         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33979         * elf/dl-sym.c (do_sym): Likewise.
33980         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33981         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33982         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33983         * elf/dl-writev.h (_dl_writev): Likewise.
33984         * elf/ldconfig.c (search_dir): Likewise.
33985         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33986         (dl_main): Likewise.
33987         * elf/setup-vdso.h (setup_vdso): Likewise.
33988         * grp/compat-initgroups.c (compat_call): Likewise.
33989         * grp/fgetgrent.c (fgetgrent): Likewise.
33990         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33991         * grp/putgrent.c (putgrent): Likewise.
33992         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33993         Likewise.
33994         * hurd/hurdinit.c: Likewise.
33995         * iconvdata/8bit-gap.c (struct): Likewise.
33996         * iconvdata/ansi_x3.110.c : Likewise.
33997         * iconvdata/big5.c : Likewise.
33998         * iconvdata/big5hkscs.c : Likewise.
33999         * iconvdata/cp1255.c: Likewise.
34000         * iconvdata/cp1258.c : Likewise.
34001         * iconvdata/cp932.c : Likewise.
34002         * iconvdata/euc-cn.c: Likewise.
34003         * iconvdata/euc-jisx0213.c : Likewise.
34004         * iconvdata/euc-jp.c: Likewise.
34005         * iconvdata/euc-jp-ms.c : Likewise.
34006         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34007         * iconvdata/gb18030.c : Likewise.
34008         * iconvdata/gbbig5.c (const): Likewise.
34009         * iconvdata/gbgbk.c: Likewise.
34010         * iconvdata/gbk.c : Likewise.
34011         * iconvdata/ibm1364.c : Likewise.
34012         * iconvdata/ibm930.c : Likewise.
34013         * iconvdata/ibm932.c: Likewise.
34014         * iconvdata/ibm933.c : Likewise.
34015         * iconvdata/ibm935.c : Likewise.
34016         * iconvdata/ibm937.c : Likewise.
34017         * iconvdata/ibm939.c : Likewise.
34018         * iconvdata/ibm943.c: Likewise.
34019         * iconvdata/iso_11548-1.c: Likewise.
34020         * iconvdata/iso-2022-cn.c : Likewise.
34021         * iconvdata/iso-2022-cn-ext.c : Likewise.
34022         * iconvdata/iso-2022-jp-3.c: Likewise.
34023         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34024         * iconvdata/iso-2022-kr.c : Likewise.
34025         * iconvdata/iso646.c (gconv_end): Likewise.
34026         * iconvdata/iso_6937-2.c : Likewise.
34027         * iconvdata/iso_6937.c : Likewise.
34028         * iconvdata/iso8859-1.c: Likewise.
34029         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34030         * iconvdata/shift_jisx0213.c : Likewise.
34031         * iconvdata/sjis.c : Likewise.
34032         * iconvdata/t.61.c : Likewise.
34033         * iconvdata/tcvn5712-1.c : Likewise.
34034         * iconvdata/tscii.c: Likewise.
34035         * iconvdata/uhc.c : Likewise.
34036         * iconvdata/unicode.c (gconv_end): Likewise.
34037         * iconvdata/utf-16.c (gconv_end): Likewise.
34038         * iconvdata/utf-32.c (gconv_end): Likewise.
34039         * iconvdata/utf-7.c (base64): Likewise.
34040         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34041         * iconv/gconv_close.c (__gconv_close): Likewise.
34042         * iconv/gconv_open.c (__gconv_open): Likewise.
34043         * iconv/gconv_simple.c (internal_ucs4_loop_single)
34044         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34045         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34046         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34047         (ucs4le_internal_loop_single): Likewise.
34048         * iconv/iconv.c (iconv): Likewise.
34049         * iconv/iconv_close.c: Likewise.
34050         * iconv/loop.c (SINGLE): Likewise.
34051         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34052         * include/atomic.h: Likewise.
34053         * inet/inet6_option.c (option_alloc): Likewise.
34054         * intl/bindtextdom.c (set_binding_values): Likewise.
34055         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34056         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34057         * intl/localealias.c (read_alias_file): Likewise.
34058         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34059         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34060         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34061         * libio/fmemopen.c (fmemopen): Likewise.
34062         * libio/iofgets.c (_IO_fgets): Likewise.
34063         * libio/iofgets_u.c (fgets_unlocked): Likewise.
34064         * libio/iofgetws.c (fgetws): Likewise.
34065         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34066         * libio/iogetdelim.c (_IO_getdelim): Likewise.
34067         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34068         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34069         * locale/findlocale.c (_nl_find_locale): Likewise.
34070         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34071         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34072         Likewise.
34073         * locale/setlocale.c (setlocale): Likewise.
34074         * login/programs/pt_chown.c (main): Likewise.
34075         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34076         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34077         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34078         (mmap, mmap64, mremap, munmap): Likewise.
34079         * math/e_exp2l.c: Likewise.
34080         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34081         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34082         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34083         * math/s_catan.c (__catan): Likewise.
34084         * math/s_catanf.c (__catanf): Likewise.
34085         * math/s_catanh.c (__catanh): Likewise.
34086         * math/s_catanhf.c (__catanhf): Likewise.
34087         * math/s_catanhl.c (__catanhl): Likewise.
34088         * math/s_catanl.c (__catanl): Likewise.
34089         * math/s_ccosh.c (__ccosh): Likewise.
34090         * math/s_ccoshf.c (__ccoshf): Likewise.
34091         * math/s_ccoshl.c (__ccoshl): Likewise.
34092         * math/s_cexp.c (__cexp): Likewise.
34093         * math/s_cexpf.c (__cexpf): Likewise.
34094         * math/s_cexpl.c (__cexpl): Likewise.
34095         * math/s_clog10.c (__clog10): Likewise.
34096         * math/s_clog10f.c (__clog10f): Likewise.
34097         * math/s_clog10l.c (__clog10l): Likewise.
34098         * math/s_clog.c (__clog): Likewise.
34099         * math/s_clogf.c (__clogf): Likewise.
34100         * math/s_clogl.c (__clogl): Likewise.
34101         * math/s_csin.c (__csin): Likewise.
34102         * math/s_csinf.c (__csinf): Likewise.
34103         * math/s_csinh.c (__csinh): Likewise.
34104         * math/s_csinhf.c (__csinhf): Likewise.
34105         * math/s_csinhl.c (__csinhl): Likewise.
34106         * math/s_csinl.c (__csinl): Likewise.
34107         * math/s_csqrt.c (__csqrt): Likewise.
34108         * math/s_csqrtf.c (__csqrtf): Likewise.
34109         * math/s_csqrtl.c (__csqrtl): Likewise.
34110         * math/s_ctan.c (__ctan): Likewise.
34111         * math/s_ctanf.c (__ctanf): Likewise.
34112         * math/s_ctanh.c (__ctanh): Likewise.
34113         * math/s_ctanhf.c (__ctanhf): Likewise.
34114         * math/s_ctanhl.c (__ctanhl): Likewise.
34115         * math/s_ctanl.c (__ctanl): Likewise.
34116         * math/w_pow.c: Likewise.
34117         * math/w_powf.c: Likewise.
34118         * math/w_powl.c: Likewise.
34119         * math/w_scalb.c (sysv_scalb): Likewise.
34120         * math/w_scalbf.c (sysv_scalbf): Likewise.
34121         * math/w_scalbl.c (sysv_scalbl): Likewise.
34122         * misc/error.c (error_tail): Likewise.
34123         * misc/pselect.c (__pselect): Likewise.
34124         * nis/nis_callback.c (__nis_create_callback): Likewise.
34125         * nis/nis_call.c (__nisfind_server): Likewise.
34126         * nis/nis_creategroup.c (nis_creategroup): Likewise.
34127         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34128         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34129         * nis/nis_getservlist.c (nis_getservlist): Likewise.
34130         * nis/nis_lookup.c (nis_lookup): Likewise.
34131         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34132         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34133         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34134         * nis/nis_xdr.c (xdr_endpoint): Likewise.
34135         * nis/nss_compat/compat-grp.c (getgrent_next_file)
34136         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34137         * nis/nss_compat/compat-initgroups.c (add_group)
34138         (internal_getgrent_r): Likewise.
34139         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34140         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34141         * nis/nss_compat/compat-spwd.c (getspent_next_file)
34142         (internal_getspnam_r): Likewise.
34143         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34144         (_nss_nis_getaliasbyname_r): Likewise.
34145         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34146         (_nss_nis_getntohost_r): Likewise.
34147         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34148         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34149         (_nss_nis_getgrgid_r): Likewise.
34150         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34151         (internal_nis_gethostent_r, internal_gethostbyname2_r)
34152         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34153         (_nss_nis_gethostbyname4_r): Likewise.
34154         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34155         (initgroups_netid): Likewise.
34156         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34157         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34158         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34159         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34160         (_nss_nis_getprotobynumber_r): Likewise.
34161         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34162         (_nss_nis_getsecretkey): Likewise.
34163         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34164         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34165         (_nss_nis_getpwuid_r): Likewise.
34166         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34167         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34168         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34169         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34170         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34171         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34172         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34173         Likewise.
34174         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34175         (_nss_nisplus_getntohost_r): Likewise.
34176         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34177         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34178         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34179         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34180         Likewise.
34181         * nis/nss_nisplus/nisplus-initgroups.c
34182         (_nss_nisplus_initgroups_dyn): Likewise.
34183         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34184         (_nss_nisplus_getnetbyaddr_r): Likewise.
34185         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34186         (_nss_nisplus_getprotobynumber_r): Likewise.
34187         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34188         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34189         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34190         Likewise.
34191         * nis/nss_nisplus/nisplus-service.c
34192         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34193         (_nss_nisplus_getservbyport_r): Likewise.
34194         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34195         (_nss_nisplus_getspnam_r): Likewise.
34196         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34197         Likewise.
34198         * nscd/aicache.c (addhstaiX): Likewise.
34199         * nscd/cache.c (cache_search, prune_cache): Likewise.
34200         * nscd/connections.c (register_traced_file, send_ro_fd)
34201         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34202         (main_loop_epoll): Likewise.
34203         * nscd/grpcache.c (addgrbyX): Likewise.
34204         * nscd/hstcache.c (addhstbyX): Likewise.
34205         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34206         * nscd/mem.c (gc, mempool_alloc): Likewise.
34207         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34208         (addinnetgrX): Likewise.
34209         * nscd/nscd-client.h (__nscd_acquire_maplock)
34210         (__nscd_drop_map_ref): Likewise.
34211         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34212         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34213         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34214         Likewise.
34215         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34216         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34217         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34218         (__nscd_get_map_ref): Likewise.
34219         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34220         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34221         Likewise.
34222         * nscd/pwdcache.c (addpwbyX): Likewise.
34223         * nscd/selinux.c (preserve_capabilities): Likewise.
34224         * nscd/servicescache.c (addservbyX): Likewise.
34225         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34226         * posix/fnmatch.c (fnmatch): Likewise.
34227         * posix/getopt.c (_getopt_internal_r): Likewise.
34228         * posix/glob.c (glob, glob_in_dir): Likewise.
34229         * posix/wordexp.c (exec_comm_child): Likewise.
34230         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34231         (getanswer_r, gaih_getanswer_slice): Likewise.
34232         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34233         * resolv/res_init.c: Likewise.
34234         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34235         * resolv/res_query.c (__libc_res_nquery): Likewise.
34236         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34237         Likewise.
34238         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34239         * stdio-common/perror.c (perror): Likewise.
34240         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34241         * stdio-common/tmpnam.c (tmpnam): Likewise.
34242         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34243         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34244         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34245         Likewise.
34246         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34247         * stdlib/putenv.c (putenv): Likewise.
34248         * stdlib/setenv.c (__add_to_environ): Likewise.
34249         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34250         * stdlib/strtol_l.c (INTERNAL): Likewise.
34251         * string/memmem.c (memmem): Likewise.
34252         * string/strerror.c (strerror): Likewise.
34253         * string/strnlen.c (__strnlen): Likewise.
34254         * string/test-memmem.c (simple_memmem): Likewise.
34255         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34256         * sunrpc/pm_getport.c (__get_socket): Likewise.
34257         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34258         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34259         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34260         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34261         Likewise.
34262         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34263         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34264         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34265         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34266         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34267         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34268         Likewise.
34269         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34270         Likewise.
34271         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34272         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34273         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34274         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34275         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34277         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34278         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34279         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34280         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34281         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34282         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34283         Likewise.
34284         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34285         Likewise.
34286         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34287         Likewise.
34288         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34289         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34290         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34291         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34292         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34293         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34294         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34295         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34296         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34297         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34298         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34299         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34300         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34301         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34302         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34303         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34304         Likewise.
34305         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34306         Likewise.
34307         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34308         Likewise.
34309         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34310         Likewise.
34311         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34312         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34313         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34314         Likewise.
34315         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34316         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34317         * sysdeps/posix/opendir.c (__opendirat): Likewise.
34318         * sysdeps/posix/sleep.c: Likewise.
34319         * sysdeps/posix/tempname.c: Likewise.
34320         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34321         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34322         Likewise.
34323         * sysdeps/powerpc/powerpc32/dl-machine.h
34324         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34325         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34327         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34328         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34329         Likewise.
34330         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34331         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34332         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34333         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34334         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34335         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34336         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34337         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34338         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34339         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34340         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34341         (elf_machine_lazy_rel): Likewise.
34342         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34343         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34344         (elf_machine_lazy_rel): Likewise.
34345         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34346         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34347         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34348         * sysdeps/unix/grantpt.c (grantpt): Likewise.
34349         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34350         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34351         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34352         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34353         Likewise.
34354         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34355         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34356         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34357         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34358         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34359         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34360         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34361         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34362         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34363         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34364         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34365         Likewise.
34366         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34367         (__posix_fallocate64_l64): Likewise.
34368         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34369         (posix_fallocate): Likewise.
34370         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34371         Likewise.
34372         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34373         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34374         (getifaddrs_internal): Likewise.
34375         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34376         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34377         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34378         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34379         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34380         (__posix_fallocate64_l64): Likewise.
34381         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34382         Likewise.
34383         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34384         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34385         (__get_clockfreq): Likewise.
34386         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34387         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34388         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34390         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34391         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34392         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34393         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34394         Likewise.
34395         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34396         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34397         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34398         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34399         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34400         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34401         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34402         Likewise.
34403         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34404         (posix_fallocate): Likewise.
34405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34406         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34407         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34408         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34409         (elf_machine_rela, elf_machine_rela_relative)
34410         (elf_machine_lazy_rel): Likewise.
34411         * time/asctime.c (asctime_internal): Likewise.
34412         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34413         * time/tzset.c (__tzset_parse_tz): Likewise.
34414         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34415         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34416         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34417         * wcsmbs/wcsmbsload.h: Likewise.
34419         [BZ #15894]
34420         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34422         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34423         (arena_get2): Remove THREAD_STATS conditionals.
34424         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34425         (__malloc_stats, int): Likewise.
34427 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34429         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34430         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34432         * manual/setjmp.texi: Fix typos/grammar errors.
34434         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34435         Only return early when n is <= 0.  Delete unused return statement.
34437         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34438         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34439         * debug/tst-longjmp_chk3.c: New file.
34441         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34442         (test_main): Replace code with set_fortify_handler call.
34443         * debug/test-strcpy_chk.c: Likewise.
34444         * debug/tst-chk1.c: Likewise.
34445         * debug/tst-longjmp_chk.c: Likewise.
34446         * test-skeleton.c: Include fcntl.h & paths.h
34447         (set_fortify_handler): Define.
34449         * debug/tst-longjmp_chk.c: Add header comment and include
34450         ../test-skeleton.c.
34451         (do_test): Mark static.
34452         (TEST_FUNCTION): Define.
34454         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34455         (IP_PMTUDISC_INTERFACE): Likewise.
34456         (IP_MULTICAST_IF): Likewise.
34457         (IP_MULTICAST_TTL): Likewise.
34458         (IP_MULTICAST_LOOP): Likewise.
34459         (IP_ADD_MEMBERSHIP): Likewise.
34460         (IP_DROP_MEMBERSHIP): Likewise.
34461         (IP_UNBLOCK_SOURCE): Likewise.
34462         (IP_BLOCK_SOURCE): Likewise.
34463         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34464         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34465         (IP_MSFILTER): Likewise.
34466         (MCAST_JOIN_GROUP): Likewise.
34467         (MCAST_BLOCK_SOURCE): Likewise.
34468         (MCAST_UNBLOCK_SOURCE): Likewise.
34469         (MCAST_LEAVE_GROUP): Likewise.
34470         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34471         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34472         (MCAST_MSFILTER): Likewise.
34473         (IP_MULTICAST_ALL): Likewise.
34474         (IP_UNICAST_IF): Likewise.
34476         * timezone/Makefile: Delete $(have-ksh) check.
34477         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34478         * timezone/tzselect.ksh: Add +x mode bits.
34480         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34481         (ANON_INODE_FS_MAGIC): Likewise.
34482         (BDEVFS_MAGIC): Likewise.
34483         (BINFMTFS_MAGIC): Likewise.
34484         (BTRFS_TEST_MAGIC): Likewise.
34485         (CRAMFS_MAGIC_WEND): Likewise.
34486         (DEBUGFS_MAGIC): Likewise.
34487         (ECRYPTFS_SUPER_MAGIC): Likewise.
34488         (EXT3_SUPER_MAGIC): Likewise.
34489         (EXT4_SUPER_MAGIC): Likewise.
34490         (FUTEXFS_SUPER_MAGIC): Likewise.
34491         (HOSTFS_SUPER_MAGIC): Likewise.
34492         (HUGETLBFS_MAGIC): Likewise.
34493         (MINIX3_SUPER_MAGIC): Likewise.
34494         (MTD_INODE_FS_MAGIC): Likewise.
34495         (NILFS_SUPER_MAGIC): Likewise.
34496         (OPENPROM_SUPER_MAGIC): Likewise.
34497         (PIPEFS_MAGIC): Likewise.
34498         (PSTOREFS_MAGIC): Likewise.
34499         (QNX6_SUPER_MAGIC): Likewise.
34500         (RAMFS_MAGIC): Likewise.
34501         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34502         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34503         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34504         (SECURITYFS_MAGIC): Likewise.
34505         (SELINUX_MAGIC): Likewise.
34506         (SMACK_MAGIC): Likewise.
34507         (SOCKFS_MAGIC): Likewise.
34508         (SQUASHFS_MAGIC): Likewise.
34509         (STACK_END_MAGIC): Likewise.
34510         (TMPFS_MAGIC): Likewise.
34511         (USBDEVICE_SUPER_MAGIC): Likewise.
34512         (V9FS_MAGIC): Likewise.
34513         (XENFS_SUPER_MAGIC): Likewise.
34514         (CRAMFS_MAGIC): Fix typo in comment.
34515         (EXT2_SUPER_MAGIC): Update comment.
34516         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34518 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34520         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34521         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34522         * sysdeps/unix/sysv/linux/arm: Move directory from
34523         ports/sysdeps/unix/sysv/linux/arm.
34524         * README: Update listing for arm-*-linux-gnueabi.
34526         * README: Remove mention of am33.
34528 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34530         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34531         than the comma operator, to avoid "rhs of comma has no effect"
34532         compiler warnings.
34533         (__sigfillset, __sigandset, __sigorset): Likewise.
34534         * include/signal.h (__sigemptyset): Likewise.
34535         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34537 2014-02-07  Allan McRae  <allan@archlinux.org>
34539         * version.h (RELEASE): Set to "development".
34540         (VERSION): Set to "2.19.90"
34541         * NEWS: Add 2.20 section.
34543 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34545         [BZ #16529]
34546         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34548 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34550         * manual/contrib.texi: Update entry for Carlos O'Donell,
34551         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34553 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34555         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34557         * sysdeps/unix/sysv/linux/kernel-features.h
34558         [__LINUX_KERNEL_VERSION >= 0x020621]
34559         (__ASSUME_PROC_PID_TASK_COMM): Define.
34561 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34563         [BZ #16398]
34564         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34565         conversion when destination buffer does not have enough space.
34566         * libio/tst-ftell-partial-wide.c: New test case.
34567         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34569         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34570         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34571         Leonard and Allan McRae.
34573 2014-02-04  David S. Miller  <davem@davemloft.net>
34575         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34576         32-bit.
34578 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34581         New file
34582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34583         New file
34584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34585         New file.
34586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34587         New file.
34588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34589         New file.
34590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34591         New file.
34592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34593         New file.
34594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34595         New file.
34596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34597         New file.
34598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34599         New file.
34600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34601         New file.
34602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34603         New file.
34604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34605         New file.
34607 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34609         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34610         * shlib-versions: Likewise.
34612 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34613             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34615         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34616         (abilist-pattern): New variable, set to %-le.abilist.
34618         * Makerules (abilist-pattern): New variable.
34619         (vpath): Use $(abilist-pattern) in place of %.abilist.
34620         (check-abi-% pattern rule): Likewise.
34621         (check-abi, update-abi): Likewise.
34623 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34627 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34629         * manual/startup.texi: Add next, previous, and top entries for
34630         the `Program Arguments' and `Environment Variables' nodes.
34632 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34634         * manual/macros.texi: Add comments before MTASC-safety macros.
34636         * manual/users.texi: Document MTASC-safety properties.
34638         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34639         (pthread_getspecific, pthread_setspecific): Format with
34640         @deftypefun, and add @safety note.
34641         * manual/signal.texi: Move comments that analyze the above
34642         functions to their home place.
34644 2014-02-03  Allan McRae  <allan@archlinux.org>
34646         * po/sl.po: Update Slovenian translation from translation project.
34648 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34650         * manual/time.texi (timegm): Add missing blank after @c.
34651         Reported by Joseph Myers <joseph@codesourcery.com>.
34653 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34655         * manual/check-safety.sh: New.
34656         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34658         * manual/terminal.texi: Document MTASC-safety properties.
34660         * manual/filesys.texi: Document MTASC-safety properties.
34662         * manual/errno.texi: Document MTASC-safety properties.
34664         * manual/intro.texi: Document safety identifiers and
34665         conditionals.
34667         * manual/string.texi (wcstok): Fix prototype.
34668         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34670         * manual/time.texi: Document MTASC-safety properties.
34672         * manual/string.texi: Document MTASC-safety properties.
34674         * manual/threads.texi: Document MTASC-safety properties.
34676         * manual/stdio.texi: Document MTASC-safety properties.
34678         * manual/syslog.texi: Document MTASC-safety properties.
34680         * manual/sysinfo.texi: Document MTASC-safety properties.
34682         * manual/startup.texi: Document MTASC-safety properties.
34684         * manual/socket.texi: Document MTASC-safety properties.
34686         * manual/signal.texi: Document MTASC-safety properties.
34688 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34690         * manual/setjmp.texi: Document MTASC-safety properties.
34692         * manual/search.texi: Document MTASC-safety properties.
34694         * manual/resource.texi: Document MTASC-safety properties.
34696         * manual/process.texi: Document MTASC-safety properties.
34698         * manual/platform.texi: Document MTASC-safety properties.
34700         * manual/pipe.texi: Document MTASC-safety properties.
34702         * manual/pattern.texi: Document MTASC-safety properties.
34704         * manual/message.texi: Document MTASC-safety properties.
34706         [BZ #12751]
34707         * manual/memory.texi: Document MTASC-safety properties.
34709         * manual/math.texi: Document MTASC-safety properties.
34711         * manual/locale.texi: Document MTASC-safety properties.
34713         * manual/llio.texi: Document MTASC-safety properties.
34715         * manual/libdl.texi: New.
34717         * manual/lang.texi: Document MTASC-safety properties.
34719         * manual/job.texi: Document MTASC-safety properties.
34721         * manual/getopt.texi: Document MTASC-safety properties.
34723         * manual/ctype.texi: Document MTASC-safety properties.
34725 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34727         [BZ #16046]
34728         * csu/libc-tls.c (static_map): Remove variable.
34729         (__libc_setup_tls): Use main executable's link map for TLS data.
34730         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34731         casing for LM_ID_BASE and GL(dl_nns).
34732         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34733         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34734         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34735         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34736         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34737         member.
34738         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34739         l_phnum members.
34741 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34743         * manual/debug.texi: Document MTASC-safety properties.
34745 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34747         [BZ #16510]
34748         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34749         of __x86_64__ when disabling x87 inline functions.
34751 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34753         * manual/charset.texi: Document MTASC-safety properties.
34755         * manual/crypt.texi: Document MTASC-safety properties.
34757         * manual/conf.texi: Document MTASC-safety properties.
34759         * manual/arith.texi: Document MTASC-safety properties.
34761         * manual/argp.texi: Document MTASC-safety properties.
34763         * manual/macros.texi: Introduce macros to document multi
34764         thread, asynchronous signal and asynchronous cancellation
34765         safety properties.
34766         * manual/intro.texi: Introduce the properties themselves.
34768 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34770         * sysdeps/sh/sh4/Makefile: New file.
34772 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
34774         * math/gen-libm-test.pl ($srcdir): New variable.
34775         ($auto_input): Use it.
34777 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34779         [BZ #16506]
34780         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34781         access beyond array bounds when parsing netgroups file.
34783         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34784         the old buffer before realloc.
34786 2014-01-27  Allan McRae  <allan@archlinux.org>
34788         * po/fr.po: Update French translation from translation project.
34790 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34792         * sysdeps/sh/libm-test-ulps: Regenerate.
34794 2014-01-24  David S. Miller  <davem@davemloft.net>
34796         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34798 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34800         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34801         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34803 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34805         [BZ #16474]
34806         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34807         string pointers after reallocation.
34809 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34811         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34812         __SH4A__ instead of __SH_FPU_ANY__.
34814 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34816         * sysdeps/sh/fpu_control.h: New file.
34817         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34818         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34819         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34820         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34821         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34822         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34823         * sysdeps/sh/sys/ucontext.h: Remove.
34824         * sysdeps/sh/sys: Remove directory.
34826 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34828         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34829         s390/sys/ucontext.h.
34830         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34831         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34833 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34835         [BZ #15605]
34836         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34838 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34840         [BZ#16431]
34841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34842         Adjust the vDSO correctly for internal calls.
34843         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34845 2014-01-20  Allan McRae  <allan@archlinux.org>
34847         * po/ca.po: Update Catalan translation from translation project.
34849 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34851         * sysdeps/s390/sotruss-lib.c: New file.
34853 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34855         [BZ#16430]
34856         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34857         (__GI___gettimeofday): Alias for a different internal symbol to avoid
34858         local calls issues by not having a PLT stub required for IFUNC calls.
34859         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34861 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
34863         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34864         * math/test-fpucw-static.c: Likewise.
34866 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34868         [BZ #16453]
34869         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34871 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34873         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34874         implementation for powerpc.
34876 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
34878         [BZ #14782]
34879         * sysdeps/posix/system.c (__libc_system): Do not enable
34880         asynchronous cancellation.
34882 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34884         [BZ #16427]
34885         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34886         handling only for numbers special also in the IEEE case.
34888 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34890         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34892 2014-01-11  Allan McRae  <allan@archlinux.org>
34894         * po/bg.po: Update Bulgarian translation from translation project.
34896         * po/de.po: Update German translation from translation project.
34898 2014-01-10  Roland McGrath  <roland@hack.frob.com>
34900         * sysdeps/generic/gcc-compat.h: New file.
34902 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34904         * benchtests/asin-inputs: Correct slow inputs.
34905         * benchtests/acos-inputs: Likewise.
34907 2014-01-10  Allan McRae  <allan@archlinux.org>
34909         * po:sv.po: Update Swedish translation from translation project.
34911         * po/vi.po: Update Vietnamese translation from translation project.
34913         * po/eo.po: Update Esperanto translation from translation project.
34915         * po/cs.po: Update Czech translation from translation project.
34917         * po/nl.po: Update Dutch translation from translation project.
34919         * po/pl.po: Update Polish translation from translation project.
34921         * po/ru.po: Update Russian translation from translation project.
34923         * po/uk.po: Update Ukrainian translation from translation project.
34925 2014-01-08  Brooks Moses  <bmoses@google.com>
34927         * elf/dl-load.c: Fix comment typo.
34929 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
34931         * po/header.pot: Rename to...
34932         * po/pot.header: ... this.
34933         * po/Makefile: Use pot.header.
34935 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
34936             Maxim Kuvyrkov  <maxim@kugelworks.com>
34938         [BZ #16394]
34939         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34940         SRC and DEST against LEN.
34942 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34944         [BZ #16414]
34945         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34946         implementation.
34947         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34949 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34953 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
34955         [BZ #16408]
34956         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34957         for large positive arguments.
34959 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
34961         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34963         * math/auto-libm-test-in: Mark various tests with
34964         xfail-rounding:ldbl-128ibm.
34965         * math/auto-libm-test-out: Regenerated.
34967         [BZ #16407]
34968         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34969         Increase overflow threshold.
34971 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
34973         [BZ #14286]
34974         * stdio-common/vfprintf.c: Check for integer overflow.
34976 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34978         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34979         the first argument and return value of __tls_get_addr_internal.
34981 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34983         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34984         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34986 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34988         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34989         * sysdeps/s390/rtld-global-offsets.sym: New file.
34990         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34991         GLIBC_2.19 symbol.
34992         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34993         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34994         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34995         ... this.
34996         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34997         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34998         ... this.
34999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35000         Regenerate.
35001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35002         Regenerate.
35003         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35004         halfs of GPRs for high_gprs contexts.
35005         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35006         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35007         field.
35008         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35009         uc_flags field.
35010         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35011         64 bit versions:
35012         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35013         for high GPRs (uc_high_gprs) and for future extensions
35014         (__reserved).
35015         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35016         for future extensions (__reserved).
35017         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35018         64 bit versions:
35019         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35020         SC_HIGHGPRS offset definition.
35021         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35022         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35024         * Versions.def: Add GLIBC_2.19 for libpthread.
35025         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35026         siglongjmp for libpthread with GLIBC_2.19 symver.
35027         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35028         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35029         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35030         * sysdeps/s390/__longjmp.c: New file.
35031         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35032         * sysdeps/s390/longjmp.c: New file.
35033         * sysdeps/s390/setjmp.S: New file.
35034         * sysdeps/s390/sigjmp.S: New file.
35035         * sysdeps/s390/v1-longjmp.c: New file.
35036         * sysdeps/s390/v1-setjmp.h: New file.
35037         * sysdeps/s390/v1-sigjmp.c: New file.
35038         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35039         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35040         GLIBC_2.19 version.
35041         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35042         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35043         versioned symbols for ____longjmp_chk.
35044         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35045         Likewise.
35046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35047         Regenerate.
35048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35049         Regenerate.
35050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35051         Regenerate.
35052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35053         Regenerate.
35054         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35055         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35056         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35057         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35058         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35059         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35060         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35061         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35062         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35063         * sysdeps/s390/rtld-__longjmp.c: New file.
35064         * sysdeps/s390/rtld-setjmp.S: New file.
35066 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
35068         [BZ #16400]
35069         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35070         Return -__logl (x) for small positive arguments without evaluating
35071         a polynomial.
35073 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
35075         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35076         Rename to ...
35077         (__ptrace_peeksiginfo_args): ... this.
35078         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35079         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35080         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35082 2014-01-06  Allan McRae  <allan@archlinux.org>
35084         * inet/netinet/in.h: Fix typo in comment.
35086 2014-01-05  Andreas Jaeger  <aj@suse.de>
35088         * sysdeps/i386/fpu/libm-test-ulps: Update.
35090 2014-01-05  Allan McRae  <allan@archlinux.org>
35092         * po/libc.pot: Regenerated.
35094         * malloc/memusagestat.c: Fix gettext call formatting.
35096 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
35098         * nscd/nscd.c: Improve usage() output.
35100 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
35102         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35103         * sysdeps/unix/sysv/linux/configure: Regenerated.
35104         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35105         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35107 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35109         [BZ #16390]
35110         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35111         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35113 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35115         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35116         extra tokens at end of #undef directive.
35117         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35118         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35119         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35121 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35123         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35125         * math/auto-libm-test-in: Mark various tests with
35126         xfail-rounding:ldbl-128ibm.
35127         * math/auto-libm-test-out: Regenerated.
35129 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
35131         [BZ #16386]
35132         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35133         numbers with subnormal high part when calculating exponent.
35135         [BZ #16385]
35136         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35137         fabs.
35139         [BZ #16384]
35140         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35141         M_LN2l.
35142         (__ieee754_acoshl): Use __log1pl not __log1p.
35144 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
35146         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35147         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35148         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35149         (grow_heap, heap_trim, _int_new_arena, get_free_list)
35150         (reused_arena, arena_get2): Convert to GNU style.
35151         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35152         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35153         (memalign_check, __malloc_set_state): Likewise.
35154         * malloc/mallocbug.c (main): Likewise.
35155         * malloc/malloc.c (__malloc_assert, malloc_init_state)
35156         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35157         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35158         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35159         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35160         (__posix_memalign, malloc_info): Likewise.
35161         * malloc/malloc.h: Likewise.
35162         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35163         (mallochook, memalignhook, reallochook, mabort): Likewise.
35164         * malloc/mcheck.h: Likewise.
35165         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35166         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35167         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35168         * malloc/morecore.c (__default_morecore): Likewise.
35169         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35170         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35171         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35172         (print_and_abort): Likewise.
35173         * malloc/obstack.h: Likewise.
35174         * malloc/set-freeres.c (__libc_freeres): Likewise.
35175         * malloc/tst-mallocstate.c (main): Likewise.
35176         * malloc/tst-mtrace.c (main): Likewise.
35177         * malloc/tst-realloc.c (do_test): Likewise.
35179 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35181         [BZ #16366]
35182         * nscd/netgroupcache.c (do_notfound): New function.
35183         (addgetnetgrentX): Use it.
35185         [BZ # 16365]
35186         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35187         NSS_STATUS_NOTFOUND.
35189 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35191         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35194 2014-01-01  Allan McRae  <allan@archlinux.org>
35196         * scripts/update-copyrights: Update configure input file suffix.
35198         * NEWS: Update copyright year.
35199         * catgets/gencat.c: Likewise.
35200         * csu/version.c: Likewise.
35201         * debug/catchsegv.sh: Likewise.
35202         * debug/pcprofiledump.c: Likewise.
35203         * debug/xtrace.sh: Likewise.
35204         * elf/ldconfig.c: Likewise.
35205         * elf/ldd.bash.in: Likewise.
35206         * elf/pldd.c: Likewise.
35207         * elf/sotruss.ksh: Likewise.
35208         * elf/sprof.c: Likewise.
35209         * iconv/iconv_prog.c: Likewise.
35210         * iconv/iconvconfig.c: Likewise.
35211         * locale/programs/locale.c: Likewise.
35212         * locale/programs/localedef.c: Likewise.
35213         * login/programs/pt_chown.c: Likewise.
35214         * malloc/memusage.sh: Likewise.
35215         * malloc/memusagestat.c: Likewise.
35216         * malloc/mtrace.pl: Likewise.
35217         * manual/libc.texinfo: Likewise.
35218         * nscd/nscd.c: Likewise.
35219         * nss/getent.c: Likewise.
35220         * nss/makedb.c: Likewise.
35221         * posix/getconf.c: Likewise.
35222         * scripts/test-installation.pl: Likewise.
35224         * All files with FSF copyright notices: Update copyright dates
35225         using scripts/update-copyrights.
35226         * intl/plural.c: Regenerated.
35227         * locale/programs/charmap-kw.h: Likewise.
35228         * locale/programs/locfile-kw.h: Likewise.
35230 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35232         * sysdeps/unix/sysv/linux/configure: Regenerated.
35233         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35234         the linux/fanotify.h header.
35235         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35236         HAVE_LINUX_FANOTIFY_H is defined.
35238 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35240         * benchtests/cos-inputs: New inputs.
35241         * benchtests/sin-inputs: Likewise.
35243         * benchtests/atan-inputs: New inputs. Fix name of multiple
35244         precision fallback inputs.
35246         * benchtests/atanh-inputs: New inputs.
35247         * benchtests/tanh-inputs: Likewise.
35249         * benchtests/acosh-inputs: New inputs.
35250         * benchtests/asinh-inputs: Likewise.
35252         * benchtests/cosh-inputs: New inputs.
35253         * benchtests/sinh-inputs: Likewise.
35255         * benchtests/acos-inputs: Add more inputs.
35256         * benchtests/asin-inputs: Likewise.
35258 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35260         [BZ #16375]
35261         * manual/arith.texi: Fix spelling.
35262         * manual/charset.texi: Likewise.
35263         * manual/errno.texi: Likewise.
35264         * manual/filesys.texi: Likewise.
35265         * manual/lang.texi: Likewise.
35266         * manual/llio.texi: Likewise.
35267         * manual/locale.texi: Likewise.
35268         * manual/message.texi: Likewise.
35269         * manual/resource.texi: Likewise.
35270         * manual/search.texi: Likewise.
35271         * manual/setjmp.texi: Likewise.
35272         * manual/stdio.texi: Likewise.
35273         * manual/string.texi: Likewise.
35274         * manual/sysinfo.texi: Likewise.
35275         * manual/time.texi: Likewise.
35277 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35279         * po/sl.po: New file.
35281 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35283         * .gitignore: Add core/.gdbinit/.gdb_history.
35285 2013-12-27  Allan McRae  <allan@archlinux.org>
35287         [BZ #16369]
35288         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35289         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35291 2013-12-24  Brooks Moses  <bmoses@google.com>
35293         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35294         all compilers that claim C++98 compliance, not just GCC.
35295         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35296         Likewise.
35298 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35300         * NEWS: Restore accidentally deleted bug-fix entries.
35302 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35303             Ondřej Bílka  <neleai@seznam.cz>
35305         [BZ #15073]
35306         * malloc/malloc.c (_int_free): Perform sanity check only if we
35307         have_lock.
35309 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35311         [BZ #12986]
35312         * manual/stdio.texi (String Input Conversions): Clarify that character
35313         classes are not supported.
35315 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35319 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
35321         [BZ #16337]
35322         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35323         Calculate results for small negative arguments directly rather
35324         than using reflection formula with special underflow handling.
35326         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35327         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35328         sysdeps/unix/bsd/bsd4.4/syscalls.list.
35329         (fchflags): Likewise.
35330         (revoke): Likewise.
35331         (setlogin): Likewise.
35332         (sigaltstack): Likewise.
35333         (wait4): Likewise.
35334         (sigblock): Remove.
35335         (sigsetmask): Likewise.
35336         (wait3): Likewise.
35337         (waitpid): Likewise.
35338         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35339         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35340         file.
35341         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35342         * sysdeps/unix/bsd/Makefile: ... here.
35343         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35344         * sysdeps/unix/bsd/Versions: ... here.
35345         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35346         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35347         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35348         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35349         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35350         * sysdeps/unix/bsd/sigblock.c: ... here.
35351         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35352         * sysdeps/unix/bsd/sigsetmask.c: ... here.
35353         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35354         * sysdeps/unix/bsd/sigvec.c: ... here.
35355         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35356         * sysdeps/unix/bsd/tcdrain.c: ... here.
35357         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35358         * sysdeps/unix/bsd/tcgetattr.c: ... here.
35359         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35360         * sysdeps/unix/bsd/tcsetattr.c: ... here.
35361         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35362         * sysdeps/unix/bsd/wait.c: ... here.
35363         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35364         * sysdeps/unix/bsd/wait3.c: ... here.
35365         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35366         * sysdeps/unix/bsd/waitpid.c: ... here.
35368 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
35370         [BZ #16356]
35371         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35372         round-to-nearest for [!USE_AS_EXPM1L].
35373         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35374         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
35375         more tests of exp and exp10.  Expect some exp10 tests to miss
35376         exceptions or fail in directed rounding modes.
35377         * math/auto-libm-test-out: Regenerated.
35378         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35379         (exp10_test_tonearest): New function.
35380         (exp10_towardzero_test_data): New array.
35381         (exp10_test_towardzero): New function.
35382         (exp10_downward_test_data): New array.
35383         (exp10_test_downward): New function.
35384         (exp10_upward_test_data): New array.
35385         (exp10_test_upward): New function.
35386         (main): Call the new functions.
35387         * sysdeps/i386/fpu/libm-test-ulps: Update.
35388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35390 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35392         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35393         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35394         * math/auto-libm-test-out: Regenerated.
35395         * math/libm-test.inc (acosh_test_data): Add more tests.
35396         (atanh_test_data): Likewise.
35397         (ceil_test_data): Likewise.
35398         (copysign_test_data): Likewise.
35399         * sysdeps/i386/fpu/libm-test-ulps: Update.
35400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35402         * timezone/checktab.awk: Update from tzcode 2013i.
35403         * timezone/private.h: Likewise.
35404         * timezone/scheck.c: Likewise.
35405         * timezone/tzfile.h: Likewise.
35406         * timezone/tzselect.ksh: Likewise.
35407         * timezone/zdump.c: Likewise.
35408         * timezone/zic.c: Likewise.
35410         * math/auto-libm-test-in: Add tests of cpow.
35411         * math/auto-libm-test-out: Regenerated.
35412         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35413         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35414         mpc_cc_c.
35415         (func_calc_desc): Add mpc_cc_c union field.
35416         (test_functions): Add cpow.
35417         (special_fill_2pi): New function.
35418         (special_real_inputs): Add 2pi.
35419         (calc_generic_results): Handle mpc_cc_c.
35420         * sysdeps/i386/fpu/libm-test-ulps: Update.
35421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35423         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35424         csqrt, ctan and ctanh.
35425         * math/auto-libm-test-out: Regenerated.
35426         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35427         (TEST_COND_x86): Likewise.
35428         (ccos_test_data): Use AUTO_TESTS_c_c.
35429         (ccosh_test_data): Likewise.
35430         (cexp_test_data): Likewise.
35431         (clog_test_data): Likewise.
35432         (csqrt_test_data): Likewise.
35433         (ctan_test_data): Likewise.
35434         (ctan_tonearest_test_data): Likewise.
35435         (ctan_towardzero_test_data): Likewise.
35436         (ctan_downward_test_data): Likewise.
35437         (ctan_upward_test_data): Likewise.
35438         (ctanh_test_data): Likewise.
35439         (ctanh_tonearest_test_data): Likewise.
35440         (ctanh_towardzero_test_data): Likewise.
35441         (ctanh_downward_test_data): Likewise.
35442         (ctanh_upward_test_data): Likewise.
35443         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35444         mpc_c_c.
35445         (func_calc_desc): Add mpc_c_c union field.
35446         (FUNC_mpc_c_c): New macro.
35447         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35448         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35449         ctanh.
35450         (special_fill_min_subnorm_p120): New function.
35451         (special_real_inputs): Add min_subnorm_p120.
35452         (calc_generic_results): Handle mpc_c_c.
35453         * sysdeps/i386/fpu/libm-test-ulps: Update.
35454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35456 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35458         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35459         (do_sin_slow): New functions.
35460         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35461         (cslow2, csloww1, csloww2): Use the new functions.
35463         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35464         Use M to change sign of result instead of X.  Assume X is
35465         positive.
35466         (csloww1): Likewise.
35467         (__sin): Adjust.
35468         (__cos): Adjust.
35470         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35471         arguments A and DA.
35472         (__sin): Adjust.
35473         (__cos): Likewise.
35475         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35476         (__cos): Likewise.
35477         (sloww1): Don't adjust sign of DX.
35478         (csloww1): Likewise.
35479         (sloww2): Use X directly and don't adjust sign of DX.
35480         (csloww2): Likewise.
35482 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35484         * math/auto-libm-test-in: Add tests of cabs and carg.
35485         * math/auto-libm-test-out: Regenerated.
35486         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35487         (carg_test_data): Likewise.
35488         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35489         mpc_c_f.
35490         (func_calc_desc): Add mpc_c_f union field.
35491         (test_functions): Add cabs and carg.
35492         (calc_generic_results): Handle mpc_c_f.
35494         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35495         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35496         as a macro and a compat symbol.
35497         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35498         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35499         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35500         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35501         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35502         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35503         not use .hidden.
35504         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35505         Likewise.
35506         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35507         Likewise.
35508         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35509         Likewise.
35510         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35511         Likewise.
35512         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35513         Likewise.
35514         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35515         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35516         from GLIBC_2.3.2.
35518 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35522 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35524         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35525         trailing whitespace removed.
35526         * scripts/config.guess: Update to version 2013-11-29.
35527         * scripts/config.sub: Update to version 2013-10-01.
35529         * math/auto-libm-test-in: Add tests of sincos.
35530         * math/auto-libm-test-out: Regenerated.
35531         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35532         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35533         mpfr_f_11.
35534         (func_calc_desc): Add mpfr_f_11 union field.
35535         (test_functions): Add sincos.
35536         (calc_generic_results): Handle mpfr_f_11.
35537         * sysdeps/i386/fpu/libm-test-ulps: Update.
35538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35540 2013-12-19  Andreas Schwab  <schwab@suse.de>
35542         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35543         CALL_MCOUNT.
35544         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35545         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35546         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35548 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35550         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35551         * sysdeps/i386/fpu/libm-test-ulps: Update.
35552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35554         [BZ #16293]
35555         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35556         round-to-nearest mode when using frndint.
35557         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35558         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35559         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35560         Likewise.
35561         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35562         sinh test to fail.
35563         * math/auto-libm-test-out: Regenerated.
35564         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35565         (TEST_COND_x86): Likewise.
35566         (expm1_tonearest_test_data): New array.
35567         (expm1_test_tonearest): New function.
35568         (expm1_towardzero_test_data): New array.
35569         (expm1_test_towardzero): New function.
35570         (expm1_downward_test_data): New array.
35571         (expm1_test_downward): New function.
35572         (expm1_upward_test_data): New array.
35573         (expm1_test_upward): New function.
35574         (main): Run the new test functions.
35575         * sysdeps/i386/fpu/libm-test-ulps: Update.
35576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35578         * include/features.h: Update comment documenting feature test
35579         macros.  Mention _DEFAULT_SOURCE in comment.
35580         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35581         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35582         _BSD_SOURCE and _SVID_SOURCE.
35583         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35584         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35585         !_SVID_SOURCE]: Likewise.
35586         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35587         (__USE_POSIX_IMPLICITLY): Define.
35588         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35589         (_POSIX_SOURCE): Undefine and redefine.
35590         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35591         (_POSIX_C_SOURCE): Likewise.
35592         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35593         (Feature Test Macros): Update documentation of default features.
35595 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35597         * benchtests/Makefile: Add bench-strtok.
35598         * benchtests/bench-strtok.c: New file: strtok benchtest.
35600 2013-12-19  Allan McRae  <allan@archlinux.org>
35602         * manual/install.texi: Suppress menu for plain text output.
35603         * INSTALL: Regenerated.
35605 2013-12-18  Brooks Moses  <bmoses@google.com>
35607         [BZ #15846]
35608         * misc/getauxval.c: Include errno.h.
35609         (__getauxval): Set errno to ENOENT if the requested type is not
35610         found.
35611         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35612         don't declare with __attribute_const__.
35613         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35614         * manual/startup.texi: Document that getauxval sets errno.
35616 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35618         * math/auto-libm-test-in: Add tests of jn and yn.
35619         * math/auto-libm-test-out: Regenerated.
35620         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35621         (yn_test_data): Likewise.
35622         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35623         mpfr_if_f.
35624         (func_calc_desc): Add mpfr_if_f union field.
35625         (FUNC_mpfr_if_f): New macro.
35626         (test_functions): Add jn and yn.
35627         (calc_generic_results): Assert type of second input for
35628         mpfr_ff_f.  Handle mpfr_if_f.
35629         (output_for_one_input_case): Disable all checking for arguments
35630         fitting floating-point types in case of an integer argument.
35631         * sysdeps/i386/fpu/libm-test-ulps: Update.
35632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35635         Don't expect fegetround reference in libm.so.
35637 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35639         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35640         $(config-cflags-nofma).
35642 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35644         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35645         * math/auto-libm-test-out: Regenerated.
35647         [BZ #16338]
35648         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35649         to determine exponent and adjust argument to have exponent of -1.
35650         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35651         log2.
35652         * math/auto-libm-test-out: Regenerated.
35653         * sysdeps/i386/fpu/libm-test-ulps: Update.
35654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35656 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35658         * manual/probes.texi: Remove cases when per-thread arenas are
35659         disabled.
35661 2013-12-18  Andreas Schwab  <schwab@suse.de>
35663         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35664         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35665         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35666         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35667         * sysdeps/i386/i686/multiarch/Makefile: Update.
35668         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35670 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35672         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35673         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35675 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35677         [BZ #15968]
35678         Support TZ transition times < 00:00:00.
35679         This is needed for version-3 tz-format files; it supports time
35680         stamps past 2037 for America/Godthab (the only entry in the tz
35681         database for which this change is relevant).
35682         * manual/time.texi (TZ Variable): Document transition times
35683         from -167:59:59 through -00:00:01.
35684         * time/tzset.c (tz_rule): Time of day is now signed.
35685         (__tzset_parse_tz): Parse negative time of day.
35687         Document TZ transition times >= 25:00:00.
35688         * manual/time.texi (TZ Variable): Document transition times from
35689         25:00:00 through 167:59:59.  These are already supported, and this
35690         support will help with version-3 tz-format files.
35692         * manual/time.texi (TZ Variable): Modernize North America example
35693         to reflect current (i.e., 2007-and-later) daylight saving rules.
35695         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35697 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35699         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35700         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35701         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35702         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35703         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35704         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35705         * sysdeps/unix/bsd/clock.c: Likewise.
35706         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35707         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35708         * sysdeps/unix/bsd/init-posix.c: Likewise.
35709         * sysdeps/unix/bsd/poll.c: Likewise.
35710         * sysdeps/unix/bsd/ptsname.c: Likewise.
35711         * sysdeps/unix/bsd/seekdir.c: Likewise.
35712         * sysdeps/unix/bsd/setegid.c: Likewise.
35713         * sysdeps/unix/bsd/seteuid.c: Likewise.
35714         * sysdeps/unix/bsd/setgid.c: Likewise.
35715         * sysdeps/unix/bsd/setrgid.c: Likewise.
35716         * sysdeps/unix/bsd/setruid.c: Likewise.
35717         * sysdeps/unix/bsd/setsid.c: Likewise.
35718         * sysdeps/unix/bsd/setuid.c: Likewise.
35719         * sysdeps/unix/bsd/sigaction.c: Likewise.
35720         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35721         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35722         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35723         * sysdeps/unix/bsd/telldir.c: Likewise.
35724         * sysdeps/unix/bsd/times.c: Likewise.
35725         * sysdeps/unix/bsd/usleep.c: Likewise.
35727         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35728         ($(objpfx)libbsd-compat.a): Remove rule.
35730         * include/features.h (__FAVOR_BSD): Do not define.
35731         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35732         features conflicting with POSIX.
35733         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35734         (_BSD_SOURCE): Remove description of not being a subset of other
35735         feature test macros.
35736         * manual/job.texi (getpgrp): Do not document BSD version.
35737         (getpgid): Do not document by reference to BSD getpgrp.
35738         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35739         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35740         * signal/signal.h [__FAVOR_BSD]: Likewise.
35741         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35742         instead of making contents conditional on [__FAVOR_BSD].
35743         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35745 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35749 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35751         [BZ #16314]
35752         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35753         values below 2**-450, not 2**-500.
35754         * math/auto-libm-test-in: Don't allow spurious underflow from
35755         hypot.
35756         * math/auto-libm-test-out: Regenerated.
35758         [BZ #16316]
35759         [BZ #16330]
35760         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35761         values of ha and hb and sort them after adjusting subnormal
35762         arguments.
35763         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35764         Likewise.
35765         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35766         values of ea and eb and sort them after adjusting subnormal
35767         arguments.
35768         * math/auto-libm-test-in: Do not expect some hypot tests of
35769         subnormals to fail.  Add more hypot tests.
35770         * math/auto-libm-test-out: Regenerated.
35772 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35774         [BZ #13304]
35775         * sysdeps/sh/s_fma.c: New file.
35776         * sysdeps/sh/s_fmaf.c: New file.
35777         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
35778         version.
35779         * sysdeps/sh/Implies: Add sh/soft-fp.
35781 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35783         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
35784         level of indirection to members `objname', `errstring', `malloced'.
35785         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35786         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
35787         it as the __longjmp argument (just pass 1 instead).
35788         (_dl_catch_error): Initialize C with argument pointers and address of
35789         volatile local ERRCODE rather than copying values out of C at return.
35791 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35793         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35794         * math/auto-libm-test-out: Regenerated.
35795         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35796         (hypot_test_data): Likewise.
35797         (pow_test_data): Likewise.
35798         (pow_tonearest_test_data): Likewise.
35799         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35800         mpfr_ff_f.
35801         (func_calc_desc): Add mpfr_ff_f union field.
35802         (FUNC_mpfr_ff_f): New macro.
35803         (test_functions): Add atan2, hypot and pow.
35804         (special_fill_min): New function.
35805         (special_fill_minus_min): Likewise.
35806         (special_fill_min_subnorm): Likewise.
35807         (special_fill_minus_min_subnorm): Likewise.
35808         (special_real_inputs): Add min, -min, min_subnorm and
35809         -min_subnorm.
35810         (calc_generic_results): Handle mpfr_ff_f.
35811         * sysdeps/i386/fpu/libm-test-ulps: Update.
35812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35814 2013-12-16  Will Newton  <will.newton@linaro.org>
35816         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35817         (Aligned Memory Blocks): Add documentation for aligned_alloc
35818         and suggest it as an alternative to posix_memalign.
35819         (Hooks for Malloc): Document __memalign_hook is also called
35820         for aligned_alloc.  (Summary of Malloc): Add summary for
35821         aligned alloc.  Document __memalign_hook is also called
35822         for aligned_alloc.
35824 2013-12-16  Will Newton  <will.newton@linaro.org>
35826         * manual/memory.texi (Malloc Examples): Clarify default
35827         alignment documentation.  Suggest posix_memalign rather
35828         than memalign or valloc.
35829         (Aligned Memory Blocks): Remove suggestion to use memalign
35830         or valloc.  Remove obsolete comment about BSD.
35831         Document memalign errno values and mark the function obsolete.
35832         Document posix_memalign returned error codes.  Mark valloc
35833         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35834         called for posix_memalign and valloc.
35835         (Summary of Malloc): Add posix_memalign to function summary.
35836         __memalign_hook is also called for posix_memalign and valloc.
35838 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35840         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35841         TAYLOR_SIN.
35842         (__sin): Adjust.
35843         (__cos): Likewise.
35844         (sloww): Use mynumber union.  Expand ternary operator into
35845         if-else statements.
35846         (cslow): use mynumber union.
35848 2013-12-16  Allan McRae  <allan@archlinux.org>
35850         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35851         * configure: Regenerated.
35853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35855         [BZ #14120]
35856         * configure.ac: Added --enable-maintainer-mode. Check for
35857         autoconf when enabled.
35858         * configure: Regenerated.
35860         * nscd/nscd.service: New file.
35861         * nscd/nscd.tmpfiles: New file.
35863 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
35865         [BZ #12100]
35866         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35867         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35868         * sysdeps/x86_64/multiarch/strstr.c: ... here.
35869         (strstr): Add __strstr_sse2_unaligned ifunc.
35870         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35871         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35872         (strcasestr): Remove __strcasestr_sse42 ifunc.
35873         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35875         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35877 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35879         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35880         * sysdeps/sh/bits/fenv.h: ... here.
35881         * sysdeps/sh/sh4/fpu/bits: Remove directory.
35883 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35885         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35888         hypotf multiarch implementations.
35889         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35890         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35891         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35892         multiarch hypot for PPC64.
35893         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35894         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35895         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35896         multiarch hypotf for PPC64.
35898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35899         modff multiarch implementations.
35900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35903         multiarch modf for PPC64.
35904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35907         multiarch modff for PPC64.
35909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35910         and logl multiarch implementations.
35911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35914         multiarch logb for PPC64.
35915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35918         multiarch logb for PPC64.
35919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35922         multiarch logb for PPC64.
35924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35925         isinff multiarch implementation.
35926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35927         file.
35928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35930         multiarch isinf for PPC64.
35931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35932         file.
35933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35934         multiarch isinff for PPC64.
35936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35937         finitef multiarch implementation.
35938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35939         file.
35940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35942         multiarch finite for PPC64.
35943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35944         file.
35945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35946         multiarch finitef for PPC64.
35948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35949         lrint multiarch implementation.
35950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35951         file.
35952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35954         multiarch llrint for PPC64.
35955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35956         multiarch lrint for PPC64.
35958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35959         copysignf multiarch implementation.
35960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35961         file.
35962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35963         file.
35964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35965         multiarch copysign for PPC64.
35966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35967         multiarch copysignf for PPC64.
35969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35970         multiarch implementation.
35971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35972         file.
35973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35974         file.
35975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35976         file.
35977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35978         file.
35979         multiarch llround for PPC64.
35980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35981         multiarch trunc for PPC64.
35982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35983         multiarch truncf for PPC64.
35985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35986         multiarch implementation.
35987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35988         file.
35989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35990         file.
35991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35992         file.
35993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35994         file.
35995         multiarch llround for PPC64.
35996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35997         multiarch round for PPC64.
35998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35999         multiarch roundf for PPC64.
36001         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36002         multiarch implementation.
36003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36004         file.
36005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36006         file.
36007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36008         file.
36009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36010         file.
36011         multiarch llround for PPC64.
36012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36013         multiarch floor for PPC64.
36014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36015         multiarch floorf for PPC64.
36017         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36018         multiarch implementation.
36019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36020         file.
36021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36022         file.
36023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36024         file.
36025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36026         file.
36027         multiarch llround for PPC64.
36028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36029         multiarch ceil for PPC64.
36030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36031         multiarch ceilf for PPC64.
36033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36034         multiarch implementation.
36035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36036         file.
36037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36038         file.
36039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36040         file.
36041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36042         multiarch llround for PPC64.
36043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36044         multiarch lround for PPC64.
36046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36047         multiarch implementation.
36048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36051         file.
36052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36055         multiarch isnan for PPC64.
36056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36057         multiarch isnanf for PPC64.
36059         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36060         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36061         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36062         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36063         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36066         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36067         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36068         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36069         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36072         multiarch implementations.
36073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36074         (__libc_ifunc_impl_list): Likewise.
36075         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36076         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36077         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36078         multiarch stpcpy for PPC64.
36080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36081         multiarch implementations.
36082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36083         (__libc_ifunc_impl_list): Likewise.
36084         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36085         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36086         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36087         multiarch strcpy for PPC64.
36089         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36090         redefine function name.
36091         (_wordcopy_fwd_dest_aligned): Likewise.
36092         (_wordcopy_bwd_aligned): Likewise.
36093         (_wordcopy_bwd_dest_aligned): Likewise.
36094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36095         multiarch implementations.
36096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36097         (__libc_ifunc_impl_list): Likewise.
36098         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36099         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36100         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36101         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36102         multiarch wcscpy for PPC64.
36104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36105         multiarch implementations.
36106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36107         (__libc_ifunc_impl_list): Likewise.
36108         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36109         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36110         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36111         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36112         multiarch wcscpy for PPC64.
36114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36115         multiarch implementations.
36116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36117         (__libc_ifunc_impl_list): Likewise.
36118         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36119         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36120         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36121         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36122         multiarch wcsrchr for PPC64.
36124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36125         multiarch implementations.
36126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36127         (__libc_ifunc_impl_list): Likewise.
36128         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36129         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36130         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36131         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36132         multiarch wcschr for PPC64.
36134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36135         multiarch implementations.
36136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36137         (__libc_ifunc_impl_list): Likewise.
36138         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36139         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36140         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36141         multiarch strchrnul for PPC64.
36143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36144         implementations.
36145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36146         (__libc_ifunc_impl_list): Likewise.
36147         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36148         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36149         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36150         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36151         strchr for PPC64.
36153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36154         implementations.
36155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36156         (__libc_ifunc_impl_list): Likewise.
36157         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36158         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36159         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36160         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36161         strncmp for PPC64.
36163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36164         multiarch implementations.
36165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36166         (__libc_ifunc_impl_list): Likewise.
36167         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36168         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36169         strncasecmp for PPC64.
36170         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36171         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36172         multiarch strncasecmp_l for PPC64.
36174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36175         multiarch implementations.
36176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36177         (__libc_ifunc_impl_list): Likewise.
36178         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36179         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36180         multiarch strcasecmp for PPC64.
36181         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36182         file.
36183         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36184         multiarch strcasecmp_l for PPC64.
36186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36187         implementations.
36188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36189         (__libc_ifunc_impl_list): Likewise.
36190         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36191         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36192         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36193         strnlen for PPC64.
36195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36196         implementations.
36197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36198         (__libc_ifunc_impl_list): Likewise.
36199         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36200         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36201         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36202         strlen for PPC64.
36204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36205         implementations.
36206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36207         (__libc_ifunc_impl_list): Likewise.
36208         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36209         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36210         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36211         rawmemrchr for PPC64.
36213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36214         implementation.
36215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36216         (__libc_ifunc_impl_list): Likewise.
36217         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36218         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36219         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36220         memrchr for PPC64.
36222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36223         implementation.
36224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36225         (__libc_ifunc_impl_list): Likewise.
36226         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36227         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36228         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36229         memchr for PPC64.
36231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36232         implementation.
36233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36234         (__libc_ifunc_impl_list): Likewise.
36235         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36236         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36237         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36238         mempcpy for PPC64.
36240         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36241         avoid cretion of __bzero symbol.
36242         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36243         Likewise.
36244         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36245         Likewise.
36246         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36247         Likewise.
36248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36249         multiarch implementations.
36250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36251         (__libc_ifunc_impl_list): Likewise.
36252         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36253         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36254         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36255         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36256         bzero for PPC32.
36257         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36258         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36259         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36260         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36261         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36262         memset for PPC64.
36263         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36265         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36267         implementations.
36268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36269         (__libc_ifunc_impl_list): Likewise.
36270         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36271         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36272         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36273         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36274         memcmp for PPC64.
36276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36277         multiarch for POWER/PPC64.
36278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36279         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36280         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36281         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36282         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36283         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36284         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36285         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36286         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36287         memcpy for PPC64.
36289         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36290         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36291         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36292         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36293         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36294         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36295         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36296         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36297         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36298         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36299         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36300         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36301         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36302         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36303         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36312 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36314         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36316 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36318         * benchtests/Makefile (bench): Add exp2 and log2.
36319         (LDLIBS-bench-exp2): Add -lm.
36320         (LDLIBS-bench-log2): Likewise.
36321         * benchtests/exp2-inputs: New inputs file.
36322         * benchtests/log2-inputs: New inputs file.
36323         * benchtests/log-inputs: Add new inputs.
36324         * benchtests/tan-inputs: Likewise.
36326 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36328         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36329         definition...
36330         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36331         (csloww2): ... from here.
36333         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36334         instead of structures.
36335         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36336         (POLYNOMIAL): Likewise.
36337         (TAYLOR_SLOW): Likewise.
36338         (__sin): Likewise.
36339         (__cos): Likewise.
36340         (slow1): Likewise.
36341         (slow2): Likewise.
36342         (sloww): Likewise.
36343         (sloww1); Likewise.
36344         (sloww2): Likewise.
36345         (bsloww1): Likewise.
36346         (bsloww2): Likewise.
36347         (cslow2): Likewise.
36348         (csloww): Likewise.
36349         (csloww1): Likewise.
36350         (csloww2): Likewise.
36352 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
36354         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36355         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36356         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36357         * malloc/hooks.c (realloc_check): Likewise.
36359         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36360         * malloc/arena.c: Remove PER_THREAD conditional.
36361         [!PER_THREAD]: Remove code.
36362         (ptmalloc_unlock_all2): Likewise.
36363         (ptmalloc_init): Likewise.
36364         (_int_new_arena): Likewise.
36365         (arena_get2): Likewise.
36366         * malloc/hooks.c (__malloc_get_state): Likewise.
36367         (__malloc_set_state): Likewise.
36368         * malloc/malloc.c: Likewise.
36369         (struct malloc_state): Likewise.
36370         (struct malloc_par): Likewise.
36371         (__libc_realloc): Likewise.
36372         (__libc_mallopt): Likewise.
36374 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36376         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36378 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36380         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36381         macro to a function.  Check for zero perturb_byte.
36382         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36384         * malloc/malloc.c: (force_reg): Remove.
36385         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36386         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36387         force_reg by atomic_forced_read.
36388         * malloc/arena.c (ptmalloc_init): Likewise.
36389         * malloc/hooks.c (top_check): Likewise.
36391 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36395 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36399 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36401         * math/auto-libm-test-in: Add tests of lgamma.
36402         * math/auto-libm-test-out: Regenerated.
36403         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36404         (M_LOG_2_SQRT_PIl): Likewise.
36405         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36406         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36407         mpfr_f_f1.
36408         (func_calc_desc): Add mpfr_f_f1 union field.
36409         (ARGS1): New macro.
36410         (ARGS2): Likewise.
36411         (ARGS3): Likewise.
36412         (ARGS4): Likewise.
36413         (RET1): Likewise.
36414         (RET2): Likewise.
36415         (CALC): Likewise.
36416         (FUNC): Likewise.
36417         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36418         (test_functions): Add lgamma.
36419         (calc_generic_results): Handle mpfr_f_f1.
36420         * sysdeps/i386/fpu/libm-test-ulps: Update.
36421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36423 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36425         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36426         __mpn_add_n for PowerPC64/POWER7.
36427         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36428         __mpn_sub_n for PowerPC64/POWER7.
36430         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36431         __mpn_addmul_1 for PowerPC64.
36432         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36433         __mpn_submul_1 for PowerPC64.
36434         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36435         for PowerPC64.
36436         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36437         for PowerPC64.
36439 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36441         [BZ #15089]
36442         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36444 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36446         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36448         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36449         add multiarch folders.
36450         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36451         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36452         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36453         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36454         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36455         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36456         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36457         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36458         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36459         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36460         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36469         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36471         New file.
36472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36473         New file.
36474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36475         multiarch __ieee754_hypot for PowerPC32.
36476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36477         New file.
36478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36479         New file.
36480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36481         multiarch __ieee754_hypotf for PowerPC32.
36483         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36484         long_double_symbol only if __logbl is defined.
36485         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36486         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36487         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36488         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36489         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36490         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36491         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36492         path for implementation.
36493         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36494         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36496         logb, and logbl multiarch implementations for PowerPC32.
36497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36498         file.
36499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36500         file.
36501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36502         multiarch logb for PowerPC32.
36503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36504         file.
36505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36506         file.
36507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36508         multiarch logbf for PowerPC32.
36509         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36511         file.
36512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36513         multiarch logbl implementation for PowerPC32.
36515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36516         and modff multiarch implementations.
36517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36518         New file.
36519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36520         New file.
36521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36522         multiarch modf for PowerPC32.
36523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36524         New file.
36525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36526         New file.
36527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36528         multiarch modff for PowerPC32.
36530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36531         and lrintf multiarch implementations.
36532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36533         New file.
36534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36535         New file.
36536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36537         multiarch lrint for PowerPC32.
36538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36539         file: multiarch lrintf for PowerPC32.
36541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36542         and lroundf multiarch implementations.
36543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36544         New file.
36545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36546         New file.
36547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36548         New file.
36549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36550         multiarch lround for PowerPC32.
36551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36552         file: multiarch lroundf for PowerPC32.
36554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36555         copysign and copysignf multiarch implementations.
36556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36557         New file.
36558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36559         New file.
36560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36561         file: multiarch copysign for PowerPC32.
36562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36563         file: multiarch copysignf for PowerPC32.
36565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36566         and truncf multiarch implementations.
36567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36568         New file.
36569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36570         file.
36571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36572         multiarch trunc for PowerPC32.
36573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36574         New file.
36575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36576         New file.
36577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36578         multiarch truncf for PowerPC32.
36580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36581         and roundf multiarch implementations.
36582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36583         New file.
36584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36585         file.
36586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36587         multiarch round for PowerPC32.
36588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36589         New file.
36590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36591         New file.
36592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36593         multiarch roundf for PowerPC32.
36595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36596         and floorf multiarch implementations.
36597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36598         New file.
36599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36600         file.
36601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36602         multiarch floor for PowerPC32.
36603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36604         New file.
36605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36606         New file.
36607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36608         multiarch floorf for PowerPC32.
36610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36611         and ceilf multiarch implementations.
36612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36613         New file.
36614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36615         file.
36616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36617         multiarch ceil for PowerPC32.
36618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36619         New file.
36620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36621         file.
36622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36623         multiarch ceilf for PowerPC32.
36625         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36626         is defined.
36627         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36628         FINITEF is defined.
36629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36630         and finitef multiarch implementations.
36631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36632         New file.
36633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36634         file.
36635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36636         multiarch finite for PowerPC32.
36637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36638         New file.
36639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36640         file: multiarch finitef for PowerPC32.
36642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36643         and isinff multiarch implementations.
36644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36645         file.
36646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36647         file.
36648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36649         multiarch isinf for PowerPC32.
36650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36651         New file.
36652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36653         multiarch isinff for PowerPC32.
36655         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36656         alias when __isnan is defined.
36657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36658         and isnanf multiarch implementations.
36659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36660         file.
36661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36662         file.
36663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36664         file.
36665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36666         file.
36667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36668         multiarch isnan for PowerPC32.
36669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36670         New file.
36671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36672         New file.
36673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36674         multiarch isnanf for PowerPC32.
36676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36677         and sqrtf multiarch implementations.
36678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36679         file.
36680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36681         file.
36682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36683         multiarch sqrt for PowerPC32.
36684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36685         file.
36686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36687         file.
36688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36689         multiarch sqrtf for PowerPC32.
36691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36692         and llroundf multiarch implementations.
36693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36694         New file.
36695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36696         New file.
36697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36698         New file.
36699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36700         file: multiarch llround for PowerPC32.
36701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36702         file: multiarch llroundf for PowerPC32.
36704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36705         multiarch PowerPC32 fpu implementations.
36706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36707         New file.
36708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36709         New file.
36710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36711         multiarch llrint for PowerPC32.
36712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36713         New file.
36714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36715         New file.
36716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36717         file.
36719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36721         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36722         file.
36723         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36724         file.
36725         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36726         file.
36727         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36728         multiarch wordcopy for PPC32.
36729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36730         wordcopy objects.
36731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36732         (__libc_ifunc_impl_list): Likewise.
36733         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36734         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36735         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36736         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36737         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36738         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36740         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36742         file.
36743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36744         file.
36745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36746         file.
36747         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36748         multiarch wcscpy for PPC32.
36749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36750         multiarch objects.
36751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36752         (__libc_ifunc_impl_list): Likewise.
36753         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36754         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36755         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36756         sysdeps/powerpc/power6/wcscpy.c.
36758         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36760         file.
36761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36762         file.
36763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36764         file.
36765         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36766         multiarch wcsrchr for PPC32.
36767         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36768         multiarch objects.
36769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36770         (__libc_ifunc_impl_list): Likewise.
36771         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36772         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36773         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36774         sysdeps/powerpc/power6/wcsrchr.c.
36776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36777         file.
36778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36779         file.
36780         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36781         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36782         multiarch wcschr for PPc32.
36783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36784         multiarch objects.
36785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36786         (__libc_ifunc_impl_list): Likewise.
36787         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36788         * sysdeps/powerpc/power6/wcschr.c: ... to here.
36789         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36790         sysdeps/powerpc/power6/wcschr.c.
36792         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36793         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36794         file.
36795         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36796         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36797         file: multiarch strchr for PPC32.
36798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36799         multiarch objects.
36800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36801         (__libc_ifunc_impl_list): Likewise.
36803         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36804         name.
36805         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36806         file.
36807         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36808         file.
36809         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36810         multiarch strchrnul for PPC32.
36811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36812         multiarch objects.
36813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36814         (__libc_ifunc_impl_list): Likewise.
36816         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36817         file.
36818         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36819         multiarch strncasecmp for PPC32.
36820         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36821         file.
36822         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36823         multiarch strncasecmp_l for PPC32.
36824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36825         strncasecmp multiarch objects.
36826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36827         (__libc_ifunc_impl_list): Likewise.
36829         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36830         file.
36831         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36832         multiarch strncasecmp for PPC32.
36833         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36834         New file.
36835         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36836         multiarch strcasecmp_l for PPC32.
36837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36838         multiarch objects.
36839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36840         (__libc_ifunc_impl_list): Likewise.
36842         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36843         file.
36844         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36845         file.
36846         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36847         multiarch strncmp for PPC32.
36848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36849         multiarch objects.
36850         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36851         (__libc_ifunc_impl_list): Likewise.
36853         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36854         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36855         file.
36856         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36857         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36859         multiarch objects.
36860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36861         (__libc_ifunc_impl_list): Likewise.
36863         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36864         file.
36865         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36866         file.
36867         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36868         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36869         multiarch objects.
36870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36871         (__libc_ifunc_impl_list): Likewise.
36873         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36874         file.
36875         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36876         file.
36877         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36878         multiarch rawmemchr for PPC32.
36879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36880         multiarch objects.
36881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36882         (__libc_ifunc_impl_list): Likewise.
36884         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36885         file.
36886         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36887         file.
36888         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36889         file: memrchr multiarch for PPC32.
36890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36891         multiarch objects.
36892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36893         (__libc_ifunc_impl_list): Likewise.
36895         * string/memchr.c (__memchr): Using macro to redefine symbol name.
36896         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36897         file.
36898         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36899         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36900         multiarch memchr for PPC32.
36901         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36902         multiarch objects.
36903         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36904         (__libc_ifunc_impl_list): Likewise.
36906         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36907         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36908         file.
36909         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36910         file.
36911         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36912         file: multiarch mempcpy for PPC32.
36913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36914         multiarch objects.
36915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36916         (__libc_ifunc_impl_list): Likewise.
36918         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36919         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36920         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36921         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36922         multiarch bzero for PPC32.
36923         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36924         file.
36925         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36926         file.
36927         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36928         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36929         file: multiarch memset for PPC32.
36930         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36932         memset multiarch objects.
36933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36934         (__libc_ifunc_impl_list): Likewise.
36936         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36937         file.
36938         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36939         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36940         memcmp for PPC32.
36941         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36943         multiarch objects.
36944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36945         (__libc_ifunc_impl_list): Likewise.
36947         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36948         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36949         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36950         file.
36951         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36952         file.
36953         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36954         file.
36955         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36956         multiarch memcpy for PPC32.
36957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36958         multiarch objects.
36959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36960         (__libc_ifunc_impl_list): Likewise.
36962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36963         support multiarch for POWER/PPC32.
36964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36965         Likewise.
36966         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36968         Implies file to make multiarch folder appers before the fpu and
36969         default folder for power4 configuration.
36971 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36973         * scripts/bench.pl: Append volatile keyword to type.
36975 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36977         * sysdeps/sh/sotruss-lib.c: New file.
36978         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36980 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36984 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36986         [BZ #6810]
36987         * math/w_tgamma.c: Include <errno.h>.
36988         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36989         * math/w_tgammaf.c: Include <errno.h>.
36990         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36991         * math/w_tgammal.c: Include <errno.h>.
36992         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36993         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36994         underflow.  Add more tgamma tests.
36995         * math/auto-libm-test-out: Regenerated.
36996         * sysdeps/i386/fpu/libm-test-ulps: Update.
36997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36999         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37000         sin, sinh, tan, tanh, tgamma, y0 and y1.
37001         * math/auto-libm-test-out: Regenerated.
37002         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37003         (TEST_COND_x86): Likewise.
37004         (M_E2l): Remove macro.
37005         (M_E3l): Likewise.
37006         (M_2_SQRT_PIl): Likewise.
37007         (M_SQRT_PIl): Likewise.
37008         (M_1_DIV_El): Likewise.
37009         (log_test_data): Use AUTO_TESTS_f_f.
37010         (log10_test_data): Likewise.
37011         (log1p_test_data): Likewise.
37012         (log2_test_data): Likewise.
37013         (sin_test_data): Likewise.
37014         (sin_tonearest_test_data): Likewise.
37015         (sin_towardzero_test_data): Likewise.
37016         (sin_downward_test_data): Likewise.
37017         (sin_upward_test_data): Likewise.
37018         (sinh_test_data): Likewise.
37019         (sinh_tonearest_test_data): Likewise.
37020         (sinh_towardzero_test_data): Likewise.
37021         (sinh_downward_test_data): Likewise.
37022         (sinh_upward_test_data): Likewise.
37023         (tan_test_data): Likewise.
37024         (tan_tonearest_test_data): Likewise.
37025         (tan_towardzero_test_data): Likewise.
37026         (tan_downward_test_data): Likewise.
37027         (tan_upward_test_data): Likewise.
37028         (tanh_test_data): Likewise.
37029         (tgamma_test_data): Likewise.
37030         (y0_test_data): Likewise.
37031         (y1_test_data): Likewise.
37032         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37033         (special_real_inputs): Add pi/4.
37034         * sysdeps/i386/fpu/libm-test-ulps: Update.
37035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37037 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37039         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37040         "longjmp_target" static probes.
37041         (__longjmp): Rename to __longjmp_symbol.
37042         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37043         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37044         on which longjmp to generate.
37045         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37046         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37047         probe.
37048         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37049         (__sigjmp_save): Rename to __sigjmp_save_symbol.
37050         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37051         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37052         and __sigjmp_save_symbol based on which sigsetjmp to generated.
37053         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37055         __longjmp_symbol based on which __longjmp to generate.
37056         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37057         probe.
37058         (setjmp): Rename to setjmp_symbol.
37059         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37060         (_setjmp): Rename to _setjmp_symbol.
37061         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37062         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37063         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37064         which setjmp to generate.
37065         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37066         "longjmp_target" static probes.
37068 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37070         * benchtests/README: Add note about output arguments.
37071         * benchtests/bench-sincos.c: Remove file.
37072         * benchtests/sincos-inputs: New file.
37073         * scripts/bench.pl: Identify output arguments and define
37074         static variables for them.
37076         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37078         [BZ #15941]
37079         * Makefile (INSTALL): Add install-plain.texi as the primary
37080         dependency.
37081         * manual/install-plain.texi: New file.
37082         * manual/install.texi: Include node directive only for
37083         non-plaintext output.
37085 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
37087         * stdlib/longlong.h: Update from GCC.
37089         [BZ #6807]
37090         [BZ #15901]
37091         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37092         * math/w_j0f.c (y0f): Likewise.
37093         * math/w_j0l.c (__y0l): Likewise.
37094         * math/w_j1.c (y1): Likewise.
37095         * math/w_j1f.c (y1f): Likewise.
37096         * math/w_j1l.c (__y1l): Likewise.
37097         * math/w_jn.c (yn): Likewise.
37098         * math/w_jnf.c (ynf): Likewise.
37099         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37100         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
37101         value for Bessel function domain errors outside _SVID_ mode.
37102         Adjust sign of return value for yn (negative integer, 0).
37103         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37104         by zero in return for negative x and set sign appropriately for
37105         negative n.
37106         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37107         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37108         * math/libm-test.inc (y0_test_data): Add more tests and adjust
37109         expectations in error cases.
37110         (y1_test_data): Likewise.
37111         (yn_test_data): Likewise.
37112         * sysdeps/i386/fpu/libm-test-ulps: Update.
37113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37115 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37117         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37118         "64" to "64-v1".  Add "64-v2".
37119         (abi-64-options): Rename to ...
37120         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
37121         (abi-64-condition): Rename to ...
37122         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37123         (abi-64-ld-soname): Rename to ...
37124         (abi-64-v1-ld-soname): ... this.
37125         (abi-64-v2-options): Define.
37126         (abi-64-v2-condition): Likewise.
37127         (abi-64-v2-ld-soname): Likewise.
37128         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37129         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37134 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37135             Alan Modra  <amodra@gmail.com>
37137         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37138         New versions for use with the ELFv2 ABI.
37139         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37140         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37141         declaration.
37142         (struct La_ppc64v2_retval): Likewise.
37143         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37144         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37145         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37146         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37147         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37148         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37149         Do not save or restore CR.
37150         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37151         (_dl_profile_resolve): Do no save or restore CR.  Support extended
37152         return values for ELFv2 ABI.  Fix location of FPR return registers.
37153         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37154         updated values for _CALL_ELF == 2.
37155         (La_regs, La_retval, int_retval): Likewise.
37157 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37159         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37160         (FRAME_MIN_SIZE_PARM): Likewise.
37161         (FRAME_BACKCHAIN): Likewise.
37162         (FRAME_CR_SAVE): Likewise.
37163         (FRAME_LR_SAVE): Likewise.
37164         (FRAME_TOC_SAVE): Likewise.
37165         (FRAME_PARM_SAVE): Likewise.
37166         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37167         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37168         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37169         (call_mcount_parm_offset): New macro.
37170         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37171         (PROF): Use symbolic stack frame offsets.
37172         (TAIL_CALL_SYSCALL_ERROR): Likewise.
37173         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37174         Redefine in terms of FRAME_MIN_SIZE.
37175         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37176         (_dl_profile_resolve): Likewise.  Update comment.
37177         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37178         symbols stack frame offsets.
37179         (__sigsetjmp): Likewise.
37180         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37181         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37182         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37183         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37186         (FRAME_BACKCHAIN): Remove.
37187         (FRAME_CR_SAVE): Likewise.
37188         (FRAME_LR_SAVE): Likewise.
37189         (FRAME_COMPILER_DW): Likewise.
37190         (FRAME_LINKER_DW): Likewise.
37191         (FRAME_TOC_SAVE): Likewise.
37192         (FRAME_PARM_SAVE): Likewise.
37193         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37194         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37195         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37197         (CHECK_SP): Use symbolic stack frame offsets.
37198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37199         zone" instead of caller's parameter save area for temp storage.
37200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37201         Likewise.  Also, use symbolic stack frame offsets.
37202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37203         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37204         our own stack frame instead of the caller's.
37205         (__socket): Use symbolic stack frame offsets.
37207 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37208             Alan Modra  <amodra@gmail.com>
37210         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37211         Define.
37212         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37213         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37214         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37215         New function.
37216         (elf_machine_fixup_plt): Call it.
37217         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37218         reloc arguments.
37219         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37220         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37221         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37222         r2 before calling target.
37224 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37225             Alan Modra  <amodra@gmail.com>
37227         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37228         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37229         versions of macros to support ELFv2 ABI.
37230         (LOCALENTRY): New macro.
37231         (ENTRY, EALIGN): Use it.
37232         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37233         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37234         fall through into ENTRY entry point.
37235         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37236         Only define if _CALL_ELF != 2.
37238         (elf_machine_matches_host): Verify ABI version matches.
37239         (RTLD_START): Use LOCALENTRY.
37240         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37241         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37242         (PLT_ENTRY_WORDS): New macro.
37243         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37244         (elf_machine_runtime_setup): Support ELFv2 ABI.
37245         (elf_machine_fixup_plt): Likewise.
37246         (elf_machine_plt_conflict): Likewise.
37247         (resolve_ifunc): Likewise.
37248         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37249         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37250         Likewise.
37251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37252         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37254         (makecontext): Support ELFv2 ABI.
37255         * elf/elf.h (EF_PPC64_ABI): Define.
37257 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37259         * sysdeps/powerpc/powerpc64/sysdep.h
37260         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37261         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37262         (ENTRY) [ASSEMBLER]: ... but instead here ...
37263         (EALIGN) [ASSEMBLER]: ... and here.
37264         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37265         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37266         (ENTRY_2) [!ASSEMBLER]: Use it.
37267         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37268         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37269         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37270         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37271         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37273         Use PPC64_LOAD_FUNCPTR.
37275         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37277 2013-12-04  Alan Modra  <amodra@gmail.com>
37279         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37280         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37281         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37282         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37284         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37285         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37286         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37287         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37288         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37289         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37291 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37294         (__makecontext): Fix incorrect CFI when backtracing out of
37295         context created via makecontext.
37296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37297         (__setcontext): Fix incorrect CFI during switch to new context.
37298         (__novec_setcontext): Likewise.
37300 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37302         [BZ #4772]
37303         * time/strptime_l.c (__strptime_internal): Allow modifiers
37304         in strptime.
37305         * time/tst-strptime.c (day_tests): Add testcase.
37307 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37309         * scripts/bench.pl: Skip over blank lines.
37311 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
37313         [BZ #926]
37314         * manual/time.texi (Calendar Time): Clarify what timezone functions
37315         use.
37317 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37321 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37323         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37324         implementation.
37325         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37326         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37327         * debug/memset_chk.c (__memset_chk): Likewise.
37328         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37329         * debug/strncpy_chk.c: Likewise.
37331 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37333         [BZ #15268]
37334         [BZ #15425]
37335         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37336         (__ieee754_exp): For possibly underflowing results, check size of
37337         result and force underflow exception if required.
37338         * math/auto-libm-test-in: Add more tests of exp.
37339         * math/auto-libm-test-out: Regenerated.
37340         * sysdeps/i386/fpu/libm-test-ulps: Update.
37341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37343         [BZ #16283]
37344         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37345         * math/w_exp2f.c (__exp2f): Likewise.
37346         * math/w_exp2l.c (__exp2l): Likewise.
37347         * math/auto-libm-test-in: Do not allow missing errno on exp2
37348         underflow.
37349         * math/auto-libm-test-out: Regenerated.
37351 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
37353         [BZ #16274]
37354         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37355         handle filename validation.
37356         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37357         (do_open): Delete.
37359 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37361         [BZ #6786]
37362         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37363         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37364         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37365         <float.h>.
37366         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37367         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37368         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37369         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37370         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37371         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37372         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37373         * math/auto-libm-test-in: Don't allow missing errno from erfc.
37374         Add more erfc tests.
37375         * math/auto-libm-test-out: Regenerated.
37376         * sysdeps/i386/fpu/libm-test-ulps: Update.
37377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37379         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37380         exp2, expm1, j0 and j1.
37381         * math/auto-libm-test-out: Regenerated.
37382         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37383         (erfc_test_data): Likewise.
37384         (exp_test_data): Likewise.
37385         (exp_tonearest_test_data): Likewise.
37386         (exp_towardzero_test_data): Likewise.
37387         (exp_downward_test_data): Likewise.
37388         (exp_upward_test_data): Likewise.
37389         (exp10_test_data): Likewise.
37390         (exp2_test_data): Likewise.
37391         (expm1_test_data): Likewise.
37392         (j0_test_data): Likewise.
37393         (j1_test_data): Likewise.
37394         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37395         (input_flag_type): Add flag_xfail_rounding.
37396         (input_flags): Add xfail-rounding.
37397         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37398         (output_for_one_input_case): Handle flag_xfail_rounding.
37399         * sysdeps/i386/fpu/libm-test-ulps: Update.
37400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37402 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37404         [BZ #16289]
37405         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37406         division by 0.
37408 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37410         [BZ #16195]
37411         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37412         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37413         (STAP_PROBE0): New macro.
37414         (STAP_PROBE1): Likewise.
37415         (STAP_PROBE2): Likewise.
37416         (STAP_PROBE3): Likewise.
37417         (STAP_PROBE4): Likewise.
37419 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37421         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37423 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37425         * benchtests/Makefile (bench): Add sqrt.
37426         (LDLIBS-bench-sqrt): New.
37427         * benchtests/sqrt-input: New.
37429 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37431         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37432         (GAIH_EAI): Likewise.
37433         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37434         (gaih_inet): Likewise.
37435         (getaddrinfo): Don't use GAIH_EAI.
37437         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37438         (struct gaih): Remove definition.
37440 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37442         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37443         Use HERRNOP directly.
37445 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37449 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37451         * math/gen-auto-libm-tests.c (test_functions): Add more
37452         single-argument functions.
37453         (special_fill_pi_2): New function.
37454         (special_fill_minus_pi_2): Likewise.
37455         (special_fill_pi_6): Likewise.
37456         (special_fill_minus_pi_6): Likewise.
37457         (special_fill_pi_3): Likewise.
37458         (special_fill_2pi_3): Likewise.
37459         (special_fill_e): Likewise.
37460         (special_fill_1_e): Likewise.
37461         (special_fill_e_minus_1): Likewise.
37462         (special_real_inputs): Add more special inputs.
37463         (output_for_one_input_case): Do not require ERANGE on underflow to
37464         zero if round-to-nearest result does not underflow to zero, unless
37465         exact results required.
37466         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37467         atan, atanh, cbrt, cos and cosh.
37468         * math/auto-libm-test-out: Regenerated.
37469         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37470         (acos_tonearest_test_data): Likewise.
37471         (acos_towardzero_test_data): Likewise.
37472         (acos_downward_test_data): Likewise.
37473         (acos_upward_test_data): Likewise.
37474         (acosh_test_data): Likewise.
37475         (asin_test_data): Likewise.
37476         (asin_tonearest_test_data): Likewise.
37477         (asin_towardzero_test_data): Likewise.
37478         (asin_upward_test_data): Likewise.
37479         (asinh_test_data): Likewise.
37480         (atan_test_data): Likewise.
37481         (atanh_test_data): Likewise.
37482         (cbrt_test_data): Likewise.
37483         (cos_test_data): Likewise.
37484         (cos_tonearest_test_data): Likewise.
37485         (cos_towardzero_test_data): Likewise.
37486         (cos_downward_test_data): Likewise.
37487         (cos_upward_test_data): Likewise.
37488         (cosh_test_data): Likewise.
37489         (cosh_tonearest_test_data): Likewise.
37490         (cosh_towardzero_test_data): Likewise.
37491         (cosh_downward_test_data): Likewise.
37492         (cosh_upward_test_data): Likewise.
37493         * sysdeps/i386/fpu/libm-test-ulps: Update.
37494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37496 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37498         [BZ #6787]
37499         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37500         * math/w_exp10f.c (__exp10f): Likewise.
37501         * math/w_exp10l.c (__exp10l): Likewise.
37502         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37503         errno settings in existing tests.
37505         [BZ #14032]
37506         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37507         precision control set to double precision.
37508         * sysdeps/i386/fpu/w_sqrt.c: New file.
37509         * math/auto-libm-test-in: Add more tests.
37510         * math/auto-libm-test-out: Update.
37512         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37513         (sqrt_test_tonearest): New function.
37514         (sqrt_towardzero_test_data): New variable.
37515         (sqrt_test_towardzero): New function.
37516         (sqrt_downward_test_data): New variable.
37517         (sqrt_test_downward): New function.
37518         (sqrt_upward_test_data): New variable.
37519         (sqrt_test_upward): New function.
37520         (main): Call the new functions.
37522         * math/gen-auto-libm-tests.c: New file.
37523         * math/auto-libm-test-in: Likewise.
37524         * math/auto-libm-test-out: New generated file.
37525         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37526         variables.
37527         (%beautify): Add generated representations of zero.
37528         (top level): Set $auto_input and call parse_auto_input.
37529         (beautify): Remove trailing "f" from hex float constants.
37530         (parse_args): Handle XFAIL_TEST.
37531         (convert_condition): New function.
37532         (or_value): Likewise.
37533         (or_cond_value): Likewise.
37534         (generate_testfile): Handle AUTO_TESTS_* lines.
37535         (parse_auto_input): New function.
37536         * math/libm-test.inc (XFAIL_TEST): New macro.
37537         (ERRNO_UNCHANGED): Update value.
37538         (ERRNO_EDOM): Likewise.
37539         (ERRNO_ERANGE): Likewise.
37540         (IGNORE_RESULT): Likewise.
37541         (TEST_COND_flt_32): New macro.
37542         (TEST_COND_dbl_64): Likewise.
37543         (TEST_COND_ldbl_96_intel): Likewise.
37544         (TEST_COND_ldbl_96_m68k): Likewise.
37545         (TEST_COND_ldbl_128): Likewise.
37546         (TEST_COND_ldbl_128ibm): Likewise.
37547         (TEST_COND_long32): Likewise.
37548         (TEST_COND_long64): Likewise.
37549         (TEST_COND_before_rounding): Likewise.
37550         (TEST_COND_after_rounding): Likewise.
37551         (enable_test): Handle XFAIL_TEST flag.
37552         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37553         with finite results.
37554         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37555         auto-libm-test-out.
37557 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37558             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37560         [BZ #16214]
37561         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37562         __tls_get_addr_internal instead of __tls_get_offset in order to
37563         avoid GOT pointer dependency.  Make rtld export
37564         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37565         __tls_get_addr since we are a __tls_get_offset platform.
37566         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37567         GOT pointer being set up before.
37568         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37570 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37572         * manual/math.texi (Errors in Math Functions): Document accuracy
37573         goals.
37575         [BZ #15004]
37576         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37577         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37578         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37579         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37580         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37581         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37582         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37583         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37584         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37585         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37586         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37587         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37588         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37589         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37590         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37591         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37593         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37594         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37595         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37596         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37597         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37598         Likewise.
37599         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37600         Likewise.
37601         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37602         Likewise.
37603         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37604         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37605         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37606         atomic-feupdateenv and flt-rounds.
37607         * sysdeps/powerpc/nofpu/Versions (libc): Add
37608         __atomic_feholdexcept, __atomic_feclearexcept,
37609         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37610         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37611         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37612         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37613         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37614         here.
37615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37616         Update.
37618         * manual/arith.texi (FP Exceptions): Document that exceptions may
37619         not be raised when matherr is used.
37620         (Math Error Reporting): Document overflow in directed rounding
37621         modes.  Document that errno may not be set when finite values are
37622         returned on overflow.  Document intent to set errno on underflow
37623         only for underflow to zero.
37625         [BZ #16271]
37626         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37627         round-to-nearest then adjust result for other rounding modes.
37628         * include/fenv.h (fegetround): Use libm_hidden_proto.
37629         * math/fegetround.c (fegetround): Use libm_hidden_def.
37630         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37631         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37632         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37633         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37634         Likewise.
37635         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37636         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37637         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37638         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37640 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37642         [BZ #16077]
37643         * nss/Versions (libnss_files): Add
37644         _nss_files_gethostbyname3_r.
37645         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37646         New function.
37647         (HOST_DB_LOOKUP): Remove macro.
37648         (_nss_files_gethostbyname_r): Implement function without the
37649         HOST_DB_LOOKUP macro.
37650         (_nss_files_gethostbyname2_r): Likewise.
37652 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37654         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37656 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37658         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37659         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37660         warning.
37662 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37664         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37665         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37666         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37667         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37668         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37669         __fe_nomask_env_priv and attribute_hidden.
37670         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37671         (libc_feupdateenv_test_ppc): Likewise.
37672         (libc_feresetround_ppc): Likewise.
37673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37674         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37675         compat_symbol macro.
37676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37677         (__fe_nomask_env): Likewise.
37678         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37680 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37682         * string/Makefile: Remove ifunc tests.
37683         * string/test-string.h: Define TEST_IFUNC.
37684         * string/test-bcopy-ifunc.c: Remove.
37685         * string/test-bzero-ifunc.c: Likewise.
37686         * string/test-memccpy-ifunc.c: Likewise.
37687         * string/test-memchr-ifunc.c: Likewise.
37688         * string/test-memcmp-ifunc.c: Likewise.
37689         * string/test-memcpy-ifunc.c: Likewise.
37690         * string/test-memmem-ifunc.c: Likewise.
37691         * string/test-memmove-ifunc.c: Likewise.
37692         * string/test-mempcpy-ifunc.c: Likewise.
37693         * string/test-memrchr-ifunc.c: Likewise.
37694         * string/test-memset-ifunc.c: Likewise.
37695         * string/test-rawmemchr-ifunc.c: Likewise.
37696         * string/test-stpcpy-ifunc.c: Likewise.
37697         * string/test-stpncpy-ifunc.c: Likewise.
37698         * string/test-strcasecmp-ifunc.c: Likewise.
37699         * string/test-strcasestr-ifunc.c: Likewise.
37700         * string/test-strcat-ifunc.c: Likewise.
37701         * string/test-strchr-ifunc.c: Likewise.
37702         * string/test-strchrnul-ifunc.c: Likewise.
37703         * string/test-strcmp-ifunc.c: Likewise.
37704         * string/test-strcpy-ifunc.c: Likewise.
37705         * string/test-strcspn-ifunc.c: Likewise.
37706         * string/test-strlen-ifunc.c: Likewise.
37707         * string/test-strncasecmp-ifunc.c: Likewise.
37708         * string/test-strncat-ifunc.c: Likewise.
37709         * string/test-strncmp-ifunc.c: Likewise.
37710         * string/test-strncpy-ifunc.c: Likewise.
37711         * string/test-strnlen-ifunc.c: Likewise.
37712         * string/test-strpbrk-ifunc.c: Likewise.
37713         * string/test-strrchr-ifunc.c: Likewise.
37714         * string/test-strspn-ifunc.c: Likewise.
37715         * string/test-strstr-ifunc.c: Likewise.
37717 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37719         * benchtests/Makefile: Remove ifunc tests.
37720         * benchtests/bench-string.h: Define TEST_IFUNC.
37721         * benchtests/bench-bcopy-ifunc.c: Remove.
37722         * benchtests/bench-bzero-ifunc.c: Likewise.
37723         * benchtests/bench-memccpy-ifunc.c: Likewise.
37724         * benchtests/bench-memchr-ifunc.c: Likewise.
37725         * benchtests/bench-memcmp-ifunc.c: Likewise.
37726         * benchtests/bench-memcpy-ifunc.c: Likewise.
37727         * benchtests/bench-memmem-ifunc.c: Likewise.
37728         * benchtests/bench-memmove-ifunc.c: Likewise.
37729         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37730         * benchtests/bench-memrchr-ifunc.c: Likewise.
37731         * benchtests/bench-memset-ifunc.c: Likewise.
37732         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37733         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37734         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37735         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37736         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37737         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37738         * benchtests/bench-strcat-ifunc.c: Likewise.
37739         * benchtests/bench-strchr-ifunc.c: Likewise.
37740         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37741         * benchtests/bench-strcmp-ifunc.c: Likewise.
37742         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37743         * benchtests/bench-strcpy-ifunc.c: Likewise.
37744         * benchtests/bench-strcspn-ifunc.c: Likewise.
37745         * benchtests/bench-strlen-ifunc.c: Likewise.
37746         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37747         * benchtests/bench-strncat-ifunc.c: Likewise.
37748         * benchtests/bench-strncmp-ifunc.c: Likewise.
37749         * benchtests/bench-strncpy-ifunc.c: Likewise.
37750         * benchtests/bench-strnlen-ifunc.c: Likewise.
37751         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37752         * benchtests/bench-strrchr-ifunc.c: Likewise.
37753         * benchtests/bench-strsep-ifunc.c: Likewise.
37754         * benchtests/bench-strspn-ifunc.c: Likewise.
37755         * benchtests/bench-strstr-ifunc.c: Likewise.
37757 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37759         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37761 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37763         * resolv/netdb.h: Use __glibc_reserved instead __unused.
37764         * rt/aio.h: Likewise.
37765         * sysdeps/gnu/bits/utmp.h: Likewise.
37766         * sysdeps/gnu/bits/utmpx.h: Likewise.
37767         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37768         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37769         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37770         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37771         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37772         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37773         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37774         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37775         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37776         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37777         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37778         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37779         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37781         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37782         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37783         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37784         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37785         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37786         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37787         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37788         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37789         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37790         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37791         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37792         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37793         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37794         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37795         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37796         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37797         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37798         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37799         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37800         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37801         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37802         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37803         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37804         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37805         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37806         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37807         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37808         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37810 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37812         [BZ #16245]
37813         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37814         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37816 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37818         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37819         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37820         Likewise.
37822 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37824         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37825         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37826         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37827         (__fesetround): Remove define.
37828         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37829         rounding and exceptions handling.
37830         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37831         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37832         (__fe_nomask_env): Likewise.
37833         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37834         __fegetround instead of fegetround.
37835         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37836         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37838 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37840         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37841         it's there.
37843         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37845 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37847         [BZ #11157]
37848         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37849         (encrypt_r): Likewise.
37850         * malloc/obstack.h (obstack_free): Likewise.
37851         * posix/unistd.h (encrypt): Likewise.
37853 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
37855         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37856         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37857         DL_CALL_DT_FINI() that call the functions directly.
37858         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37859         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37860         * elf/dl-fini.c: Likewise.
37862 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
37864         * malloc/hooks.c (memalign_check): Add alignment rounding.
37865         * malloc/malloc.c (_mid_memalign): New function.
37866         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37867         Implement by calling _mid_memalign.
37868         * manual/probes.texi (Memory Allocation Probes): Remove
37869         memory_valloc_retry and memory_pvalloc_retry.
37871 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37873         * locale/programs/locarchive.c (open_archive): Add const
37874         qualifier to ARCHIVEFNAME and copy default fname to
37875         DEFAULT_FNAME.
37877         [BZ #15601]
37878         * libio/tst-widetext.input: Rename Oriya to Odia.
37879         * locale/iso-639.def: Likewise.
37881         * manual/probes.texi (Mathematical Function Probes): Add
37882         documentation for sin, cos, asin and acos probes.
37883         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37884         (__sin32): Add slowasin probe.
37885         (__cos32): Add slowacos probe.
37886         (__mpsin): Add slowsin probe.
37887         (__mpcos): Add slowcos probe.
37889 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
37891         [BZ #15483]
37892         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37893         thread-local __sim_exceptions_thread and global
37894         __sim_exceptions_global.
37895         (__sim_disabled_exceptions): Change to thread-local
37896         __sim_disabled_exceptions_thread and global
37897         __sim_disabled_exceptions_global.
37898         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37899         and global __sim_round_mode_global.
37900         (__simulate_exceptions): Use thread-local floating-point state and
37901         set global state from it as needed.
37902         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37903         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37904         __sim_round_mode_thread.
37905         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37906         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37907         and global __sim_exceptions_global.
37908         (__sim_disabled_exceptions): Change to thread-local
37909         __sim_disabled_exceptions_thread and global
37910         __sim_disabled_exceptions_global.
37911         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37912         and global __sim_round_mode_global.
37913         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37914         (SIM_SET_GLOBAL): Likewise.
37915         * sysdeps/powerpc/soft-fp/sfp-machine.h
37916         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37917         __sim_round_mode_thread.
37918         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37919         __sim_disabled_exceptions_thread.
37920         (__sim_exceptions): Change to __sim_exceptions_thread.
37921         (__sim_disabled_exceptions): Change to
37922         __sim_disabled_exceptions_thread.
37923         (__sim_round_mode): Change to __sim_round_mode_thread.
37924         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37925         thread-local floating-point state and set global state from it as
37926         needed.
37927         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37928         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37929         (__sim_disabled_exceptions): Remove extern declaration.
37930         (feenableexcept): Use thread-local floating-point state and set
37931         global state from it as needed.
37932         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37933         extern declaration.
37934         (__sim_disabled_exceptions): Likewise.
37935         (__sim_round_mode): Likewise.
37936         (__fegetenv): Use thread-local floating-point state.
37937         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37938         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37939         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37940         floating-point state and set global state from it as needed.
37941         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37942         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37943         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37944         Likewise.
37945         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37946         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37947         Likewise.
37948         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37949         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37950         Use __sim_round_mode_thread.
37951         * math/test-fenv-tls.c: New file.
37952         * math/Makefile (tests): Add test-fenv-tls.
37953         ($(objpfx)test-fenv-tls): Depend on
37954         $(common-objpfx)nptl/libpthread.so.
37956 2013-11-19  Andreas Schwab  <schwab@suse.de>
37958         * locale/programs/locale.c (show_info): Decode wordarray elements.
37959         * locale/categories.def (LC_MONETARY): Add element for
37960         _NL_MONETARY_CRNCYSTR.
37961         * locale/C-monetary.c (conversion_rate): New variable.
37962         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37963         element.
37965 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
37967         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37968         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37970 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37972         * elf/Makefile (tst-auxv): New test.
37973         * elf/tst-auxv.c: New
37974         * elf/rtld.c (dl_main): Adjust AT_EXECFN
37976 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
37978         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37979         (hidden_proto): Caller changed.
37980         (hidden_tls_proto): New macro.
37981         (libc_hidden_tls_proto): Likewise.
37982         (rtld_hidden_tls_proto): Likewise.
37983         (libm_hidden_tls_proto): Likewise.
37984         (libresolv_hidden_tls_proto): Likewise.
37985         (librt_hidden_tls_proto): Likewise.
37986         (libdl_hidden_tls_proto): Likewise.
37987         (libnss_files_hidden_tls_proto): Likewise.
37988         (libnsl_hidden_tls_proto): Likewise.
37989         (libnss_nisplus_hidden_tls_proto): Likewise.
37990         (libutil_hidden_tls_proto): Likewise.
37992 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37994         [BZ #10253]
37995         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37996         (decompose_rpath): Defer expansion to fillin_rpath.
37997         (_dl_init_paths): Pass linkmap to fillin_rpath.
37999 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38001         * benchtests/Makefile: Add strsep.
38002         * benchtests/bench-strsep.c: New file: strsep benchtest.
38003         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38005 2013-11-18  Andreas Schwab  <schwab@suse.de>
38007         * locale/programs/locale.c (show_info) [case byte]: Check for
38008         '\377' instead of '\177'.
38009         * locale/C-monetary.c (not_available): Always use "\377".
38010         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38011         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
38012         detect unavailable sign_posn locale elements.
38013         * locale/localeconv.c (__localeconv): For grouping and
38014         mon_grouping handle "\177" and "\377" like no grouping.
38015         (INT_ELEM): New macro.  Use it to set all numeric members.
38016         * locale/programs/ld-monetary.c (monetary_read)
38017         <tok_mon_grouping>: Normalize single -1 to the empty string.
38018         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38019         Likewise.
38021 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38023         [BZ #16055]
38024         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38025         when we match (nil).
38026         * stdio-common/tst-sscanf.c (struct test): Add testcase.
38028 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
38030         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38031         (NO_TEST_INLINE): Update value.
38032         (ERRNO_UNCHANGED): Likewise.
38033         (ERRNO_EDOM): Likewise.
38034         (ERRNO_ERANGE): Likewise.
38035         (IGNORE_RESULT): Likewise.
38036         (check_float_internal): Check signs of NaN results if
38037         TEST_NAN_SIGN used.
38038         (check_complex): Pass TEST_NAN_SIGN flag through to second
38039         check_float_internal call.
38040         (copysign_test_data): Add tests with quiet NaNs as second
38041         argument.  Use TEST_NAN_SIGN.
38042         (fabs_test_data): Add test of negative quiet NaN argument.  Use
38043         TEST_NAN_SIGN.
38044         (signbit_test_data): Add tests of quiet NaN argument.
38045         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38047         * math/gen-libm-test.pl (show_exceptions): Take extra argument
38048         $ignore_result.
38049         (parse_args): Handle function results specified as IGNORE.
38050         * math/libm-test.inc (IGNORE_RESULT): New macro.
38051         (check_float_internal): Do not check numerical result if flag
38052         IGNORE_RESULT set.
38053         (check_complex): Pass through IGNORE_RESULT to second
38054         check_float_internal call.
38055         (check_int): Do not check numerical result if flag IGNORE_RESULT
38056         set.
38057         (check_long): Likewise.
38058         (check_bool): Likewise.
38059         (check_longlong): Likewise.
38060         (lrint_test_data): Add tests of infinite and NaN arguments.
38061         (lrint_tonearest_test_data): Likewise.
38062         (lrint_towardzero_test_data): Likewise.
38063         (lrint_downward_test_data): Likewise.
38064         (lrint_upward_test_data): Likewise.
38065         (llrint_test_data): Likewise.
38066         (llrint_tonearest_test_data): Likewise.
38067         (llrint_towardzero_test_data): Likewise.
38068         (llrint_downward_test_data): Likewise.
38069         (llrint_upward_test_data): Likewise.
38070         (lround_test_data): Likewise.
38071         (llround_test_data): Likewise.
38073         * math/libm-test.inc (NO_TEST_INLINE): New macro.
38074         (ERRNO_UNCHANGED): Update value.
38075         (ERRNO_EDOM): Likewise.
38076         (ERRNO_ERANGE): Likewise.
38077         (NO_TEST_INLINE_FLOAT): New macro.
38078         (NO_TEST_INLINE_DOUBLE): Likewise.
38079         (enable_test): New function.
38080         (RUN_TEST_f_f): Check enable_test before running test.
38081         (RUN_TEST_2_f): Likewise.
38082         (RUN_TEST_fff_f): Likewise.
38083         (RUN_TEST_c_f): Likewise.
38084         (RUN_TEST_f_f1): Likewise.
38085         (RUN_TEST_fF_f1): Likewise.
38086         (RUN_TEST_fI_f1): Likewise.
38087         (RUN_TEST_ffI_f1): Likewise.
38088         (RUN_TEST_c_c): Likewise.
38089         (RUN_TEST_cc_c): Likewise.
38090         (RUN_TEST_f_i): Likewise.
38091         (RUN_TEST_f_i_tg): Likewise.
38092         (RUN_TEST_ff_i_tg): Likewise.
38093         (RUN_TEST_f_b): Likewise.
38094         (RUN_TEST_f_b_tg): Likewise.
38095         (RUN_TEST_f_l): Likewise.
38096         (RUN_TEST_f_L): Likewise.
38097         (RUN_TEST_fFF_11): Likewise.
38098         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38099         conditionals.
38100         (cosh_test_data): Likewise.
38101         (exp_test_data): Likewise.
38102         (expm1_test_data): Likewise.
38103         (hypot_test_data): Likewise.
38104         (pow_test_data): Likewise.
38105         (sinh_test_data): Likewise.
38106         (tanh_test_data): Likewise.
38107         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38108         flags argument.
38110         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38111         tests with quiet NaN input and output.
38112         (acosh_test_data): Likewise.
38113         (asin_test_data): Likewise.
38114         (asinh_test_data): Likewise.
38115         (atan_test_data): Likewise.
38116         (atanh_test_data): Likewise.
38117         (atan2_test_data): Likewise.
38118         (cbrt_test_data): Likewise.
38119         (cos_test_data): Likewise.
38120         (cosh_test_data): Likewise.
38121         (erf_test_data): Likewise.
38122         (erfc_test_data): Likewise.
38123         (exp_test_data): Likewise.
38124         (exp10_test_data): Likewise.
38125         (exp2_test_data): Likewise.
38126         (expm1_test_data): Likewise.
38127         (hypot_test_data): Likewise.
38128         (j0_test_data): Likewise.
38129         (j1_test_data): Likewise.
38130         (jn_test_data): Likewise.
38131         (lgamma_test_data): Likewise.
38132         (log_test_data): Likewise.
38133         (log10_test_data): Likewise.
38134         (log1p_test_data): Likewise.
38135         (log2_test_data): Likewise.
38136         (pow_test_data): Likewise.
38137         (scalb_test_data): Likewise.
38138         (sin_test_data): Likewise.
38139         (sincos_test_data): Likewise.
38140         (sinh_test_data): Likewise.
38141         (tan_test_data): Likewise.
38142         (tanh_test_data): Likewise.
38143         (tgamma_test_data): Likewise.
38144         (y0_test_data): Likewise.
38145         (y1_test_data): Likewise.
38146         (yn_test_data): Likewise.
38148         [BZ #16167]
38149         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38150         argument being NaN and avoid computations with second argument in
38151         that case.
38152         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38153         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38154         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38156 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
38158         * locale/iso-639.def: Add Chitwani Tharu (the).
38160 2013-11-14  Andreas Schwab  <schwab@suse.de>
38162         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38163         word instead of empty string.
38165 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38168         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38170         (__fe_nomask_env): Likewise.
38172 2013-11-13  Steve Ellcey  <sellcey@mips.com>
38174         * benchtests/bench-timing.h: Include time.h.
38176 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38178         [BZ #15997]
38179         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38180         to 3.4.0 for x32.
38181         * sysdeps/unix/sysv/linux/configure: Regenerated.
38183 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38185         [BZ #16151]
38186         * stdlib/strtod_l.c (round_and_return): Do not consider
38187         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38188         exponent one less than half the least subnormal exponent.
38189         * stdlib/test-strtod-round-data: Add more tests.
38190         * stdlib/tst-strtod-round.c (tests): Regenerated.
38192 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38194         [BZ #14143]
38195         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38196         (__fe_mask_env): Likewise.
38197         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38198         libm_hidden_proto and add function prototype.
38199         (__fe_mask_env): Add function prototype.
38200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38201         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38203         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38205         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38207 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38209         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38210         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38212 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38214         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38215         of htab_find_slot().
38217 2013-11-11  David S. Miller  <davem@davemloft.net>
38219         [BZ #16150]
38220         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38221         symbol in the non-vis3 case in static builds.
38222         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38223         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38224         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38225         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38227 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38229         [BZ #387]
38230         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38231         it is empty.
38233 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38235         * benchtests/Makefile: Add bench-strtod.
38236         * benchtests/bench-strtod.c: New file: strtod benchtest
38238 2013-11-11  Andreas Schwab  <schwab@suse.de>
38240         [BZ #16153]
38241         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38242         terminating NUL in key length.
38244 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38246         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38247         Add artificial ODP entry for vDSO symbol for PPC64.
38248         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38249         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38251 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38253         [BZ #15374]
38254         * nss/getent.c (services_keys): Recognize services starting with digit.
38256 2013-11-06  David S. Miller  <davem@davemloft.net>
38258         [BZ #15985]
38259         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38260         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38262 2013-11-06  Will Newton  <will.newton@linaro.org>
38264         * manual/memory.texi (Malloc Examples): Remove register
38265         keyword from examples.
38267 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38269         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38271 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38273         [BZ #6981]
38274         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38275         depending on [__GCC_IEC_559 > 0].
38276         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38277         depending on [__GCC_IEC_559_COMPLEX > 0].
38279 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38281         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38282         to iso-639.def.
38284 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38286         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38288 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38290         [BZ #16112]
38291         * malloc/malloc (malloc_info): Do not handle first bin as
38292         special case.
38294 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38296         * locale/iso-639.def: Add Central Nahuatl (nhn).
38298 2013-11-01  Bruno Haible  <bruno@clisp.org>
38300         [BZ #7003]
38301         * manual/math.texi (BSD Random): Specify range upper bound as
38302         in POSIX.
38304 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
38306         * locale/iso-639.def: Add Meadow Mari (mhr).
38308 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
38310         [BZ #14752], [BZ #15763]
38311         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38312         Validate name.
38313         * rt/tst_shm.c: Add test for escaping directory.
38315 2013-10-31  Andreas Schwab  <schwab@suse.de>
38317         [BZ #15917]
38318         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38319         followed by 'x' as part of digit sequence.
38320         * stdio-common/tst-sscanf.c (double_tests2): New tests.
38322 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38324         [BZ #16037]
38325         * configure.ac: allow GNU Make 4.0 and greater.
38326         * configure: Regenerated.
38328 2013-10-30  Will Newton  <will.newton@linaro.org>
38330         [BZ #16038]
38331         * malloc/hooks.c (memalign_check): Limit alignment to the
38332         maximum representable power of two.
38333         * malloc/malloc.c (__libc_memalign): Likewise.
38334         * malloc/tst-memalign.c (do_test): Add test for very
38335         large alignment values.
38336         * malloc/tst-posix_memalign.c (do_test): Likewise.
38338 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38340         [BZ #11087]
38341         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38342         (munmap_chunk): Likewise.
38343         (mremap_chunk): Likewise.
38345 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38347         [BZ #15799]
38348         * stdlib/div.c (div): Remove obsolete code.
38349         * stdlib/ldiv.c (ldiv): Likewise.
38350         * stdlib/lldiv.c (lldiv): Likewise.
38352 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38354         [BZ #16071]
38355         * nss/nss_files/files-XXX.c (get_contents_ret): New
38356         enumerator.
38357         (get_contents): New function.
38358         (internal_getent): Use it.  Expand size of LINEBUFLEN.
38360 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
38362         * configure.in: Moved to ...
38363         * configure.ac: ... here. Change reference to configure.in
38364         to configure.ac.
38365         * sysdeps/arm/preconfigure.ac: ... here.
38366         configure.in to configure.ac.
38367         * sysdeps/gnu/configure.in: Moved to ...
38368         * sysdeps/gnu/configure.ac: ... here.
38369         * sysdeps/i386/configure.in: Moved to ...
38370         * sysdeps/i386/configure.ac: ... here.
38371         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38372         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38373         * sysdeps/mach/configure.in: Moved to ...
38374         * sysdeps/mach/configure.ac: ... here.
38375         * sysdeps/mach/hurd/configure.in: Moved to ...
38376         * sysdeps/mach/hurd/configure.ac: ... here.
38377         * sysdeps/powerpc/configure.in: Moved to ...
38378         * sysdeps/powerpc/configure.ac: ... here.
38379         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38380         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38381         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38382         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38383         * sysdeps/s390/s390-32/configure.in: Moved to ...
38384         * sysdeps/s390/s390-32/configure.ac: ... here.
38385         * sysdeps/s390/s390-64/configure.in: Moved to ...
38386         * sysdeps/s390/s390-64/configure.ac: ... here.
38387         * sysdeps/sh/configure.in: Moved to ...
38388         * sysdeps/sh/configure.ac: ... here.
38389         * sysdeps/sparc/configure.in: Moved to ...
38390         * sysdeps/sparc/configure.ac: ... here.
38391         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38392         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38393         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38394         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38395         * sysdeps/x86_64/configure.in: Moved to ...
38396         * sysdeps/x86_64/configure.ac: ... here.
38397         * sysdeps/x86_64/preconfigure.in: Moved to ...
38398         * sysdeps/x86_64/preconfigure.ac: ... here.
38399         * aclocal.m4: Change reference to configure.in to configure.ac.
38400         * config.h.in: Likewise.
38401         * manual/install.texi: Likewise.
38402         * manual/maint.texi: Likewise.
38403         * Makefile: Likewise.
38404         * malloc/Makefile: Likewise.
38405         * nscd/Makefile: Likewise.
38406         * Makeconfig: Change reference to configure.in and
38407         preconfigure.in to configure.ac and preconfigure.ac
38408         respectively.
38409         * INSTALL: Regenerated.
38410         * configure: Likewise.
38411         * sysdeps/gnu/configure: Likewise.
38412         * sysdeps/i386/configure: Likewise.
38413         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38414         * sysdeps/mach/configure: Likewise.
38415         * sysdeps/mach/hurd/configure: Likewise.
38416         * sysdeps/powerpc/configure: Likewise.
38417         * sysdeps/powerpc/powerpc32/configure: Likewise.
38418         * sysdeps/powerpc/powerpc64/configure: Likewise.
38419         * sysdeps/s390/s390-32/configure: Likewise.
38420         * sysdeps/s390/s390-64/configure: Likewise.
38421         * sysdeps/sh/configure: Likewise.
38422         * sysdeps/sparc/configure: Likewise.
38423         * sysdeps/unix/sysv/linux/configure: Likewise.
38424         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38425         * sysdeps/x86_64/configure: Likewise.
38426         * sysdeps/x86_64/preconfigure: Likewise.
38428 2013-10-29  Andreas Schwab  <schwab@suse.de>
38430         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38432 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38434         * benchtests/pow-inputs: Add new inputs.
38436         * benchtests/exp-inputs: Add new inputs.
38438         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38439         conditional check for return value.
38440         (__cos32): Likewise.
38442 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38444         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38445         to provide a boost for large inputs with word alignment.
38446         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38447         implementation based on optimized PPC64 strcpy.
38448         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38449         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38450         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38451         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38453 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38455         [BZ #2801]
38456         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38458 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38460         [BZ #14876]
38461         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38462         * time/tst-strptime.c (day_tests): Add testcase.
38464 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38466         [BZ #14029]
38467         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38469 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38471         [BZ #16074]
38472         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38473         MAP_FAILED on error.
38475 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38477         [BZ #16072]
38478         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38479         heap for large requests.
38481 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38483         [BZ #9954]
38484         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38485         result if the result has no associated interface.
38486         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38487         interface for all 127.X.Y.Z addresses.
38489 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38491         * locale/iso-639.def: Add Ligurian (lij)
38493 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38495         [BZ #15825]
38496         * sunrpc/rpc_main.c: Document rpcgen -5.
38498 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38500         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38502 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38504         [BZ #10278]
38505         * posix/glob.c: Match only directories when trailing slash is present.
38506         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38507         (main): Add testcase.
38509 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38511         [BZ #15670]
38512         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38514 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38516         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38517         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38518         AUTH_DES and cindex for FIPS 140-2.
38519         (DES Encryption): Add cindex FIPS 46-3.
38521         * locale/locarchive.h (struct locarhandle): Add fname.
38522         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38523         if an optional argument was specified to --list-archive,
38524         otherwise NULL.
38525         * locale/programs/locarchive.c (show_archive_content): Take new
38526         argument fname and pass it via ah.fname to open_archive.
38527         * locale/programs/localedef.h: Update decl.
38528         (open_archive): If AH->fname is non-null, open that file
38529         rather than the default file name, and don't ignore ENOENT.
38530         (create_archive): Set AH.fname to NULL.
38531         (delete_locales_from_archive): Likewise.
38532         (add_locales_to_archive): Likewise.
38533         * locale/programs/locfile.c (write_all_categories): Likewise.
38535 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38536             Aldy Hernandez  <aldyh@redhat.com>
38538         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38539         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38540         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38541         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38542         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38543         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38544         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38545         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38546         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38547         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38548         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38549         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38550         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38551         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38552         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38553         Likewise.
38554         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38555         Likewise.
38556         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38557         Likewise.
38558         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38559         Likewise.
38560         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38561         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38562         Likewise.
38563         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38564         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38565         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38566         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38567         Likewise.
38568         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38569         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38570         * sysdeps/powerpc/preconfigure: Likewise.
38571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38572         Likewise.
38573         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38574         Replace contents of file by #include of <fenv_libc.h>.
38575         * sysdeps/powerpc/soft-fp/sfp-machine.h
38576         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38577         and <sys/prctl.h>.
38578         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38579         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38580         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38581         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38582         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38583         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38584         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38585         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38586         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38587         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38588         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38589         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38591         Allow copysignl PLT reference to be missing.
38593 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38594             Joseph Myers  <joseph@codesourcery.com
38596         [BZ #15948]
38597         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38598         single character.
38599         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38601 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38603         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38604         * elf/tst-tls1.c: Likewise.
38605         * elf/tst-tls10.h: Likewise.
38606         * elf/tst-tls14.c: Likewise.
38607         * elf/tst-tls2.c: Likewise.
38608         * elf/tst-tls3.c: Likewise.
38609         * elf/tst-tls4.c: Likewise.
38610         * elf/tst-tls5.c: Likewise.
38611         * elf/tst-tls6.c: Likewise.
38612         * elf/tst-tls7.c: Likewise.
38613         * elf/tst-tls8.c: Likewise.
38614         * elf/tst-tls9.c: Likewise.
38615         * elf/tst-tlsmod1.c: Likewise.
38616         * elf/tst-tlsmod13.c: Likewise.
38617         * elf/tst-tlsmod13a.c: Likewise.
38618         * elf/tst-tlsmod14a.c: Likewise.
38619         * elf/tst-tlsmod16a.c: Likewise.
38620         * elf/tst-tlsmod16b.c: Likewise.
38621         * elf/tst-tlsmod2.c: Likewise.
38622         * elf/tst-tlsmod3.c: Likewise.
38623         * elf/tst-tlsmod4.c: Likewise.
38624         * elf/tst-tlsmod5.c: Likewise.
38625         * elf/tst-tlsmod6.c: Likewise.
38627 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38629         [BZ #12486]
38630         * malloc/malloc.c: remove checks for statistics.
38632 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38634         [BZ #15277]
38635         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38636         * inet/tst-network.c: Add testcase.
38638 2013-10-17  Andreas Schwab  <schwab@suse.de>
38640         [BZ #15218]
38641         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38642         to determine canonical name.
38644 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38646         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38647         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38648         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38649         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38650         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38651         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38652         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38653         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38654         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38655         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38656         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38657         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38658         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38659         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38660         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38661         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38662         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38663         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38664         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38665         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38666         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38667         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38668         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38669         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38670         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38671         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38672         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38673         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38674         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38675         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38676         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38677         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38678         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38679         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38680         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38681         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38682         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38683         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38684         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38685         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38686         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38687         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38688         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38689         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38690         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38691         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38692         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38693         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38694         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38695         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38696         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38697         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38698         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38699         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38700         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38701         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38702         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38703         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38705 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38707         [BZ #16041]
38708         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38709         make result into a quiet NaN.
38711 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38713         * soft-fp/adddf3.c: Fix horizontal whitespace.
38714         * soft-fp/addsf3.c: Likewise.
38715         * soft-fp/addtf3.c: Likewise.
38716         * soft-fp/divdf3.c: Likewise.
38717         * soft-fp/divsf3.c: Likewise.
38718         * soft-fp/divtf3.c: Likewise.
38719         * soft-fp/double.h: Likewise.
38720         * soft-fp/eqdf2.c: Likewise.
38721         * soft-fp/eqsf2.c: Likewise.
38722         * soft-fp/eqtf2.c: Likewise.
38723         * soft-fp/extenddftf2.c: Likewise.
38724         * soft-fp/extended.h: Likewise.
38725         * soft-fp/extendsfdf2.c: Likewise.
38726         * soft-fp/extendsftf2.c: Likewise.
38727         * soft-fp/extendxftf2.c: Likewise.
38728         * soft-fp/fixdfdi.c: Likewise.
38729         * soft-fp/fixdfsi.c: Likewise.
38730         * soft-fp/fixdfti.c: Likewise.
38731         * soft-fp/fixsfdi.c: Likewise.
38732         * soft-fp/fixsfsi.c: Likewise.
38733         * soft-fp/fixsfti.c: Likewise.
38734         * soft-fp/fixtfdi.c: Likewise.
38735         * soft-fp/fixtfsi.c: Likewise.
38736         * soft-fp/fixtfti.c: Likewise.
38737         * soft-fp/fixunsdfdi.c: Likewise.
38738         * soft-fp/fixunsdfsi.c: Likewise.
38739         * soft-fp/fixunsdfti.c: Likewise.
38740         * soft-fp/fixunssfdi.c: Likewise.
38741         * soft-fp/fixunssfsi.c: Likewise.
38742         * soft-fp/fixunssfti.c: Likewise.
38743         * soft-fp/fixunstfdi.c: Likewise.
38744         * soft-fp/fixunstfsi.c: Likewise.
38745         * soft-fp/fixunstfti.c: Likewise.
38746         * soft-fp/floatdidf.c: Likewise.
38747         * soft-fp/floatdisf.c: Likewise.
38748         * soft-fp/floatditf.c: Likewise.
38749         * soft-fp/floatsidf.c: Likewise.
38750         * soft-fp/floatsisf.c: Likewise.
38751         * soft-fp/floatsitf.c: Likewise.
38752         * soft-fp/floattidf.c: Likewise.
38753         * soft-fp/floattisf.c: Likewise.
38754         * soft-fp/floattitf.c: Likewise.
38755         * soft-fp/floatundidf.c: Likewise.
38756         * soft-fp/floatundisf.c: Likewise.
38757         * soft-fp/floatunditf.c: Likewise.
38758         * soft-fp/floatunsidf.c: Likewise.
38759         * soft-fp/floatunsisf.c: Likewise.
38760         * soft-fp/floatunsitf.c: Likewise.
38761         * soft-fp/floatuntidf.c: Likewise.
38762         * soft-fp/floatuntisf.c: Likewise.
38763         * soft-fp/floatuntitf.c: Likewise.
38764         * soft-fp/fmadf4.c: Likewise.
38765         * soft-fp/fmasf4.c: Likewise.
38766         * soft-fp/fmatf4.c: Likewise.
38767         * soft-fp/gedf2.c: Likewise.
38768         * soft-fp/gesf2.c: Likewise.
38769         * soft-fp/getf2.c: Likewise.
38770         * soft-fp/ledf2.c: Likewise.
38771         * soft-fp/lesf2.c: Likewise.
38772         * soft-fp/letf2.c: Likewise.
38773         * soft-fp/muldf3.c: Likewise.
38774         * soft-fp/mulsf3.c: Likewise.
38775         * soft-fp/multf3.c: Likewise.
38776         * soft-fp/negdf2.c: Likewise.
38777         * soft-fp/negsf2.c: Likewise.
38778         * soft-fp/negtf2.c: Likewise.
38779         * soft-fp/op-1.h: Likewise.
38780         * soft-fp/op-2.h: Likewise.
38781         * soft-fp/op-4.h: Likewise.
38782         * soft-fp/op-8.h: Likewise.
38783         * soft-fp/op-common.h: Likewise.
38784         * soft-fp/quad.h: Likewise.
38785         * soft-fp/single.h: Likewise.
38786         * soft-fp/soft-fp.h: Likewise.
38787         * soft-fp/sqrtdf2.c: Likewise.
38788         * soft-fp/sqrtsf2.c: Likewise.
38789         * soft-fp/sqrttf2.c: Likewise.
38790         * soft-fp/subdf3.c: Likewise.
38791         * soft-fp/subsf3.c: Likewise.
38792         * soft-fp/subtf3.c: Likewise.
38793         * soft-fp/truncdfsf2.c: Likewise.
38794         * soft-fp/trunctfdf2.c: Likewise.
38795         * soft-fp/trunctfsf2.c: Likewise.
38796         * soft-fp/trunctfxf2.c: Likewise.
38797         * soft-fp/unorddf2.c: Likewise.
38798         * soft-fp/unordsf2.c: Likewise.
38799         * soft-fp/unordtf2.c: Likewise.
38801 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38803         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38804         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38806 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38808         * elf/dl-libc.c: Clear initfini list after freeing.
38810 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38812         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38813         * soft-fp/addsf3.c: Likewise.
38814         * soft-fp/addtf3.c: Likewise.
38815         * soft-fp/divdf3.c: Likewise.
38816         * soft-fp/divsf3.c: Likewise.
38817         * soft-fp/divtf3.c: Likewise.
38818         * soft-fp/double.h: Likewise.
38819         * soft-fp/eqdf2.c: Likewise.
38820         * soft-fp/eqsf2.c: Likewise.
38821         * soft-fp/eqtf2.c: Likewise.
38822         * soft-fp/extenddftf2.c: Likewise.
38823         * soft-fp/extended.h: Likewise.
38824         * soft-fp/extendsfdf2.c: Likewise.
38825         * soft-fp/extendsftf2.c: Likewise.
38826         * soft-fp/extendxftf2.c: Likewise.
38827         * soft-fp/fixdfdi.c: Likewise.
38828         * soft-fp/fixdfsi.c: Likewise.
38829         * soft-fp/fixdfti.c: Likewise.
38830         * soft-fp/fixsfdi.c: Likewise.
38831         * soft-fp/fixsfsi.c: Likewise.
38832         * soft-fp/fixsfti.c: Likewise.
38833         * soft-fp/fixtfdi.c: Likewise.
38834         * soft-fp/fixtfsi.c: Likewise.
38835         * soft-fp/fixtfti.c: Likewise.
38836         * soft-fp/fixunsdfdi.c: Likewise.
38837         * soft-fp/fixunsdfsi.c: Likewise.
38838         * soft-fp/fixunsdfti.c: Likewise.
38839         * soft-fp/fixunssfdi.c: Likewise.
38840         * soft-fp/fixunssfsi.c: Likewise.
38841         * soft-fp/fixunssfti.c: Likewise.
38842         * soft-fp/fixunstfdi.c: Likewise.
38843         * soft-fp/fixunstfsi.c: Likewise.
38844         * soft-fp/fixunstfti.c: Likewise.
38845         * soft-fp/floatdidf.c: Likewise.
38846         * soft-fp/floatdisf.c: Likewise.
38847         * soft-fp/floatditf.c: Likewise.
38848         * soft-fp/floatsidf.c: Likewise.
38849         * soft-fp/floatsisf.c: Likewise.
38850         * soft-fp/floatsitf.c: Likewise.
38851         * soft-fp/floattidf.c: Likewise.
38852         * soft-fp/floattisf.c: Likewise.
38853         * soft-fp/floattitf.c: Likewise.
38854         * soft-fp/floatundidf.c: Likewise.
38855         * soft-fp/floatundisf.c: Likewise.
38856         * soft-fp/floatunsidf.c: Likewise.
38857         * soft-fp/floatunsisf.c: Likewise.
38858         * soft-fp/floatuntidf.c: Likewise.
38859         * soft-fp/floatuntisf.c: Likewise.
38860         * soft-fp/floatuntitf.c: Likewise.
38861         * soft-fp/fmadf4.c: Likewise.
38862         * soft-fp/fmasf4.c: Likewise.
38863         * soft-fp/fmatf4.c: Likewise.
38864         * soft-fp/gedf2.c: Likewise.
38865         * soft-fp/gesf2.c: Likewise.
38866         * soft-fp/getf2.c: Likewise.
38867         * soft-fp/ledf2.c: Likewise.
38868         * soft-fp/lesf2.c: Likewise.
38869         * soft-fp/letf2.c: Likewise.
38870         * soft-fp/muldf3.c: Likewise.
38871         * soft-fp/mulsf3.c: Likewise.
38872         * soft-fp/multf3.c: Likewise.
38873         * soft-fp/negdf2.c: Likewise.
38874         * soft-fp/negsf2.c: Likewise.
38875         * soft-fp/negtf2.c: Likewise.
38876         * soft-fp/op-1.h: Likewise.
38877         * soft-fp/op-2.h: Likewise.
38878         * soft-fp/op-4.h: Likewise.
38879         * soft-fp/op-8.h: Likewise.
38880         * soft-fp/op-common.h: Likewise.
38881         * soft-fp/quad.h: Likewise.
38882         * soft-fp/single.h: Likewise.
38883         * soft-fp/soft-fp.h: Likewise.
38884         * soft-fp/sqrtdf2.c: Likewise.
38885         * soft-fp/sqrtsf2.c: Likewise.
38886         * soft-fp/sqrttf2.c: Likewise.
38887         * soft-fp/subdf3.c: Likewise.
38888         * soft-fp/subsf3.c: Likewise.
38889         * soft-fp/subtf3.c: Likewise.
38890         * soft-fp/truncdfsf2.c: Likewise.
38891         * soft-fp/trunctfdf2.c: Likewise.
38892         * soft-fp/trunctfsf2.c: Likewise.
38893         * soft-fp/trunctfxf2.c: Likewise.
38894         * soft-fp/unorddf2.c: Likewise.
38895         * soft-fp/unordsf2.c: Likewise.
38896         * soft-fp/unordtf2.c: Likewise.
38898 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
38900         [BZ #15672]
38901         * misc/error.c (error_tail): Fix possible buffer overflow.
38903 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
38905         [BZ #13028]
38906         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38907         address.
38909 2013-10-14  P. J. McDermott  <pj@pehjota.net>
38911         [BZ #832]
38912         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
38913         testing pipefail option.
38915 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38917         * soft-fp/double.h: Indent preprocessor directives inside #if.
38918         * soft-fp/extended.h: Likewise.
38919         * soft-fp/op-2.h: Likewise.
38920         * soft-fp/op-4.h: Likewise.
38921         * soft-fp/op-common.h: Likewise.
38922         * soft-fp/quad.h: Likewise.
38923         * soft-fp/single.h: Likewise.
38924         * soft-fp/soft-fp.h: Likewise.
38926 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
38928         * iconv/iconv_prog.c: Fix typos.
38929         * stdio-common/psiginfo-data.h: Likewise.
38931 2013-10-12   Reuben Thomas <rrt@sc3d.org>
38933         [BZ #15764]
38934         * locale/setlocale.c: Fix typo.
38936 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38938         [BZ #16036]
38939         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38940         signaling NaN arguments.
38941         * soft-fp/unordsf2.c (__unordsf2): Likewise.
38942         * soft-fp/unordtf2.c (__unordtf2): Likewise.
38944         [BZ #14910]
38945         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38946         unordered operands.
38947         * soft-fp/gesf2.c (__gesf2): Likewise.
38948         * soft-fp/getf2.c (__getf2): Likewise.
38949         * soft-fp/ledf2.c (__ledf2): Likewise.
38950         * soft-fp/lesf2.c (__lesf2): Likewise.
38951         * soft-fp/letf2.c (__letf2): Likewise.
38953         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38954         * soft-fp/eqsf2.c (__eqsf2): Likewise.
38955         * soft-fp/eqtf2.c (__eqtf2): Likewise.
38956         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38957         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38958         * soft-fp/fixdfti.c (__fixdfti): Likewise.
38959         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38960         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38961         * soft-fp/fixsfti.c (__fixsfti): Likewise.
38962         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38963         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38964         * soft-fp/fixtfti.c (__fixtfti): Likewise.
38965         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38966         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38967         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38968         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38969         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38970         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38971         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38972         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38973         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38974         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38975         * soft-fp/floatdisf.c (__floatdisf): Likewise.
38976         * soft-fp/floatsisf.c (__floatsisf): Likewise.
38977         * soft-fp/floattidf.c (__floattidf): Likewise.
38978         * soft-fp/floattisf.c (__floattisf): Likewise.
38979         * soft-fp/floattitf.c (__floattitf): Likewise.
38980         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38981         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38982         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38983         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38984         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38985         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38986         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38987         * soft-fp/gesf2.c (__gesf2): Likewise.
38988         * soft-fp/getf2.c (__getf2): Likewise.
38989         * soft-fp/ledf2.c (__ledf2): Likewise.
38990         * soft-fp/lesf2.c (__lesf2): Likewise.
38991         * soft-fp/letf2.c (__letf2): Likewise.
38993         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38994         Undefine and redefine.
38995         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38996         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38997         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38998         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38999         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39000         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39001         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39002         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39003         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39004         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39005         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39006         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39007         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39008         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39009         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39011         [BZ #16032]
39012         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39013         without decrementing exponent if mantissa >= that for the
39014         denominator, not >.
39015         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39016         denominator, not >.  Decrement exponent in < case instead of
39017         incrementing in >= case.
39018         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39019         without decrementing exponent if mantissa >= that for the
39020         denominator, not >.
39022         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39023         computing saturated result for unsigned overflow.
39025 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39026             Jeff Law  <law@redhat.com>
39028         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39029         (atan2Mp): Add systemtap probe marker.
39030         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39031         (__ieee754_log): Add systemtap probe marker.
39032         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39033         (atanMp): Add systemtap probe marker.
39034         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39035         (tanMp): Add systemtap probe marker.
39036         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39037         (__slowexp): Add systemtap probe marker.
39038         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39039         (__slowpow): Add systemtap probe marker.
39040         * manual/probes.texi: Document probes.
39042 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
39044         [BZ #15362]
39045         * libio/fileops.c (_IO_new_file_write): Return count of bytes
39046         written.
39047         (_IO_new_file_xsputn): Don't return EOF if nothing has been
39048         written.
39049         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39050         written to buffer but not flushed.
39051         * libio/iofwrite_u.c:  Likewise.
39052         * libio/iopadn.c:  Return bytes returned even if EOF was
39053         encountered.
39054         * libio/iowpadn.c:  Likewise.
39055         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39056         if _IO_padn does not write the whole buffer.
39057         [!COMPILE_WPRINTF] (PAD): Likewise.
39059 2013-10-10  David S. Miller  <davem@davemloft.net>
39061         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39062         directory block.
39064 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39066         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
39067         instead of FSF address.
39068         * soft-fp/fixdfti.c: Likewise.
39069         * soft-fp/fixsfti.c: Likewise.
39070         * soft-fp/fixtfti.c: Likewise.
39071         * soft-fp/fixunsdfti.c: Likewise.
39072         * soft-fp/fixunssfti.c: Likewise.
39073         * soft-fp/fixunstfti.c: Likewise.
39074         * soft-fp/floattidf.c: Likewise.
39075         * soft-fp/floattisf.c: Likewise.
39076         * soft-fp/floattitf.c: Likewise.
39077         * soft-fp/floatuntidf.c: Likewise.
39078         * soft-fp/floatuntisf.c: Likewise.
39079         * soft-fp/floatuntitf.c: Likewise.
39080         * soft-fp/trunctfxf2.c: Likewise.
39082         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
39083         * soft-fp/fixdfti.c: Likewise.
39084         * soft-fp/fixsfti.c: Likewise.
39085         * soft-fp/fixtfti.c: Likewise.
39086         * soft-fp/fixunsdfti.c: Likewise.
39087         * soft-fp/fixunssfti.c: Likewise.
39088         * soft-fp/fixunstfti.c: Likewise.
39089         * soft-fp/floattidf.c: Likewise.
39090         * soft-fp/floattisf.c: Likewise.
39091         * soft-fp/floattitf.c: Likewise.
39092         * soft-fp/floatuntidf.c: Likewise.
39093         * soft-fp/floatuntisf.c: Likewise.
39094         * soft-fp/floatuntitf.c: Likewise.
39095         * soft-fp/trunctfxf2.c: Likewise.
39097 2013-10-10  David S. Miller  <davem@davemloft.net>
39099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39101 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
39103         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39104         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39105         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39106         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39107         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39108         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39109         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39111         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39112         for NaNs before doing comparisons on argument.
39113         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39114         Likewise.
39116 2013-10-10  Will Newton  <will.newton@linaro.org>
39118         * malloc/hooks.c (memalign_check): Ensure the value of bytes
39119         passed to _int_memalign does not overflow.
39121 2013-10-10  Torvald Riegel  <triegel@redhat.com>
39123         * scripts/bench.pl: Add include-sources directive.
39124         * benchtests/README: Update documentation.
39126 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39128         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39129         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39130         instead of FP_INIT_ROUNDMODE.
39131         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39132         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39134         [BZ #16034]
39135         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
39136         copy class of input value.
39137         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
39138         not handle exceptions.
39139         * soft-fp/negsf2.c (__negsf2): Likewise.
39140         * soft-fp/negtf2.c (__negtf2): Likewise.
39141         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39143 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
39145         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39146         semicolon.  From Linux kernel.
39148 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
39150         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39152 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
39154         [BZ #156]
39155         * manual/socket.texi: Added statement about buffer
39156         for gethostbyname2_r.
39158 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
39160         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39161         Use .p2align directive instead, throughout.
39162         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39163         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39164         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39165         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39166         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39167         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39168         * sysdeps/x86_64/strchr.S: Likewise.
39169         * sysdeps/x86_64/strrchr.S: Likewise.
39171 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39173         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39175         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39177         * sysdeps/generic/math_private.h (__mpsin1): Remove
39178         declaration.
39179         (__mpcos1): Likewise.
39180         (__mpsin): New argument __range_reduce.
39181         (__mpcos): Likewise.
39182         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39183         (slow): Use __mpsin and __mpcos.
39184         (slow1): Likewise.
39185         (slow2): Likewise.
39186         (sloww): Likewise.
39187         (sloww1): Likewise.
39188         (sloww2): Likewise.
39189         (bsloww): Likewise.
39190         (bsloww1): Likewise.
39191         (bsloww2): Likewise.
39192         (cslow2): Likewise.
39193         (csloww): Likewise.
39194         (csloww1): Likewise.
39195         (csloww2): Likewise.
39196         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39197         range_reduce.  Merge in __mpsin1.
39198         (__mpcos): Likewise.
39199         (__mpsin1): Remove.
39200         (__mpcos1): Likewise.
39202 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39204         * locale/loadlocale.c (_nl_intern_locale_data): Use
39205         LOCFILE_ALIGNED_P.
39206         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39207         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39208         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39209         obstack data is appropriately aligned.
39210         (obstack_int32_grow_fast): Likewise.
39211         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39212         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39213         (add_locale_uint32_array): Likewise.
39215 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39217         * benchtests/Makefile: Remove ARGLIST and RET variables.
39218         ($(objpfx)bench-%.c): Pass only function name to the script.
39219         * benchtests/README: Update documentation.
39220         * benchtests/acos-inputs: Add new directives.
39221         * benchtests/acosh-inputs: Likewise.
39222         * benchtests/asin-inputs: Likewise.
39223         * benchtests/asinh-inputs: Likewise.
39224         * benchtests/atan-inputs: Likewise.
39225         * benchtests/atanh-inputs: Likewise.
39226         * benchtests/cos-inputs: Likewise.
39227         * benchtests/cosh-inputs: Likewise.
39228         * benchtests/exp-inputs: Likewise.
39229         * benchtests/log-inputs: Likewise.
39230         * benchtests/pow-inputs: Likewise.
39231         * benchtests/rint-inputs: Likewise.
39232         * benchtests/sin-inputs: Likewise.
39233         * benchtests/sinh-inputs: Likewise.
39234         * benchtests/tan-inputs: Likewise.
39235         * benchtests/tanh-inputs: Likewise.
39236         * scripts/bench.pl: Add support for new directives.
39238 2013-10-07  Alan Modra  <amodra@gmail.com>
39240         * README: Fix careless merge.
39242 2013-10-05  Alan Modra  <amodra@gmail.com>
39244         * NEWS: Mention powerpc64le support and bugs fixed.
39245         * README: Both big-endian and little-endian powerpc64 supported.
39247 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39249         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39250         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39251         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39252         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39254 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39256         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39257         match prototype.
39259 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39261         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39262         Move -mhard-float appending from
39263         ports/sysdeps/powerpc/powerpc32/Makefile.
39264         [$(with-fp) = yes] (ASFLAGS): Likewise.
39265         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39266         * sysdeps/powerpc/nofpu: Move directory from
39267         ports/sysdeps/powerpc/nofpu.
39268         * sysdeps/powerpc/soft-fp: Move directory from
39269         ports/sysdeps/powerpc/soft-fp.
39270         * sysdeps/powerpc/powerpc32/405: Move directory from
39271         ports/sysdeps/powerpc/powerpc32/405.
39272         * sysdeps/powerpc/powerpc32/440: Move directory from
39273         ports/sysdeps/powerpc/powerpc32/440.
39274         * sysdeps/powerpc/powerpc32/464: Move directory from
39275         ports/sysdeps/powerpc/powerpc32/464.
39276         * sysdeps/powerpc/powerpc32/476: Move directory from
39277         ports/sysdeps/powerpc/powerpc32/476.
39278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39279         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39281         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39283         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39285         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39287         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39288         * README: Update for powerpc-*-linux-gnu software floating point
39289         support in libc.
39291         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39292         case to powerpc/powerpc32*.
39293         * sysdeps/unix/sysv/linux/configure: Regenerated.
39295         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39296         (_FPU_MASK_OM): Define as 0x04.
39297         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39299         0x00c10080.
39300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39301         0x0000003c.
39302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39305         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39306         getcontext_e500.
39307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39308         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39309         setcontext_e500.
39310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39311         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39312         and setcontext_e500.
39314 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
39316         * locale/iso-3166.def: Update iso-1366.def and related occurrences
39318 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39320         * manual/threads.texi (Default Thread Attributes): Fix typo.
39322 2013-10-04  Will Newton  <will.newton@linaro.org>
39324         * malloc/Makefile: Add tst-memalign.
39325         * malloc/tst-memalign.c: New file.
39327         * malloc/tst-posix_memalign.c: Add comments.
39328         (do_test): Add comments and call free on all potentially
39329         allocated pointers. Add space after cast.
39331         * malloc/tst-pvalloc.c: Add comments.
39332         (do_test): Add comments and call free on all potentially
39333         allocated pointers. Remove duplicate check for NULL pointer.
39334         Add space after cast.
39336         * malloc/tst-valloc.c: Add comments.
39337         (do_test): Add comments and call free on all potentially
39338         allocated pointers. Remove duplicate check for NULL pointer.
39339         Add space after cast.
39341 2013-10-04  Alan Modra  <amodra@gmail.com>
39343         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39344         Use stdint types in rather than __attribute__((mode())).
39345         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39347 2013-10-04  Alan Modra  <amodra@gmail.com>
39349         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39350         Correct handling of unaligned relocs for little-endian.
39351         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39353 2013-10-04  Alan Modra  <amodra@gmail.com>
39355         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39356         * configure: Regenerate.
39357         * nptl/shlib-versions: Powerpc*le starts at 2.18.
39358         * shlib-versions: Likewise.
39360 2013-10-04  Alan Modra  <amodra@gmail.com>
39362         * string/tester.c (test_memrchr): Increment reported test cycle.
39364 2013-10-04  Alan Modra  <amodra@gmail.com>
39366         * string/test-memcpy.c (do_one_test): When reporting errors, print
39367         string address and don't overrun end of string.
39369 2013-10-04  Alan Modra  <amodra@gmail.com>
39371         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39372         insrdi.  Make better use of reg selection to speed exit slightly.
39373         Schedule entry path a little better.  Remove useless "are we done"
39374         checks on entry to main loop.  Handle wrapping around zero address.
39375         Correct main loop count.  Handle single left-over word from main
39376         loop inline rather than by using loop_small.  Remove extra word
39377         case in loop_small caused by wrong loop count.  Add little-endian
39378         support.
39379         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39380         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39381         cache hint.
39382         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39383         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39384         support.  Avoid rlwimi.
39385         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39387 2013-10-04  Alan Modra  <amodra@gmail.com>
39389         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39390         insrdi.  Formatting.
39391         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39392         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39393         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39394         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39395         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39396         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39398 2013-10-04  Alan Modra  <amodra@gmail.com>
39400         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39401         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39402         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39403         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39404         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39405         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39406         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39407         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39408         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39409         use of regs.  Use power7 mtocrf.  Tidy function tails.
39411 2013-10-04  Alan Modra  <amodra@gmail.com>
39413         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39414         Formatting.  Consistently use rXXX register defines or rN defines.
39415         Use early exit labels that avoid restoring unused non-volatile regs.
39416         Make cr field use more consistent with rWORDn compares.  Rename
39417         regs used as shift registers for unaligned loop, using rN defines
39418         for short lifetime/multiple use regs.
39419         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39420         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39421         addi 1,1,64 to pop stack frame.  Simplify return value code.
39422         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39424 2013-10-04  Alan Modra  <amodra@gmail.com>
39426         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39427         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39428         rather than rlwimi.
39429         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39430         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39431         little-endian support.  Correct typos.
39432         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39433         rather than rlwimi.
39434         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39435         in loop and entry code to keep "and." results.
39436         (strchr): Add little-endian support.  Comment.  Move cntlzd
39437         earlier in tail.
39438         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39440 2013-10-04  Alan Modra  <amodra@gmail.com>
39442         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39443         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39444         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39445         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39447 2013-10-04  Alan Modra  <amodra@gmail.com>
39449         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39450         (rTMP): Define as r11.
39451         (strcmp): Add little-endian support.  Optimise tail.
39452         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39453         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39454         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39455         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39456         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39457         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39458         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39460 2013-10-04  Alan Modra  <amodra@gmail.com>
39462         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39463         little-endian support.  Remove unnecessary "are we done" tests.
39464         Handle "s" wrapping around zero and extremely large "size".
39465         Correct main loop count.  Handle single left-over word from main
39466         loop inline rather than by using small_loop.  Correct comments.
39467         Delete "zero" tail, use "end_max" instead.
39468         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39470 2013-10-04  Alan Modra  <amodra@gmail.com>
39472         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39473         support.  Don't branch over align.
39474         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39475         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39476         support.  Rearrange tmp reg use to suit.  Comment.
39477         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39479 2013-10-04  Alan Modra  <amodra@gmail.com>
39481         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39483 2013-10-04  Alan Modra  <amodra@gmail.com>
39485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39486         conditional form of branch and link when obtaining pc.
39487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39489 2013-10-04  Alan Modra  <amodra@gmail.com>
39491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39492         HIWORD/LOWORD.
39493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39496 2013-10-04  Alan Modra  <amodra@gmail.com>
39498         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39499         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39500         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39501         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39502         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39503         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39504         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39505         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39506         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39507         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39509 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39510             Alistair Popple <alistair@ozlabs.au.ibm.com>
39511             Alan Modra <amodra@gmail.com>
39513         [BZ #15723]
39514         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39515         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39516         _dl_hwcap access for little-endian.
39517         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39518         destroy vmx regs when saving unaligned.
39519         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39520         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39521         destroy vmx regs when saving unaligned.
39523 2013-10-04  Alan Modra  <amodra@gmail.com>
39525         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39526         Don't use a union to pack hi/low value.
39528 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39530         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39531         for little-endian.
39532         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39533         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39534         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39535         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39536         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39538 2013-10-04  Alan Modra  <amodra@gmail.com>
39540         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39541         constants to usual value for .cst8 section, and remove redundant
39542         high address load.
39543         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39544         constant for 0x1p52.  Load little-endian words of double from
39545         correct stack offsets.
39547 2013-10-04  Alan Modra  <amodra@gmail.com>
39549         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39550         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39551         words of double from correct stack offsets.
39552         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39553         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39554         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39555         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39556         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39557         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39558         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39559         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39560         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39561         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39562         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39563         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39564         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39565         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39566         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39567         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39568         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39570 2013-10-04  Alan Modra  <amodra@gmail.com>
39572         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39573         64-bit int/double union.
39574         (_FPU_SETCW): Likewise.
39575         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39576         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39578 2013-10-04  Alan Modra  <amodra@gmail.com>
39580         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39581         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39583 2013-10-04  Alan Modra  <amodra@gmail.com>
39585         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39586         use vector int constants.
39587         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39589 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39591         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39592         array with long long.
39593         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39594         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39595         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39596         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39597         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39598         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39599         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39600         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39601         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39602         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39603         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39604         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39605         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39607 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39609         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39610         (__signbit): Likewise.  Correct for little-endian.
39611         (__signbitl): Call __signbit.
39612         (lrint): Correct for little-endian.
39613         (lrintf): Call lrint.
39615 2013-10-04  Alan Modra  <amodra@gmail.com>
39617         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39618         union 32-bit int array member with 64-bit int array.
39619         (t515, tm256): Double rather than long double.
39620         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39622 2013-10-04  Alan Modra  <amodra@gmail.com>
39624         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39625         Delete.
39626         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39627         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39628         version of math_ldbl.h.
39630 2013-10-04  Alan Modra  <amodra@gmail.com>
39632         [BZ #15734], [BZ #15735]
39633         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39634         all uses of ieee875 long double macros and unions.  Simplify test
39635         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39636         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39637         normalize after ldbl_extract_mantissa, and don't add hidden bit
39638         already handled.  Don't treat low word of ieee854 mantissa like
39639         low word of IBM long double and mask off bit when testing for
39640         zero.
39641         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39642         all uses of ieee875 long double macros and unions.  Simplify tests
39643         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39644         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39645         two1022, instead use their values.  Recognise that tests for large
39646         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39647         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39648         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39649         test for 0.0L and nan.  Correct negation.
39650         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39651         ieee875 long double macros and unions.  Correct output for large
39652         magnitude x.  Correct absolute value calculation.
39653         (__erfcl): Likewise.
39654         * math/libm-test.inc: Add tests for errors discovered in IBM long
39655         double versions of fmodl, remainderl, erfl and erfcl.
39657 2013-10-04  Alan Modra  <amodra@gmail.com>
39659         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39660         all uses of ieee854 long double macros and unions.  Simplify tests
39661         for long doubles that are fully specified by the high double.
39662         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39663         Likewise.
39664         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39665         Remove dead code too.
39666         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39667         (__ieee754_ynl): Likewise.
39668         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39669         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39670         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39671         Remove dead code too.
39672         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39673         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39674         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39675         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39676         Simplify.
39677         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39678         Simplify.
39679         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39680         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39681         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39682         Comment on variable precision.
39683         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39684         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39685         Likewise.
39686         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39687         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39688         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39689         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39690         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39692 2013-10-04  Alan Modra  <amodra@gmail.com>
39694         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39695         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39696         all uses of ieee854 long double macros and unions.
39697         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39698         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39699         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39700         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39701         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39702         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39703         Likewise.
39704         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39705         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39706         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39707         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39708         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39709         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39710         Simplify sign and nan test too.
39711         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39712         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39713         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39714         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39715         Likewise.
39716         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39717         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39718         Likewise.
39719         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39720         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39721         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39722         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39723         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39724         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39726 2013-10-04  Alan Modra  <amodra@gmail.com>
39728         * stdio-common/printf_size.c (__printf_size): Don't use
39729         union ieee854_long_double in fpnum union.
39730         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39731         signbit macro to retrieve sign from long double.
39732         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39733         retrieve sign from long double.
39734         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39735         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39736         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39737         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39738         * math/test-misc.c (main): Don't use union ieee854_long_double.
39740 2013-10-04  Alan Modra  <amodra@gmail.com>
39742         [BZ #15680]
39743         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39744         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39745         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39746         calculation.  Remove unnecessary test for denormal exponent.
39747         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39748         Correct handling of denormals.  Avoid undefined shift behaviour.
39749         Correct normalisation of low mantissa when low double is denormal.
39750         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39751         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39752         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39753         Correct normalisation of low mantissa.  Test for overflow of high
39754         mantissa and normalise.
39755         (ldbl_nearbyint): Use more readable constant for two52.
39756         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39757         (__mpn_construct_long_double): Fix test for overflow of high
39758         mantissa and correct normalisation.  Avoid undefined shift.
39760 2013-10-04  Alan Modra  <amodra@gmail.com>
39762         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39763         (union ibm_extended_long_double): Define as an array of ieee754_double.
39764         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39765         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39766         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39767         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39768         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39769         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39770         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39771         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39772         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39773         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39774         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39776 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
39778         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39779         page size instead of calling getpagesize.
39781         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39782         (LOCFILE_ALIGN_MASK): Likewise.
39783         (LOCFILE_ALIGN_UP): Likewise.
39784         (LOCFILE_ALIGNED_P): Likewise.
39785         * locale/programs/ld-collate.c (collate_output): Use the new
39786         macros instead of __alignof__ (int32_t).
39787         * locale/weight.h (findidx): Likewise.
39789 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
39791         [BZ #431]
39792         * manual/string.texi: Fix strncat and wcsncat.
39794 2013-10-03  Brooks Moses  <bmoses@google.com>
39796         [BZ #15915]
39797         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39798         * Makerules: ...here, and adjust associated comments.
39800 2013-10-02  Will Newton  <will.newton@linaro.org>
39802         * malloc/Makefile: Add tst-pvalloc.
39803         * malloc/tst-pvalloc.c: New file.
39805 2013-10-02  Will Newton  <will.newton@linaro.org>
39807         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39808         improve test coverage.
39810 2013-10-02  Will Newton  <will.newton@linaro.org>
39812         * malloc/Makefile: Add tst-posix_memalign.
39813         * malloc/tst-posix_memalign.c: New file.
39815 2013-10-01  Eric Blake  <eblake@redhat.com>
39817         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39818         Use __THROWNL rather than __THROW on static functions.
39820 2013-09-30  Petr Machata  <pmachata@redhat.com>
39822         * elf/elf.h (R_AARCH64_ABS16): New macro.
39823         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39824         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39825         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39826         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39827         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39828         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39829         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39830         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39831         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39832         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39833         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39834         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39835         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39836         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39837         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39838         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39839         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39840         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39841         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39842         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39843         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39844         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39845         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39846         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39847         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39848         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39849         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39850         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39851         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39852         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39853         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39854         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39855         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39856         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39857         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39858         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39859         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39860         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39861         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39862         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39863         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39864         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39865         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39866         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39867         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39868         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39869         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39870         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39871         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39872         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39873         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39874         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39875         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39876         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39877         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39878         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39879         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39880         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39881         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39882         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39883         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39884         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39885         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39886         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39887         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39888         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39889         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39890         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39891         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39892         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39893         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39894         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39895         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39896         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39897         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39898         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39899         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39900         (R_AARCH64_TLSDESC_LDR): Likewise.
39901         (R_AARCH64_TLSDESC_ADD): Likewise.
39902         (R_AARCH64_TLSDESC_CALL): Likewise.
39904 2013-09-30  Andreas Schwab  <schwab@suse.de>
39906         [BZ #15048]
39907         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39908         the nss database lookup.
39909         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39910         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39912 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
39914         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39916 2013-09-28  P. J. McDermott  <pj@pehjota.net>
39918         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39919         ${Bash-specific parameter/pattern/string} parameter expansion.
39920         * sysdeps/unix/make-syscalls.sh: Likewise.
39922 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39924         * sysdeps/sh/stackguard-macros.h: New file.
39926 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
39928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39929         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39930         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39931         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39932         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39933         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39935 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39937         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39938         Fix thread ID register.
39940 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
39942         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39943         [POSIX || UNIX98]: Require rather than permitting all symbols from
39944         <time.h>.
39945         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39946         element of struct sched_param.
39947         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39948         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39949         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39950         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39951         constant.
39953 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
39955         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39956         argument calculation.
39958 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39960         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39961         Expect macro.
39962         [POSIX] (pthread_attr_t): Do not require type.
39963         [POSIX] (pthread_cond_t): Likewise.
39964         [POSIX] (pthread_condattr_t): Likewise.
39965         [POSIX] (pthread_key_t): Likewise.
39966         [POSIX] (pthread_mutex_t): Likewise.
39967         [POSIX] (pthread_mutexattr_t): Likewise.
39968         [POSIX] (pthread_once_t): Likewise.
39969         [POSIX] (pthread_t): Likewise.
39970         [POSIX-based standards] (pthread_atfork): Expect function.
39972 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39973             Richard Sandiford  <richard@codesourcery.com>
39975         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39976         (swap_endianness_p): New extern variable.
39977         (set_big_endian): New inline function.
39978         (maybe_swap_uint32): Likewise.
39979         (maybe_swap_uint32_array): Likewise.
39980         (maybe_swap_uint32_obstack): Likewise.
39981         * locale/programs/locfile.c: Include <stdbool.h>.
39982         (swap_endianness_p): New variable.
39983         (add_locale_uint32): Call maybe_swap_uint32.
39984         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39985         (write_locale_data): Call maybe_swap_uint32_array.
39986         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39987         maybe_swap_uint32.
39988         (obstack_int32_grow_fast): Likewise.
39989         (output_weightwc): Call maybe_swap_uint32_obstack.
39990         (collate_output): Likewise.
39991         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39992         (OPT_LITTLE_ENDIAN): Likewise.
39993         (options): Add --little-endian and --big-endian options.
39994         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39995         * locale/programs/locarchive.c: Include "locfile.h".
39996         (GET): New macro.
39997         (SET): Likewise.
39998         (INC): Likewise.
39999         (create_archive): Use the new macros to access fields of
40000         structures directly mapped from or written to locale archives.
40001         (oldlocrecentcmp): Likewise.
40002         (enlarge_archive): Likewise.
40003         (insert_name): Likewise.
40004         (add_alias): Likewise.
40005         (add_locale): Likewise.
40006         (delete_locales_from_archive): Likewise.
40007         (show_archive_content): Likewise.
40008         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
40009         locale data.
40011 2013-09-24  Roland McGrath  <roland@hack.frob.com>
40013         * manual/freemanuals.texi: Updated from (newly) canonical copy at
40014         http://www.gnu.org/doc/freemanuals.texi.
40015         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40017 2013-09-24  Will Newton  <will.newton@linaro.org>
40019         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40020         macro.
40022 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
40024         * locale/hashval.h (compute_hashval): Interpret bytes of key as
40025         unsigned char.
40027 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
40029         * manual/threads.texi (POSIX Threads): Fix a typo.
40031 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40033         [BZ #14547]
40034         * string/tst-strcoll-overflow.c: New test case.
40035         * string/Makefile (xtests): Add tst-strcoll-overflow.
40036         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40037         cache if string sizes may cause integer overflow.
40039         [BZ #14547]
40040         * string/strcoll_l.c (coll_seq): New members rule, idx,
40041         save_idx and back_us.
40042         (get_next_seq_nocache): New function.
40043         (do_compare_nocache): New function.
40044         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40045         when malloc fails.
40047 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
40049         [BZ #15754]
40050         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40051         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40052         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40054         [BZ #15754]
40055         * elf/Makefile (tests): Add tst-ptrguard1.
40056         (tests-static): Add tst-ptrguard1-static.
40057         (tst-ptrguard1-ARGS): Define.
40058         (tst-ptrguard1-static-ARGS): Define.
40059         * elf/tst-ptrguard1.c: New file.
40060         * elf/tst-ptrguard1-static.c: New file.
40061         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40062         * sysdeps/i386/stackguard-macros.h: Likewise.
40063         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40064         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40065         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40066         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40067         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40068         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40070 2013-09-23  Hector Marco  <hecmargi@upv.es>
40071             Ismael Ripoll  <iripoll@disca.upv.es>
40072             Carlos O'Donell  <carlos@redhat.com>
40074         [BZ #15754]
40075         * sysdeps/generic/stackguard-macros.h: Define
40076         __pointer_chk_guard_local and POINTER_CHK_GUARD.
40077         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40078         Define __pointer_chk_guard_local.
40079         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40080         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40082 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
40084         [BZ #15859]
40085         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40087 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
40089         * include/string.h (__ffs): Declare as hidden.
40090         * string/ffs.c (__ffs): Define as hidden.
40091         * sysdeps/i386/ffs.c (__ffs): Likewise.
40092         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40093         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40094         * sysdeps/s390/ffs.c (__ffs): Likewise.
40095         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40097 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
40099         * NEWS: Mention malloc probes.
40101         * malloc/arena.c (new_heap): New memory_heap_new probe.
40102         (grow_heap): New memory_heap_more probe.
40103         (shrink_heap): New memory_heap_less probe.
40104         (heap_trim): New memory_heap_free probe.
40105         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40106         (systrim): New memory_sbrk_less probe.
40107         * manual/probes.texi: Document them.
40109         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40110         * manual/probes.texi: Document it.
40112         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40113         (__libc_realloc): Add memory_realloc_retry probe.
40114         (__libc_memalign): Add memory_memalign_retry probe.
40115         (__libc_valloc): Add memory_valloc_retry probe.
40116         (__libc_pvalloc): Add memory_pvalloc_retry probe.
40117         (__libc_calloc): Add memory_calloc_retry probe.
40118         * manual/probes.texi: Document them.
40120         * malloc/arena.c (get_free_list): Add probe
40121         memory_arena_reuse_free_list.
40122         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40123         and memory_arena_reuse.
40124         (arena_get2) [!PER_THREAD]: Likewise.
40125         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40126         memory_arena_reuse_realloc.
40127         * manual/probes.texi: Document them.
40129         * malloc/malloc.c (__libc_free): Add
40130         memory_mallopt_free_dyn_thresholds probe.
40131         (__libc_mallopt): Add multiple memory_mallopt probes.
40132         * manual/probes.texi: Document them.
40134         * malloc/malloc.c: Include stap-probe.h.
40135         (__libc_mallopt): Add memory_mallopt probe.
40136         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40137         * manual/probes.texi: New.
40138         * manual/Makefile (chapters): Add probes.
40139         * manual/threads.texi: Set next node.
40141 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
40143         [BZ #15963, #13985]
40144         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40145         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40146         Add `Chinese' to `nan' entry name.
40148 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40150         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40151         (POLYNOMIAL): Likewise.
40152         (TAYLOR_SINCOS): Likewise.
40153         (TAYLOR_SLOW): Likewise.
40154         (__sin): Use TAYLOR_SINCOS.
40155         (__cos): Likewise.
40156         (slow): Use TAYLOR_SLOW.
40157         (sloww): Likewise.
40158         (bsloww): Likewise.
40159         (csloww): Likewise.
40161 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40163         * stdlib/strtod_l.c: Fix buffer overrun.
40165 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40167         * benchtests/Makefile (bench): Add sincos.
40168         * benchtests/bench-sincos.c: New file.
40170         * math/libm-test.inc (cos_test_data): New test inputs.
40171         (sin_test_data): Likewise.
40173         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40174         macro.
40175         (__sin): Use it.
40176         (__cos): Likewise.
40177         (slow1): Likewise.
40178         (slow2): Likewise.
40179         (sloww1): Likewise.
40180         (sloww2): Likewise.
40181         (bsloww1): Likewise.
40182         (bsloww2): Likewise.
40183         (cslow2): Likewise.
40184         (csloww1): Likewise.
40185         (csloww2): Likewise.
40187         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40188         function.
40189         (__sin): Use it.
40190         (__cos): Likewise.
40192         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40193         gotos.
40194         (__cos): Likewise.
40196 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40198         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40199         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40200         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40201         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40202         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40203         * elf/cache.c (print_entry): Handle the new cache flags.
40205 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40206             Aldy Hernandez  <aldyh@redhat.com>
40208         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40209         Change condition to [_SOFT_FLOAT].
40210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40214         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40217         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40219         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40221         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40222         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40223         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40224         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40225         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40226         declaration.
40228 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40230         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40231         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40232         (__longjmp): Use LOAD_GP to load saved GPRs.
40233         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40234         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40235         (__sigsetjmp): Use SAVE_GP to save GPRs.
40237         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40238         Do not append -msoft-float.
40239         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40241 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40243         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40245 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40247         [BZ #15966]
40248         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40249         (_FPU_GETCW): Use initial "__" on variable and field names but not
40250         on macro parameter name.
40251         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40252         parentheses around reference to macro parameter.
40254 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40256         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40257         prototype.
40258         (ctype_startup): Use uint32_t in cast and sizeof for
40259         ctype->charnames.
40261 2013-09-11  Jia Liu  <proljc@gmail.com>
40263         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40264         __daddr_t_defined.
40265         [__FreeBSD__]: Likewise.
40267 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40269         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40270         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40271         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40272         (strchr): Remove __strchr_sse42 ifunc selection.
40273         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40274         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40276 2013-09-11  Will Newton  <will.newton@linaro.org>
40278         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40279         parameter to RES. Remove hardcoded 1000 value.
40280         * benchtests/bench-skeleton.c (main): Pass RES parameter
40281         to TIMING_INIT and multiply result by 1000.
40283 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40287 2013-09-11  Andreas Schwab  <schwab@suse.de>
40289         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40290         if not defined.
40291         (O_TMPFILE) [__USE_GNU]: Define.
40292         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40293         Define.
40295 2013-09-11  Will Newton  <will.newton@linaro.org>
40297         [BZ #15857]
40298         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40299         does not overflow.
40301 2013-09-11  Will Newton  <will.newton@linaro.org>
40303         [BZ #15856]
40304         * malloc/malloc.c (__libc_valloc): Check the value of bytes
40305         does not overflow.
40307 2013-09-11  Will Newton  <will.newton@linaro.org>
40309         [BZ #15855]
40310         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40311         does not overflow.
40313 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
40315         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40316         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40317         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40318         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40319         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40321 2013-09-10  Allan McRae  <allan@archlinux.org>
40323         [BZ #15748]
40324         * manual/arith.texi (Parsing of Floats): Clarify
40325         cross-reference.
40327         [BZ #15849]
40328         * manual/install.texi (Running make install): Mention
40329         --enable-pt-chown.
40330         * INSTALL: Regenerated.
40332 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
40334         * csu/init-first.c (_init): Remove the !SHARED condition around
40335         FPU control word initialization.
40336         * elf/dl-support.c (_dl_fpu_control): New variable.
40337         (_dl_aux_init) <AT_FPUCW>: Initialize it.
40338         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40339         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40340         * math/test-fpucw-static.c: New file.
40341         * math/test-fpucw-ieee.c: New file.
40342         * math/test-fpucw-ieee-static.c: New file.
40343         * math/Makefile (tests): Add `test-fpucw-ieee' and
40344         `$(tests-static)'.
40345         (tests-static): New variable.
40346         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40347         dependency to...
40348         [($(build-shared),yes)]
40349         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40350         ... this.
40351         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40352         New dependency.
40354 2013-09-09  Allan McRae  <allan@archlinux.org>
40356         [BZ #15939]
40357         * manual/string.texi (Collation Functions): Fix typo in
40358         strcoll example.
40359         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40361         [BZ #15893]
40362         * stdlib/isomac.c (get_null_defines): Fix memory leak.
40364         [BZ #15892]
40365         * libio/memstream.c (open_memstream): Fix memory leak.
40366         * libio/wmemstream.c (open_wmemstream): Likewise.
40368         [BZ #15895]
40369         * nscd/netgroupcache.c: Fix nesting of ifdefs.
40371 2013-09-09  Will Newton  <will.newton@linaro.org>
40373         * malloc/Makefile: Add tst-realloc to tests.
40374         * malloc/tst-realloc.c: New file.
40376 2013-09-09  Allan McRae  <allan@archlinux.org>
40378         [BZ #15844]
40379         * COPYING: Update from GNU website to fix FSF address.
40380         * COPYING.LIB: Likewise.
40382 2013-09-06  David S. Miller  <davem@davemloft.net>
40384         * po/zh_TW.po: Update Chinese (traditional) translation from
40385         translation project.
40387 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40388             Joseph Myers  <joseph@codesourcery.com>
40390         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40391         "localeinfo.h".
40392         (obstack_chunk_alloc): New macro.
40393         (obstack_chunk_free): Likewise.
40394         (record_offset): New function.
40395         (init_locale_data): Likewise.
40396         (align_locale_data): Likewise.
40397         (add_locale_empty): Likewise.
40398         (add_locale_raw_data): Likewise.
40399         (add_locale_raw_obstack): Likewise.
40400         (add_locale_string): Likewise.
40401         (add_locale_wstring): Likewise.
40402         (add_locale_uint32): Likewise.
40403         (add_locale_uint32_array): Likewise.
40404         (add_locale_char): Likewise.
40405         (start_locale_structure): Likewise.
40406         (end_locale_structure): Likewise.
40407         (start_locale_prelude): Likewise.
40408         (end_locale_prelude): Likewise.
40409         (write_locale_data): Take locale_file structure rather than an
40410         iovec.
40411         * locale/programs/locfile.h: Include "obstack.h".
40412         (struct locale_file): Change to store locale file contents instead
40413         of header.
40414         (init_locale_data): New prototype.
40415         (align_locale_data): Likewise.
40416         (add_locale_empty): Likewise.
40417         (add_locale_raw_data): Likewise.
40418         (add_locale_raw_obstack): Likewise.
40419         (add_locale_string): Likewise.
40420         (add_locale_wstring): Likewise.
40421         (add_locale_uint32): Likewise.
40422         (add_locale_uint32_array): Likewise.
40423         (add_locale_char): Likewise.
40424         (start_locale_structure): Likewise.
40425         (end_locale_structure): Likewise.
40426         (start_locale_prelude): Likewise.
40427         (end_locale_prelude): Likewise.
40428         (write_locale_data): Update prototype.
40429         * locale/programs/3level.h (struct TABLE): Remove result field.
40430         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40431         Use new locale_file interface.
40432         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40433         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40434         * locale/programs/ld-address.c (address_output): Use new
40435         locale_file interface.
40436         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40437         NO_ADD_LOCALE.
40438         (collate_finish): Don't call collseq_table_finalize.
40439         (collate_output): Use new locale_file interface.
40440         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40441         in file.
40442         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40443         (TABLE): Move defines earlier in file.
40444         (ELEMENT): Likewise.
40445         (DEFAULT): Likewise.
40446         (wctrans_table_add): Move macro and inline function earlier in
40447         file.
40448         (struct wctype_table): Move type earlier in file.
40449         (add_locale_wctype_table): New static prototype.
40450         (struct locale_ctype_t): Use logical types instead of struct iovec
40451         pointers for members.
40452         (ctype_output): Use new locale_file interface.
40453         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40454         new locale_file interface.
40455         (allocate_arrays): Update for use of new locale_file interface.
40456         * locale/programs/ld-identification.c (identification_output): Use
40457         new locale_file interface.
40458         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40459         * locale/programs/ld-messages.c (messages_output): Likewise.
40460         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40461         * locale/programs/ld-name.c (name_output): Likewise.
40462         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40463         * locale/programs/ld-paper.c (paper_output): Likewise.
40464         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40465         * locale/programs/ld-time.c (time_output): Likewise.
40467 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40469         * benchtests/Makefile: Add memrchr benchmark.
40470         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40471         benchmark as memrchr.
40472         * benchtests/bench-memrchr-ifunc.c: New file.
40473         * benchtests/bench-memrchr.c: New file.
40475 2013-09-06   Will Newton  <will.newton@linaro.org>
40477         * benchtests/Makefile (string-bench): Add memcpy.
40479 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40480             Cong Wang  <amwang@redhat.com>
40482         [BZ #15850]
40483         * sysdeps/unix/sysv/linux/bits/in.h
40484         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40485         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40486         before __USE_KERNEL_IPV6_DEFS uses.
40487         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40488         IPPROTO_BEETPH.
40489         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40490         sockaddr_in6, or ipv6_mreq.
40492 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40494         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40495         memory access for final bytes in some large inputs.
40496         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40498 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40500         * string/test-memrchr.c: New file.
40501         * string/test-memrchr-ifunc.c: New file.
40502         * string/Makefile: Add new memrchr testcase.
40504 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40506         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40507         fanotify_init returns EPERM.
40509 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40511         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40512         errors.
40513         (top level): Treat second token from macro or constant entries for
40514         allowed headers as allowed.
40515         * include/complex.h: Condition internal declarations on
40516         [!_ISOMAC].
40517         * include/fenv.h: Condition include of <stdbool.h> and internal
40518         declarations on [!_ISOMAC].
40520 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40522         [BZ #15923]
40523         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40525 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40527         * configure.in (--enable-versioning): Remove configure option.
40528         (libc_cv_asm_symver_directive): Remove configure test.
40529         (libc_cv_ld_version_script_option): Likewise.
40530         (VERSIONING): Remove variable and AC_SUBST.
40531         (DO_VERSIONING): Remove AC_DEFINE.
40532         * configure: Regenerated.
40533         * config.h.in (DO_VERSIONING): Remove macro.
40534         * Makerules [$(versioning) = yes]: Change conditionals to
40535         [$(build-shared) = yes].
40536         * config.make.in (versioning): Remove variable.
40537         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40538         [$(build-shared) = yes].
40539         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40540         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40541         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40542         [$(build-shared) = yes].
40543         * extra-lib.mk [$(versioning) = yes]: Likewise.
40544         * hurd/Makefile [$(versioning) = yes]: Likewise.
40545         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40546         [SHARED].
40547         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40548         [SHARED].
40549         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40550         [SHARED && !NO_HIDDEN].
40551         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40552         [SHARED].
40553         [SHARED && DO_VERSIONING]: Likewise..
40554         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40555         [$(build-shared) = yes].
40556         * manual/install.texi (--disable-versioning): Remove
40557         documentation.
40558         * INSTALL: Regenerated.
40559         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40560         to [SHARED].
40561         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40562         [$(build-shared) = yes].
40563         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40564         * sysdeps/i386/i686/multiarch/strstr-c.c
40565         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40566         [SHARED && !NO_HIDDEN].
40567         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40568         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40569         * sysdeps/powerpc/powerpc32/dl-machine.c
40570         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40571         * sysdeps/powerpc/powerpc32/sysdep.h
40572         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40573         to [SHARED && PIC && !NO_HIDDEN].
40574         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40575         conditional to [SHARED].
40577 2013-09-04   Will Newton  <will.newton@linaro.org>
40579         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40580         * benchtests/bench-string.h: Include bench-timing.h instead
40581         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40582         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40583         call to HP_TIMING_DIFF_INIT.
40584         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40585         instead of hp-timing.h macros.
40586         * benchtests/bench-memchr.c: Likewise.
40587         * benchtests/bench-memcmp.c: Likewise.
40588         * benchtests/bench-memcpy.c: Likewise.
40589         * benchtests/bench-memmem.c: Likewise.
40590         * benchtests/bench-memmove.c: Likewise.
40591         * benchtests/bench-memset.c: Likewise.
40592         * benchtests/bench-rawmemchr.c: Likewise.
40593         * benchtests/bench-strcasecmp.c: Likewise.
40594         * benchtests/bench-strcasestr.c: Likewise.
40595         * benchtests/bench-strcat.c: Likewise.
40596         * benchtests/bench-strchr.c: Likewise.
40597         * benchtests/bench-strcmp.c: Likewise.
40598         * benchtests/bench-strcpy.c: Likewise.
40599         * benchtests/bench-strcpy_chk.c: Likewise.
40600         * benchtests/bench-strlen.c: Likewise.
40601         * benchtests/bench-strncasecmp.c: Likewise.
40602         * benchtests/bench-strncat.c: Likewise.
40603         * benchtests/bench-strncmp.c: Likewise.
40604         * benchtests/bench-strncpy.c: Likewise.
40605         * benchtests/bench-strnlen.c: Likewise.
40606         * benchtests/bench-strpbrk.c: Likewise.
40607         * benchtests/bench-strrchr.c: Likewise.
40608         * benchtests/bench-strspn.c: Likewise.
40609         * benchtests/bench-strstr.c: Likewise.
40611 2013-09-04  Will Newton  <will.newton@linaro.org>
40613         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40615 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40617         [BZ #15427]
40618         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40619         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40620         * math/libm-test.inc (lgamma_test_data): Add more tests.
40621         * sysdeps/i386/fpu/libm-test-ulps: Update.
40622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40624 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40626         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40627         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40628         Add ifunc.
40629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40630         Add strcmp-sse2-unaligned
40631         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40633 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40635         * Versions.def (libc): Add GLIBC_2.19.
40637 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40639         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40640         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40642 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40644         [BZ #14155]
40645         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40646         intermediate calculations in recurrence.
40647         (__ieee754_ynf): Likewise.
40648         * math/libm-test.inc (jn_test_data): Do not allow spurious
40649         underflow exception.  Add more tests.
40650         (yn_test_data): Add more tests.
40651         * sysdeps/i386/fpu/libm-test-ulps: Update.
40652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40654 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
40656         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40658 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40660         * csu/init-first.c: Fix then/than typos.
40661         * locale/programs/ld-collate.c: Likewise.
40662         * locale/programs/linereader.h: Likewise.
40663         * manual/charset.texi: Likewise.
40664         * manual/filesys.texi: Likewise.
40665         * manual/stdio.texi: Likewise.
40666         * manual/string.texi: Likewise.
40667         * stdlib/fmtmsg.c: Likewise.
40668         * sysdeps/i386/stpncpy.S: Likewise.
40669         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40670         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40671         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40672         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40674 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40676         * elf/dl-open.c: Fix typos.
40677         * iconvdata/gbbig5.c: Likewise.
40678         * iconvdata/iso-2022-jp.c: Likewise.
40679         * iconv/gconv_int.h: Likewise.
40680         * iconv/loop.c: Likewise.
40681         * nis/rpcsvc/nis.h: Likewise.
40682         * resolv/ns_name.c: Likewise.
40683         * stdio-common/vfscanf.c: Likewise.
40684         * streams/stropts.h: Likewise.
40685         * sunrpc/rpc_thread.c: Likewise.
40686         * sysdeps/i386/strpbrk.S: Likewise.
40687         * sysdeps/ieee754/k_standard.c: Likewise.
40688         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40689         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40690         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40691         * sysdeps/mach/hurd/profil.c: Likewise.
40692         * sysdeps/s390/dl-procinfo.h: Likewise.
40693         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40694         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40695         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40696         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40697         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40699 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40701         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40704 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40706         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40707         aix specific files.
40708         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40709         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40710         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40711         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40712         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40713         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40714         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40715         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40717 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40718             Roland McGrath  <roland@hack.frob.com>
40720         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40721         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40723 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40725         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40726         __executable_start symbol instead of _start.
40728 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40730         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40731         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40732         Move macros to...
40733         * sysdeps/gnu/ldsodefs.h: ... this new file.
40735         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40736         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40737         instead of ELFOSABI_LINUX.
40739         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40740         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40741         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40742         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40743         Likewise.
40744         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40745         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40746         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40747         Likewise.
40748         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40749         (ibm_extended_long_double): Add ieee_nan member.
40750         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40751         (do_test): New function.
40753         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40754         TEST_TRUNC.
40755         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40756         functions, renamed from truncdfsf_test, trunctfsf_test,
40757         trunctfdf_test.
40758         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40759         functions.
40760         (do_test): Run all these.
40762 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
40764         * argp/argp-help.c: Fix typos.
40765         * argp/argp-parse.c: Likewise.
40766         * debug/backtracesyms.c: Likewise.
40767         * elf/elf.h: Likewise.
40768         * malloc/malloc.c: Likewise.
40769         * nis/nis_print.c: Likewise.
40770         * resolv/res_comp.c: Likewise.
40771         * stdlib/stdlib.h: Likewise.
40772         * sunrpc/clnt_tcp.c: Likewise.
40773         * sunrpc/clnt_udp.c: Likewise.
40774         * sunrpc/clnt_unix.c: Likewise.
40775         * sysdeps/unix/bsd/ptsname.c: Likewise.
40776         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40777         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40779         Likewise.
40780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40781         Likewise.
40782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40783         Likewise.
40784         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40786 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40788         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40791 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40793         [BZ #15897]
40794         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40795         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40796         ($(objpfx)bug-dl-leaf): New rule.
40797         ($(objpfx)bug-dl-leaf.so): Likewise.
40798         ($(objpfx)bug-dl-leaf.out): Likewise.
40799         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40800         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40801         * dlfcn/bug-dl-leaf.c: New test.
40802         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40803         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40804         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40805         (dlclose): Likewise.
40806         (dlmopen): Likewise.
40808 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40810         * include/netdb.h [!_ISOMAC]:
40811         Don't include <tls.h>.
40812         (h_errno, __libc_h_errno): Move declaration and macros out of
40813         [_LIBC_REENTRANT].
40815         * include/resolv.h [_RESOLV_H_]:
40816         Don't include <tls.h>.
40817         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40818         * resolv/res_libc.c: Don't include <tls.h>.
40819         (_res): Use __attribute__ ((nocommon)) in place of
40820         __attribute__ ((section (".bss"))).
40822         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40823         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40825         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40827         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40828         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40830         * resolv/res_mkquery.c: Include <sys/time.h>.
40832         * inet/ifreq.c: Moved to ...
40833         * sysdeps/unix/ifreq.c: ... here.
40834         * inet/ifreq.c: New file, true stub version.
40836         * socket/sa_len.c: New file.
40837         * socket/Makefile (aux): Add it.
40838         * sysdeps/unix/sysv/linux/Makefile
40839         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40840         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40841         and #include <socket/sa_len.c>.
40842         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40843         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40845         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40846         * bits/socket.h: ... here.
40848         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40849         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40850         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40852 2013-08-27  Andreas Schwab  <schwab@suse.de>
40854         [BZ #15736]
40855         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40856         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40857         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40858         * string/test-strcasecmp.c (test_main): Run tests in several
40859         locales.
40860         * string/test-strncasecmp.c (test_main): Likewise.
40862         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40863         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40864         to __strcasecmp_nonascii and __strncasecmp_nonascii.
40865         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40866         (__strncasecmp_ssse3) [PIC]: Likewise.
40868 2013-08-26  Roland McGrath  <roland@hack.frob.com>
40870         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40872         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40873         instead of explicitly declaring xdecrypt.
40874         * nis/nss_nis/nis-publickey.c: Likewise.
40876 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40878         [BZ #15890]
40879         * nscd/aicache.c: Include res_hconf.h.
40880         (addhstaiX): Initialize res_hconf.
40882 2013-08-26  Andreas Schwab  <schwab@suse.de>
40884         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40885         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40887 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40889         * nscd/aicache.c (addhstaiX): Fix indentation.
40891 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
40893         * configure.ac: Quote $build_pt_chown test.
40894         * configure: Regenerated.
40896 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
40898         [BZ #15532]
40899         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40900         * math/s_cexpf.c (__cexpf): Likewise.
40901         * math/s_cexpl.c (__cexpl): Likewise.
40902         * math/libm-test.inc (cexp_test_data): Correct expected return
40903         value for NaN + i0.  Add another test.
40905 2013-08-22  David S. Miller  <davem@davemloft.net>
40907         * po/ca.po: Update Catalan translation from translation project.
40908         * po/uk.po: Add Ukrainian translations from translation project.
40910 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
40912         [BZ #15797]
40913         * math/s_fdim.c (__fdim): Check for infinite arguments if result
40914         is infinite, not alongside NaN test.
40915         * math/s_fdimf.c (__fdimf): Likewise.
40916         * math/s_fdiml.c (__fdiml): Likewise.
40917         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
40918         errno is unchanged.
40920 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
40922         * argp/argp-help.c: Fix typos.
40923         * crypt/speeds.c: Likewise.
40924         * csu/check_fds.c: Likewise.
40925         * elf/dl-load.c: Likewise.
40926         * elf/dl-open.c: Likewise.
40927         * elf/reldep3.c: Likewise.
40928         * elf/reldep.c: Likewise.
40929         * elf/sprof.c: Likewise.
40930         * iconv/iconv_charmap.c: Likewise.
40931         * iconv/skeleton.c: Likewise.
40932         * iconv/strtab.c: Likewise.
40933         * io/lockf64.c: Likewise.
40934         * libio/libioP.h: Likewise.
40935         * resolv/gai_notify.c: Likewise.
40936         * resolv/ns_name.c: Likewise.
40937         * resolv/ns_samedomain.c: Likewise.
40938         * resolv/res_send.c: Likewise.
40939         * stdlib/random.c: Likewise.
40940         * sunrpc/rpc/xdr.h: Likewise.
40941         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40942         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40943         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40944         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40945         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40946         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40947         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40948         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40949         * sysdeps/mach/hurd/check_fds.c: Likewise.
40950         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40951         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40952         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40953         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40954         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40955         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40956         * sysdeps/pthread/aio_notify.c: Likewise.
40957         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40958         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40959         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40960         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40961         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40963 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40965         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40966         version if bit_Slow_SSE4_2 is set.
40967         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40968         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40970 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40972         [BZ #15867]
40973         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40974         trampoline stack frame information.
40975         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40976         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40977         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40978         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40979         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40980         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40981         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40982         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40983         sa_flags value.
40984         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40985         interrupting a syscall and set with option SA_SIGINFO.
40987 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40989         [BZ #15531]
40990         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40991         argument is infinite.
40992         * math/s_cprojf.c (__cprojf): Likewise.
40993         * math/s_cprojl.c (__cprojl): Likewise.
40994         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40995         * math/libm-test.inc (cproj_test_data): Add more tests.
40997         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40999         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41000         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41001         size.  Use __ffs to determine corresponding shift.
41003 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41004             Roland McGrath  <roland@hack.frob.com>
41006         * Makefile (INSTALL): Remove trailing blank lines from output of
41007         makeinfo.
41009 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41011         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41012         Align 32 bit compat elf_greg to 8 bytes.
41014 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
41016         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41018 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41020         * string/strcoll_l.c (coll_seq): New structure.
41021         (get_next_seq_cached): New function.
41022         (get_next_seq): New function.
41023         (do_compare): New function.
41024         (STRCOLL): Use GNU style definition.  Simplify implementation
41025         by using get_next_seq, get_next_seq_cached and do_compare.
41027 2013-08-16  Florian Weimer  <fweimer@redhat.com>
41029         [BZ #14699]
41030         CVE-2013-4237
41031         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41032         member.
41033         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41034         member.
41035         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41036         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41037         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41038         conditional.
41039         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41040         GETDENTS_64BIT_ALIGNED.
41041         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41042         * manual/filesys.texi (Reading/Closing Directory): Document
41043         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
41044         strongly.
41045         * manual/conf.texi (Limits for Files): Add portability note to
41046         NAME_MAX, PATH_MAX.
41047         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41049 2013-08-13  Andreas Schwab  <schwab@suse.de>
41051         [BZ #15749]
41052         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41053         of fabs.
41054         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41055         LDBL_MAX_EXP >= 16384]: Add tests for it.
41057 2013-08-12  David S. Miller  <davem@davemloft.net>
41059         * version.h (RELEASE): Set to "development".
41060         (VERSION): Set to "2.18.90".
41061         * NEWS: Add 2.19 section.
41063 2013-08-03  David S. Miller  <davem@davemloft.net>
41065         * po/ko.po: Update Korean translation from translation project.
41067 2013-08-01  David S. Miller  <davem@davemloft.net>
41069         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
41070         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41071         Bilka.
41073 2013-07-30  David S. Miller  <davem@davemloft.net>
41075         * po/fr.po: Update French translation from translation project.
41077 2013-07-28  David S. Miller  <davem@davemloft.net>
41079         * po/cs.po: Update Czech translation from translation project.
41081         * po/sv.po: Update Swedish translation from translation project.
41083 2013-07-27  David S. Miller  <davem@davemloft.net>
41085         * po/eo.po: Update Esperanto translation from translation project.
41087         * po/vi.po: Update Vietnamese translation from translation project.
41089         * po/de.po: Update German translation from translation project.
41091 2013-07-26  David S. Miller  <davem@davemloft.net>
41093         * po/bg.po: Update Bulgarian translation from translation project.
41095         * po/nl.po: Update Dutch translation from translation project.
41096         * po/pl.po: Update Polish translation from translation project.
41097         * po/ru.po: Update Russian translation from translation project.
41099 2013-07-24  David S. Miller  <davem@davemloft.net>
41101         * po/libc.pot: Update.
41103 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41105         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41106         variable page size.
41107         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41108         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41109         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41111 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41113         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41115 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41116             Andreas Schwab  <schwab@suse.de>
41117             Roland McGrath  <roland@hack.frob.com>
41118             Joseph Myers  <joseph@codesourcery.com>
41119             Carlos O'Donell  <carlos@redhat.com>
41121         [BZ #15755]
41122         * config.h.in: Define HAVE_PT_CHOWN.
41123         * config.make.in (build-pt-chown): New variable.
41124         * configure.in (--enable-pt_chown): New configure option.
41125         * configure: Regenerate.
41126         * login/Makefile: Include Makeconfig.  Build pt_chown only if
41127         build-pt-chown is enabled.
41128         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41129         pt_chown to fix pty ownership.
41130         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41131         CLOSE_ALL_FDS.
41132         * manual/install.texi (Configuring and compiling): Mention
41133         --enable-pt_chown. Add @findex for grantpt.
41134         * INSTALL: Regenerate.
41136 2013-07-20  David S. Miller  <davem@davemloft.net>
41138         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41139         difference between 32-bit and 64-bit.
41141 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
41143         [BZ #15711]
41144         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41145         Avoid system header dependency with -ffreestanding.
41146         ($(objpfx)bits/syscall%d): Likewise.
41148 2013-07-13  David S. Miller  <davem@davemloft.net>
41150         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41151         underflows from atanl/atan2l due to bug 15319.
41152         (casinh_test_data): Likewise.
41154 2013-07-07  David S. Miller  <davem@davemloft.net>
41156         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41158 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
41160         * sysdeps/i386/fpu/libm-test-ulps: Update.
41161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41163 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41165         * configure.in (--enable-lock-elision): Fix message text.
41166         * INSTALL: Regenerate.
41167         * configure: Regenerate.
41169 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41173 2013-07-03  Andreas Jaeger  <aj@suse.de>
41175         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41176         define.
41177         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41178         (ptrace_peeksiginfo_args): Add.
41179         (__ptrace_peeksiginfo_flags): Add.
41180         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41181         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41182         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41184 2013-07-03  Allan McRae  <allan@archlinux.org>
41186         * sysdeps/i386/fpu/libm-test-ulps: Update.
41188 2013-07-02  David S. Miller  <davem@davemloft.net>
41190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41192 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41196 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41198         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41201 2013-07-02  Andi Kleen <ak@linux.intel.com>
41203         * config.h.in (ENABLE_LOCK_ELISION): Add.
41204         * configure.in (--enable-lock-elision): Add option.
41205         * manual/install.texi: Document --enable lock elision.
41206         * configure: Regenerate
41207         * INSTALL: Regenerate.
41209 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41211         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41212         SSE4.2 strcasecmp for libc.a.
41213         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41215 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41217         [BZ #13304]
41218         * soft-fp/op-common.h (_FP_FMA): New macro.
41219         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41220         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41221         (_FP_MUL_MEAT_1_imm): ... here.
41222         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41223         (_FP_MUL_MEAT_1_wide): ... here.
41224         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41225         (_FP_MUL_MEAT_1_hard): ... here.
41226         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41227         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41228         (_FP_MUL_MEAT_2_wide): ... here.
41229         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41230         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41231         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41232         (_FP_MUL_MEAT_2_gmp): ... here.
41233         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41234         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41235         (_FP_MUL_MEAT_4_wide): ... here.
41236         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41237         (_FP_MUL_MEAT_4_gmp): ... here.
41238         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41239         (_FP_WFRACBITS_DW_S): Likewise.
41240         (_FP_WFRACXBITS_DW_S): Likewise.
41241         (_FP_HIGHBIT_DW_S): Likewise.
41242         (FP_FMA_S): Likewise.
41243         (_FP_FRAC_HIGH_DW_S): Likewise.
41244         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41245         (_FP_WFRACBITS_DW_D): Likewise.
41246         (_FP_WFRACXBITS_DW_D): Likewise.
41247         (_FP_HIGHBIT_DW_D): Likewise.
41248         (FP_FMA_D): Likewise.
41249         (_FP_FRAC_HIGH_DW_D): Likewise.
41250         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41251         (_FP_WFRACBITS_DW_E): Likewise.
41252         (_FP_WFRACXBITS_DW_E): Likewise.
41253         (_FP_HIGHBIT_DW_E): Likewise.
41254         (FP_FMA_E): Likewise.
41255         (_FP_FRAC_HIGH_DW_E): Likewise.
41256         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41257         (_FP_WFRACBITS_DW_Q): Likewise.
41258         (_FP_WFRACXBITS_DW_Q): Likewise.
41259         (_FP_HIGHBIT_DW_Q): Likewise.
41260         (FP_FMA_Q): Likewise.
41261         (_FP_FRAC_HIGH_DW_Q): Likewise.
41262         * soft-fp/fmasf4.c: New file.
41263         * soft-fp/fmadf4.c: Likewise.
41264         * soft-fp/fmatf4.c: Likewise.
41266 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41269         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41270         Silvermont.
41271         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41272         macro.
41273         (index_Slow_SSE4_2): Likewise.
41274         (index_Prefer_PMINUB_for_stringop): Likewise.
41275         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41276         bit_Slow_SSE4_2 is set.
41277         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41278         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41280 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41282         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41283         rtld_global._dl_hwcap2.
41284         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41285         POWER8.
41286         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41287         POWER8 feature descriptions defined in _dl_hwcap2.
41288         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41289         string handling for POWER8 feature bits.
41290         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41291         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41292         _dl_powerpc_cap_flags.
41293         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41294         * sysdeps/powerpc/rtld-global-offsets.sym
41295         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41296         _dl_hwcap2 in the rtld_global_ro structure.
41298 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41300         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41301         hardware capabilities in support of AT_HWCAP2.
41302         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41303         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41304         GLRO(dl_hwcap2).
41305         (_dl_show_auxv): Add support for calling _dl_procinfo to display
41306         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
41307         explicitly the unknown a_type display mechanism is used.
41308         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41309         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41310         struct member.
41311         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41312         to macro prototype for AT_HWCAP2 support.
41313         * sysdeps/i386/dl-procinfo.h: Likewise.
41314         * sysdeps/s390/dl-procinfo.h: Likewise.
41315         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41316         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
41317         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
41318         return -1 for unknown a_type display fallback.
41319         * sysdeps/sparc/dl-procinfo.h: Likewise.
41320         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41321         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41323 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
41325         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41326         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41328 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
41330         [BZ #12492]
41331         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41332         mprotect making __stack_prot writable.
41334 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
41335             Joseph Myers  <joseph@codesourcery.com>
41337         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41338         as being properly aligned.
41340 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
41342         * dlfcn/modstatic5.c: New file.
41343         * dlfcn/tststatic5.c: New file.
41344         * dlfcn/Makefile (tests): Add tststatic5.
41345         (tests-static): Likewise.
41346         (modules-names): Add modstatic5.
41347         (tststatic5-ENV): New variable.
41348         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41350         [BZ #15022]
41351         * elf/dl-support.c (_dl_main_map): New variable.
41352         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41353         (_dl_nns, _dl_load_adds): Set to 1.
41354         (_dl_initial_searchlist): Refer to _dl_main_map.
41355         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41356         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41357         call to _dl_get_origin.
41358         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41359         around call_map.
41360         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41361         * dlfcn/modstatic3.c: New file.
41362         * dlfcn/tststatic3.c: New file.
41363         * dlfcn/tststatic4.c: New file.
41364         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41365         (tests-static): Likewise.
41366         (modules-names): Add modstatic3.
41367         (tststatic3-ENV, tststatic4-ENV): New variables.
41368         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41369         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41371 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
41373         * configure.in (CC): Require GCC version 4.4 or later.
41374         * configure: Regenerated.
41375         * manual/install.texi (Tools for Compilation): Update GCC version
41376         requirement.
41377         * INSTALL: Regenerated.
41379 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41381         [BZ #15674]
41382         * string/test-memcmp.c (check2): New.
41383         (main): Call check2.
41385         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41387 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41389         [BZ #15022]
41390         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41391         over to...
41392         (dl_open_worker) [!SHARED]: ... here.
41394 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41396         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41398 2013-06-25  Richard Henderson  <rth@redhat.com>
41400         * locale/programs/locarchive.c: Include <libc-internal.h>
41402 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41404         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41405         trailing whitespace removed.
41407 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41409         [BZ #10283]
41410         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41411         * locale/programs/locarchive.c: Include libc-mmap.h.
41412         (prepare_address_space): Take two new outputs (the mmap base and len).
41413         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41414         values.
41415         (create_archive): Declare new mmap base and len values for
41416         prepare_address_space, and store the result in ah.
41417         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41418         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41419         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41420         Declare new mmap base and len values for
41421         prepare_address_space, and store the result in new_ah.
41422         (open_archive): Declare new mmap base and len values for
41423         prepare_address_space, and store the result in ah.
41424         (close_archive): If ah->mmap_base is not NULL, use that and
41425         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41426         * sysdeps/generic/libc-mmap.h: New file.
41428 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41430         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41431         (ALIGN_UP): Likewise.
41432         (PTR_ALIGN_DOWN): Likewise.
41433         (PTR_ALIGN_UP): Likewise.
41435 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41437         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41438         entry mapped to PPC_PLATFORM_POWER8.
41439         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41440         POWER8.
41441         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41442         (_dl_string_platform): Add case for exporting platform position for
41443         POWER8.
41444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41445         search path to sysdeps/powerpc/powerpc32/power8 directory.
41446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41447         search path to sysdeps/powerpc/powerpc64/power8 directory.
41448         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41449         power7 directories.
41450         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41451         power7 directories.
41453 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41455         * INSTALL: Regenerate.
41457         * nscd/connections.c (nscd_init): Fix comment.
41459 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41461         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41463         [BZ #15667]
41464         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41465         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41467 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41469         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41470         DL_DST_REQ_STATIC.
41471         (DL_DST_REQ_STATIC): Remove macro.
41473 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41475         [BZ #7006]
41476         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41477         with a shift of 0 bits.
41479 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41481         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41482         $(tststatic-ENV).
41484 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41486         [BZ #15655]
41487         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41489 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41491         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41492         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41493         accepts -fno-tree-loop-distribute-patterns.
41494         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41495         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41496         recursive call.
41497         * string/memset.c (memset): Likewise.
41498         * string/test-memmove.c (simple_memmove): Disable loop transformation
41499         to library calls.
41500         * string/test-memset.c (simple_memset): Likewise.
41501         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41502         * benchtests/bench-memset.c (simple_memset): Likewise.
41503         * configure: Regenerated.
41505 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41507         * math/test-misc.c (main): Ignore fesetround failure when failures
41508         of subsequent rounding tests would be ignored.
41510         [BZ #15654]
41511         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41512         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41513         * math/fegetenv.c (__fegetenv): Return 0.
41514         * math/fegetexcept.c (fegetexcept): Return 0.
41515         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41516         FE_TONEAREST.
41517         * math/feholdexcpt.c (feholdexcept): Return 0.
41518         * math/fesetenv.c (__fesetenv): Return 0.
41519         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41520         argument FE_TONEAREST.
41521         * math/feupdateenv.c (__feupdateenv): Return 0.
41522         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41524 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41526         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41527         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41528         ($(objpfx)rtld-%.os rules): Use them.
41530 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41532         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41533         fields.
41535 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41537         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41538         length of target pattern, then descending length of dependency pattern.
41539         * configure.in (AWK): Require gawk 3.1.2 or newer.
41540         * manual/install.texi (Tools for Compilation): Say that we do.
41541         * configure: Regenerated.
41543         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41544         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41545         * scripts/sysd-rules.awk: ... this new script.
41546         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41547         than a glob-style pattern.
41549 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41551         * math/test-misc.c (main): Do not treat incorrectly rounded
41552         conversions as failure unless ROUNDING_TESTS passes.
41554 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41556         [BZ #15631]
41557         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41558         restore exception state around main square root computation, then
41559         check for inexactness explicitly.
41561         * math/libm-test.inc (fma_test_data): Add another test.
41563 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41565         * manual/threads.texi (Non-POSIX Extensions): New document
41566         node.  Document pthread_getattr_default_np and
41567         pthread_setattr_default_np.
41569         * Versions.def (libpthread): Add GLIBC_2.18.
41570         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41572         Likewise.
41573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41574         Likewise.
41575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41576         Likewise.
41577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41578         Likewise.
41579         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41580         Likewise.
41581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41582         Likewise.
41583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41584         Likewise.
41585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41586         Likewise.
41587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41588         Likewise.
41590 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41593         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41595 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41596             H.J. Lu  <hjl.tools@gmail.com>
41598         [BZ #15627]
41599         * sysdeps/x86_64/rtld-memset.c: Remove file.
41600         * sysdeps/x86_64/rtld-memset.S: New file.
41602 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41604         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41605         (test_in_one_mode): Take arguments for whether the rounding mode
41606         is supported for each floating-point type.
41607         (do_test): Pass new arguments to test_in_one_mode using
41608         ROUNDING_TESTS.
41610 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41612         * posix/tst-waitid.c (do_test): Distinguish different instances of
41613         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41614         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41615         before entering the kernel for waitpid.
41617 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41619         * NEWS: Fix note on clock function precision.  Text by Roland
41620         McGrath.
41622 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41624         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41625         it into place only when and if the sanity check passes.
41627 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41629         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41630         output for whether conversion result is exact.  Take argument
41631         indicating whether type is IBM long double.
41632         (round_for_all): Change need_exact field to ibm_ld.
41633         * stdlib/tst-strtod-round.c (struct exactness): New type.
41634         (struct test): Change bool ld_ok field to struct exactness exact.
41635         (TEST): Update all definitions for change to field.
41636         (tests): Regenerate array contents.
41637         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41638         field value.  Check for IBM long double here.
41639         (do_test): Update calls to test_in_one_mode.
41641 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41643         [BZ #12515]
41644         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41645         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41647 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41649         [BZ #15605]
41650         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41651         generated by the compiler on loop optimizations.
41652         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41653         general definitions.
41655 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41657         * math/bug-nextafter.c: Include <math-tests.h>.
41658         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41659         the relevant type.
41660         * math/bug-nexttoward.c: Include <math-tests.h>.
41661         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41662         the relevant type.
41663         * math/test-misc.c: Include <math-tests.h>.
41664         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41665         the relevant type.
41667 2013-06-12  Andreas Jaeger  <aj@suse.de>
41669         * po/ia.po: Update Interlingua translation from translation
41670         project.
41672 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41674         * include/fenv.h: Include stdbool.h.
41675         (struct rm_ctx): New structure.
41676         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41677         Define macro.
41678         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41679         (SET_RESTORE_ROUNDF): Likewise.
41680         (SET_RESTORE_ROUNDL): Likewise.
41681         (SET_RESTORE_ROUND_NOEX): Likewise.
41682         (SET_RESTORE_ROUND_NOEXF): Likewise.
41683         (SET_RESTORE_ROUND_NOEXL): Likewise.
41684         (SET_RESTORE_ROUND_53BIT): Likewise.
41685         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41686         (libc_feresetround_noexf_ctx): Likewise.
41687         (libc_feresetround_noexl_ctx): Likewise.
41688         (libc_feholdsetround_53bit_ctx): Likewise.
41689         (libc_feresetround_53bit_ctx): Likewise.
41690         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41691         (libc_feholdexcept_setround_sse_ctx): New function.
41692         (libc_fesetenv_sse_ctx): Likewise.
41693         (libc_feupdateenv_sse_ctx): Likewise.
41694         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41695         (libc_feholdexcept_setround_387_ctx): Likewise.
41696         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41697         (libc_feholdsetround_387_prec_ctx): Likewise.
41698         (libc_feholdsetround_387_ctx): Likewise.
41699         (libc_feholdsetround_387_53bit_ctx): Likewise.
41700         (libc_feholdsetround_sse_ctx): Likewise.
41701         (libc_feresetround_sse_ctx): Likewise.
41702         (libc_feresetround_387_ctx): Likewise.
41703         (libc_feupdateenv_387_ctx): Likewise.
41704         (libc_feholdexcept_setroundf_ctx): Define macro.
41705         (libc_fesetenvf_ctx): Likewise.
41706         (libc_feupdateenvf_ctx): Likewise.
41707         (libc_feholdsetroundf_ctx): Likewise.
41708         (libc_feresetroundf_ctx): Likewise.
41709         (libc_feholdexcept_setround_ctx): Likewise.
41710         (libc_fesetenv_ctx): Likewise.
41711         (libc_feupdateenv_ctx): Likewise.
41712         (libc_feholdsetround_ctx): Likewise.
41713         (libc_feresetround_ctx): Likewise.
41714         (libc_feholdexcept_setroundl_ctx): Likewise.
41715         (libc_feupdateenvl_ctx): Likewise.
41716         (libc_feholdsetroundl_ctx): Likewise.
41717         (libc_feresetroundl_ctx): Likewise.
41718         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41719         (libc_feresetround_53bit_ctx): Likewise.
41721 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41723         * locale/iso-639.def: Convert to UTF-8.
41725 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41727         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41728         (EXCEPTION_TESTS_double): Likewise.
41729         (EXCEPTION_TESTS_long_double): Likewise.
41730         (EXCEPTION_TESTS): Likewise.
41731         * math/libm-test.inc (test_exceptions): Only test exceptions if
41732         EXCEPTION_TESTS (FLOAT).
41734 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41736         * benchtests/Makefile (string-bench): Add strcpy_chk and
41737         stpcpy_chk.
41738         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41739         * benchtests/bench-stpcpy_chk.c: New file.
41740         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41741         * benchtests/bench-strcpy_chk.c: New file.
41742         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41743         code.
41744         (do_test): Likewise.
41746 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41748         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41749         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41750         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41751         with tabs where appropriate.
41752         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41753         dl-procinfo.h.
41754         [PPC_PLATFORM_PPC440]: Likewise.
41755         [PPC_PLATFORM_PPC464]: Likewise.
41756         [PPC_PLATFORM_PPC476]: Likewise.
41757         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41758         ppc464, and ppc476 platform strings merging from ports/
41759         dl-procinfo.h.
41761 2013-06-11  Andreas Schwab  <schwab@suse.de>
41763         [BZ #14991]
41764         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41765         (from_ucs4_idx): Regenerate.
41766         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41767         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41768         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41769         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41770         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41771         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41772         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41773         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41774         from FROM_LOOP and TO_LOOP specific macros.
41775         (BODY): Handle combining characters.
41776         * iconvdata/BIG5HKSCS.irreversible: Update.
41777         * iconvdata/BIG5HKSCS.precomposed: New file.
41778         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41779         characters.
41780         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41782 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41784         * include/sys/time.h: Fix indentation and add copyright header.
41786         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41787         (do_test): Likewise.
41788         * string/test-memchr.c (do_one_test): Likewise.
41789         (do_test): Likewise.
41790         * string/test-memcmp.c (do_one_test): Likewise.
41791         (do_test): Likewise.
41792         * string/test-memcpy.c (do_one_test): Likewise.
41793         (do_test): Likewise.
41794         * string/test-memmem.c (do_one_test): Likewise.
41795         (do_test): Likewise.
41796         (do_random_tests): Likewise.
41797         * string/test-memmove.c (do_one_test): Likewise.
41798         (do_test): Likewise.
41799         * string/test-memset.c (do_one_test): Likewise.
41800         (do_test): Likewise.
41801         * string/test-rawmemchr.c (do_one_test): Likewise.
41802         (do_test): Likewise.
41803         * string/test-strcasecmp.c (do_one_test): Likewise.
41804         (do_test): Likewise.
41805         * string/test-strcasestr.c (do_one_test): Likewise.
41806         (do_test): Likewise.
41807         * string/test-strcat.c (do_one_test): Likewise.
41808         (do_test): Likewise.
41809         * string/test-strchr.c (do_one_test): Likewise.
41810         (do_test): Likewise.
41811         * string/test-strcmp.c (do_one_test): Likewise.
41812         (do_test): Likewise.
41813         * string/test-strcpy.c (do_one_test): Likewise.
41814         (do_test): Likewise.
41815         * string/test-string.h: Likewise.
41816         (test_init): Likewise.
41817         * string/test-strlen.c (do_one_test): Likewise.
41818         (do_test): Likewise.
41819         * string/test-strncasecmp.c (do_one_test): Likewise.
41820         (do_test): Likewise.
41821         * string/test-strncat.c (do_one_test): Likewise.
41822         (do_test): Likewise.
41823         * string/test-strncmp.c (do_one_test): Likewise.
41824         (do_test_limit): Likewise.
41825         (do_test): Likewise.
41826         * string/test-strncpy.c (do_one_test): Likewise.
41827         (do_test): Likewise.
41828         * string/test-strnlen.c (do_one_test): Likewise.
41829         (do_test): Likewise.
41830         * string/test-strpbrk.c (do_one_test): Likewise.
41831         (do_test): Likewise.
41832         * string/test-strrchr.c (do_one_test): Likewise.
41833         (do_test): Likewise.
41834         * string/test-strspn.c (do_one_test): Likewise.
41835         (do_test): Likewise.
41836         * string/test-strstr.c (do_one_test): Likewise.
41837         (do_test): Likewise.
41839         * benchtests/Makefile (string-bench): Add string benchmarks.
41840         * benchtests/bench-bcopy-ifunc.c: New file.
41841         * benchtests/bench-bcopy.c: New file.
41842         * benchtests/bench-bzero-ifunc.c: New file.
41843         * benchtests/bench-bzero.c: New file.
41844         * benchtests/bench-memccpy-ifunc.c: New file.
41845         * benchtests/bench-memccpy.c: New file.
41846         * benchtests/bench-memchr-ifunc.c: New file.
41847         * benchtests/bench-memchr.c: New file.
41848         * benchtests/bench-memcmp-ifunc.c: New file.
41849         * benchtests/bench-memcmp.c: New file.
41850         * benchtests/bench-memmem-ifunc.c: New file.
41851         * benchtests/bench-memmem.c: New file.
41852         * benchtests/bench-memmove-ifunc.c: New file.
41853         * benchtests/bench-memmove.c: New file.
41854         * benchtests/bench-mempcpy-ifunc.c: New file.
41855         * benchtests/bench-mempcpy.c: New file.
41856         * benchtests/bench-memset-ifunc.c: New file.
41857         * benchtests/bench-memset.c: New file.
41858         * benchtests/bench-rawmemchr-ifunc.c: New file.
41859         * benchtests/bench-rawmemchr.c: New file.
41860         * benchtests/bench-stpcpy-ifunc.c: New file.
41861         * benchtests/bench-stpcpy.c: New file.
41862         * benchtests/bench-stpncpy-ifunc.c: New file.
41863         * benchtests/bench-stpncpy.c: New file.
41864         * benchtests/bench-strcasecmp-ifunc.c: New file.
41865         * benchtests/bench-strcasecmp.c: New file.
41866         * benchtests/bench-strcasestr-ifunc.c: New file.
41867         * benchtests/bench-strcasestr.c: New file.
41868         * benchtests/bench-strcat-ifunc.c: New file.
41869         * benchtests/bench-strcat.c: New file.
41870         * benchtests/bench-strchr-ifunc.c: New file.
41871         * benchtests/bench-strchr.c: New file.
41872         * benchtests/bench-strchrnul-ifunc.c: New file.
41873         * benchtests/bench-strchrnul.c: New file.
41874         * benchtests/bench-strcmp-ifunc.c: New file.
41875         * benchtests/bench-strcmp.c: New file.
41876         * benchtests/bench-strcpy-ifunc.c: New file.
41877         * benchtests/bench-strcpy.c: New file.
41878         * benchtests/bench-strcspn-ifunc.c: New file.
41879         * benchtests/bench-strcspn.c: New file.
41880         * benchtests/bench-strlen-ifunc.c: New file.
41881         * benchtests/bench-strlen.c: New file.
41882         * benchtests/bench-strncasecmp-ifunc.c: New file.
41883         * benchtests/bench-strncasecmp.c: New file.
41884         * benchtests/bench-strncat-ifunc.c: New file.
41885         * benchtests/bench-strncat.c: New file.
41886         * benchtests/bench-strncmp-ifunc.c: New file.
41887         * benchtests/bench-strncmp.c: New file.
41888         * benchtests/bench-strncpy-ifunc.c: New file.
41889         * benchtests/bench-strncpy.c: New file.
41890         * benchtests/bench-strnlen-ifunc.c: New file.
41891         * benchtests/bench-strnlen.c: New file.
41892         * benchtests/bench-strpbrk-ifunc.c: New file.
41893         * benchtests/bench-strpbrk.c: New file.
41894         * benchtests/bench-strrchr-ifunc.c: New file.
41895         * benchtests/bench-strrchr.c: New file.
41896         * benchtests/bench-strspn-ifunc.c: New file.
41897         * benchtests/bench-strspn.c: New file.
41898         * benchtests/bench-strstr-ifunc.c: New file.
41899         * benchtests/bench-strstr.c: New file.
41901         * benchtests/Makefile: Disable parallel execution of targets.
41902         (string-bench): Add memcpy.
41903         (benchset): New variable to store a list of benchmark sets.
41904         (bench-func): Renamed from bench.
41905         (bench-set): New target.
41906         (bench): Depend on bench-func and bench-set.
41907         * benchtests/README: Add section on benchmark sets.
41908         * benchtests/bench-memcpy-ifunc.c: New file.
41909         * benchtests/bench-memcpy.c: New file.
41910         * benchtests/bench-string.h: New file.
41912 2013-06-11  Andreas Schwab  <schwab@suse.de>
41914         [BZ #15577]
41915         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41916         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41917         values in the triple.
41918         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41919         terminator in the group key.
41921 2013-06-11  Andreas Jaeger  <aj@suse.de>
41923         * po/zh_TW.po: Update Chinese (traditional) translation from
41924         translation project.
41926 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41928         * include/time.h (__clock_gettime): Add libc_hidden_proto.
41929         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41930         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
41931         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41932         (clock_getcpuclockid): Likewise.
41933         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41934         Add weak_alias and libc_hidden_def.
41935         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41936         * rt/clock_gettime.c (clock_gettime): Rename to
41937         __clock_gettime.  Add weak_alias and libc_hidden_def.
41938         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41939         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41940         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
41941         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41942         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41943         Likewise.
41944         * rt/clock_settime.c (clock_settime): Rename to
41945         __clock_settime.  Add weak_alias and libc_hidden_def.
41946         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41948 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
41950         * mach/err_boot.sub: Remove trailing whitespace.
41951         * mach/err_ipc.sub: Likewise.
41952         * mach/err_mach.sub: Likewise.
41954         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41955         (ROUNDING_TESTS_double): Likewise.
41956         (ROUNDING_TESTS_long_double): Likewise.
41957         (ROUNDING_TESTS): Likewise.
41958         * math/libm-test.inc: Include <math-tests.h>.
41959         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41960         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41961         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41962         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41964 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41966         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41967         of assigning.
41969 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
41971         * sysdeps/gnu/errlist.awk: Do not generate space at end of
41972         otherwise empty TRANS lines.
41973         * sysdeps/gnu/errlist.c: Regenerated.
41975         * catgets/gencat.c (error_print): Use (void) in function
41976         definition.
41977         * crypt/crypt_util.c (__init_des): Likewise.
41978         * crypt/speeds.c (Stop): Likewise.
41979         (main): Likewise.
41980         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41981         * inet/ruserpass.c (token): Likewise.
41982         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41983         * intl/localealias.c (extend_alias_table): Likewise.
41984         * intl/plural-exp.c (init_germanic_plural): Likewise.
41985         * libio/fcloseall.c (__fcloseall): Likewise.
41986         * libio/genops.c (_IO_flush_all): Likewise.
41987         (_IO_flush_all_linebuffered): Likewise.
41988         (_IO_cleanup): Likewise.
41989         (_IO_iter_begin): Likewise.
41990         (_IO_iter_end): Likewise.
41991         (_IO_list_lock): Likewise.
41992         (_IO_list_unlock): Likewise.
41993         (_IO_list_resetlock): Likewise.
41994         * libio/getchar.c (getchar): Likewise.
41995         * libio/getchar_u.c (getchar_unlocked): Likewise.
41996         * libio/getwchar.c (getwchar): Likewise.
41997         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41998         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41999         * login/getpt.c (__getpt): Likewise.
42000         * login/tst-utmp.c (main): Likewise.
42001         * malloc/hooks.c (__malloc_check_init): Likewise.
42002         * malloc/malloc.c (__malloc_stats): Likewise.
42003         * malloc/mtrace.c (tr_break): Likewise.
42004         (mtrace): Likewise.
42005         (muntrace): Likewise.
42006         * misc/fstab.c (endfsent): Likewise.
42007         * misc/getclktck.c (__getclktck): Likewise.
42008         * misc/getdtsz.c (__getdtablesize): Likewise.
42009         * misc/gethostid.c (gethostid): Likewise.
42010         * misc/getpagesize.c (__getpagesize): Likewise.
42011         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42012         (__get_nprocs): Likewise.
42013         (__get_phys_pages): Likewise.
42014         (__get_avphys_pages): Likewise.
42015         * misc/getttyent.c (getttyent): Likewise.
42016         (setttyent): Likewise.
42017         (endttyent): Likewise.
42018         * misc/getusershell.c (getusershell): Likewise.
42019         (endusershell): Likewise.
42020         (setusershell): Likewise.
42021         (initshells): Likewise.
42022         * misc/hsearch.c (__hdestroy): Likewise.
42023         * misc/sync.c (sync): Likewise.
42024         * misc/syslog.c (closelog_internal): Likewise.
42025         (closelog): Likewise.
42026         * misc/ttyslot.c (ttyslot): Likewise.
42027         * misc/vhangup.c (vhangup): Likewise.
42028         * posix/fork.c (__fork): Likewise.
42029         * posix/getegid.c (__getegid): Likewise.
42030         * posix/geteuid.c (__geteuid): Likewise.
42031         * posix/getgid.c (__getgid): Likewise.
42032         * posix/getpid.c (__getpid): Likewise.
42033         * posix/getppid.c (__getppid): Likewise.
42034         * posix/getuid.c (__getuid): Likewise.
42035         * posix/pause.c (pause): Likewise.
42036         * posix/setpgrp.c (setpgrp): Likewise.
42037         * posix/setsid.c (__setsid): Likewise.
42038         * posix/test-vfork.c (noop): Likewise.
42039         * resolv/gethnamaddr.c (_endhtent): Likewise.
42040         (_gethtent): Likewise.
42041         (ht_endhostent): Likewise.
42042         (gethostent): Likewise.
42043         (dns_service): Likewise.
42044         * stdlib/drand48.c (drand48): Likewise.
42045         * stdlib/lrand48.c (lrand48): Likewise.
42046         * stdlib/mrand48.c (mrand48): Likewise.
42047         * stdlib/rand.c (rand): Likewise.
42048         * stdlib/random.c (__random): Likewise.
42049         * stdlib/setenv.c (clearenv): Likewise.
42050         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42051         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42052         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42053         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42054         (__get_nprocs): Likewise.
42055         (__get_phys_pages): Likewise.
42056         (__get_avphys_pages): Likewise.
42057         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42058         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42059         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42060         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42061         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42062         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42063         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42064         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42065         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42066         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42067         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42068         * sysdeps/mach/hurd/sync.c (sync): Likewise.
42069         * sysdeps/posix/clock.c (clock): Likewise.
42070         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42071         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42072         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42073         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42074         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42075         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42076         (__get_nprocs_conf): Likewise.
42077         (__get_phys_pages): Likewise.
42078         (__get_avphys_pages): Likewise.
42079         * time/clock.c (clock): Likewise.
42080         * time/tzset.c (__tzname_max): Likewise.
42082 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
42084         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42085         (__bswap_32): Do not use "register".
42086         * crypt/crypt.c (_ufc_doit_r): Likewise.
42087         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42088         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42089         * gmon/gmon.c (__monstartup): Likewise.
42090         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42091         * hurd/hurdmalloc.c (more_memory): Likewise.
42092         (malloc): Likewise.
42093         (free): Likewise.
42094         (realloc): Likewise.
42095         (malloc_fork_prepare): Likewise.
42096         (malloc_fork_parent): Likewise.
42097         (malloc_fork_child): Likewise.
42098         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42099         (_svcauth_des): Likewise.
42100         * inet/inet_lnaof.c (inet_lnaof): Likewise.
42101         * inet/inet_net.c (inet_network): Likewise.
42102         * inet/inet_netof.c (inet_netof): Likewise.
42103         * inet/rcmd.c (__validuser2_sa): Likewise.
42104         * io/fts.c (fts_open): Likewise.
42105         (fts_load): Likewise.
42106         (fts_close): Likewise.
42107         (fts_read): Likewise.
42108         (fts_children): Likewise.
42109         (fts_build): Likewise.
42110         (fts_stat): Likewise.
42111         (fts_sort): Likewise.
42112         (fts_alloc): Likewise.
42113         (fts_lfree): Likewise.
42114         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42115         (_IO_file_xsgetn): Likewise.
42116         (_IO_file_xsgetn_mmap): Likewise.
42117         * libio/iofopncook.c (_IO_cookie_read): Likewise.
42118         (_IO_cookie_write): Likewise.
42119         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42120         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42121         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42122         * malloc/obstack.c (_obstack_begin): Likewise.
42123         (_obstack_begin_1): Likewise.
42124         (_obstack_newchunk): Likewise.
42125         (_obstack_allocated_p): Likewise.
42126         (obstack_free): Likewise.
42127         (_obstack_memory_used): Likewise.
42128         * misc/getttyent.c (getttynam): Likewise.
42129         (getttyent): Likewise.
42130         (skip): Likewise.
42131         (value): Likewise.
42132         * misc/getusershell.c (initshells): Likewise.
42133         * misc/syslog.c (__vsyslog_chk): Likewise.
42134         * misc/ttyslot.c (ttyslot): Likewise.
42135         * nis/nis_hash.c (__nis_hash): Likewise.
42136         * posix/fnmatch_loop.c (FCT): Likewise.
42137         * posix/getconf.c (print_all): Likewise.
42138         (main): Likewise.
42139         * posix/getopt.c (exchange): Likewise.
42140         * posix/glob.c (globfree): Likewise.
42141         (prefix_array): Likewise.
42142         (__glob_pattern_type): Likewise.
42143         * resolv/arpa/nameser.h (NS_GET16): Likewise.
42144         (NS_GET32): Likewise.
42145         (NS_PUT16): Likewise.
42146         (NS_PUT32): Likewise.
42147         * resolv/gethnamaddr.c (getanswer): Likewise.
42148         (gethostbyname2): Likewise.
42149         (gethostbyaddr): Likewise.
42150         (_gethtent): Likewise.
42151         (_gethtbyname2): Likewise.
42152         (_gethtbyaddr): Likewise.
42153         * resolv/ns_print.c (dst_s_get_int16): Likewise.
42154         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42155         * resolv/res_init.c (__res_vinit): Likewise.
42156         (net_mask): Likewise.
42157         * resolv/res_mkquery.c (outchar): Likewise.
42158         (PRINT): Likewise.
42159         * stdio-common/printf_fp.c (outchar): Likewise.
42160         (PRINT): Likewise.
42161         * stdio-common/printf_fphex.c (outchar): Likewise.
42162         (PRINT): Likewise.
42163         * stdio-common/printf_size.c (outchar): Likewise.
42164         (PRINT): Likewise.
42165         * stdio-common/test_rdwr.c (main): Likewise.
42166         * stdio-common/tfformat.c (matches): Likewise.
42167         * stdio-common/vfprintf.c (outchar): Likewise.
42168         (printf_unknown): Likewise.
42169         (buffered_vfprintf): Likewise.
42170         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42171         * stdio-common/xbug.c (AppendToBuffer): Likewise.
42172         (ReadFile): Likewise.
42173         * stdlib/qsort.c (SWAP): Likewise.
42174         (_quicksort): Likewise.
42175         * stdlib/setenv.c (__add_to_environ): Likewise.
42176         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42177         * stdlib/strtol_l.c (__strtol_l): Likewise.
42178         * stdlib/tst-strtod.c (main): Likewise.
42179         * stdlib/tst-strtol.c (main): Likewise.
42180         * stdlib/tst-strtoll.c (main): Likewise.
42181         * string/bits/string2.h (__strcmp_cc): Likewise.
42182         (__strcmp_cg): Likewise.
42183         (__strcspn_c1): Likewise.
42184         (__strcspn_c2): Likewise.
42185         (__strcspn_c3): Likewise.
42186         (__strspn_c1): Likewise.
42187         (__strspn_c2): Likewise.
42188         (__strspn_c3): Likewise.
42189         (__strsep_1c): Likewise.
42190         (__strsep_2c): Likewise.
42191         (__strsep_3c): Likewise.
42192         * string/memccpy.c (__memccpy): Likewise.
42193         * string/stpcpy.c (__stpcpy): Likewise.
42194         * string/strcmp.c (strcmp): Likewise.
42195         * string/strrchr.c (strrchr): Likewise.
42196         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42197         Likewise.
42198         * sysdeps/mach/hurd/getcwd.c
42199         (_hurd_canonicalize_directory_name_internal): Likewise.
42200         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42201         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42202         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42203         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42204         Likewise, in both definitions.
42205         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42206         definitions.
42207         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42208         64] (__bswap_64): Likewise.
42209         * time/test_time.c (main): Likewise.
42210         * time/tzfile.c (__tzfile_read): Likewise.
42211         (__tzfile_compute): Likewise.
42212         * time/tzset.c (__tzset_parse_tz): Likewise.
42213         (tzset_internal): Likewise.
42214         (compute_change): Likewise.
42215         * wcsmbs/wcscat.c (__wcscat): Likewise.
42216         * wcsmbs/wcschr.c (wcschr): Likewise.
42217         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42218         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42219         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42220         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42221         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42222         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42223         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42224         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42225         * wcsmbs/wmemset.c (wmemset): Likewise.
42227 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42229         * scripts/config.guess: Update to version 2013-05-16.
42230         * scripts/config.sub: Update to version 2013-04-24.
42231         * scripts/install-sh: Update to version 2011-11-20.07.
42232         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42233         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42235 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42237         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42238         * elf/sln.c: Likewise.
42239         * hurd/hurd/ioctl.h: Likewise.
42240         * hurd/hurdmalloc.c: Likewise.
42241         * hurd/xattr.c: Likewise.
42242         * include/shlib-compat.h: Likewise.
42243         * inet/ruserpass.c: Likewise.
42244         * libio/iofgets_u.c: Likewise.
42245         * libio/iofgetws_u.c: Likewise.
42246         * locale/programs/ld-identification.c: Likewise.
42247         * locale/programs/ld-time.c: Likewise.
42248         * mach/msg-destroy.c: Likewise.
42249         * nss/nss_files/files-netgrp.c: Likewise.
42250         * resolv/res_data.c: Likewise.
42251         * soft-fp/op-1.h: Likewise.
42252         * soft-fp/op-2.h: Likewise.
42253         * soft-fp/op-4.h: Likewise.
42254         * soft-fp/op-common.h: Likewise.
42255         * stdio-common/printf_fphex.c: Likewise.
42256         * stdlib/strtod_l.c: Likewise.
42257         * sunrpc/rpc/clnt.h: Likewise.
42258         * sysdeps/generic/framestate.c: Likewise.
42259         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42260         * sysdeps/i386/bsd-setjmp.S: Likewise.
42261         * sysdeps/i386/__longjmp.S: Likewise.
42262         * sysdeps/i386/setjmp.S: Likewise.
42263         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42264         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42265         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42266         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42267         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42268         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42269         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42270         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42271         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42272         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42273         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42274         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42275         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42276         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42277         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42278         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42279         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42280         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42281         * sysdeps/ieee754/support.c: Likewise.
42282         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42283         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42284         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42285         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42286         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42287         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42288         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42289         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42290         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42291         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42292         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42293         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42294         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42295         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42296         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42297         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42298         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42301 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42303         * posix/transbug.c: Remove executable mode.
42305 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
42307         * crypt/speeds.c: Remove trailing whitespace.
42308         * dlfcn/default.c: Likewise.
42309         * elf/ifuncdep2.c: Likewise.
42310         * elf/ifuncmain1.c: Likewise.
42311         * elf/ifuncmain1vis.c: Likewise.
42312         * elf/testobj.h: Likewise.
42313         * elf/tst-stackguard1.c: Likewise.
42314         * gmon/sys/gmon.h: Likewise.
42315         * hurd/hurdmsg.c: Likewise.
42316         * hurd/new-fd.c: Likewise.
42317         * hurd/ports-get.c: Likewise.
42318         * iconvdata/ibm1008_420.c: Likewise.
42319         * inet/tst-getni1.c: Likewise.
42320         * inet/tst-getni2.c: Likewise.
42321         * libio/ioungetc.c: Likewise.
42322         * libio/wfiledoalloc.c: Likewise.
42323         * manual/libm-err-tab.pl: Likewise.
42324         * math/w_dremf.c: Likewise.
42325         * misc/ftruncate.c: Likewise.
42326         * posix/bug-glob2.c: Likewise.
42327         * posix/tst-pcre.c: Likewise.
42328         * posix/wait4.c: Likewise.
42329         * resolv/README: Likewise.
42330         * resolv/res_debug.h: Likewise.
42331         * resolv/tst-inet_ntop.c: Likewise.
42332         * setjmp/bug269-setjmp.c: Likewise.
42333         * soft-fp/extended.h: Likewise.
42334         * soft-fp/op-1.h: Likewise.
42335         * soft-fp/op-2.h: Likewise.
42336         * soft-fp/op-4.h: Likewise.
42337         * soft-fp/op-8.h: Likewise.
42338         * soft-fp/testit.c: Likewise.
42339         * stdio-common/bug16.c: Likewise.
42340         * stdlib/random.c: Likewise.
42341         * sunrpc/rpcsvc/rquota.x: Likewise.
42342         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42343         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42344         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42345         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42346         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42347         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42348         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42349         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42350         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42351         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42352         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42353         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42354         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42355         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42356         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42357         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42358         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42359         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42360         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42361         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42362         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42363         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42364         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42365         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42366         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42367         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42368         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42369         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42370         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42371         * sysdeps/ieee754/s_lib_version.c: Likewise.
42372         * sysdeps/mach/hurd/check_fds.c: Likewise.
42373         * sysdeps/mach/hurd/getsockname.c: Likewise.
42374         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42375         * sysdeps/mach/hurd/recvfrom.c: Likewise.
42376         * sysdeps/powerpc/bits/link.h: Likewise.
42377         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42378         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42379         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42380         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42381         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42382         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42383         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42384         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42385         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42386         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42387         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42388         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42389         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42390         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42391         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42392         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42393         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42394         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42395         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42396         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42397         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42398         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42399         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42400         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42401         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42402         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42403         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42404         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42405         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42406         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42407         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42408         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42409         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42410         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42411         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42412         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42413         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42414         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42415         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42416         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42417         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42418         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42419         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42420         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42421         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42422         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42423         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42424         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42425         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42426         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42427         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42428         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42429         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42430         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42431         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42432         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42433         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42434         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42435         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42436         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42437         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42438         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42439         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42440         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42441         * sysdeps/powerpc/sysdep.h: Likewise.
42442         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42443         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42444         * sysdeps/sh/dl-trampoline.S: Likewise.
42445         * sysdeps/sh/memset.S: Likewise.
42446         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42447         * sysdeps/sh/strlen.S: Likewise.
42448         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42449         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42450         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42451         * sysdeps/sparc/sparc32/rem.S: Likewise.
42452         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42453         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42454         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42455         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42456         * sysdeps/sparc/sparc32/urem.S: Likewise.
42457         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42458         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42459         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42460         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42461         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42462         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42463         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42464         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42465         * sysdeps/unix/bsd/times.c: Likewise.
42466         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42467         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42471         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42472         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42473         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42474         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42475         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42476         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42477         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42478         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42479         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42480         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42481         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42482         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42483         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42484         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42485         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42486         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42487         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42488         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42489         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42490         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42491         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42492         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42493         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42494         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42495         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42496         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42497         * sysdeps/x86_64/strcspn.S: Likewise.
42499 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42501         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42502         generated file.  Regenerate properly from gen-translit.pl.
42503         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42504         locale/C-translit.h.
42506 2013-06-05  Andreas Schwab  <schwab@suse.de>
42508         [BZ #15100]
42509         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42510         week as 6 instead of -1.
42511         * time/tst-strptime.c (day_tests): Add test case.
42513 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42515         * sysdeps/generic/math_private.h
42516         (libc_feholdexcept_setround_53bit): Replace with
42517         libc_feholdsetround_53bit.
42518         (libc_feupdateenv_53bit): Replace with
42519         libc_feresetround_53bit.
42520         (SET_RESTORE_ROUND_53BIT): Adjust.
42522 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42524         * string/test-strchrnul.c: Add copyright header.
42526         * posix/tst-getaddrinfo4.c: Increase test timeout.
42528 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42530         [BZ #15536]
42531         * math/libm-test.inc (MAX_EXP): Remove
42532         (MIN_EXP): Define.
42533         (ulp): Use MIN_EXP - MANT_DIG.
42534         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42536 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42538         * po/be.po: Revert last change.
42539         * po/zh_CN.po: Likewise.
42540         * po/header.pot: Likewise.
42542 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42544         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42545         link-libc-deps to empty as target-specific variable.
42546         * Makerules (link-libc-args): New variable.
42547         (libc-for-link): Likewise.
42548         (link-libc-deps): Likewise.
42549         (lib%.so): Depend on $(link-libc-deps).  Link with
42550         $(link-libc-args).
42551         (build-module): Link with $(link-libc-args).
42552         (build-module-asneeded): Likewise.
42553         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42554         list of objects.
42555         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42556         target-specific variable.
42557         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42558         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42559         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42560         libc.
42561         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42562         libc and ld.so.
42563         ($(objpfx)libpcprofile.so): Likewise.
42564         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42565         libc_nonshared.a.
42566         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42567         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42568         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42569         $(link-libc-deps).
42570         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42571         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42572         * login/Makefile ($(objpfx)libutil.so): Likewise.
42573         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42574         * math/Makefile ($(objpfx)libm.so): Likewise.
42575         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42576         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42577         variable instead of depending directly on libc.
42578         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42579         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42580         $(link-libc-deps).
42581         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42582         libc.
42583         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42584         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42585         ($(objpfx)libanl.so): Likewise.
42586         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42587         ld.so.
42588         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42589         $(link-libc-deps).
42590         * sysdeps/i386/fpu/Makefile: Remove file.
42591         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42592         ($(objpfx)libm.so): Remove dependency on ld.so.
42594 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42596         [BZ # 15553]
42597         * nis/yp_xdr.c (XDRMAXNAME): Define.
42598         (XDRMAXRECORD): Define.
42599         (xdr_domainname): Use XDRMAXNAME.
42600         (xdr_mapname): Likewise.
42601         (xdr_peername): Likewise.
42602         (xdr_keydat): Use XDRMAXRECORD.
42603         (xdr_valdat): Likewise.
42605 2013-05-30  Jeff Law  <law@redhat.com>
42607         [BZ #14256]
42608         * manual/errno.texi (ESTALE): Update to account for more than
42609         just NFS file systems.
42610         * sysdeps/gnu/errlist.c: Regenerated.
42612 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42614         [BZ #15465]
42615         * elf/Makefile (tests): Add tst-null-argv.
42616         (modules-names):  Add tst-null-argv-lib.
42617         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42618         (tst-null-argv-ENV): Set environment for tst-null-argv.
42619         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42620         (RTLD_PROGNAME): New macro.
42621         * elf/tst-null-argv.c: New test case.
42622         * elf/tst-null-argv-lib.c: Library for test case.
42623         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42624         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42625         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42626         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42627         * elf/dl-init.c (call_init): Likewise.
42628         (_dl_init): Likewise.
42629         * elf/dl-load.c (print_search_path): Likewise.
42630         (_dl_map_object): Likewise.
42631         * elf/dl-lookup.c (do_lookup_x): Likewise.
42632         (add_dependency): Likewise.
42633         (_dl_lookup_symbol_x): Likewise.
42634         (_dl_debug_bindings): Likewise.
42635         * elf/dl-open.c (_dl_show_scope): Likewise.
42636         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42637         * elf/dl-version.c (match_symbol): Likewise.
42638         (_dl_check_map_versions): Likewise.
42639         * elf/rtld.c (dl_main): Likewise.
42640         (print_unresolved): Use RTLD_PROGNAME.
42641         (print_missing_version): Likewise.
42642         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42643         (elf_machine_rela): Likewise.
42644         * sysdeps/powerpc/powerpc32/dl-machine.c
42645         (__process_machine_rela): Likewise.
42646         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42647         Likewise.
42648         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42649         Likewise.
42650         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42651         Likewise.
42652         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42653         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42654         Likewise.
42655         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42656         Likewise.
42657         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42659 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42661         * po/be.po: Add descriptive title.
42662         * po/zh_CN.po: Likewise.
42663         * po/header.pot: Likewise.
42665 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42667         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42668         error message.
42669         (enlarge_archive): Likewise.
42671 2013-05-28  Ben North  <ben@redfrontdoor.org>
42673         * manual/arith.texi (frexp): It is the magnitude of the return
42674         value which lies in [0.5, 1), not the return value itself.
42676 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42680 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42682         * stdio-common/bug26.c (main): Correct fscanf template.
42684         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42685         declare _dl_skip_args.
42687         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42688         Don't declare.
42690         * manual/platform.texi: Add missing @end deftypefun.
42692 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42694         [BZ #15529]
42695         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42696         bit of mantissa of 2^16382.
42697         * math/libm-test.inc (hypot_test_data): Add more tests.
42699         * math/libm-test.inc: Add drem and pow10 to list of tested
42700         functions.
42701         (pow10_test): New function.
42702         (drem_test): Likewise.
42703         (drem_test_tonearest): Likewise.
42704         (drem_test_towardzero): Likewise.
42705         (drem_test_downward): Likewise.
42706         (drem_test_upward): Likewise.
42707         (main): Call the new functions.
42709         * math/libm-test.inc (finite_test_data): Remove.
42710         (finite_test): Run tests from isfinite_test_data.
42711         (gamma_test_data): Remove.
42712         (gamma_test): Run tests from lgamma_test_data.
42713         * sysdeps/i386/fpu/libm-test-ulps: Update.
42714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42716 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42718         * manual/platform.texi: Add PowerPC PPR function set documentation.
42719         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42720         implementation.
42722 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42724         * math/libm-test.inc (MAX_EXP): Define.
42725         (ULPDIFF): Define.
42726         (ulp): New function.
42727         (check_float_internal): Use ULPDIFF.
42728         (cpow_test): Disable failing test.
42729         (check_ulp): Test ulp() implemetnation.
42730         (main): Call check_ulp before starting tests.
42732 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42734         * math/gen-libm-test.pl (generate_testfile): Do not handle
42735         START_DATA and END_DATA.
42736         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42737         END_DATA.
42738         (acos_tonearest_test_data): Likewise.
42739         (acos_towardzero_test_data): Likewise.
42740         (acos_downward_test_data): Likewise.
42741         (acos_upward_test_data): Likewise.
42742         (acosh_test_data): Likewise.
42743         (asin_test_data): Likewise.
42744         (asin_tonearest_test_data): Likewise.
42745         (asin_towardzero_test_data): Likewise.
42746         (asin_downward_test_data): Likewise.
42747         (asin_upward_test_data): Likewise.
42748         (asinh_test_data): Likewise.
42749         (atan_test_data): Likewise.
42750         (atanh_test_data): Likewise.
42751         (atan2_test_data): Likewise.
42752         (cabs_test_data): Likewise.
42753         (cacos_test_data): Likewise.
42754         (cacosh_test_data): Likewise.
42755         (carg_test_data): Likewise.
42756         (casin_test_data): Likewise.
42757         (casinh_test_data): Likewise.
42758         (catan_test_data): Likewise.
42759         (catanh_test_data): Likewise.
42760         (cbrt_test_data): Likewise.
42761         (ccos_test_data): Likewise.
42762         (ccosh_test_data): Likewise.
42763         (ceil_test_data): Likewise.
42764         (cexp_test_data): Likewise.
42765         (cimag_test_data): Likewise.
42766         (clog_test_data): Likewise.
42767         (clog10_test_data): Likewise.
42768         (conj_test_data): Likewise.
42769         (copysign_test_data): Likewise.
42770         (cos_test_data): Likewise.
42771         (cos_tonearest_test_data): Likewise.
42772         (cos_towardzero_test_data): Likewise.
42773         (cos_downward_test_data): Likewise.
42774         (cos_upward_test_data): Likewise.
42775         (cosh_test_data): Likewise.
42776         (cosh_tonearest_test_data): Likewise.
42777         (cosh_towardzero_test_data): Likewise.
42778         (cosh_downward_test_data): Likewise.
42779         (cosh_upward_test_data): Likewise.
42780         (cpow_test_data): Likewise.
42781         (cproj_test_data): Likewise.
42782         (creal_test_data): Likewise.
42783         (csin_test_data): Likewise.
42784         (csinh_test_data): Likewise.
42785         (csqrt_test_data): Likewise.
42786         (ctan_test_data): Likewise.
42787         (ctan_tonearest_test_data): Likewise.
42788         (ctan_towardzero_test_data): Likewise.
42789         (ctan_downward_test_data): Likewise.
42790         (ctan_upward_test_data): Likewise.
42791         (ctanh_test_data): Likewise.
42792         (ctanh_tonearest_test_data): Likewise.
42793         (ctanh_towardzero_test_data): Likewise.
42794         (ctanh_downward_test_data): Likewise.
42795         (ctanh_upward_test_data): Likewise.
42796         (erf_test_data): Likewise.
42797         (erfc_test_data): Likewise.
42798         (exp_test_data): Likewise.
42799         (exp_tonearest_test_data): Likewise.
42800         (exp_towardzero_test_data): Likewise.
42801         (exp_downward_test_data): Likewise.
42802         (exp_upward_test_data): Likewise.
42803         (exp10_test_data): Likewise.
42804         (exp2_test_data): Likewise.
42805         (expm1_test_data): Likewise.
42806         (fabs_test_data): Likewise.
42807         (fdim_test_data): Likewise.
42808         (finite_test_data): Likewise.
42809         (floor_test_data): Likewise.
42810         (fma_test_data): Likewise.
42811         (fma_towardzero_test_data): Likewise.
42812         (fma_downward_test_data): Likewise.
42813         (fma_upward_test_data): Likewise.
42814         (fmax_test_data): Likewise.
42815         (fmin_test_data): Likewise.
42816         (fmod_test_data): Likewise.
42817         (fpclassify_test_data): Likewise.
42818         (frexp_test_data): Likewise.
42819         (gamma_test_data): Likewise.
42820         (hypot_test_data): Likewise.
42821         (ilogb_test_data): Likewise.
42822         (isfinite_test_data): Likewise.
42823         (isgreater_test_data): Likewise.
42824         (isgreaterequal_test_data): Likewise.
42825         (isinf_test_data): Likewise.
42826         (isless_test_data): Likewise.
42827         (islessequal_test_data): Likewise.
42828         (islessgreater_test_data): Likewise.
42829         (isnan_test_data): Likewise.
42830         (isnormal_test_data): Likewise.
42831         (issignaling_test_data): Likewise.
42832         (isunordered_test_data): Likewise.
42833         (j0_test_data): Likewise.
42834         (j1_test_data): Likewise.
42835         (jn_test_data): Likewise.
42836         (ldexp_test_data): Likewise.
42837         (lgamma_test_data): Likewise.
42838         (lrint_test_data): Likewise.
42839         (lrint_tonearest_test_data): Likewise.
42840         (lrint_towardzero_test_data): Likewise.
42841         (lrint_downward_test_data): Likewise.
42842         (lrint_upward_test_data): Likewise.
42843         (llrint_test_data): Likewise.
42844         (llrint_tonearest_test_data): Likewise.
42845         (llrint_towardzero_test_data): Likewise.
42846         (llrint_downward_test_data): Likewise.
42847         (llrint_upward_test_data): Likewise.
42848         (log_test_data): Likewise.
42849         (log10_test_data): Likewise.
42850         (log1p_test_data): Likewise.
42851         (log2_test_data): Likewise.
42852         (logb_test_data): Likewise.
42853         (logb_downward_test_data): Likewise.
42854         (lround_test_data): Likewise.
42855         (llround_test_data): Likewise.
42856         (modf_test_data): Likewise.
42857         (nearbyint_test_data): Likewise.
42858         (nextafter_test_data): Likewise.
42859         (nexttoward_test_data): Likewise.
42860         (pow_test_data): Likewise.
42861         (pow_tonearest_test_data): Likewise.
42862         (pow_towardzero_test_data): Likewise.
42863         (pow_downward_test_data): Likewise.
42864         (pow_upward_test_data): Likewise.
42865         (remainder_test_data): Likewise.
42866         (remainder_tonearest_test_data): Likewise.
42867         (remainder_towardzero_test_data): Likewise.
42868         (remainder_downward_test_data): Likewise.
42869         (remainder_upward_test_data): Likewise.
42870         (remquo_test_data): Likewise.
42871         (rint_test_data): Likewise.
42872         (rint_tonearest_test_data): Likewise.
42873         (rint_towardzero_test_data): Likewise.
42874         (rint_downward_test_data): Likewise.
42875         (rint_upward_test_data): Likewise.
42876         (round_test_data): Likewise.
42877         (scalb_test_data): Likewise.
42878         (scalbn_test_data): Likewise.
42879         (scalbln_test_data): Likewise.
42880         (signbit_test_data): Likewise.
42881         (sin_test_data): Likewise.
42882         (sin_tonearest_test_data): Likewise.
42883         (sin_towardzero_test_data): Likewise.
42884         (sin_downward_test_data): Likewise.
42885         (sin_upward_test_data): Likewise.
42886         (sincos_test_data): Likewise.
42887         (sinh_test_data): Likewise.
42888         (sinh_tonearest_test_data): Likewise.
42889         (sinh_towardzero_test_data): Likewise.
42890         (sinh_downward_test_data): Likewise.
42891         (sinh_upward_test_data): Likewise.
42892         (sqrt_test_data): Likewise.
42893         (tan_test_data): Likewise.
42894         (tan_tonearest_test_data): Likewise.
42895         (tan_towardzero_test_data): Likewise.
42896         (tan_downward_test_data): Likewise.
42897         (tan_upward_test_data): Likewise.
42898         (tanh_test_data): Likewise.
42899         (tgamma_test_data): Likewise.
42900         (trunc_test_data): Likewise.
42901         (y0_test_data): Likewise.
42902         (y1_test_data): Likewise.
42903         (yn_test_data): Likewise.
42904         (significand_test_data): Likewise.
42906         * math/gen-libm-test.pl (@functions): Remove variable.
42907         (generate_testfile): Don't handle START and END lines.
42908         * math/libm-test.inc (START): New macro.
42909         (END): Likewise.
42910         (END_COMPLEX): Likewise.
42911         (acos_test): Use END macro without arguments.
42912         (acos_test_tonearest): Likewise.
42913         (acos_test_towardzero): Likewise.
42914         (acos_test_downward): Likewise.
42915         (acos_test_upward): Likewise.
42916         (acosh_test): Likewise.
42917         (asin_test): Likewise.
42918         (asin_test_tonearest): Likewise.
42919         (asin_test_towardzero): Likewise.
42920         (asin_test_downward): Likewise.
42921         (asin_test_upward): Likewise.
42922         (asinh_test): Likewise.
42923         (atan_test): Likewise.
42924         (atanh_test): Likewise.
42925         (atan2_test): Likewise.
42926         (cabs_test): Likewise.
42927         (cacos_test): Use END_COMPLEX macro without arguments.
42928         (cacosh_test): Likewise.
42929         (carg_test): Use END macro without arguments.
42930         (casin_test): Use END_COMPLEX macro without arguments.
42931         (casinh_test): Likewise.
42932         (catan_test): Likewise.
42933         (catanh_test): Likewise.
42934         (cbrt_test): Use END macro without arguments.
42935         (ccos_test): Use END_COMPLEX macro without arguments.
42936         (ccosh_test): Likewise.
42937         (ceil_test): Use END macro without arguments.
42938         (cexp_test): Use END_COMPLEX macro without arguments.
42939         (cimag_test): Use END macro without arguments.
42940         (clog_test): Use END_COMPLEX macro without arguments.
42941         (clog10_test): Likewise.
42942         (conj_test): Likewise.
42943         (copysign_test): Use END macro without arguments.
42944         (cos_test): Likewise.
42945         (cos_test_tonearest): Likewise.
42946         (cos_test_towardzero): Likewise.
42947         (cos_test_downward): Likewise.
42948         (cos_test_upward): Likewise.
42949         (cosh_test): Likewise.
42950         (cosh_test_tonearest): Likewise.
42951         (cosh_test_towardzero): Likewise.
42952         (cosh_test_downward): Likewise.
42953         (cosh_test_upward): Likewise.
42954         (cpow_test): Use END_COMPLEX macro without arguments.
42955         (cproj_test): Likewise.
42956         (creal_test): Use END macro without arguments.
42957         (csin_test): Use END_COMPLEX macro without arguments.
42958         (csinh_test): Likewise.
42959         (csqrt_test): Likewise.
42960         (ctan_test): Likewise.
42961         (ctan_test_tonearest): Likewise.
42962         (ctan_test_towardzero): Likewise.
42963         (ctan_test_downward): Likewise.
42964         (ctan_test_upward): Likewise.
42965         (ctanh_test): Likewise.
42966         (ctanh_test_tonearest): Likewise.
42967         (ctanh_test_towardzero): Likewise.
42968         (ctanh_test_downward): Likewise.
42969         (ctanh_test_upward): Likewise.
42970         (erf_test): Use END macro without arguments.
42971         (erfc_test): Likewise.
42972         (exp_test): Likewise.
42973         (exp_test_tonearest): Likewise.
42974         (exp_test_towardzero): Likewise.
42975         (exp_test_downward): Likewise.
42976         (exp_test_upward): Likewise.
42977         (exp10_test): Likewise.
42978         (exp2_test): Likewise.
42979         (expm1_test): Likewise.
42980         (fabs_test): Likewise.
42981         (fdim_test): Likewise.
42982         (finite_test): Likewise.
42983         (floor_test): Likewise.
42984         (fma_test): Likewise.
42985         (fma_test_towardzero): Likewise.
42986         (fma_test_downward): Likewise.
42987         (fma_test_upward): Likewise.
42988         (fmax_test): Likewise.
42989         (fmin_test): Likewise.
42990         (fmod_test): Likewise.
42991         (fpclassify_test): Likewise.
42992         (frexp_test): Likewise.
42993         (gamma_test): Likewise.
42994         (hypot_test): Likewise.
42995         (ilogb_test): Likewise.
42996         (isfinite_test): Likewise.
42997         (isgreater_test): Likewise.
42998         (isgreaterequal_test): Likewise.
42999         (isinf_test): Likewise.
43000         (isless_test): Likewise.
43001         (islessequal_test): Likewise.
43002         (islessgreater_test): Likewise.
43003         (isnan_test): Likewise.
43004         (isnormal_test): Likewise.
43005         (issignaling_test): Likewise.
43006         (isunordered_test): Likewise.
43007         (j0_test): Likewise.
43008         (j1_test): Likewise.
43009         (jn_test): Likewise.
43010         (ldexp_test): Likewise.
43011         (lgamma_test): Likewise.
43012         (lrint_test): Likewise.
43013         (lrint_test_tonearest): Likewise.
43014         (lrint_test_towardzero): Likewise.
43015         (lrint_test_downward): Likewise.
43016         (lrint_test_upward): Likewise.
43017         (llrint_test): Likewise.
43018         (llrint_test_tonearest): Likewise.
43019         (llrint_test_towardzero): Likewise.
43020         (llrint_test_downward): Likewise.
43021         (llrint_test_upward): Likewise.
43022         (log_test): Likewise.
43023         (log10_test): Likewise.
43024         (log1p_test): Likewise.
43025         (log2_test): Likewise.
43026         (logb_test): Likewise.
43027         (logb_test_downward): Likewise.
43028         (lround_test): Likewise.
43029         (llround_test): Likewise.
43030         (modf_test): Likewise.
43031         (nearbyint_test): Likewise.
43032         (nextafter_test): Likewise.
43033         (nexttoward_test): Likewise.
43034         (pow_test): Likewise.
43035         (pow_test_tonearest): Likewise.
43036         (pow_test_towardzero): Likewise.
43037         (pow_test_downward): Likewise.
43038         (pow_test_upward): Likewise.
43039         (remainder_test): Likewise.
43040         (remainder_test_tonearest): Likewise.
43041         (remainder_test_towardzero): Likewise.
43042         (remainder_test_downward): Likewise.
43043         (remainder_test_upward): Likewise.
43044         (remquo_test): Likewise.
43045         (rint_test): Likewise.
43046         (rint_test_tonearest): Likewise.
43047         (rint_test_towardzero): Likewise.
43048         (rint_test_downward): Likewise.
43049         (rint_test_upward): Likewise.
43050         (round_test): Likewise.
43051         (scalb_test): Likewise.
43052         (scalbn_test): Likewise.
43053         (scalbln_test): Likewise.
43054         (signbit_test): Likewise.
43055         (sin_test): Likewise.
43056         (sin_test_tonearest): Likewise.
43057         (sin_test_towardzero): Likewise.
43058         (sin_test_downward): Likewise.
43059         (sin_test_upward): Likewise.
43060         (sincos_test): Likewise.
43061         (sinh_test): Likewise.
43062         (sinh_test_tonearest): Likewise.
43063         (sinh_test_towardzero): Likewise.
43064         (sinh_test_downward): Likewise.
43065         (sinh_test_upward): Likewise.
43066         (sqrt_test): Likewise.
43067         (tan_test): Likewise.
43068         (tan_test_tonearest): Likewise.
43069         (tan_test_towardzero): Likewise.
43070         (tan_test_downward): Likewise.
43071         (tan_test_upward): Likewise.
43072         (tanh_test): Likewise.
43073         (tgamma_test): Likewise.
43074         (trunc_test): Likewise.
43075         (y0_test): Likewise.
43076         (y1_test): Likewise.
43077         (yn_test): Likewise.
43078         (significand_test): Likewise.
43080 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
43082         [BZ #15381]
43083         * libio/genops.c (_IO_no_init): Initialize wide struct info.
43085 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43087         [BZ #14894]
43088         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43089         __ppc_mdoio and __ppc_mdoom.
43090         * manual/platform.texi: Document new functions __ppc_yield,
43091         __ppc_mdoio and __ppc_mdoom.
43093 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
43095         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43096         (main): Mention "tls" pseudo-hwcap is legacy.
43097         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43099 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43101         * math/gen-libm-test.pl (parse_args): Output only string of
43102         arguments as text for test name, not full call or descriptions of
43103         tests for extra outputs.
43104         (generate_testfile): Do not pass function name to parse_args.
43105         Generate this_func variable from START.
43106         * math/libm-test.inc (struct test_f_f_data): Rename test_name
43107         field to arg_str.
43108         (struct test_ff_f_data): Likewise.
43109         (test_ff_f_data_nexttoward): Likewise.
43110         (struct test_fi_f_data): Likewise.
43111         (struct test_fl_f_data): Likewise.
43112         (struct test_if_f_data): Likewise.
43113         (struct test_fff_f_data): Likewise.
43114         (struct test_c_f_data): Likewise.
43115         (struct test_f_f1_data): Likewise.  Remove field extra_name.
43116         (struct test_fF_f1_data): Likewise.
43117         (struct test_ffI_f1_data): Likewise.
43118         (struct test_c_c_data): Rename test_name field to arg_str.
43119         (struct test_cc_c_data): Likewise.
43120         (struct test_f_i_data): Likewise.
43121         (struct test_ff_i_data): Likewise.
43122         (struct test_f_l_data): Likewise.
43123         (struct test_f_L_data): Likewise.
43124         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
43125         and extra2_name.
43126         (COMMON_TEST_SETUP): New macro.
43127         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43128         (COMMON_TEST_CLEANUP): Likewise.
43129         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43130         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
43131         macros.
43132         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43133         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
43134         macros.
43135         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43136         (RUN_TEST_fff_f): Take argument string.  Call new setup and
43137         cleanup macros.
43138         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43139         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
43140         macros.
43141         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43142         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
43143         macros.
43144         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43145         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
43146         cleanup macros.
43147         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43148         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
43149         cleanup macros.
43150         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43151         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
43152         cleanup macros.
43153         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43154         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
43155         macros.
43156         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43157         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
43158         macros.
43159         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43160         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
43161         macros.
43162         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43163         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
43164         cleanup macros.
43165         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43166         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
43167         cleanup macros.
43168         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43169         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
43170         macros.
43171         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43172         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
43173         cleanup macros.
43174         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43175         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43176         macros.
43177         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43178         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43179         macros.
43180         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43181         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43182         cleanup macros.
43183         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43185 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43187         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43188         to _sifields.sigfault.
43189         (si_addr_lsb): Define new macro.
43190         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43191         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43192         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43194 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43196         [BZ #15441]
43197         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43198         returns -1.
43199         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43200         null return -1.
43201         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43202         loading the domain.
43204 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43206         * math/gen-libm-test.pl (parse_args): Do not include expected
43207         result in test name.
43208         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43209         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43210         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43211         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43212         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43215 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43217         * benchtests/Makefile: Sort function entries.
43219         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43220         tanh, asinh, acosh, atanh.
43221         * benchtests/acos-inputs: New file.
43222         * benchtests/acosh-inputs: New file.
43223         * benchtests/asin-inputs: New file.
43224         * benchtests/asinh-inputs: New file.
43225         * benchtests/atanh-inputs: New file.
43226         * benchtests/cosh-inputs: New file.
43227         * benchtests/log-inputs: New file.
43228         * benchtests/sinh-inputs: New file.
43229         * benchtests/tanh-inputs: New file.
43231 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43233         [BZ #15339]
43234         * posix/tst-getaddrinfo4.c: New test.
43235         * posix/Makefile (tests): Add it.
43237 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43239         [BZ #15339]
43240         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43241         when no services were used.
43242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43243         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43245 2013-05-21  Andreas Schwab  <schwab@suse.de>
43247         [BZ #15014]
43248         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43249         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43250         successful.
43251         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43252         redundant variable declarations and reallocation of buffer when
43253         parsing as IPv6 address.  Always set NSS status when called from
43254         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43255         buffer too small.  Correct computation of needed size.
43256         * nss/Makefile (tests): Add test-digits-dots.
43257         * nss/test-digits-dots.c: New test.
43259 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43261         * benchtests/Makefile: Remove instructions for adding
43262         benchmark tests.
43263         * benchtests/README: New file to explain how to execute and
43264         enhance the benchmark tests.
43266 2013-05-21  Andreas Schwab  <schwab@suse.de>
43268         [BZ #15493]
43269         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43270         * setjmp/tst-sigsetjmp.c: New test.
43272 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43274         * sysdeps/x86_64/memset.S (memset): New implementation.
43275         (__bzero): Likewise.
43276         (__memset_tail): New function.
43278 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43280         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43281         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43282         __memcpy_sse2_unaligned ifunc selection.
43283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43284         Add memcpy-sse2-unaligned.S.
43285         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43286         Add: __memcpy_sse2_unaligned.
43288 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43290         [BZ #15490]
43291         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43292         math_force_eval before restoring floating-point envrionment.
43293         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43294         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43295         Likewise.
43296         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43297         <math_private.h>.
43298         (__nearbyintl): Use math_force_eval before restoring
43299         floating-point environment.
43300         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43302         * math/gen-libm-test.pl (special_functions): Remove.
43303         (parse_args): Don't handle TEST_extra.  Handle functions with no
43304         return value.
43305         * math/libm-test.inc (struct test_sincos_data): Replace with
43306         struct test_fFF_11_data.
43307         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43308         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43309         (sincos_test_data): Change element type to struct
43310         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
43311         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43312         RUN_TEST_LOOP_sincos.
43313         * math/README.libm-test: Don't mention special handling of
43314         individual functions.
43315         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43316         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43317         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43318         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43319         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43322         * math/gen-libm-test.pl (get_variable): Remove function.
43323         (parse_args): Don't show pointer parameters to call in test
43324         names.  Use "extra output N" in test names for extra outputs
43325         rather than naming variables.
43327 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
43329         [BZ #15488]
43330         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43331         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43332         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43333         double tests.
43334         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43335         disable.
43336         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43337         check_long_double.
43339         * math/gen-libm-test.pl (@tests): Remove variable.
43340         ($count): Likewise.
43341         (new_test): Remove function.
43342         (show_exceptions): New function.
43343         (special_functions): Use show_exceptions instead of new_test.
43344         (parse_args): Likewise.
43345         (generate_testfile): Pass only function name in generated call to
43346         print_max_error or print_complex_max_error.
43347         (get_ulps): Do not handle complex tests specially.
43348         (output_test): Rename to ...
43349         (get_all_ulps_for_test): ... this.  Return a string rather than
43350         printing to a file.  Require ulps to be present.
43351         (output_ulps): Generate arrays rather than #defines.
43352         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43353         (struct ulp_data): New type.
43354         (BUILD_COMPLEX_ULP): Remove macro.
43355         (compare_ulp_data): New function.
43356         (find_ulps): Likewise.
43357         (find_test_ulps): Likewise.
43358         (find_function_ulps): Likewise.
43359         (find_complex_function_ulps): Likewise.
43360         (print_max_error): Determine allowed ulps using
43361         find_function_ulps.
43362         (print_complex_max_error): Determine allowed ulps using
43363         find_complex_function_ulps.
43364         (check_float_internal): Determine max ulps using find_test_ulps.
43365         (check_float): Do not take max_ulp parameter.  Update call to
43366         check_float_internal.
43367         (check_complex): Likewise.
43368         (check_int): Do not take max_ulp parameter.
43369         (check_long): Likewise.
43370         (check_bool): Likewise.
43371         (check_longlong): Likewise.
43372         (struct test_f_f_data): Remove max_ulp field.
43373         (struct test_ff_f_data): Likewise.
43374         (struct test_ff_f_data_nexttoward): Likewise.
43375         (struct test_fi_f_data): Likewise.
43376         (struct test_fl_f_data): Likewise.
43377         (struct test_if_f_data): Likewise.
43378         (struct test_fff_f_data): Likewise.
43379         (struct test_c_f_data): Likewise.
43380         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43381         (struct test_fF_f1_data): Likewise.
43382         (struct test_ffI_f1_data): Likewise.
43383         (struct test_c_c_data): Remove max_ulp field.
43384         (struct test_cc_c_data): Likewise.
43385         (struct test_f_i_data): Likewise.
43386         (struct test_ff_i_data): Likewise.
43387         (struct test_f_l_data): Likewise.
43388         (struct test_f_L_data): Likewise.
43389         (struct test_sincos_data): Likewise.
43390         (RUN_TEST_f_f): Do not handle ulps.
43391         (RUN_TEST_LOOP_f_f): Likewise.
43392         (RUN_TEST_2_f): Likewise.
43393         (RUN_TEST_LOOP_2_f): Likewise.
43394         (RUN_TEST_fff_f): Likewise.
43395         (RUN_TEST_LOOP_fff_f): Likewise.
43396         (RUN_TEST_c_f): Likewise.
43397         (RUN_TEST_LOOP_c_f): Likewise.
43398         (RUN_TEST_f_f1): Likewise.
43399         (RUN_TEST_LOOP_f_f1): Likewise.
43400         (RUN_TEST_fF_f1): Likewise.
43401         (RUN_TEST_LOOP_fF_f1): Likewise.
43402         (RUN_TEST_fI_f1): Likewise.
43403         (RUN_TEST_LOOP_fI_f1): Likewise.
43404         (RUN_TEST_ffI_f1): Likewise.
43405         (RUN_TEST_LOOP_ffI_f1): Likewise.
43406         (RUN_TEST_c_c): Likewise.
43407         (RUN_TEST_LOOP_c_c): Likewise.
43408         (RUN_TEST_cc_c): Likewise.
43409         (RUN_TEST_LOOP_cc_c): Likewise.
43410         (RUN_TEST_f_i): Likewise.
43411         (RUN_TEST_LOOP_f_i): Likewise.
43412         (RUN_TEST_f_i_tg): Likewise.
43413         (RUN_TEST_LOOP_f_i_tg): Likewise.
43414         (RUN_TEST_ff_i_tg): Likewise.
43415         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43416         (RUN_TEST_f_b): Likewise.
43417         (RUN_TEST_LOOP_f_b): Likewise.
43418         (RUN_TEST_f_b_tg): Likewise.
43419         (RUN_TEST_LOOP_f_b_tg): Likewise.
43420         (RUN_TEST_f_l): Likewise.
43421         (RUN_TEST_LOOP_f_l): Likewise.
43422         (RUN_TEST_f_L): Likewise.
43423         (RUN_TEST_LOOP_f_L): Likewise.
43424         (RUN_TEST_sincos): Likewise.
43425         (RUN_TEST_LOOP_sincos): Likewise.
43427 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43429         [BZ #15480]
43430         [BZ #15485]
43431         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43432         main case of finite arguments, set rounding mode to FE_TONEAREST
43433         and discard exceptions.
43434         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43435         exceptions.
43436         (remainder_tonearest_test_data): New variable.
43437         (remainder_test_tonearest): New function.
43438         (remainder_towardzero_test_data): New variable.
43439         (remainder_test_towardzero): New function.
43440         (remainder_downward_test_data): New variable.
43441         (remainder_test_downward): New function.
43442         (remainder_upward_test_data): New variable.
43443         (remainder_test_upward): New function.
43444         (main): Call the new test functions.
43446         * math/libm-test.inc (struct test_f_f1_data): Remove field
43447         extra_init.
43448         (struct test_fF_f1_data): Likewise.
43449         (struct test_ffI_f1_data): Likewise.
43450         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43451         based on value of EXTRA_EXPECTED.
43452         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43453         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43454         EXTRA_VAR based on value of EXTRA_EXPECTED.
43455         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43456         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43457         EXTRA_VAR based on value of EXTRA_EXPECTED.
43458         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43459         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43460         EXTRA_VAR based on value of EXTRA_EXPECTED.
43461         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43462         * math/gen-libm-test.pl (parse_args): Don't output initializers
43463         for extra output values.
43465         * math/libm-test.inc (check_int): Expect result to be exactly
43466         equal to expected value and do not handle ulps.
43467         (check_long): Likewise.
43468         (check_longlong): Likewise.
43470         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43471         exceptions.
43472         (cimag_test_data): Likewise.
43473         (conj_test_data): Likewise.
43474         (copysign_test_data): Likewise.
43475         (cproj_test_data): Likewise.
43476         (creal_test_data): Likewise.
43477         (fabs_test_data): Likewise.
43478         (fdim_test_data): Likewise.
43479         (finite_test_data): Likewise.
43480         (floor_test_data): Likewise.
43481         (fmax_test_data): Likewise.
43482         (fmin_test_data): Likewise.
43483         (fmod_test_data): Likewise.
43484         (fpclassify_test_data): Likewise.
43485         (frexp_test_data): Likewise.
43486         (ilogb_test_data): Likewise.
43487         (isfinite_test_data): Likewise.
43488         (isgreater_test_data): Likewise.
43489         (isgreaterequal_test_data): Likewise.
43490         (isinf_test_data): Likewise.
43491         (isless_test_data): Likewise.
43492         (islessequal_test_data): Likewise.
43493         (islessgreater_test_data): Likewise.
43494         (isnan_test_data): Likewise.
43495         (isnormal_test_data): Likewise.
43496         (issignaling_test_data): Likewise.
43497         (isunordered_test_data): Likewise.
43498         (ldexp_test_data): Likewise.
43499         (lrint_test_data): Likewise.
43500         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43501         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43502         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43503         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43504         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43505         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43506         test input.
43507         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43508         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43509         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43510         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43511         that test input.
43512         (lrint_downward_test_data): Test for "inexact" exceptions.
43513         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43514         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43515         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43516         test input.
43517         (lrint_upward_test_data): Test for "inexact" exceptions.
43518         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43519         test input.
43520         (llrint_test_data): Test for "inexact" exceptions.
43521         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43522         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43523         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43524         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43525         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43526         (llrint_downward_test_data): Test for "inexact" exceptions.
43527         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43528         (llrint_upward_test_data): Test for "inexact" exceptions.
43529         (logb_test_data): Likewise.
43530         (logb_downward_test_data): Likewise.
43531         (nextafter_test_data): Likewise.
43532         (nexttoward_test_data): Likewise.
43533         (remainder_test_data): Likewise.
43534         (remquo_test_data): Likewise.
43535         (scalbn_test_data): Likewise.
43536         (scalbln_test_data): Likewise.
43537         (signbit_test_data): Likewise.
43538         (sqrt_test_data): Likewise.
43539         (significand_test_data): Likewise.
43541 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43543         [BZ #15424]
43544         * benchtests/bench-modf.c (struct args): Mark arg0 as
43545         volatile.
43546         * scripts/bench.pl: Mark members of struct args as volatile.
43548 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43550         [BZ # 15497]
43551         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43552         negative infinity on POWER6 or lower.
43553         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43555 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43557         [BZ #15442]
43558         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43559         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43560         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43561         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43562         (_FP_SETQNAN): New macro.
43563         (_FP_SETQNAN_SEMIRAW): Likewise.
43564         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43565         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43566         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43567         (FP_EXTEND): Use _FP_FRAC_SNANP.
43568         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43569         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43570         into account.
43571         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43572         New macro.
43573         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43574         Likewise.
43576 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43578         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43579         with DIVIDE_BY_ZERO_EXCEPTION.
43580         (gamma_test_data): Likewise.
43581         (lgamma_test_data): Likewise.
43582         (log_test_data): Likewise.
43583         (log10_test_data): Likewise.
43584         (log2_test_data): Likewise.
43585         (tgamma_test_data): Likewise.
43587         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43588         (acos_test_tonearest): Likewise.
43589         (acos_test_towardzero): Likewise.
43590         (acos_test_downward): Likewise.
43591         (acos_test_upward): Likewise.
43592         (acosh_test): Likewise.
43593         (asin_test): Likewise.
43594         (asin_test_tonearest): Likewise.
43595         (asin_test_towardzero): Likewise.
43596         (asin_test_downward): Likewise.
43597         (asin_test_upward): Likewise.
43598         (asinh_test): Likewise.
43599         (atan_test): Likewise.
43600         (atanh_test): Likewise.
43601         (atan2_test): Likewise.
43602         (cabs_test): Likewise.
43603         (cacos_test): Likewise.
43604         (cacosh_test): Likewise.
43605         (casin_test): Likewise.
43606         (casinh_test): Likewise.
43607         (catan_test): Likewise.
43608         (catanh_test): Likewise.
43609         (cbrt_test): Likewise.
43610         (ccos_test): Likewise.
43611         (ccosh_test): Likewise.
43612         (cexp_test): Likewise.
43613         (clog_test): Likewise.
43614         (clog10_test): Likewise.
43615         (cos_test): Likewise.
43616         (cos_test_tonearest): Likewise.
43617         (cos_test_towardzero): Likewise.
43618         (cos_test_downward): Likewise.
43619         (cos_test_upward): Likewise.
43620         (cosh_test): Likewise.
43621         (cosh_test_tonearest): Likewise.
43622         (cosh_test_towardzero): Likewise.
43623         (cosh_test_downward): Likewise.
43624         (cosh_test_upward): Likewise.
43625         (cpow_test): Likewise.
43626         (csin_test): Likewise.
43627         (csinh_test): Likewise.
43628         (csqrt_test): Likewise.
43629         (ctan_test): Likewise.
43630         (ctan_test_tonearest): Likewise.
43631         (ctan_test_towardzero): Likewise.
43632         (ctan_test_downward): Likewise.
43633         (ctan_test_upward): Likewise.
43634         (ctanh_test): Likewise.
43635         (ctanh_test_tonearest): Likewise.
43636         (ctanh_test_towardzero): Likewise.
43637         (ctanh_test_downward): Likewise.
43638         (ctanh_test_upward): Likewise.
43639         (erf_test): Likewise.
43640         (erfc_test): Likewise.
43641         (exp_test): Likewise.
43642         (exp_test_tonearest): Likewise.
43643         (exp_test_towardzero): Likewise.
43644         (exp_test_downward): Likewise.
43645         (exp_test_upward): Likewise.
43646         (exp10_test): Likewise.
43647         (exp2_test): Likewise.
43648         (expm1_test): Likewise.
43649         (fmod_test): Likewise.
43650         (gamma_test): Likewise.
43651         (hypot_test): Likewise.
43652         (j0_test): Likewise.
43653         (j1_test): Likewise.
43654         (jn_test): Likewise.
43655         (lgamma_test): Likewise.
43656         (log_test): Likewise.
43657         (log10_test): Likewise.
43658         (log1p_test): Likewise.
43659         (log2_test): Likewise.
43660         (logb_test_downward): Likewise.
43661         (pow_test): Likewise.
43662         (pow_test_tonearest): Likewise.
43663         (pow_test_towardzero): Likewise.
43664         (pow_test_downward): Likewise.
43665         (pow_test_upward): Likewise.
43666         (remainder_test): Likewise.
43667         (remquo_test): Likewise.
43668         (sin_test): Likewise.
43669         (sin_test_tonearest): Likewise.
43670         (sin_test_towardzero): Likewise.
43671         (sin_test_downward): Likewise.
43672         (sin_test_upward): Likewise.
43673         (sincos_test): Likewise.
43674         (sinh_test): Likewise.
43675         (sinh_test_tonearest): Likewise.
43676         (sinh_test_towardzero): Likewise.
43677         (sinh_test_downward): Likewise.
43678         (sinh_test_upward): Likewise.
43679         (sqrt_test): Likewise.
43680         (tan_test): Likewise.
43681         (tan_test_tonearest): Likewise.
43682         (tan_test_towardzero): Likewise.
43683         (tan_test_downward): Likewise.
43684         (tan_test_upward): Likewise.
43685         (tanh_test): Likewise.
43686         (tgamma_test): Likewise.
43687         (y0_test): Likewise.
43688         (y1_test): Likewise.
43689         (yn_test): Likewise.
43691         * math/gen-libm-test.pl (adjust_arg): Remove function.
43692         (special_function): Remove argument $in_func.  Only handle
43693         generating output for tables of tests, not inside functions.
43694         (parse_args): Likewise.
43695         (generate_testfile): Remove variable $in_func.  Update call to
43696         parse_args.
43697         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43698         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43699         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43700         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43701         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43702         (MAX_VALUE_INIT): Rename macro to max_value.
43703         (MIN_VALUE_INIT): Rename macro to min_value.
43704         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43705         (plus_zero): Remove variable.
43706         (minus_zero): Likewise.
43707         (plus_infty): Likewise.
43708         (minus_infty): Likewise.
43709         (qnan_value): Likewise.
43710         (max_value): Likewise.
43711         (min_value): Likewise.
43712         (min_subnorm_value): Likewise.
43714 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43716         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43717         uint64_t or uint32_t usage.
43718         * crypt/sha256-block.c: Likewise.
43719         * crypt/sha256-crypt.c: Likewise.
43720         * crypt/sha256.c: Likewise.
43721         * crypt/sha512-block.c: Likewise.
43722         * crypt/sha512-crypt.c: Likewise.
43723         * crypt/sha512.c: Likewise.
43724         * debug/backtrace-tst.c: Likewise.
43725         * debug/pcprofiledump.c: Likewise.
43726         * elf/cache.c: Likewise.
43727         * elf/dl-cache.c: Likewise.
43728         * elf/dl-misc.c: Likewise.
43729         * elf/dl-profile.c: Likewise.
43730         * elf/dl-support.c: Likewise.
43731         * elf/ldconfig.c: Likewise.
43732         * elf/sprof.c: Likewise.
43733         * iconv/dummy-repertoire.c: Likewise.
43734         * iconv/iconv_charmap.c: Likewise.
43735         * iconv/skeleton.c: Likewise.
43736         * iconvdata/8bit-generic.c: Likewise.
43737         * iconvdata/cp737.h: Likewise.
43738         * iconvdata/cp775.h: Likewise.
43739         * iconvdata/ibm1008.h: Likewise.
43740         * iconvdata/ibm1025.h: Likewise.
43741         * iconvdata/ibm1046.h: Likewise.
43742         * iconvdata/ibm1097.h: Likewise.
43743         * iconvdata/ibm1112.h: Likewise.
43744         * iconvdata/ibm1122.h: Likewise.
43745         * iconvdata/ibm1123.h: Likewise.
43746         * iconvdata/ibm1124.h: Likewise.
43747         * iconvdata/ibm1129.h: Likewise.
43748         * iconvdata/ibm1130.h: Likewise.
43749         * iconvdata/ibm1132.h: Likewise.
43750         * iconvdata/ibm1133.h: Likewise.
43751         * iconvdata/ibm1137.h: Likewise.
43752         * iconvdata/ibm1140.h: Likewise.
43753         * iconvdata/ibm1141.h: Likewise.
43754         * iconvdata/ibm1142.h: Likewise.
43755         * iconvdata/ibm1143.h: Likewise.
43756         * iconvdata/ibm1144.h: Likewise.
43757         * iconvdata/ibm1145.h: Likewise.
43758         * iconvdata/ibm1146.h: Likewise.
43759         * iconvdata/ibm1147.h: Likewise.
43760         * iconvdata/ibm1148.h: Likewise.
43761         * iconvdata/ibm1149.h: Likewise.
43762         * iconvdata/ibm1153.h: Likewise.
43763         * iconvdata/ibm1154.h: Likewise.
43764         * iconvdata/ibm1155.h: Likewise.
43765         * iconvdata/ibm1156.h: Likewise.
43766         * iconvdata/ibm1157.h: Likewise.
43767         * iconvdata/ibm1158.h: Likewise.
43768         * iconvdata/ibm1160.h: Likewise.
43769         * iconvdata/ibm1161.h: Likewise.
43770         * iconvdata/ibm1162.h: Likewise.
43771         * iconvdata/ibm1163.h: Likewise.
43772         * iconvdata/ibm1164.h: Likewise.
43773         * iconvdata/ibm1166.h: Likewise.
43774         * iconvdata/ibm1167.h: Likewise.
43775         * iconvdata/ibm12712.h: Likewise.
43776         * iconvdata/ibm1390.h: Likewise.
43777         * iconvdata/ibm1399.h: Likewise.
43778         * iconvdata/ibm16804.h: Likewise.
43779         * iconvdata/ibm4517.h: Likewise.
43780         * iconvdata/ibm4899.h: Likewise.
43781         * iconvdata/ibm4909.h: Likewise.
43782         * iconvdata/ibm4971.h: Likewise.
43783         * iconvdata/ibm5347.h: Likewise.
43784         * iconvdata/ibm803.h: Likewise.
43785         * iconvdata/ibm856.h: Likewise.
43786         * iconvdata/ibm901.h: Likewise.
43787         * iconvdata/ibm902.h: Likewise.
43788         * iconvdata/ibm9030.h: Likewise.
43789         * iconvdata/ibm9066.h: Likewise.
43790         * iconvdata/ibm921.h: Likewise.
43791         * iconvdata/ibm922.h: Likewise.
43792         * iconvdata/ibm9448.h: Likewise.
43793         * iconvdata/isiri-3342.h: Likewise.
43794         * iconvdata/jis0201.h: Likewise.
43795         * include/link.h: Likewise.
43796         * include/netdb.h: Likewise.
43797         * inet/check_native.c: Likewise.
43798         * inet/check_pf.c: Likewise.
43799         * inet/getipv4sourcefilter.c: Likewise.
43800         * inet/getnameinfo.c: Likewise.
43801         * inet/getsourcefilter.c: Likewise.
43802         * inet/htonl.c: Likewise.
43803         * inet/setipv4sourcefilter.c: Likewise.
43804         * inet/setsourcefilter.c: Likewise.
43805         * inet/test-inet6_opt.c: Likewise.
43806         * inet/tst-network.c: Likewise.
43807         * locale/C-collate.c: Likewise.
43808         * locale/C-ctype.c: Likewise.
43809         * locale/C-time.c: Likewise.
43810         * locale/C-translit.h: Likewise.
43811         * locale/loadarchive.c: Likewise.
43812         * locale/programs/3level.h: Likewise.
43813         * locale/programs/charmap.c: Likewise.
43814         * locale/programs/charmap.h: Likewise.
43815         * locale/programs/ld-address.c: Likewise.
43816         * locale/programs/ld-collate.c: Likewise.
43817         * locale/programs/ld-ctype.c: Likewise.
43818         * locale/programs/ld-identification.c: Likewise.
43819         * locale/programs/ld-measurement.c: Likewise.
43820         * locale/programs/ld-messages.c: Likewise.
43821         * locale/programs/ld-monetary.c: Likewise.
43822         * locale/programs/ld-name.c: Likewise.
43823         * locale/programs/ld-numeric.c: Likewise.
43824         * locale/programs/ld-paper.c: Likewise.
43825         * locale/programs/ld-telephone.c: Likewise.
43826         * locale/programs/ld-time.c: Likewise.
43827         * locale/programs/linereader.c: Likewise.
43828         * locale/programs/locale.c: Likewise.
43829         * locale/programs/locarchive.c: Likewise.
43830         * locale/programs/locfile.h: Likewise.
43831         * locale/programs/repertoire.c: Likewise.
43832         * locale/programs/simple-hash.c: Likewise.
43833         * locale/programs/simple-hash.h: Likewise.
43834         * malloc/memusage.c: Likewise.
43835         * malloc/memusagestat.c: Likewise.
43836         * nis/nis_defaults.c: Likewise.
43837         * nis/nis_hash.c: Likewise.
43838         * nis/nis_print.c: Likewise.
43839         * nis/nis_xdr.c: Likewise.
43840         * nscd/connections.c: Likewise.
43841         * nscd/hstcache.c: Likewise.
43842         * nscd/nscd_gethst_r.c: Likewise.
43843         * nscd/nscd_getserv_r.c: Likewise.
43844         * nscd/nscd_helper.c: Likewise.
43845         * nscd/servicescache.c: Likewise.
43846         * nss/makedb.c: Likewise.
43847         * nss/nss_db/db-XXX.c: Likewise.
43848         * nss/nss_db/db-initgroups.c: Likewise.
43849         * nss/nss_db/db-netgrp.c: Likewise.
43850         * nss/nss_files/files-network.c: Likewise.
43851         * nss/nss_files/files-parse.c: Likewise.
43852         * posix/bug-regex5.c: Likewise.
43853         * posix/fnmatch_loop.c: Likewise.
43854         * posix/regcomp.c: Likewise.
43855         * posix/regexec.c: Likewise.
43856         * posix/tst-rfc3484-2.c: Likewise.
43857         * posix/tst-rfc3484-3.c: Likewise.
43858         * posix/tst-rfc3484.c: Likewise.
43859         * resolv/nss_dns/dns-canon.c: Likewise.
43860         * resolv/nss_dns/dns-network.c: Likewise.
43861         * resolv/res_init.c: Likewise.
43862         * resolv/res_mkquery.c: Likewise.
43863         * resolv/tst-aton.c: Likewise.
43864         * stdlib/cxa_atexit.c: Likewise.
43865         * stdlib/cxa_finalize.c: Likewise.
43866         * stdlib/gen-fpioconst.c: Likewise.
43867         * stdlib/strtol_l.c: Likewise.
43868         * string/tst-endian.c: Likewise.
43869         * sunrpc/auth_des.c: Likewise.
43870         * sunrpc/clnt_udp.c: Likewise.
43871         * sunrpc/rtime.c: Likewise.
43872         * sunrpc/svcauth_des.c: Likewise.
43873         * sunrpc/xdr.c: Likewise.
43874         * sunrpc/xdr_intXX_t.c: Likewise.
43875         * sunrpc/xdr_rec.c: Likewise.
43876         * sysdeps/generic/ldconfig.h: Likewise.
43877         * sysdeps/generic/ldsodefs.h: Likewise.
43878         * sysdeps/generic/memusage.h: Likewise.
43879         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43880         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43881         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43882         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43883         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43884         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43885         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43886         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43887         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43888         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43889         * sysdeps/posix/getaddrinfo.c: Likewise.
43890         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43891         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43892         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43893         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43894         * sysdeps/powerpc/test-gettimebase.c: Likewise.
43895         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43896         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43897         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43898         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43899         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43900         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43901         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43902         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43903         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43904         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43905         * sysdeps/x86_64/dl-tls.h: Likewise.
43906         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43907         * time/alt_digit.c: Likewise.
43908         * time/era.c: Likewise.
43909         * wcsmbs/tst-c16c32-1.c: Likewise.
43911 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43913         * math/libm-test.inc (struct test_sincos_data): New type.
43914         (RUN_TEST_LOOP_sincos): New macro.
43915         (sincos_test_data): New variable.
43916         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43918 2013-05-16  Richard Henderson  <rth@redhat.com>
43920         * math/atest-exp2.c (LIMB64): New macro.
43921         (CONSTSZ): New macro.
43922         (mp_exp1, mp_exp_m1, mp_log2): New variables.
43923         (hexdig): Move ...
43924         (print_mpn_fp): ... to function scope.
43925         (read_mpn_hex): Remove.
43926         (get_log2): Remove.
43927         (exp2_mpn): Use mp_log2.
43928         (main): Use mp_exp1.
43930 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43932         * math/libm-test.inc: Remove comment about not testing "inexact"
43933         exceptions.
43934         (INEXACT_EXCEPTION): New macro.
43935         (NO_INEXACT_EXCEPTION): Likewise.
43936         (INVALID_EXCEPTION_OK): Update value.
43937         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43938         (OVERFLOW_EXCEPTION_OK): Likewise.
43939         (UNDERFLOW_EXCEPTION_OK): Likewise.
43940         (IGNORE_ZERO_INF_SIGN): Likewise.
43941         (ERRNO_UNCHANGED): Likewise.
43942         (ERRNO_EDOM): Likewise.
43943         (ERRNO_ERANGE): Likewise.
43944         (test_exceptions): Handle testing "inexact" exceptions.
43945         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43946         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43947         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43948         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43949         INEXACT_EXCEPTION.
43950         (rint_towardzero_test_data): Likewise.
43951         (rint_downward_test_data): Likewise.
43952         (rint_upward_test_data): Likewise.
43954         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43955         with OVERFLOW_EXCEPTION.
43956         (exp10_test_data): Likewise.
43957         (exp2_test_data): Likewise.
43958         (expm1_test_data): Likewise.
43959         (lgamma_test_data): Likewise.
43960         (pow_test_data): Likewise.
43961         (tgamma_test_data): Likewise.
43962         (yn_test_data): Remove duplicate test of overflow.
43964         * math/libm-test.inc (struct test_cc_c_data): New type.
43965         (RUN_TEST_LOOP_cc_c): New macro.
43966         (cpow_test_data): New variable.
43967         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43969         * math/libm-test.inc (struct test_f_L_data): New type.
43970         (RUN_TEST_LOOP_f_L): New macro.
43971         (llrint_test_data): New variable.
43972         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43973         (llrint_tonearest_test_data): New variable.
43974         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43975         (llrint_towardzero_test_data): New variable.
43976         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43977         (llrint_downward_test_data): New variable.
43978         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43979         (llrint_upward_test_data): New variable.
43980         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43981         (llround_test_data): New variable.
43982         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43984 2013-05-13  Peter Collingbourne  <pcc@google.com>
43986         * math/atest-exp2.c (get_log2): Remove const attribute.
43988 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43990         * math/libm-test.inc (struct test_f_l_data): New type.
43991         (RUN_TEST_LOOP_f_l): New macro.
43992         (lrint_test_data): New variable.
43993         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43994         (lrint_tonearest_test_data): New variable.
43995         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43996         (lrint_towardzero_test_data): New variable.
43997         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43998         (lrint_downward_test_data): New variable.
43999         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44000         (lrint_upward_test_data): New variable.
44001         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44002         (lround_test_data): New variable.
44003         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44005 2013-05-15  Peter Collingbourne  <pcc@google.com>
44007         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44008         (EXTRACT_WORDS64) Use where appropriate.
44009         (INSERT_WORDS64) Likewise.
44011         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44012         constraints with x constraints.
44013         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44015         * malloc/obstack.c (_obstack_compat): Add initializer.
44017 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44019         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44020         si_trapno and add si_addr_lsb to _sifields.sigfault.
44021         (si_trapno): Remove macro.
44022         (si_addr_lsb): Define new macro.
44023         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44025 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44027         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44028         instead of TEST_f_l.
44029         (llrint_test_tonearest): Likewise.
44030         (llrint_test_towardzero): Likewise.
44031         (llrint_test_downward): Likewise.
44032         (llrint_test_upward): Likewise.
44033         (llround_test): Likewise.
44035         * math/libm-test.inc (struct test_f_i_data): Add comment.
44036         (RUN_TEST_LOOP_f_b): New macro.
44037         (RUN_TEST_LOOP_f_b_tg): Likewise.
44038         (finite_test_data): New variable.
44039         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44040         (isfinite_test_data): New variable.
44041         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44042         (isinf_test_data): New variable.
44043         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44044         (isnan_test_data): New variable.
44045         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44046         (isnormal_test_data): New variable.
44047         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44048         (issignaling_test_data): New variable.
44049         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44050         (signbit_test_data): New variable.
44051         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44053         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44054         with INVALID_EXCEPTION.
44055         (acosh_test_data): Likewise.
44056         (asin_test_data): Likewise.
44057         (atanh_test_data): Likewise.
44058         (fmod_test_data): Likewise.
44059         (log_test_data): Likewise.
44060         (log10_test_data): Likewise.
44061         (log2_test_data): Likewise.
44062         (pow_test_data): Likewise.
44063         (sqrt_test_data): Likewise.
44064         (y0_test_data): Likewise.
44065         (y1_test_data): Likewise.
44066         (yn_test_data): Likewise.
44068         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44069         function contents.
44071         * math/libm-test.inc (struct test_ff_i_data): New type.
44072         (RUN_TEST_LOOP_ff_i_tg): New macro.
44073         (isgreater_test_data): New variable.
44074         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44075         (isgreaterequal_test_data): New variable.
44076         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44077         (isless_test_data): New variable.
44078         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44079         (islessequal_test_data): New variable.
44080         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44081         (islessgreater_test_data): New variable.
44082         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44083         (isunordered_test_data): New variable.
44084         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44086 2013-05-14  David S. Miller  <davem@davemloft.net>
44088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44090 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
44092         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44094         * math/libm-test.inc (struct test_fF_f1_data): Change type of
44095         extra_test to int.
44096         (struct test_f_i_data): Change type of max_ulp to int.
44098         * math/libm-test.inc (test_ffI_f1_data): New type.
44099         (RUN_TEST_LOOP_ffI_f1): New macro.
44100         (remquo_test_data): New variable.
44101         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44103         * setjmp/tst-setjmp-fp.c: New file.
44104         * setjmp/Makefile (tests): Add tst-setjmp-fp.
44105         (link-libm): New variable.
44106         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44108         * math/libm-test.inc (struct test_f_i_data): New type.
44109         (RUN_TEST_LOOP_f_i): New macro.
44110         (RUN_TEST_LOOP_f_i_tg): Likewise.
44111         (fpclassify_test_data): New variable.
44112         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44113         (ilogb_test_data): New variable.
44114         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44116         * math/libm-test.inc (scalbln_test): Correct function name in END
44117         call.
44119         * math/libm-test.inc (struct test_f_f1_data): Add comment.
44120         (RUN_TEST_LOOP_fI_f1): New macro.
44121         (frexp_test_data): New variable.
44122         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44124         * math/libm-test.inc (struct test_fF_f1_data): New type.
44125         (RUN_TEST_LOOP_fF_f1): New macro.
44126         (modf_test_data): New variable.
44127         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44129         * math/libm-test.inc (struct test_f_f1_data): New type.
44130         (RUN_TEST_LOOP_f_f1): New macro.
44131         (gamma_test_data): New variable.
44132         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44133         (lgamma_test_data): New variable.
44134         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44136 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
44138         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44139         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44140         (main): Comment "tls" pseudo-hwcap.
44142 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
44144         * math/libm-test.inc (struct test_fl_f_data): New type.
44145         (RUN_TEST_LOOP_fl_f): New variable.
44146         (scalbln_test_data): New variable.
44147         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44149         * math/libm-test.inc (struct test_fi_f_data): New type.
44150         (RUN_TEST_LOOP_fi_f): New macro.
44151         (ldexp_test_data): New variable.
44152         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44153         (scalbn_test_data): New variable.
44154         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44156         * math/libm-test.inc (struct test_c_f_data): New type.
44157         (RUN_TEST_LOOP_c_f): New macro.
44158         (cabs_test_data): New variable.
44159         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44160         (carg_test_data): New variable.
44161         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44162         (cimag_test_data): New variable.
44163         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44164         (creal_test_data): New variable.
44165         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44167         * math/libm-test.inc (struct test_if_f_data): New type.
44168         (RUN_TEST_LOOP_if_f): New macro.
44169         (jn_test_data): New variable.
44170         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44171         (yn_test_data): New variable.
44172         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44174         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44176 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44178         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44179         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44181 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44183         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44184         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44185         (bench-deps): Add bench-timing.h.
44186         * benchtests-bench-skeleton.c: Include bench-timing.h.
44187         (main): Use TIMING_* macros instead of clock_gettime.
44188         * benchtests/bench-timing.h: New file.
44190         [BZ #14582]
44191         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44192         Renamed from _LIB_VERSION.
44193         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44195 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44197         * math/libm-test.inc (struct test_fff_f_data): New type.
44198         (RUN_TEST_LOOP_fff_f): New macro.
44199         (fma_test_data): New variable.
44200         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44201         (fma_towardzero_test_data): New variable.
44202         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44203         (fma_downward_test_data): New variable.
44204         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44205         (fma_upward_test_data): New variable.
44206         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44208         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44209         (struct test_c_c_data): New type.
44210         (RUN_TEST_LOOP_c_c): New macro.
44211         (cacos_test_data): New variable.
44212         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44213         (cacosh_test_data): New variable.
44214         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44215         (casin_test_data): New variable.
44216         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44217         (casinh_test_data): New variable.
44218         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44219         (catan_test_data): New variable.
44220         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44221         (catanh_test_data): New variable.
44222         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44223         (ccos_test_data): New variable.
44224         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44225         (ccosh_test_data): New variable.
44226         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44227         (cexp_test_data): New variable.
44228         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44229         (clog_test_data): New variable.
44230         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44231         (clog10_test_data): New variable.
44232         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44233         (conj_test_data): New variable.
44234         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44235         (cproj_test_data): New variable.
44236         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44237         (csin_test_data): New variable.
44238         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44239         (csinh_test_data): New variable.
44240         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44241         (csqrt_test_data): New variable.
44242         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44243         (ctan_test_data): New variable.
44244         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44245         (ctan_tonearest_test_data): New variable.
44246         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44247         (ctan_towardzero_test_data): New variable.
44248         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44249         (ctan_downward_test_data): New variable.
44250         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44251         (ctan_upward_test_data): New variable.
44252         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44253         (ctanh_test_data): New variable.
44254         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44255         (ctanh_tonearest_test_data): New variable.
44256         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44257         (ctanh_towardzero_test_data): New variable.
44258         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44259         (ctanh_downward_test_data): New variable.
44260         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44261         (ctanh_upward_test_data): New variable.
44262         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44263         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44264         of BUILD_COMPLEX.
44266         * math/libm-test.inc (struct test_ff_f_data): New type.
44267         (struct test_ff_f_data_nexttoward): Likewise.
44268         (RUN_TEST_LOOP_2_f): New macro.
44269         (RUN_TEST_LOOP_ff_f): Likewise.
44270         (atan2_test_data): New variable.
44271         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44272         (copysign_test_data): New variable.
44273         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44274         (fdim_test_data): New variable.
44275         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44276         (fmax_test_data): New variable.
44277         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44278         (fmin_test_data): New variable.
44279         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44280         (fmod_test_data): New variable.
44281         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44282         (hypot_test_data): New variable.
44283         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44284         (nextafter_test_data): New variable.
44285         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44286         (nexttoward_test_data): New variable.
44287         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44288         (pow_test_data): New variable.
44289         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44290         (pow_tonearest_test_data): New variable.
44291         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44292         (pow_towardzero_test_data): New variable.
44293         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44294         (pow_downward_test_data): New variable.
44295         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44296         (pow_upward_test_data): New variable.
44297         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44298         (remainder_test_data): New variable.
44299         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44300         (scalb_test_data): New variable.
44301         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44302         * sysdeps/i386/fpu/libm-test-ulps: Update.
44304 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
44306         * math/libm-test.inc (fma_test): Use max_value instead of local
44307         variable fltmax.
44308         (nextafter_test): Likewise.
44310         * math/libm-test.inc (acos_towardzero_test_data): New variable.
44311         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44312         (acos_downward_test_data): New variable.
44313         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44314         (acos_upward_test_data): New variable.
44315         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44316         (acosh_test_data): New variable.
44317         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44318         (asin_test_data): New variable.
44319         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44320         (asin_tonearest_test_data): New variable.
44321         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44322         (asin_towardzero_test_data): New variable.
44323         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44324         (asin_downward_test_data): New variable.
44325         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44326         (asin_upward_test_data): New variable.
44327         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44328         (asinh_test_data): New variable.
44329         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44330         (atan_test_data): New variable.
44331         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44332         (atanh_test_data): New variable.
44333         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44334         (cbrt_test_data): New variable.
44335         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44336         (ceil_test_data): New variable.
44337         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44338         (cos_test_data): New variable.
44339         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44340         (cos_tonearest_test_data): New variable.
44341         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44342         (cos_towardzero_test_data): New variable.
44343         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44344         (cos_downward_test_data): New variable.
44345         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44346         (cos_upward_test_data): New variable.
44347         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44348         (cosh_test_data): New variable.
44349         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44350         (cosh_tonearest_test_data): New variable.
44351         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44352         (cosh_towardzero_test_data): New variable.
44353         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44354         (cosh_downward_test_data): New variable.
44355         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44356         (cosh_upward_test_data): New variable.
44357         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44358         (erf_test_data): New variable.
44359         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44360         (erfc_test_data): New variable.
44361         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44362         (exp_test_data): New variable.
44363         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44364         (exp_tonearest_test_data): New variable.
44365         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44366         (exp_towardzero_test_data): New variable.
44367         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44368         (exp_downward_test_data): New variable.
44369         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44370         (exp_upward_test_data): New variable.
44371         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44372         (exp10_test_data): New variable.
44373         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44374         (exp2_test_data): New variable.
44375         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44376         (expm1_test_data): New variable.
44377         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44378         (fabs_test_data): New variable.
44379         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44380         (floor_test_data): New variable.
44381         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44382         (j0_test_data): New variable.
44383         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44384         (j1_test_data): New variable.
44385         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44386         (log_test_data): New variable.
44387         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44388         (log10_test_data): New variable.
44389         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44390         (log1p_test_data): New variable.
44391         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44392         (log2_test_data): New variable.
44393         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44394         (logb_test_data): New variable.
44395         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44396         (logb_downward_test_data): New variable.
44397         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44398         (nearbyint_test_data): New variable.
44399         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44400         (rint_test_data): New variable.
44401         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44402         (rint_tonearest_test_data): New variable.
44403         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44404         (rint_towardzero_test_data): New variable.
44405         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44406         (rint_downward_test_data): New variable.
44407         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44408         (rint_upward_test_data): New variable.
44409         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44410         (round_test_data): New variable.
44411         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44412         (sin_test_data): New variable.
44413         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44414         (sin_tonearest_test_data): New variable.
44415         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44416         (sin_towardzero_test_data): New variable.
44417         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44418         (sin_downward_test_data): New variable.
44419         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44420         (sin_upward_test_data): New variable.
44421         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44422         (sinh_test_data): New variable.
44423         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44424         (sinh_tonearest_test_data): New variable.
44425         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44426         (sinh_towardzero_test_data): New variable.
44427         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44428         (sinh_downward_test_data): New variable.
44429         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44430         (sinh_upward_test_data): New variable.
44431         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44432         (sqrt_test_data): New variable.
44433         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44434         (tan_test_data): New variable.
44435         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44436         (tan_tonearest_test_data): New variable.
44437         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44438         (tan_towardzero_test_data): New variable.
44439         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44440         (tan_downward_test_data): New variable.
44441         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44442         (tan_upward_test_data): New variable.
44443         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44444         (tanh_test_data): New variable.
44445         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44446         (tgamma_test_data): New variable.
44447         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44448         (trunc_test_data): New variable.
44449         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44450         (y0_test_data): New variable.
44451         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44452         (y1_test_data): New variable.
44453         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44454         (significand_test_data): New variable.
44455         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44457 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44459         [BZ #12387]
44460         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44462 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44464         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44466 2013-05-10  Andreas Jaeger  <aj@suse.de>
44468         [BZ #15448]
44469         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44470         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44472 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44474         * math/gen-libm-test.pl (adjust_arg): New function.
44475         (special_functions): Handle generating output in both functions
44476         and arrays.
44477         (parse_args): Likewise.
44478         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44479         $in_func argument to parse_args.
44480         * math/libm-test.inc (struct test_f_f_data): New type.
44481         (IF_ROUND_INIT_): New macro.
44482         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44483         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44484         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44485         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44486         (ROUND_RESTORE_): Likewise.
44487         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44488         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44489         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44490         (ROUND_RESTORE_FE_UPWARD): Likewise.
44491         (RUN_TEST_LOOP_f_f): New macro.
44492         (acos_test_data): New variable.
44493         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44494         (acos_tonearest_test_data): New variable.
44495         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44497 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44499         * benchtests/bench-skeleton.c (startup): Fix coding style.
44501 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44503         [BZ #6809]
44504         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44505         negative infinity argument.
44506         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44507         negative infinity argument.
44508         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44509         negative infinity argument.
44510         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44511         domain errors.
44513 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44515         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44516         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44517         * iconv/iconv_prog.c (main): Likewise.
44518         * locale/programs/charmap-dir.c (charmap_readdir)
44519         (fopen_uncompressed): Likewise.
44520         * locale/programs/locfile.c (siblings_uncached)
44521         (write_locale_data): Use lstat64 instead of lstat.
44522         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44523         stat.
44525 2013-05-10  Andreas Jaeger  <aj@suse.de>
44527         [BZ #15395]
44528         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44529         localization.
44530         Include <locale.h>.
44532 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44534         * elf/dl-close.c (_dl_close_worker): Add comments.
44536 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44538         [BZ #15359]
44539         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44540         high part of pi/2.
44541         (__ieee754_rem_pio2l): Update comments.
44543         [BZ #15429]
44544         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44545         high part of pi/2.
44546         (__ieee754_rem_pio2l): Update comments.
44548         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44549         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44551         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44552         M_PI_4l.
44554         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44555         (M_PI_34_LOG10El): Likewise.
44556         (M_PI2_LOG10El): Likewise.
44557         (M_PI4_LOG10El): Likewise.
44558         (M_PI_LOG10El): Likewise.
44560 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44564 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44566         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44567         (MINUS_ZERO_INIT): Likewise.
44568         (PLUS_INFTY_INIT): Likewise.
44569         (MINUS_INFTY_INIT): Likewise.
44570         (QNAN_VALUE_INIT): Likewise.
44571         (MAX_VALUE_INIT): Likewise.
44572         (MIN_VALUE_INIT): Likewise.
44573         (MIN_SUBNORM_VALUE_INIT): Likewise.
44574         (plus_zero): Initialize with PLUS_ZERO_INIT.
44575         (minus_zero): Initialize with MINUS_ZERO_INIT.
44576         (plus_infty): Initialize with PLUS_INFTY_INIT.
44577         (minus_infty): Initialize with MINUS_INFTY_INIT.
44578         (qnan_value): Initialize with QNAN_VALUE_INIT.
44579         (max_value): Initialize with MAX_VALUE_INIT.
44580         (min_value): Initialize with MIN_VALUE_INIT.
44581         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44583         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44584         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44585         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44586         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44588         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44589         (RUN_TEST_2_f): Likewise.
44590         (RUN_TEST_ff_f): Likewise.
44591         (RUN_TEST_fi_f): Likewise.
44592         (RUN_TEST_fl_f): Likewise.
44593         (RUN_TEST_fff_f): Likewise.
44594         (RUN_TEST_c_f): Likewise.
44595         (RUN_TEST_f_f1): Likewise.
44596         (RUN_TEST_fF_f1): Likewise.
44597         (RUN_TEST_fI_f1): Likewise.
44598         (RUN_TEST_ffI_f1): Likewise.
44599         (RUN_TEST_c_c): Likewise.
44600         (RUN_TEST_cc_c): Likewise.
44601         (RUN_TEST_f_i): Likewise.
44602         (RUN_TEST_f_i_tg): Likewise.
44603         (RUN_TEST_ff_i_tg): Likewise.
44604         (RUN_TEST_f_b): Likewise.
44605         (RUN_TEST_f_b_tg): Likewise.
44606         (RUN_TEST_f_l): Likewise.
44607         (RUN_TEST_f_L): Likewise.
44608         (RUN_TEST_sincos): Likewise.
44609         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44610         whether to show exceptions.  Do not include ");\n" in return
44611         value.
44612         (special_functions): Output call to RUN_TEST_sincos instead of
44613         check_float calls.  Update calls to new_test.
44614         (parse_args): Output call to single RUN_TEST_* macro instead of
44615         check_* calls and other assignments.  Update calls to new_test.
44617         [BZ #2546]
44618         [BZ #2560]
44619         [BZ #5159]
44620         [BZ #15426]
44621         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44622         input to result for tgamma overflow.
44623         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44624         (gamma_coeff): New variable.
44625         (NCOEFF): New macro.
44626         (gamma_positive): New function.
44627         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44628         underflow here.  Use gamma_positive instead of exp (lgamma) for
44629         other arguments.
44630         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44631         (gamma_coeff): New variable.
44632         (NCOEFF): New macro.
44633         (gammaf_positive): New function.
44634         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44635         underflow here.  Use gamma_positive instead of exp (lgamma) for
44636         other arguments.
44637         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44638         (gamma_coeff): New variable.
44639         (NCOEFF): New macro.
44640         (gammal_positive): New function.
44641         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44642         underflow here.  Use gamma_positive instead of exp (lgamma) for
44643         other arguments.
44644         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44645         (gamma_coeff): New variable.
44646         (NCOEFF): New macro.
44647         (gammal_positive): New function.
44648         (__ieee754_gammal_r): Handle positive infinity, overflow and
44649         underflow here.  Handle NaN the same as positive infinity.  Remove
44650         check x < 0xffffffff for negative integers.  Use gamma_positive
44651         instead of exp (lgamma) for other arguments.
44652         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44653         (gamma_coeff): New variable.
44654         (NCOEFF): New macro.
44655         (gammal_positive): New function.
44656         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44657         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44658         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44659         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44660         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44661         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44662         * sysdeps/generic/math_private.h (__gamma_productf): New
44663         prototype.
44664         (__gamma_product): Likewise.
44665         (__gamma_productl): Likewise.
44666         * math/Makefile (libm-calls): Add gamma_product.
44667         * math/libm-test.inc (tgamma_test): Add more tests.
44668         * sysdeps/i386/fpu/libm-test-ulps: Update.
44669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44671 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44673         * benchtests/bench-skeleton.c (main): Preheat CPU.
44675 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44677         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44679 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44681         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44682         and _dl_skip_args_internal.
44684 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44686         * manual/message.texi (Message Translation): Talk about users.
44687         Message to key mapping impacts design.
44689 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44691         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44693         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44695         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44696         * sysdeps/wordsize-64/glob64.c: ... here.
44698         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44699         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44700         New macros.
44702         * debug/getlogin_r_chk.c: Moved to ...
44703         * login/getlogin_r_chk.c: ... here.
44704         * debug/Makefile (routines): Move getlogin_r_chk to ...
44705         * login/Makefile (routines): ... here.
44706         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44707         * login/Versions (libc: GLIBC_2.4): ... here.
44709         * io/poll.c (__poll): Renamed from poll.
44710         Add libc_hidden_def.
44711         (poll): Define as weak alias.
44713         * debug/ptsname_r_chk.c: Moved to ...
44714         * login/ptsname_r_chk.c: ... here.
44715         * debug/Makefile (routines): Move ptsname_r_chk to ...
44716         * login/Makefile (routines): ... here.
44717         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44718         * login/Versions (libc: GLIBC_2.4): ... here.
44720         * posix/getlogin.c: Moved to ...
44721         * login/getlogin.c: ... here.
44722         * posix/getlogin_r.c: Moved to ...
44723         * login/getlogin_r.c: ... here.
44724         * posix/getlogin_r.c: Moved to ...
44725         * login/getlogin_r.c: ... here.
44726         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44727         * login/Makefile (routines): ... here.
44728         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44729         * login/Versions (libc: GLIBC_2.0): ... here.
44731         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44732         (setrlimit): Define as weak alias.
44734         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44735         Call __ names for open, ftruncate, and close.
44736         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44737         (truncate): Define as weak alias.
44739 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44741         * math/gen-libm-test.pl (parse_args): Initialize x before each
44742         test of frexp, modf and remquo.
44744         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44745         test signgam value.
44747 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44749         [BZ #15418]
44750         [BZ #15419]
44751         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44752         internal tests.
44753         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44755 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44757         * elf/dl-writev.h: New file.
44758         * elf/dl-misc.c: Include it.
44759         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44760         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44762 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
44764         * math/libm-test.inc (noXFails): Remove variable.
44765         (noXPasses): Likewise.
44766         (BUILD_COMPLEX_INT): Remove macro.
44767         (print_screen): Remove xfail argument.
44768         (print_screen_max_error): Likewise.
44769         (update_stats): Likewise.
44770         (print_max_error): Likewise.  Update calls to other affected
44771         functions.
44772         (print_complex_max_error): Likewise.
44773         (test_single_exception): Update calls to print_screen.
44774         (test_single_errno): Likewise.
44775         (check_float_internal): Remove xfail argument.  Update calls to
44776         other affected functions.
44777         (check_float): Likewise.
44778         (check_complex): Likewise.
44779         (check_int): Likewise.
44780         (check_long): Likewise.
44781         (check_bool): Likewise.
44782         (check_longlong): Likewise.
44783         (main): Don't print noXFails and noXPasses.
44784         * math/gen-libm-test.pl (top level): Don't mention expected
44785         failure handling in comment.
44786         (new_test): Don't handle expected failures.
44787         (parse_args): Don't mention expected failure handling in comment.
44788         (generate_testfile): Don't handle expected failures.
44789         (parse_ulps): Likewise.
44790         (print_ulps_file): Likewise.
44791         (get_failure): Remove function.
44792         (output_test): Don't handle expected failures.
44793         * make/README.libm-test: Don't mention expected failure handling.
44795         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44796         (minus_zero): Likewise.
44797         (plus_infty): Likewise.
44798         (minus_infty): Likewise.
44799         (qnan_value): Likewise.
44800         (max_value): Likewise.
44801         (min_value): Likewise.
44802         (min_subnorm_value): Likewise.
44803         (initialize): Do not initialize those variables dynamically.
44805 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44807         * io/open.c (__open_2): Moved to ...
44808         * io/open_2.c: ... this new file.
44809         * io/open64.c (__open64_2): Moved to ...
44810         * io/open64_2.c: ... this new file.
44811         * io/openat.c (__openat_2): Moved to ...
44812         * io/openat_2.c: ... this new file.
44813         * io/openat64.c (__openat64_2): Moved to ...
44814         * io/openat64_2.c: ... this new file.
44815         * io/Makefile (routines): Add them.
44816         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44817         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44818         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44819         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44820         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44821         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44822         (__openat64): Add hidden_ver.
44823         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44824         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44826         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44827         Separately conditionalize setting of GLRO(dl_sysinfo) so
44828         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44829         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44831 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44833         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44834         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44835         definition.
44836         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44837         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44838         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44839         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44840         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44842 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44844         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44845         test signgam value.
44847         * math/libm-test.inc (hypot_test): Do not use
44848         IGNORE_ZERO_INF_SIGN.
44850 2013-05-03  Andreas Jaeger  <aj@suse.de>
44852         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44853         Linux 3.9.
44854         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44855         (PF_MAX): Adjust for VSOCK change.
44857 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44861 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
44863         [BZ #15264]
44864         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44865         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44866         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44868 2013-05-02  David S. Miller  <davem@davemloft.net>
44870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44872 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
44874         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44876 2013-05-01  Roland McGrath  <roland@hack.frob.com>
44878         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44880 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
44882         [BZ #14952]
44883         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44884         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44885         Use __attribute__ ((__gnu_inline__)).
44886         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44887         Don't use __attribute__ ((__gnu_inline__)).
44889 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
44891         [BZ #15423]
44892         * math/s_catan.c (__catan): Handle small real or imaginary part of
44893         input specially to avoid spurious underflow.
44894         * math/s_catanf.c (__catanf): Likewise.
44895         * math/s_catanh.c (__catanh): Likewise.
44896         * math/s_catanhf.c (__catanhf): Likewise.
44897         * math/s_catanhl.c (__catanhl): Likewise.
44898         * math/s_catanl.c (__catanl): Likewise.
44899         * math/libm-test.inc (catan_test): Add more tests.
44900         (catanh_test): Likewise.
44901         * sysdeps/i386/fpu/libm-test-ulps: Update.
44902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44904 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44908 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
44910         [BZ #15416]
44911         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44912         accurately for denominator in atan2.
44913         * math/s_catanf.c (__catanf): Likewise.
44914         * math/s_catanh.c (__catanh): Likewise.
44915         * math/s_catanhf.c (__catanhf): Likewise.
44916         * math/s_catanhl.c (__catanhl): Likewise.
44917         * math/s_catanl.c (__catanl): Likewise.
44918         * math/libm-test.inc (catan_test): Add more tests.
44919         (catanh_test): Likewise.
44920         * sysdeps/i386/fpu/libm-test-ulps: Update.
44921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44923 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44925         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44927         * benchtests/Makefile (bench): Remove slow benchmarks.
44928         * benchtests/atan-inputs: Add slow benchmark inputs.
44929         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44930         (BENCH_FUNC): Accept variant offset.
44931         (VARIANT): Define.
44932         * benchtests/bench-skeleton.c (main): Run benchmark for each
44933         variant.
44934         * benchtests/cos-inputs: Add slow benchmark inputs.
44935         * benchtests/exp-inputs: Likewise.
44936         * benchtests/pow-inputs: Likewise.
44937         * benchtests/sin-inputs: Likewise.
44938         * benchtests/slowatan-inputs: Remove.
44939         * benchtests/slowatan.c: Remove.
44940         * benchtests/slowcos-inputs: Remove.
44941         * benchtests/slowcos.c: Remove.
44942         * benchtests/slowexp-inputs: Remove.
44943         * benchtests/slowexp.c: Remove.
44944         * benchtests/slowpow-inputs: Remove.
44945         * benchtests/slowpow.c: Remove.
44946         * benchtests/slowsin-inputs: Remove.
44947         * benchtests/slowsin.c: Remove.
44948         * benchtests/slowtan-inputs: Remove.
44949         * benchtests/slowtan.c: Remove.
44950         * benchtests/tan-inputs: Add slow benchmark inputs.
44951         * scripts/bench.pl: Parse comments and directives.
44953         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
44954         in CPPFLAGS.
44955         ($(objpfx)bench-%.c): Remove *-ITER.
44956         * benchtests/bench-modf.c: Remove definition of ITER.
44957         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44958         (main): Loop for DURATION seconds instead of fixed number of
44959         iterations.
44960         * scripts/bench.pl: Don't expect iterations in parameters.
44962 2013-04-29  Roland McGrath  <roland@hack.frob.com>
44964         * io/fchdir.c (__fchdir): Renamed from fchdir.
44965         (fchdir): Define as weak alias.
44967 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44969         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44970         (ERRNO_EDOM): Likewise.
44971         (ERRNO_ERANGE): Likewise.
44972         (noErrnoTests): New variable.
44973         (init_max_error): Set errno to 0.
44974         (test_single_errno): New function.
44975         (test_errno): Likewise.
44976         (check_float_internal): Call test_errno.  Set errno to 0.
44977         (check_complex): Refer to errno tests in comment.
44978         (check_int): Call test_errno.  Set errno to 0.
44979         (check_long): Likewise.
44980         (check_bool): Likewise.
44981         (check_longlong): Likewise.
44982         (cos_test): Use ERRNO_* flags for errno tests instead of
44983         check_int.
44984         (expm1_test): Likewise.
44985         (fmod_test): Likewise.
44986         (ilogb_test): Likewise.
44987         (lgamma_test): Likewise.
44988         (pow_test): Likewise.
44989         (remainder_test): Likewise.
44990         (sin_test): Likewise.
44991         (tan_test): Likewise.
44992         (yn_test): Likewise.
44993         (initialize): Set errno to 0.
44994         (main): Print number of errno tests.
44995         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44997 2013-04-29  Andreas Jaeger  <aj@suse.de>
44999         [BZ #15084]
45000         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45001         and RES_USEVC.
45003         [BZ #15085]
45004         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45005         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45006         unimplemented.
45008         [BZ #15380]
45009         * stdlib/random.c (__initstate): Return NULL if
45010         __initstate fails.
45012         [BZ #15086]
45013         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45014         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45015         RES_SNGLKUPREOP.
45017 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45021 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45023         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45024         of individual tests.
45025         (casin_test): Likewise.
45026         (casinh_test): Likewise.
45028 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
45030         [BZ #15409]
45031         * math/s_catan.c (__catan): Handle arguments with large real or
45032         imaginary part separately without squaring.
45033         * math/s_catanf.c (__catanf): Likewise.
45034         * math/s_catanh.c (__catanh): Likewise.
45035         * math/s_catanhf.c (__catanhf): Likewise.
45036         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45037         and redefine.
45038         (__catanhl): Handle arguments with large real or imaginary part
45039         separately without squaring.
45040         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45041         and redefine.
45042         (__catanl): Handle arguments with large real or imaginary part
45043         separately without squaring.
45044         * math/libm-test.inc (catan_test): Add more tests.
45045         (catanh_test): Likewise.
45046         * sysdeps/i386/fpu/libm-test-ulps: Update.
45047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45049 2013-04-27  Andreas Jaeger  <aj@suse.de>
45051         [BZ #15007]
45052         * stdlib/stdlib.h: Update guards for qecvt.
45053         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45054         <stdlib.h>.
45056 2013-04-27  Allan McRae  <allan@archlinux.org>
45058         * sysdeps/i386/fpu/libm-test-ulps: Update.
45060 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
45062         [BZ #15406]
45063         * math/s_catan.c: Include <float.h>.
45064         (__catan): Ensure underflow exception occurs for underflowed
45065         result.
45066         * math/s_catanf.c: Include <float.h>.
45067         (__catanf): Ensure underflow exception occurs for underflowed
45068         result.
45069         * math/s_catanh.c: Include <float.h>.
45070         (__catanh): Ensure underflow exception occurs for underflowed
45071         result.
45072         * math/s_catanhf.c: Include <float.h>.
45073         (__catanhf): Ensure underflow exception occurs for underflowed
45074         result.
45075         * math/s_catanhl.c: Include <float.h>.
45076         (__catanhl): Ensure underflow exception occurs for underflowed
45077         result.
45078         * math/s_catanl.c: Include <float.h>.
45079         (__catanl): Ensure underflow exception occurs for underflowed
45080         result.
45081         * math/libm-test.inc (catan_test): Add more tests.
45082         (catanh_test): Likewise.
45084         [BZ #15405]
45085         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45086         underflowed result.
45087         * math/s_ccoshf.c (__ccoshf): Likewise.
45088         * math/s_ccoshl.c (__ccoshl): Likewise.
45089         * math/s_csin.c (__csin): Likewise.
45090         * math/s_csinf.c (__csinf): Likewise.
45091         * math/s_csinh.c (__csinh): Likewise.
45092         * math/s_csinhf.c (__csinhf): Likewise.
45093         * math/s_csinhl.c (__csinhl): Likewise.
45094         * math/s_csinl.c (__csinl): Likewise.
45095         * math/libm-test.inc (ccos_test): Add more tests.
45096         (ccosh_test): Likewise.
45097         (csin_test): Likewise.
45098         (csinh_test): Likewise.
45100 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45102         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45103         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45104         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45105         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45106         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45107         powerpc/power5+/fpu folders.
45108         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45111 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45113         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45115 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
45117         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45118         additions to variable.
45119         [$(config-machine) = x86_64] (modules-names): Likewise.
45120         ($(objpfx)tst-audit3): Remove dependency.
45121         ($(objpfx)tst-audit3.out): Likewise.
45122         ($(objpfx)tst-audit4): Likewise.
45123         ($(objpfx)tst-audit4.out): Likewise.
45124         ($(objpfx)tst-audit5): Likewise.
45125         ($(objpfx)tst-audit5.out): Likewise.
45126         ($(objpfx)tst-audit6): Likewise.
45127         ($(objpfx)tst-audit6.out): Likewise.
45128         ($(objpfx)tst-audit7): Likewise.
45129         ($(objpfx)tst-audit7.out): Likewise.
45130         (tst-audit3-ENV): Remove variable.
45131         (tst-audit4-ENV): Likewise.
45132         (tst-audit5-ENV): Likewise.
45133         (tst-audit6-ENV): Likewise.
45134         (tst-audit7-ENV): Likewise.
45135         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45136         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45137         addition to variable.
45138         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45139         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45140         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45141         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45142         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45143         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45144         tst-audit3, tst-audit4 and tst-audit5.
45145         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45146         tst-audit6 and tst-audit7.
45147         [$(subdir) = elf] (modules-names): Add audit modules for those
45148         tests.
45149         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45150         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45151         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45152         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45153         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45154         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45155         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45156         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45157         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45158         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45159         [$(subdir) = elf] (tst-audit3-ENV): New variable.
45160         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45161         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45162         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45163         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45164         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45165         Likewise.
45166         [$(subdir) = elf && $(config-cflags-avx) = yes]
45167         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45168         [$(subdir) = elf && $(config-cflags-avx) = yes]
45169         (CFLAGS-tst-auditmod4a.c): Likewise.
45170         [$(subdir) = elf && $(config-cflags-avx) = yes]
45171         (CFLAGS-tst-auditmod4b.c): Likewise.
45172         [$(subdir) = elf && $(config-cflags-avx) = yes]
45173         (CFLAGS-tst-auditmod6b.c): Likewise.
45174         [$(subdir) = elf && $(config-cflags-avx) = yes]
45175         (CFLAGS-tst-auditmod6c.c): Likewise.
45176         [$(subdir) = elf && $(config-cflags-avx) = yes]
45177         (CFLAGS-tst-auditmod7b.c): Likewise.
45178         * elf/tst-audit3.c: Move to ...
45179         * sysdeps/x86_64/tst-audit3.c: ... here.
45180         * elf/tst-audit4.c: Move to ...
45181         * sysdeps/x86_64/tst-audit4.c: ... here.
45182         * elf/tst-audit5.c: Move to ...
45183         * sysdeps/x86_64/tst-audit5.c: ... here.
45184         * elf/tst-audit6.c: Move to ...
45185         * sysdeps/x86_64/tst-audit6.c: ... here.
45186         * elf/tst-audit7.c: Move to ...
45187         * sysdeps/x86_64/tst-audit7.c: ... here.
45188         * elf/tst-auditmod3a.c: Move to ...
45189         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45190         * elf/tst-auditmod3b.c: Move to ...
45191         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45192         * elf/tst-auditmod4a.c: Move to ...
45193         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45194         * elf/tst-auditmod4b.c: Move to ...
45195         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45196         * elf/tst-auditmod5a.c: Move to ...
45197         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45198         * elf/tst-auditmod5b.c: Move to ...
45199         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45200         * elf/tst-auditmod6a.c: Move to ...
45201         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45202         * elf/tst-auditmod6b.c: Move to ...
45203         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45204         * elf/tst-auditmod6c.c: Move to ...
45205         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45206         * elf/tst-auditmod7a.c: Move to ...
45207         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45208         * elf/tst-auditmod7b.c: Move to ...
45209         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45211 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45213         [BZ #15366]
45214         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45215         define unconditionally.
45216         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45217         define unconditionally.
45218         (INT8_C, INT16_C, etc.): Likewise.
45220 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45222         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45223         __ehdr_start with hidden visibility.
45225         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45227 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45229         * math/libm-test.inc (cos_test): Use accurate hex constants.
45230         (sincost_test): Likewise.
45232 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45234         * math/libm-test.inc (catan_test): Add more tests.
45235         (catanh_test): Likewise.
45237         * math/s_catanf.c (__catanf): Use suffixed floating-point
45238         constants.
45239         * math/s_catanhf.c (__catanhf): Likewise.
45240         * math/s_catanhl.c (__catanhl): Likewise.
45241         * math/s_catanl.c (__catanl): Likewise.
45243         [BZ #15394]
45244         * math/s_catan.c (__catan): Calculate imaginary part of result
45245         with log1p not log unless computing log of number close to 0.
45246         * math/s_catanf.c (__catanf): Likewise.
45247         * math/s_catanl.c (__catanl): Likewise.
45248         * math/s_catanh.c (__catanh): Calculate real part of result with
45249         log1p not log unless computing log of number close to 0.
45250         * math/s_catanhf.c (__catanhf): Likewise.
45251         * math/s_catanhl.c (__catanhl): Likewise.
45252         * math/libm-test.inc (catan_test): Add more tests.
45253         (catanh_test): Likewise.
45254         * sysdeps/i386/fpu/libm-test-ulps: Update.
45255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45257 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45259         * benchtests/Makefile: Mention files in which fast and slow
45260         paths of math functions are implemented.
45262 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45264         * sysdeps/posix/timespec_get.c: New file.
45266 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45268         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45269         POWER.
45270         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45271         for POWER.
45272         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45273         powerpc/power5/fpu folders.
45274         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45275         * benchtests/Makefile: Add modf testcase.
45276         * benchtests/bench-modf.c: New file: Benchmark test for mo
45278 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45280         [BZ #14888]
45281         * time/Makefile (tests): Add tst-strptime-whitespace.
45282         * time/strptime_l.c (get_number): Use ISSPACE.
45283         (__strptime_internal): Likewise.
45284         * time/tst-strptime-whitespace.c: New test case.
45286 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45288         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45289         member.
45290         (_nss_files_init): Set it here.
45292 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45294         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45295         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45296         unsigned.
45298 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45300         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45302 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45304         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45305         size just once.
45307 2013-04-21  David S. Miller  <davem@davemloft.net>
45309         * po/ru.po: Update Russion translation from translation project.
45311 2013-04-17  Adam Conrad  <adconrad@0c3.net>
45313         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45314         and setfsgid.
45316 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
45318         * configure.in: Remove i386 configure warning. Remove i386 case.
45319         * configure: Regenerate.
45320         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45321         Add example to error message.
45322         * sysdeps/i386/configure: Regenerate.
45324 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45326         * benchtests/Makefile (bench): Add cos, tan, slowcos and
45327         slowtan.
45328         * benchtests/cos-inputs: New file.
45329         * benchtests/slowcos-inputs: New file.
45330         * benchtests/slowcos.c: New file.
45331         * benchtests/slowtan-inputs: New file.
45332         * benchtests/slowtan.c: New file.
45333         * benchtests/tan-inputs: New file.
45335 2013-04-16  Roland McGrath  <roland@hack.frob.com>
45337         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45338         considered kosher.
45340 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45342         * benchtests/Makefile: Include cppflags-iterator.mk to add
45343         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45345         * Makefile.in (bench-clean): New target.
45346         * benchtests/Makefile (bench-clean): Likewise.
45348 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
45350         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45352 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
45354         * stdio-common/tstdiomisc.c: Fix coding-style violation.
45356 2013-04-15  Andreas Schwab  <schwab@suse.de>
45358         * nscd/grpcache.c (cache_addgr): Properly check for short write.
45359         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45360         * nscd/pwdcache.c (cache_addpw): Likewise.
45361         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
45362         more than recsize.
45364 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45366         * benchtests/Makefile (bench): Write all output to
45367         bench-out.tmp together.
45369 2013-04-15  Andreas Schwab  <schwab@suse.de>
45371         * nscd/nscd.c (main): Don't fork again after closing files.
45373 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45375         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45377         * benchtests/Rules (bench-deps): Collect dependencies into a
45378         single variable.  Add Makefile to dependencies.
45379         ($(objpfx)bench-%.c): Depend on bench-deps.
45381 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45382             Xavier Roche  <roche+kml2@exalead.com>
45384         [BZ #15361]
45385         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45386         just that it's a file descriptor.
45387         * manual/llio.texi (Synchronizing AIO Operations): Update description
45388         for EBADF error from aio_fsync.
45390 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45392         * Rules (bench): Move target definition...
45393         * benchtests/Makefile: ... here.
45395 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45397         * math/libm-test.inc (cos_test): Fix PI/2 test.
45398         (sincos_test): Likewise.
45399         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45400         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45402 2013-04-11  Andreas Schwab  <schwab@suse.de>
45404         [BZ #13988]
45405         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45406         accept exponent character only when digits were seen.
45407         * stdio-common/Makefile (tests): Add bug26.
45408         * stdio-common/bug26.c: New file.
45410         [BZ #14293]
45411         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45412         non-freeable.
45414 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45416         * Makeconfig (rtld-prefix): Define built linker prefix.
45417         * Rules (run-bench): Use it.
45418         * math/Makefile (run-regen-ulps): Likewise.
45420         * Rules (bench): Remove eval.
45422 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45423             Roland McGrath  <roland@hack.frob.com>
45424             Ondrej Bilka  <neleai@seznam.cz>
45426         [BZ #15346]
45427         * time/getdate.c: Include ctype.h and alloca.h.
45428         (__getdate_r): Trim leading and trailing spaces of input.
45429         * time/tst-getdate.c (tests): Add tests with leading and
45430         trailing spaces.
45432 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45434         [BZ #14280]
45435         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45436         when computing value.
45438 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45440         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45441         Use testrun.sh to run libm tests.
45443         [BZ #15309]
45444         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45446 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45448         [BZ #15264]
45449         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45451 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45453         * Makefile.in (regen-ulps): New target.
45454         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45455         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45456         [ifneq (no,$(PERL)] (regen-ulps): New target.
45457         [ifeq (no,$(PERL)] (regen-ulps): New target.
45458         * math/libm-test.inc (ulps_file_name): Define.
45459         (output_dir): New variable.
45460         (options): Add "output-dir" option.
45461         (parse_opt): Handle 'o' case.
45462         (main): If output_dir is non-NULL use it as a prefix
45463         otherwise use "".
45464         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45466 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45468         [BZ #10060, #10062]
45469         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45470         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45471         fail configure if __sync_val_compare_and_swap is not inlined.
45472         * sysdeps/i386/configure: Regenerate.
45473         * configure.in: Build for i686 when configured for i386.
45474         * configure: Regenerate.
45475         * README: Remove i386 reference.
45477 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45479         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45480         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45482 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45484         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45485         (lmsnanval): New variables.
45486         (F): Add conversion tests.
45487         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45488         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45490         * stdio-common/tstdiomisc.c (F): Properly collect individual
45491         tests' results.
45493         [BZ #14686, #15336]
45494         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45495         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45496         Instead, use input NaN values or generate a qNaN by arithmetic
45497         operation.  Also fix bugs to comply with the standard.
45498         * math/libm-test.inc (remainder_test): Add more tests.
45500         [BZ #15335, #15342]
45501         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45502         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45503         input NaN values or generate a qNaN by arithmetic operation.
45505         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45506         unreachable code.
45508         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45509         definitions.
45511 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45513         [BZ #14478]
45514         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45515         underflowed result.
45516         * math/s_cexpf.c (__cexpf): Likewise.
45517         * math/s_cexpl.c (__cexpl): Likewise.
45518         * math/libm-test.inc (cexp_test): Add more tests.
45520 2013-04-03  Andreas Schwab  <schwab@suse.de>
45522         [BZ #15330]
45523         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45524         order arrays from heap if bigger than alloca cutoff.
45526 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45528         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45529         (SNAN_TESTS_double): Refer to GCC PR56831.
45530         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45531         GCC PR56828.
45533 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45535         * Rules (bench): Move bench.out after the run is complete.
45537         * Rules (bench): Echo currently running benchmark.
45539         * benchtests/Makefile (bench): Add atan and slowatan.
45540         * benchtests/atan-inputs: New file.
45541         * benchtests/slowatan-inputs: New file.
45542         * benchtests/slowatan.c: New file.
45544         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45545         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45546         its value.
45548         [BZ #15305]
45549         * sysdeps/unix/sysv/linux/kernel-features.h
45550         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45551         __ASSUME_XFS_RESTRICTED_CHOWN.
45552         * sysdeps/unix/sysv/linux/pathconf.c
45553         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45554         Save and restore errno.
45556 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45558         [BZ #15327]
45559         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45560         arguments using __kernel_casinh.
45561         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45562         arguments using __kernel_casinhf.
45563         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45564         arguments using __kernel_casinhl.
45565         * math/libm-test.inc (cacosh_test): Add more tests.
45566         * sysdeps/i386/fpu/libm-test-ulps: Update.
45567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45569 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45571         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45572         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45574         * bench/Makefile (bench): Add sin and slowsin.
45575         * benchtests/sin-inputs: New file.
45576         * benchtests/slowsin-inputs: New file.
45577         * benchtests/slowsin.c: New file.
45579         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45580         (bench): Add slowexp and slowpow.
45581         (exp-ITER): Increase iterations.
45582         (pow-ITER): Likewise.
45583         * benchtests/exp-inputs: Change input.
45584         * benchtests/pow-inputs: Likewise.
45585         * benchtests/slowexp-inputs: New file.
45586         * benchtests/slowexp.c: New file.
45587         * benchtests/slowpow-inputs: New file.
45588         * benchtests/slowpow.c: New file.
45590 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45592         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45593         instructions.
45594         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45595         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45596         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45597         * benchtests/Makefile: Add rint benchtest.
45598         * benchtests/rint-inputs: Input for rint benchtest.
45600 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45602         * Versions.def (libm): Add GLIBC_2.18.
45603         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45604         hidden libm prototypes.
45605         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45606         * math/Makefile (libm-calls): Add s_issignaling.
45607         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45608         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45609         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45610         declaration.
45611         * math/math.h [__USE_GNU] (issignaling): New macro.
45612         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45613         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45614         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45615         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45616         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45617         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45618         * manual/arith.texi (issignaling): New section.
45619         * manual/libm-err-tab.pl (@all_functions): Update comment.
45620         * math/gen-libm-test.pl (parse_args): Apply special handling for
45621         issignaling.
45622         * math/libm-test.inc (print_float, issignaling_test): New
45623         functions.
45624         (check_float_internal): Add issignaling checks.
45625         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45626         default definition.
45627         * sysdeps/powerpc/math-tests.h: New file.
45628         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45629         tests.
45630         * math/test-snan.c (TEST_FUNC): Likewise.
45632 2013-03-30  David S. Miller  <davem@davemloft.net>
45634         * po/de.po: Update from translation team.
45636 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45638         [BZ #10357]
45639         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45640         imaginary part less than 1.0 and real part less than 0.5
45641         specially.
45642         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45643         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45644         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45645         (cacos_test): Add more tests.
45646         (casin_test): Likewise.
45647         (casinh_test): Likewise.
45648         * sysdeps/i386/fpu/libm-test-ulps: Update.
45649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45651 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45653         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45654         ONE with its value.
45656         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45657         (__pow_mp): Replace ONE and MONE with their values.
45658         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45659         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45660         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45661         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45662         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45663         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45665         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45667         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45668         (__pow_mp): Replace ZERO and MZERO with their values.
45669         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45670         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45671         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45673         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45674         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45675         (__sqr): Likewise.
45677         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45679         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45681 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45683         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45684         Declare with __attribute__ ((weak)).
45685         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45686         Call __call_tls_dtors only if it's not NULL.
45688 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45690         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45691         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45692         magic __ehdr_start linker symbol if it's defined.
45693         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45694         them up here if it was already done.
45696         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45697         (_dl_aux_init): Use const in cast when setting it.
45698         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45699         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45700         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45702         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45703         Declare them here.
45704         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45705         * csu/libc-tls.c: Nor here.
45706         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45708         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45709         (__libc_message): Never call vsyslog.
45711 2013-03-28  Alan Modra  <amodra@gmail.com>
45713         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45714         Define as empty.
45715         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45716         Likewise.
45718 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45720         [BZ #15214]
45721         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45722         underflow.
45723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45725 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45727         [BZ #15304]
45728         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45729         Don't add gid passed as argument.
45731         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45733 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45735         [BZ #15307]
45736         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45737         imaginary part between 1.0 and 1.5 and real part less than 0.5
45738         specially.
45739         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45740         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45741         * math/libm-test.inc (cacos_test): Add more tests.
45742         (casin_test): Likewise.
45743         (casinh_test): Likewise.
45744         * sysdeps/i386/fpu/libm-test-ulps: Update.
45745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45747 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45749         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45750         constants.
45751         (norm): Likewise.
45752         (denorm): Likewise.
45753         (__dbl_mp): Likewise.
45754         (add_magnitudes): Likewise.
45755         (sub_magnitudes): Likewise.
45756         (__add): Likewise.
45757         (__sub): Likewise.
45758         (__mul): Likewise.
45759         (__sqr): Likewise.
45760         (__inv): Likewise.
45761         (__dvd): Likewise.
45763         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45764         commented code.
45765         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45766         (__dubcos): Likewise.
45767         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45768         (__ieee754_acos): Likewise.
45769         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45770         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45771         (__exp1): Likewise.
45772         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45773         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45774         (log1): Likewise.
45775         (my_log2): Likewise.
45776         (checkint): Likewise.
45777         * sysdeps/ieee754/dbl-64/e_remainder.c
45778         (__ieee754_remainder): Likewise.
45779         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45780         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45781         (bsloww): Likewise.
45782         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45784         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45785         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45786         MANTISSA_STORE_T to store computations on mantissa.  Use
45787         macros for rounding and division.
45788         (denorm): Likewise.
45789         (__dbl_mp): Likewise.
45790         (add_magnitudes): Likewise.
45791         (sub_magnitudes): Likewise.
45792         (__mul): Likewise.
45793         (__sqr): Likewise.
45794         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45795         powers of two in terms of TWOPOW macro.
45796         (mp_no): Make type of mantissa as MANTISSA_T.
45797         [!RADIXI]: Define RADIXI.
45798         [!TWO52]: Define TWO52.
45799         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45801 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45803         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45804         llroundl symbol when building for PPC32.
45806 2013-03-24  Mark H Weaver  <mhw@netris.org>
45808         * manual/arith.texi (Normalization Functions): Fix prototypes for
45809         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45811 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45813         [BZ #13889]
45814         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45815         high value to check if expl overflow.
45816         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45817         to check for underflow and overflow.
45818         * math/libm-test.inc: Add exp test.
45820 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45822         [BZ #11120]
45823         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45824         with NOT_IN_libc.
45826 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45828         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45829         symbol.
45831 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45833         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45834         wrap blocks consisting of several statements.
45836         * sysdeps/generic/math-tests.h: New file.
45837         * sysdeps/i386/fpu/math-tests.h: Likewise.
45838         * math/test-snan.c: Include it.
45839         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45841 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45843         [BZ #15285]
45844         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45845         (__ieee754_j0l): Do not improve calculations using cos of twice
45846         input for inputs above LDBL_MAX / 2.0L.
45847         (__ieee754_y0l): Likewise.
45848         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45849         (__ieee754_j1l): Do not improve calculations using cos of twice
45850         input for inputs above LDBL_MAX / 2.0L.
45851         (__ieee754_y1l): Likewise.
45852         * math/libm-test.inc (j0_test): Add another test.
45853         (j1_test): Likewise.
45854         (y0_test): Likewise.
45855         (y1_test): Likewise.
45856         * sysdeps/i386/fpu/libm-test-ulps: Update.
45858 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45860         * Rules ($(objpfx)bench-%.c): Include code from a C source
45861         file.
45863 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45865         [BZ #15287]
45866         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45867         imaginary part 1.0 and real part less than 0.5 specially.
45868         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45869         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45870         * math/libm-test.inc (cacos_test): Add more tests.
45871         (casin_test): Likewise.
45872         (casinh_test): Likewise.
45873         * sysdeps/i386/fpu/libm-test-ulps: Update.
45874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45876 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45878         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45879         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45881 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
45883         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45884         * config.make.in (config-cflags-sse4): Remove variable.
45885         (config-cflags-avx): Likewise.
45886         (config-cflags-sse2avx): Likewise.
45887         (config-cflags-novzeroupper): Likewise.
45888         (config-asflags-i686): Likewise.
45889         (have-mfma4): Likewise.
45890         (have-as-vis3): Likewise.
45891         (MIG): Likewise.
45892         * configure.in (MIG): Do not AC_SUBST.
45893         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45894         (libc_cv_cc_sse4): Do not AC_SUBST.
45895         (libc_cv_cc_avx): Likewise.
45896         (libc_cv_cc_sse2avx): Likewise.
45897         (libc_cv_cc_novzeroupper): Likewise.
45898         (libc_cv_cc_fma4): Likewise.
45899         (libc_cv_as_i686): Likewise.
45900         (libc_cv_sparc_as_vis3): Likewise.
45901         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45902         LIBC_CONFIG_VAR.
45903         (config-asflags-i686): Likewise.
45904         (config-cflags-avx): Likewise.
45905         (config-cflags-sse2avx): Likewise.
45906         (have-mfma4): Likewise.
45907         (config-cflags-novzeroupper): Likewise.
45908         * sysdeps/mach/configure.in (MIG): Likewise.
45909         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45910         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45911         LIBC_CONFIG_VAR.
45912         (config-cflags-avx): Likewise.
45913         (config-cflags-sse2avx): Likewise.
45914         (have-mfma4): Likewise.
45915         (config-cflags-novzeroupper): Likewise.
45916         * configure: Regenerated.
45917         * sysdeps/i386/configure: Likewise.
45918         * sysdeps/mach/configure: Likewise.
45919         * sysdeps/sparc/configure: Likewise.
45920         * sysdeps/x86_64/configure: Likewise.
45922 2013-03-20  Roland McGrath  <roland@hack.frob.com>
45924         [BZ #14812]
45925         * locale/programs/localedef.c (options): Put N_ translation marker
45926         on argument names, not just descriptions.
45928 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45930         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45932 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
45934         [BZ #14176]
45935         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45937 2013-03-19  Roland McGrath  <roland@hack.frob.com>
45939         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45940         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45941         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45942         [!BEFORE_ABORT] (before_abort): New function.
45943         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45944         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45945         (writev_for_fatal): New function.
45946         (WRITEV_FOR_FATAL): New macro; call that.
45947         (backtrace_and_maps): New function.
45948         (BEFORE_ABORT): New macro; call that.
45949         (struct str_list): Type removed.
45950         (__libc_message, __libc_fatal): Functions removed.
45951         Include <sysdeps/posix/libc_fatal.c> instead.
45953 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
45955         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45956         constants.
45957         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45958         double constants.
45960 2013-03-19  Andreas Schwab  <schwab@suse.de>
45962         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45963         * sysdeps/gnu/configure: Regenerate.
45965         * configure.in: Substitute libc_cv_rtlddir.
45966         * configure: Regenerate.
45967         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45968         * Makeconfig (rtlddir, inst_rtlddir): New variables.
45969         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45970         * elf/Makefile (install-others, CFLAGS-interp.c)
45971         (ldso_install, common-ldd-rewrite): Likewise.
45972         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45973         $(inst_slibdir)/$(rtld-installed-name).
45974         * scripts/rellns-sh: Add -p option.
45975         * Makerules (make-shlib-link): Use rellns-sh to get relative name
45976         for source.
45978 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45980         * manual/nptl.texi: Renamed to ...
45981         * manual/threads.texi: ... this.
45982         * manual/Makefile (chapters): Update.
45984 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45986         [BZ #14812]
45987         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45988         on argument names, not just descriptions.
45989         * malloc/memusagestat.c (options): Likewise.
45990         * nss/getent.c (options): Likewise.
45992 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45994         [BZ #14812]
45995         * iconv/iconv_prog.c (options): Put N_ translation marker
45996         on argument names, not just descriptions.
45997         * iconv/iconvconfig.c (options): Likewise.
45999 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46001         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46002         implementation which is faster on all x86_64 architectures.
46003         Tested on AMD, Intel Nehalem, SNB, IVB.
46004         * sysdeps/x86_64/strnlen.S: Likewise.
46006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46007         Remove all multiarch strlen and strnlen versions.
46008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46009         Remove strlen and strnlen related parts.
46011         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46012         Inline strlen part.
46013         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46015         * sysdeps/x86_64/multiarch/strlen.S: Remove.
46016         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46017         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46018         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46019         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46020         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46022 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
46024         * manual/memory.texi (Malloc Tunable Parameters):
46025         Sort parameters alphabetically. Add comments for missing entries.
46027 2013-03-17  David S. Miller  <davem@davemloft.net>
46029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46031 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
46033         [BZ #15283]
46034         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46035         for arguments at most half maximum finite value.
46036         * math/libm-test.inc (j0_test): Add more tests.
46037         (j1_test): Likewise.
46038         (y0_test): Likewise.
46039         (y1_test): Likewise.
46040         * sysdeps/i386/fpu/libm-test-ulps: Update.
46041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46043         [BZ #14155]
46044         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46045         1 / x and functions P and Q for arguments above 0x1p256L.
46046         (__ieee754_y0l): Likewise.
46047         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46048         (__ieee754_y1l): Likewise.
46049         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46050         (j1_test): Likewise.
46051         (y0_test): Likewise.
46052         (y1_test): Likewise.
46054 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
46056         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46057         variable.
46059 2013-03-15  Roland McGrath  <roland@hack.frob.com>
46061         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46062         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46063         zero since it's initialized to EXEC_PAGESIZE.
46065         * sysdeps/unix/sysv/linux/ldsodefs.h
46066         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46067         * sysdeps/generic/ldsodefs.h: ... here.
46069 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
46071         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46073         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46074         math/test-snan.c.
46075         * math/test-snan.c: Renamed from
46076         sysdeps/powerpc/fpu/test-powerpc-snan.c.
46077         * math/Makefile (tests): Add test-snan.
46078         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46079         test-powerpc-snan.
46081         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46082         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
46083         functions.
46084         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
46085         __builtin_nan family of functions.
46086         * math/libm-test.inc (initialize): Initialize qnan_value with
46087         __builtin_nan family of functions.
46088         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46089         Remove variables.
46090         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46091         Remove functions.
46092         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
46093         storage class.  Initialize qNaN_var and sNaN_var with
46094         __builtin_nan and __builtin_nans families of functions,
46095         respectively.
46097         * math/libm-test.inc (acosh_test): Also test with qNaN input.
46098         (sqrt_test): Remove duplicate test with qNaN input.
46099         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46100         (round_test, signbit_test, significand_test): Note missing +/-Inf
46101         as well as qNaN tests.
46103         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46104         qNaN_var.  Fix a few strings, too.
46105         * math/libm-test.inc (nan_value): Rename to qnan_value.
46106         * math/gen-libm-test.pl (%beautify): Adjust to that.
46107         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46108         * math/test-misc.c (main): Likewise.
46109         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46110         to __qnan_bytes, and __qnan_union, respectively.
46111         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46112         Likewise.
46113         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46114         and lqnanval, respectively.
46115         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46116         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46117         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46118         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46120         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46121         * math/test-misc.c (main) [__x86_64__]: Enable test for long
46122         doubles.
46124         * math/test-misc.c (main): Fix copy'n'pastos.
46125         * misc/tst-efgcvt.c (special): Likewise.
46127         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46128         Remove declarations.
46130 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46132         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46133         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46134         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46135         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46137 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46139         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46140         macro to return vdso values correctly in IFUNC implementations.
46141         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46142         Optimization by using IFUNC.
46144 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46145             Richard Henderson  <rth@redhat.com>
46146             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46148         * Makefile.in (bench): New target.
46149         * NEWS: Mention the benchmark framework.
46150         * Rules (bench): Likewise.
46151         (binaries-bench): Generate binaries for functions to
46152         benchmark.
46153         * benchtests/Makefile: New makefile for benchmark tests.
46154         * benchtests/bench-skeleton.c: New skeleton file for benchmark
46155         programs.
46156         * benchtests/exp-inputs: New input file for EXP function.
46157         * benchtests/pow-inputs: New input file for POW function.
46158         * scripts/bench.pl: New script to generate source files for
46159         benchmark programs.
46161 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46163         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46164         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46165         computations on mantissa.  Use macros for rounding and
46166         division.
46167         (denorm): Likewise.
46168         (__dbl_mp): Likewise.
46169         (add_magnitudes): Likewise.
46170         (sub_magnitudes): Likewise.
46171         (__mul): Likewise.
46172         (__sqr): Likewise.
46173         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46174         powers of two in terms of TWOPOW macro.
46175         (mp_no): Make type of mantissa as MANTISSA_T.
46176         [!RADIXI]: Define RADIXI.
46177         [!TWO52]: Define TWO52.
46178         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46180         * manual/nptl.texi (cindex): Modify threads to pthreads.
46182 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46184         * sysdeps/x86_64/preconfigure: Regenerated.
46186 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46188         [BZ #14155]
46189         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46190         0x1p28 and above.
46191         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46192         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46193         0x1p28 and above.
46194         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46195         * math/libm-test.inc (j0_test): Do not allow one spurious
46196         underflow exception.
46197         (y1_test): Likewise.
46199 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46201         * manual/Makefile (chapters): Add nptl.
46202         * manual/debug.texi (Debugging Support): Add link to Threads
46203         chapter.
46204         * manual/nptl.texi: New file.
46206         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46208 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46210         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46211         for non-NULL pointer before the memory validity test. Pointed
46212         out by Holger Brunck <holger.brunck@keymile.com>.
46214 2013-03-13  Andreas Schwab  <schwab@suse.de>
46216         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46217         instead of .os.
46219 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46221         * timezone/zic.c: Update from tzcode 2013b.
46223 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46225         * manual/install.texi (Configuring and compiling):
46226         Mention i686 and i586.
46227         * INSTALL: Regenerate.
46229 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46231         * sysdeps/init_array/elf-init.c: New file.
46232         * csu/elf-init.c
46233         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46234         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46236         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46237         __gmon_start__ as global, but as static with a .preinit_array pointer.
46238         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46239         * sysdeps/init_array/crti.S: New file, empty except for comments.
46240         * sysdeps/init_array/crtn.S: Likewise.
46242 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46244         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46245         definining bcopy.
46246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46247         Remove Prefer_SSE_for_memop.
46248         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46249         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46250         HAS_PREFER_SSE_FOR_MEMOP.
46251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46252         memset-x86-64.
46253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46254         Remove bzero, memset ifunc support.
46255         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46256         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46257         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46258         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46260 2013-03-11  Andreas Schwab  <schwab@suse.de>
46262         [BZ #15234]
46263         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46264         by SHLIB_COMPAT.
46265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46266         (GLIBC_2.16): Remove pthread_atfork.
46268 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46270         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46271         (ptestcases.h): Likewise.
46273 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46275         * Makeconfig ($(common-objpfx)config.status): Depend on
46276         sysdeps/*/preconfigure{,.in} too.
46278 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46280         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46281         (__free_hook): Use void * instead of __malloc_ptr_t.
46282         (__malloc_hook): Likewise.
46283         (__realloc_hook): Likewise.
46284         (__memalign_hook): Likewise.
46285         (__after_morecore_hook): Likewise.
46286         * malloc/arena.c (save_malloc_hook): Likewise.
46287         (save_free_hook): Likewise.
46288         * malloc/hooks.c (malloc_hook_ini): Likewise.
46289         (realloc_hook_ini): Likewise.
46290         (memalign_hook_ini): Likewise.
46291         * malloc/malloc.c (malloc_hook_ini): Likewise.
46292         (realloc_hook_ini): Likewise.
46293         (memalign_hook_ini): Likewise.
46294         (__free_hook): Likewise.
46295         (__malloc_hook): Likewise.
46296         (__realloc_hook): Likewise.
46297         (__memalign_hook): Likewise.
46298         (__libc_malloc): Likewise.
46299         (__libc_free): Likewise.
46300         (__libc_realloc): Likewise.
46301         (__libc_memalign): Likewise.
46302         (__libc_valloc): Likewise.
46303         (__libc_pvalloc): Likewise.
46304         (__libc_calloc): Likewise.
46305         (__posix_memalign): Likewise.
46306         * malloc/morecore.c (__sbrk): Likewise.
46307         (__default_morecore): Likewise.
46309         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46311         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46312         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46313         __malloc_ptrdiff_t.
46315         * malloc/malloc.h (__malloc_size_t): Remove macro.
46316         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46317         __malloc_size_t.
46318         (old_memalign_hook): Likewise.
46319         (old_realloc_hook): Likewise.
46320         (struct hdr): Likewise.
46321         (flood): Likewise.
46322         (mallochook): Likewise.
46323         (memalignhook): Likewise.
46324         (reallochook): Likewise.
46325         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46326         (tr_old_realloc_hook): Likewise.
46327         (tr_old_memalign_hook): Likewise.
46328         (tr_mallochook): Likewise.
46329         (tr_reallochook): Likewise.
46330         (tr_memalignhook): Likewise.
46332 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46334         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46335         default_ldbl_pack and using as default implementation.
46336         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46337         implementation.
46338         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46339         redundant definition.
46340         (ldbl_insert_mantissa): Likewise.
46341         (ldbl_canonicalize): Likewise.
46342         (ldbl_nearbyint): Likewise.
46343         (ldbl_pack): Rename to ldbl_pack_ppc.
46344         (ldbl_unpack): Rename to ldbl_unpack_ppc.
46345         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46346         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46348 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46351         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46352         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46353         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46355         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46356         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46357         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46359 2013-03-07  Andreas Jaeger  <aj@suse.de>
46361         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46362         bits/mman-linux.h.
46364 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46366         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46367         Include mpa.h and declare __MPEXP.
46368         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46369         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46370         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46371         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46372         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46373         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46374         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46376         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46377         (__slowpow): Use long double EXPL and LOGL functions to
46378         compute POW.
46379         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46380         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46381         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46382         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46383         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46384         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46387         intermediate variable to calculate exponent.
46388         (__sqr): Likewise.
46389         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46390         Likewise.
46391         (__sqr): Likewise.
46393         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46394         [!NO__SQR]: Define __sqr.
46395         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46396         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46397         sysdeps/ieee754/dbl-64/mpa.c.
46398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46400         [BZ #12723]
46401         * posix/Makefile (tests): Add tst-pathconf.
46402         * posix/tst-pathconf.c: New test case.
46403         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46404         _PC_PIPE_BUF.
46405         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46407 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46409         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46411 2013-03-06  Andreas Jaeger  <aj@suse.de>
46413         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46414         definition via __MAP_ANONYMOUS.
46416         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46417         it's not part of Linux headers.
46419         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46420         (MAP_HUGE_MASK): Define.
46422         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46423         Define.
46424         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46425         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46426         Define.
46427         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46428         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46429         Define.
46430         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46431         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46432         Define.
46433         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46435         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46436         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46437         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46438         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46439         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46440         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46442         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46443         Handle f2fs.
46445         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46446         Handle f2fs and efivarfs.
46448         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46449         f2fs.
46451         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46452         (EFIVARFS_MAGIC): Add.
46453         (F2FS_LINK_MAX): Add.
46455 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46457         * stdio-common/vfprintf.c: Replace __builtin_expect with
46458         __glibc_unlikely.
46460 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46462         [BZ #13550]
46463         * sysdeps/generic/bp-sym.h: Remove file.
46464         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46465         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46466         <bp-sym.h> and <bp-asm.h>.
46467         (__longjmp): Don't use BP_SYM.
46468         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46469         and <bp-asm.h>.
46470         (memcpy): Don't use BP_SYM.
46471         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46472         <bp-sym.h> and <bp-asm.h>.
46473         (memcpy): Don't use BP_SYM.
46474         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46475         <bp-asm.h>.
46476         (memcpy): Don't use BP_SYM.
46477         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46478         <bp-asm.h>.
46479         (memset): Don't use BP_SYM.
46480         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46481         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46482         (__bzero): Don't use BP_SYM.
46483         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46484         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46485         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46486         <bp-sym.h> and <bp-asm.h>.
46487         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46488         pointers.
46489         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46490         <bp-sym.h> and <bp-asm.h>.
46491         (memcpy): Don't use BP_SYM.
46492         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46493         <bp-sym.h> and <bp-asm.h>.
46494         (memset): Don't use BP_SYM.
46495         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46496         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46497         (__bzero): Don't use BP_SYM.
46498         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46499         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46500         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46501         <bp-sym.h> and <bp-asm.h>.
46502         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46503         pointers.
46504         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46505         <bp-sym.h> and <bp-asm.h>.
46506         (memcpy): Don't use BP_SYM.
46507         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46508         <bp-sym.h> and <bp-asm.h>.
46509         (memset): Don't use BP_SYM.
46510         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46511         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46512         (__bzero): Don't use BP_SYM.
46513         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46514         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46515         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46516         <bp-sym.h> and <bp-asm.h>.
46517         (__memchr): Don't use BP_SYM.
46518         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46519         <bp-sym.h> and <bp-asm.h>.
46520         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46521         pointers.
46522         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46523         <bp-sym.h> and <bp-asm.h>.
46524         (memcpy): Don't use BP_SYM.
46525         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46526         <bp-sym.h> and <bp-asm.h>.
46527         (__mempcpy): Don't use BP_SYM.
46528         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46529         <bp-sym.h> and <bp-asm.h>.
46530         (__memrchr): Don't use BP_SYM.
46531         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46532         <bp-sym.h> and <bp-asm.h>.
46533         (memset): Don't use BP_SYM.
46534         (__bzero): Likewise.
46535         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46536         <bp-sym.h> and <bp-asm.h>.
46537         (__rawmemchr): Don't use BP_SYM.
46538         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46539         <bp-sym.h> and <bp-asm.h>.
46540         (__STRCMP): Don't use BP_SYM.
46541         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46542         <bp-sym.h> and <bp-asm.h>.
46543         (strchr): Don't use BP_SYM.
46544         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46545         <bp-sym.h> and <bp-asm.h>.
46546         (__strchrnul): Don't use BP_SYM.
46547         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46548         <bp-sym.h> and <bp-asm.h>.
46549         (strlen): Don't use BP_SYM.
46550         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46551         <bp-sym.h> and <bp-asm.h>.
46552         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46553         pointers.
46554         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46555         <bp-sym.h> and <bp-asm.h>.
46556         (__strnlen): Don't use BP_SYM.
46557         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46558         <bp-sym.h> and <bp-asm.h>.
46559         (__GI__setjmp): Don't use BP_SYM.
46560         (_setjmp): Likewise.
46561         (__sigsetjmp): Likewise.
46562         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46563         (L(start_addresses)): Don't use BP_SYM.
46564         (_start): Likewise.
46565         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46566         <bp-asm.h>.
46567         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46568         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46569         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46570         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46571         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46572         <bp-asm.h>.
46573         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46574         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46575         about bounded pointers.
46576         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46577         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46578         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46579         <bp-asm.h>.
46580         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46581         about bounded pointers.  Remove GKM FIXME comments.
46582         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46583         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46584         <bp-asm.h>.
46585         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46586         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46587         Remove GKM FIXME comments.
46588         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46589         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46590         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46591         <bp-asm.h>.
46592         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46593         about bounded pointers.  Remove GKM FIXME comment.
46594         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46595         and <bp-asm.h>.
46596         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46597         pointers.
46598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46599         <bp-sym.h> and <bp-asm.h>.
46600         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46602         <bp-sym.h> and <bp-asm.h>.
46603         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46604         comment.
46606 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46608         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46609         call free(NULL).
46611 2013-03-05  David S. Miller  <davem@davemloft.net>
46613         * po/es.po: Update from translation team.
46615 2013-03-05  Andreas Jaeger  <aj@suse.de>
46617         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46618         <bits/mman-linux.h>.
46619         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46620         is fine.
46621         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46622         <bits/mman-linux.h> to end of file.
46623         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46624         is fine.
46625         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46626         <bits/mman-linux.h> to end of file.
46627         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46628         is fine.
46629         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46630         <bits/mman-linux.h> to end of file.
46632         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46633         (MCL_CURRENT, MCL_FUTURE): Define here.
46635 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46637         [BZ #15232]
46638         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46639         attribute_hidden.
46640         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46642 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46644         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46645         fourth parameter needed for rt_sigprocmask syscall.
46646         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46647         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46648         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46649         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46650         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46651         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46653 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46655         [BZ #13550]
46656         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46657         comment about bounded pointers.
46658         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46659         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46661 2013-03-04  Andreas Jaeger  <aj@suse.de>
46663         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46664         common definitions.
46666         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46667         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46668         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46669         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46670         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46671         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46673 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46675         [BZ #15055]
46676         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46677         __ieee754_sqrl instead of __sqrl.
46679 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46681         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46682         * sysdeps/powerpc/fpu_control.h: ... here.
46683         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46684         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46685         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46686         * sysdeps/powerpc/bits/mathinline.h: ... here.
46688 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46690         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46691         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46692         to just [NEED_DL_SYSINFO_DSO].
46693         * elf/dl-support.c: Likewise.
46694         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46695         * elf/rtld.c (dl_main): Likewise.
46696         * elf/setup-vdso.h (setup_vdso): Likewise.
46697         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46698         * sysdeps/unix/sysv/linux/dl-sysdep.c
46699         (_dl_discover_osversion): Likewise.
46701 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46703         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46704         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46706 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46708         * NEWS: Mention libm performance improvements and non-x86 PI
46709         futex support.
46711         * csu/libc-start.c (__pthread_initialize_minimal): Change
46712         function arguments.
46713         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46715 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46717         [BZ #13550]
46718         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46719         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46720         <bp-sym.h> and <bp-asm.h>.
46721         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46722         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46723         and <bp-asm.h>.
46724         (memcpy): Don't use BP_SYM.
46725         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46726         <bp-asm.h>.
46727         (__mpn_add_n): Don't use BP_SYM.
46728         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46729         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46730         and <bp-asm.h>.
46731         (__mpn_addmul_1): Don't use BP_SYM.
46732         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46733         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46734         <bp-sym.h>.
46735         (_setjmp): Don't use BP_SYM.
46736         (__novmx_setjmp): Likewise.
46737         (__GI__setjmp): Likewise.
46738         (__vmx_setjmp): Likewise.
46739         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46740         <bp-sym.h>.
46741         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46742         (__bzero): Don't use BP_SYM.
46743         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46744         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46745         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46746         <bp-sym.h> and <bp-asm.h>.
46747         (memcpy): Don't use BP_SYM.
46748         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46749         <bp-sym.h> and <bp-asm.h>.
46750         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46751         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46752         <bp-sym.h> and <bp-asm.h>.
46753         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46754         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46755         <bp-asm.h>.
46756         (__mpn_lshift): Don't use BP_SYM.
46757         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46758         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46759         <bp-asm.h>.
46760         (memset): Don't use BP_SYM.
46761         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46762         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46763         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46764         <bp-asm.h>.
46765         (__mpn_mul_1): Don't use BP_SYM.
46766         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46767         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46768         <bp-sym.h> and <bp-asm.h>.
46769         (memcmp): Don't use BP_SYM.
46770         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46771         <bp-sym.h> and <bp-asm.h>.
46772         (memcpy): Don't use BP_SYM.
46773         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46774         <bp-sym.h> and <bp-asm.h>.
46775         (memset): Don't use BP_SYM.
46776         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46777         <bp-sym.h> and <bp-asm.h>.
46778         (strncmp): Don't use BP_SYM.
46779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46780         <bp-sym.h> and <bp-asm.h>.
46781         (memcpy): Don't use BP_SYM.
46782         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46783         <bp-sym.h> and <bp-asm.h>.
46784         (memset): Don't use BP_SYM.
46785         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46786         <bp-sym.h> and <bp-asm.h>.
46787         (__memchr): Don't use BP_SYM.
46788         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46789         <bp-sym.h> and <bp-asm.h>.
46790         (memcmp): Don't use BP_SYM.
46791         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46792         <bp-sym.h> and <bp-asm.h>.
46793         (memcpy): Don't use BP_SYM.
46794         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46795         <bp-sym.h> and <bp-asm.h>.
46796         (__mempcpy): Don't use BP_SYM.
46797         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46798         <bp-sym.h> and <bp-asm.h>.
46799         (__memrchr): Don't use BP_SYM.
46800         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46801         <bp-sym.h> and <bp-asm.h>.
46802         (memset): Don't use BP_SYM.
46803         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46804         <bp-sym.h> and <bp-asm.h>.
46805         (__rawmemchr): Don't use BP_SYM.
46806         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46807         <bp-sym.h> and <bp-asm.h>.
46808         (__STRCMP): Don't use BP_SYM.
46809         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46810         <bp-sym.h> and <bp-asm.h>.
46811         (strchr): Don't use BP_SYM.
46812         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46813         <bp-sym.h> and <bp-asm.h>.
46814         (__strchrnul): Don't use BP_SYM.
46815         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46816         <bp-sym.h> and <bp-asm.h>.
46817         (strlen): Don't use BP_SYM.
46818         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46819         <bp-sym.h> and <bp-asm.h>.
46820         (strncmp): Don't use BP_SYM.
46821         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46822         <bp-sym.h> and <bp-asm.h>.
46823         (__strnlen): Don't use BP_SYM.
46824         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46825         <bp-asm.h>.
46826         (__mpn_rshift): Don't use BP_SYM.
46827         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46828         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46829         <bp-sym.h> and <bp-asm.h>.
46830         (__sigsetjmp): Don't use BP_SYM.
46831         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46832         (L(start_addresses)): Don't use BP_SYM.
46833         (_start): Likewise.
46834         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46835         <bp-asm.h>.
46836         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46837         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46838         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46839         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46840         <bp-asm.h>.
46841         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46842         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46843         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46844         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46845         <bp-asm.h>.
46846         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46847         comments.
46848         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46849         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46850         <bp-asm.h>.
46851         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
46852         FIXME comments.
46853         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46854         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46855         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46856         <bp-asm.h>.
46857         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46858         comment.
46859         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46860         and <bp-asm.h>.
46861         (strncmp): Don't use BP_SYM,
46862         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46863         <bp-asm.h>.
46864         (__mpn_sub_n): Don't use BP_SYM.
46865         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46866         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46867         and <bp-asm.h>.
46868         (__mpn_submul_1): Don't use BP_SYM.
46869         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46871         <bp-sym.h> and <bp-asm.h>.
46872         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46874         <bp-sym.h> and <bp-asm.h>.
46875         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46876         comment.
46878 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46881         Use ZK to minimize writes to Z.
46882         (sub_magnitudes): Simplify code a bit.
46883         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46884         Use ZK to minimize writes to Z.
46885         (sub_magnitudes): Simplify code a bit.
46887 2013-02-27  Roland McGrath  <roland@hack.frob.com>
46889         * csu/gmon-start.c: Add special exception to license text.
46891 2013-02-27  Richard Henderson  <rth@redhat.com>
46893         * scripts/config.guess: Update from config.git.
46894         * scripts/config.sub: Likewise.
46896 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46898         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46900         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46902         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46904         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46906         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46908 2013-02-26  Roland McGrath  <roland@hack.frob.com>
46910         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46911         [$(build-shared = yes].
46913 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46915         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46916         (__mul): Reduce iterations for calculating mantissa.
46918         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46919         MPTWO.
46920         (__mpranred): Likewise.
46922         [BZ #15160]
46923         * malloc/memusagestat.c (main): Draw graphs for heap and stack
46924         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46926 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
46928         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46929         Define __attribute__.
46931 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46933         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46934         unused.
46935         * posix/regex_internal.h (__attribute): Remove.
46936         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46937         (re_string_context_at): Likewise.
46938         (bitset_not): Use __attribute__ and mark function as possibly
46939         unused.
46940         (bitset_merge): Likewise.
46941         (bitset_mask): Likewise.
46942         (re_string_char_size_at): Likewise.
46943         (re_string_wchar_at): Likewise.
46944         (re_string_elem_size_at): Likewise.
46946 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46948         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46949         code.
46950         (cc32): Likewise.
46952         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46953         (__acr): Likewise.
46954         (__cpy): Likewise.
46955         (norm): Likewise.
46956         (denorm): Likewise.
46957         (__dbl_mp): Likewise.
46958         (add_magnitudes): Likewise.
46959         (sub_magnitudes): Likewise.
46960         (__mul): Likewise.
46961         (__inv): Likewise.
46963         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46964         style.
46966         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46967         style.
46969         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46970         code.
46972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46973         up changes with default code.
46974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46975         Likewise.
46977 2013-02-24  Allan McRae  <allan@archlinux.org>
46979         * manual/socket.texi (The Internet Namespace): Order menu items
46980         to match that in the file.
46982         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46983         node listing of the info page menu.
46985 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46987         [BZ #13550]
46988         * sysdeps/i386/bp-asm.h: Remove file.
46989         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46990         (PARMS): Do not use macros from bp-asm.h.
46991         (S1): Likewise.
46992         (S2): Likewise.
46993         (SIZE): Likewise.
46994         (__mpn_add_n): Do not use BP_SYM
46995         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46996         "bp-asm.h".
46997         (PARMS): Do not use macros from bp-asm.h.
46998         (S1): Likewise.
46999         (SIZE): Likewise.
47000         (__mpn_addmul_1): Do not use BP_SYM
47001         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47002         "bp-asm.h".
47003         (PARMS): Do not use macros from bp-asm.h.
47004         (SIGMSK): Likewise.
47005         (_setjmp): Likewise.  Do not use BP_SYM.
47006         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47007         "bp-asm.h".
47008         (PARMS): Do not use macros from bp-asm.h.
47009         (SIGMSK): Likewise.
47010         (setjmp): Likewise.  Do not use BP_SYM.
47011         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47012         "bp-asm.h".
47013         (PARMS): Do not use macros from bp-asm.h.
47014         (__frexp): Do not use BP_SYM.
47015         (frexp): Likewise.
47016         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47017         "bp-asm.h".
47018         (PARMS): Do not use macros from bp-asm.h.
47019         (__frexpf): Do not use BP_SYM.
47020         (frexpf): Likewise.
47021         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47022         "bp-asm.h".
47023         (PARMS): Do not use macros from bp-asm.h.
47024         (__frexpl): Do not use BP_SYM.
47025         (frexpl): Likewise.
47026         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47027         "bp-asm.h".
47028         (PARMS): Do not use macros from bp-asm.h.
47029         (__remquo): Do not use BP_SYM.
47030         (remquo): Likewise.
47031         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47032         "bp-asm.h".
47033         (PARMS): Do not use macros from bp-asm.h.
47034         (__remquof): Do not use BP_SYM.
47035         (remquof): Likewise.
47036         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47037         "bp-asm.h".
47038         (PARMS): Do not use macros from bp-asm.h.
47039         (__remquol): Do not use BP_SYM.
47040         (remquol): Likewise.
47041         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47042         "bp-asm.h".
47043         (PARMS): Do not use macros from bp-asm.h.
47044         (DEST): Likewise.
47045         (SRC): Likewise.
47046         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
47047         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47048         "bp-asm.h".
47049         (PARMS): Do not use macros from bp-asm.h.
47050         (strlen): Do not use BP_SYM.
47051         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47052         "bp-asm.h".
47053         (PARMS): Do not use macros from bp-asm.h.
47054         (S1): Likewise.
47055         (S2): Likewise.
47056         (SIZE): Likewise.
47057         (__mpn_add_n): Do not use BP_SYM.
47058         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47059         "bp-asm.h".
47060         (PARMS): Do not use macros from bp-asm.h.
47061         (S1): Likewise.
47062         (SIZE): Likewise.
47063         (__mpn_addmul_1): Do not use BP_SYM.
47064         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47065         weak_alias.
47066         (bzero): Likewise.
47067         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47068         "bp-asm.h".
47069         (PARMS): Do not use macros from bp-asm.h.
47070         (S): Likewise.
47071         (SIZE): Likewise.
47072         (__mpn_lshift): Do not use BP_SYM.
47073         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47074         "bp-asm.h".
47075         (PARMS): Do not use macros from bp-asm.h.
47076         (DEST): Likewise.
47077         (SRC): Likewise.
47078         (LEN): Likewise.
47079         (memcpy): Likewise.  Do not use BP_SYM.
47080         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47081         libc_hidden_def and weak_alias.
47082         (mempcpy): Do not use BP_SYM in weak_alias.
47083         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47084         "bp-asm.h".
47085         (PARMS): Do not use macros from bp-asm.h.
47086         (DEST): Likewise.
47087         (LEN): Likewise.
47088         [!BZERO_P] (CHR): Likewise.
47089         (memset): Likewise.  Do not use BP_SYM.
47090         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47091         "bp-asm.h".
47092         (PARMS): Do not use macros from bp-asm.h.
47093         (S1): Likewise.
47094         (SIZE): Likewise.
47095         (__mpn_mul_1): Do not use BP_SYM.
47096         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47097         "bp-asm.h".
47098         (PARMS): Do not use macros from bp-asm.h.
47099         (S): Likewise.
47100         (SIZE): Likewise.
47101         (__mpn_rshift): Do not use BP_SYM.
47102         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47103         "bp-asm.h".
47104         (PARMS): Do not use macros from bp-asm.h.
47105         (STR): Likewise.
47106         (CHR): Likewise.
47107         (strchr): Likewise.  Do not use BP_SYM.
47108         (index): Do not use BP_SYM in weak_alias.
47109         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47110         "bp-asm.h".
47111         (PARMS): Do not use macros from bp-asm.h.
47112         (DEST): Likewise.
47113         (SRC): Likewise.
47114         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
47115         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47116         "bp-asm.h".
47117         (PARMS): Do not use macros from bp-asm.h.
47118         (strlen): Do not use BP_SYM.
47119         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47120         "bp-asm.h".
47121         (PARMS): Do not use macros from bp-asm.h.
47122         (S1): Likewise.
47123         (S2): Likewise.
47124         (SIZE): Likewise.
47125         (__mpn_sub_n): Do not use BP_SYM.
47126         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47127         "bp-asm.h".
47128         (PARMS): Do not use macros from bp-asm.h.
47129         (S1): Likewise.
47130         (SIZE): Likewise.
47131         (__mpn_submul_1): Do not use BP_SYM.
47132         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47133         "bp-asm.h".
47134         (PARMS): Do not use macros from bp-asm.h.
47135         (S1): Likewise.
47136         (S2): Likewise.
47137         (SIZE): Likewise.
47138         (__mpn_add_n): Do not use BP_SYM.
47139         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47140         weak_alias.
47141         (bzero): Likewise.
47142         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47143         "bp-asm.h".
47144         (PARMS): Do not use macros from bp-asm.h.
47145         (BLK2): Likewise.
47146         (LEN): Likewise.
47147         (memcmp): Do not use BP_SYM.
47148         (bcmp): Do not use BP_SYM in weak_alias.
47149         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47150         "bp-asm.h".
47151         (PARMS): Do not use macros from bp-asm.h.
47152         (DEST): Likewise.
47153         (SRC): Likewise.
47154         (LEN): Likewise.
47155         (memcpy): Likewise.  Do not use BP_SYM.
47156         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47157         "bp-asm.h".
47158         (PARMS): Do not use macros from bp-asm.h.
47159         (DEST): Likewise.
47160         (SRC): Likewise.
47161         (LEN): Likewise.
47162         (memmove): Likewise.  Do not use BP_SYM.
47163         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47164         "bp-asm.h".
47165         (PARMS): Do not use macros from bp-asm.h.
47166         (DEST): Likewise.
47167         (SRC): Likewise.
47168         (LEN): Likewise.
47169         (__mempcpy): Likewise.  Do not use BP_SYM.
47170         (mempcpy): Do not use BP_SYM in weak_alias.
47171         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47172         "bp-asm.h".
47173         (PARMS): Do not use macros from bp-asm.h.
47174         (DEST): Likewise.
47175         (LEN): Likewise.
47176         [!BZERO_P] (CHR): Likewise.
47177         (memset): Likewise.  Do not use BP_SYM.
47178         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47179         "bp-asm.h".
47180         (PARMS): Do not use macros from bp-asm.h.
47181         (STR2): Likewise.
47182         (strcmp): Do not use BP_SYM.
47183         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47184         "bp-asm.h".
47185         (PARMS): Do not use macros from bp-asm.h.
47186         (STR): Likewise.
47187         (DELIM): Likewise.
47188         [USE_AS_STRTOK_R] (SAVE): Likewise.
47189         (FUNCTION): Likewise.  Do not use BP_SYM.
47190         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47191         aliases.
47192         (strtok_r): Likewise.
47193         (__GI___strtok_r): Likewise.
47194         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47195         (PARMS): Do not use macros from bp-asm.h.
47196         (S): Likewise.
47197         (SIZE): Likewise.
47198         (__mpn_lshift): Do not use BP_SYM.
47199         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47200         (PARMS): Do not use macros from bp-asm.h.
47201         (STR): Likewise.
47202         (CHR): Likewise.
47203         (__memchr): Do not use BP_SYM.
47204         (memchr): Do not use BP_SYM in weak_alias.
47205         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47206         (PARMS): Do not use macros from bp-asm.h.
47207         (BLK2): Likewise.
47208         (LEN): Likewise.
47209         (memcmp): Do not use BP_SYM.
47210         (bcmp): Do not use BP_SYM in weak_alias.
47211         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47212         (PARMS): Do not use macros from bp-asm.h.
47213         (S1): Likewise.
47214         (SIZE): Likewise.
47215         (__mpn_mul_1): Do not use BP_SYM.
47216         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47217         "bp-asm.h".
47218         (PARMS): Do not use macros from bp-asm.h.
47219         (STR): Likewise.
47220         (CHR): Likewise.
47221         (__rawmemchr): Do not use BP_SYM.
47222         (rawmemchr): Do not use BP_SYM in weak_alias.
47223         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47224         (PARMS): Do not use macros from bp-asm.h.
47225         (S): Likewise.
47226         (SIZE): Likewise.
47227         (__mpn_rshift): Do not use BP_SYM.
47228         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47229         (PARMS): Do not use macros from bp-asm.h.
47230         (SIGMSK): Likewise.
47231         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47232         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47233         (_start): Do not use BP_SYM.
47234         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47235         (PARMS): Do not use macros from bp-asm.h.
47236         (DEST): Likewise.
47237         (SRC): Likewise.
47238         (__stpcpy): Likewise.  Do not use BP_SYM.
47239         (stpcpy): Do not use BP_SYM in weak_alias.
47240         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47241         "bp-asm.h".
47242         (PARMS): Do not use macros from bp-asm.h.
47243         (DEST): Likewise.
47244         (SRC): Likewise.
47245         (LEN): Likewise.
47246         (__stpncpy): Likewise.  Do not use BP_SYM.
47247         (stpncpy): Do not use BP_SYM in weak_alias.
47248         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47249         (PARMS): Do not use macros from bp-asm.h.
47250         (STR): Likewise.
47251         (CHR): Likewise.
47252         (strchr): Likewise.  Do not use BP_SYM.
47253         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47254         "bp-asm.h".
47255         (PARMS): Do not use macros from bp-asm.h.
47256         (STR): Likewise.
47257         (CHR): Likewise.
47258         (__strchrnul): Likewise.  Do not use BP_SYM.
47259         (strchrnul): Do not use BP_SYM in weak_alias.
47260         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47261         "bp-asm.h".
47262         (PARMS): Do not use macros from bp-asm.h.
47263         (STOP): Likewise.
47264         (strcspn): Do not use BP_SYM.
47265         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47266         "bp-asm.h".
47267         (PARMS): Do not use macros from bp-asm.h.
47268         (STR): Likewise.
47269         (STOP): Likewise.
47270         (strpbrk): Likewise.  Do not use BP_SYM.
47271         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47272         "bp-asm.h".
47273         (PARMS): Do not use macros from bp-asm.h.
47274         (STR): Likewise.
47275         (CHR): Likewise.
47276         (strrchr): Likewise.  Do not use BP_SYM.
47277         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47278         (PARMS): Do not use macros from bp-asm.h.
47279         (SKIP): Likewise.
47280         (strspn): Do not use BP_SYM.
47281         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47282         (PARMS): Do not use macros from bp-asm.h.
47283         (STR): Likewise.
47284         (DELIM): Likewise.
47285         (SAVE): Likewise.
47286         (FUNCTION): Likewise.  Do not use BP_SYM.
47287         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47288         aliases.
47289         (strtok_r): Likewise.
47290         (__GI___strtok_r): Likewise.
47291         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47292         (PARMS): Do not use macros from bp-asm.h.
47293         (S1): Likewise.
47294         (S2): Likewise.
47295         (SIZE): Likewise.
47296         (__mpn_sub_n): Do not use BP_SYM.
47297         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47298         "bp-asm.h".
47299         (PARMS): Do not use macros from bp-asm.h.
47300         (S1): Likewise.
47301         (SIZE): Likewise.
47302         (__mpn_submul_1): Do not use BP_SYM.
47303         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47304         <bp-sym.h>.
47305         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47306         and <bp-asm.h>.
47307         (PARMS): Do not use macros from bp-asm.h.
47308         (FLAGS): Likewise.
47309         (PTID): Likewise.
47310         (TLS): Likewise.
47311         (CTID): Likewise.
47312         (__clone): Do not use BP_SYM.
47313         (clone): Do not use BP_SYM in weak_alias.
47314         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47315         and <bp-asm.h>.
47316         (PARMS): Do not use macros from bp-asm.h.
47317         (LEN): Likewise.
47318         (__mmap64): Do not use BP_SYM.
47319         (mmap64): Do not use BP_SYM in weak_alias.
47320         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47321         <bp-sym.h> and <bp-asm.h>.
47322         (PARMS): Do not use macros from bp-asm.h.
47323         (__posix_fadvise64_l64): Do not use BP_SYM.
47324         * sysdeps/unix/sysv/linux/i386/semtimedop.S
47325         (PARMS): Do not use macros from bp-asm.h.
47326         (NSOPS): Likewise.
47327         (semtimedop): Do not use BP_SYM.
47328         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47329         and <bp-asm.h>.
47331 2013-02-21  Allan McRae  <allan@archlinux.org>
47333         * manual/message.texi (Charset conversion in gettext):
47334         Move @end statement to beginning of line.
47336 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47339         static.
47340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47341         Likewise.
47343         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47344         (denorm): Likewise.
47345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47348 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47350         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47351         tail-call to the resolved function if pltexit isn't needed.
47353 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47356         or Y being zero as being unlikely.
47357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47358         Likewise.
47360 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
47362         * manual/nss.texi (System Databases and Name Service Switch):
47363         Remove frobnicate @pxref.
47365 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47367         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47368         __attribute__ ((unused)) to __attribute__ ((__unused__)).
47370 2013-02-20  Petr Machata  <pmachata@redhat.com>
47372         * elf/elf.h (R_ARM_TARGET1): New macro.
47373         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47374         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47375         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47376         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47377         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47378         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47379         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47380         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47381         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47382         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47383         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47384         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47385         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47386         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47387         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47388         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47389         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47390         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47391         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47392         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47393         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47394         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47395         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47396         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47397         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47398         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47399         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47400         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47401         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47402         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47403         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47404         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47405         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47406         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47407         (R_ARM_THM_GOT_BREL12): Likewise.
47408         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47409         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47410         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47411         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47412         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47413         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47414         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47415         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47416         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47418 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47420         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47421         __attribute_used__ to __attribute__ ((unused)).
47423 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47425         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47426         powerpc mpa.c.
47427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47428         comment formatting.
47429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47431 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47433         [BZ #13550]
47434         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47435         Remove macro.
47436         (ENTER): Remove both macro definitions.
47437         (LEAVE): Likewise.
47438         (CHECK_BOUNDS_LOW): Likewise.
47439         (CHECK_BOUNDS_HIGH): Likewise.
47440         (CHECK_BOUNDS_BOTH): Likewise.
47441         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47442         (RETURN_BOUNDED_POINTER): Likewise.
47443         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47444         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47445         (POP_ERRNO_LOCATION_RETURN): Likewise.
47446         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47447         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47448         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47449         macros.
47450         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47451         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47452         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47453         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47454         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47455         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47456         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47457         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47458         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47459         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47460         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47461         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47462         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47463         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47464         removed macros.
47465         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47466         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47467         macros.
47468         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47469         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47470         * sysdeps/i386/i586/memset.S (memset): Likewise.
47471         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47472         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47473         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47474         macros.
47475         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47476         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47477         Change uses of L(2) to L(out).
47478         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47479         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47480         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47481         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47482         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47483         removed macros.
47484         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47485         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47486         macros.
47487         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47488         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47489         (RETURN): Do not use macro LEAVE.
47490         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47491         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47492         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47493         * sysdeps/i386/i686/memset.S (memset): Likewise.
47494         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47495         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47496         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47497         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47498         Likewise.
47499         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47500         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47501         L(1_2) and L(1_3) into L(1).
47502         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47503         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47504         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47505         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47506         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47507         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47508         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47509         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47510         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47511         macros.
47512         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47513         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47514         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47515         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47516         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47517         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47518         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47519         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47520         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47521         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47522         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47523         * sysdeps/i386/strspn.S (strspn): Likewise.
47524         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47525         conditional code.
47526         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47527         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47528         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47529         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47530         L(1_3) into L(1_1).
47531         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47532         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47533         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47534         macros.
47535         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47537 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47539         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47540         macro.
47542 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47544         * math/atest-exp.c (exp_mpn): Remove ROUND.
47545         * math/atest-exp2.c (exp_mpn): Likewise.
47546         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47548         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47549         * stdlib/tst-tls-atexit-lib.c: Likewise.
47550         * stdlib/tst-tls-atexit.c: Likewise.
47552 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47554         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47555         and __attribute_alloc_size__.
47557 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47559         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47560         __attribute_alloc_size__.
47561         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47562         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47564 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47566         * include/programs/xmalloc.h: New file.
47567         * catgets/gencat.c: Include it.
47568         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47569         * elf/pldd.c: Likewise.
47570         * iconv/iconv_charmap.c: Likewise.
47571         * iconv/iconvconfig.c: Likewise.
47572         * iconv/strtab.c: Likewise.
47573         * locale/programs/locale.c: Likewise.
47574         * locale/programs/localedef.h: Likewise.
47575         * locale/programs/simple-hash.c: Likewise.
47576         * nscd/nscd.h: Likewise.
47577         * nss/makedb.c: Likewise.
47578         * sysdeps/generic/ldconfig.h: Likewise.
47580 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47582         * Versions.def: Add GLIBC_2.18.
47583         * include/link.h (struct link_map): New member l_tls_dtor_count.
47584         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47585         (__call_tls_dtors): Likewise.
47586         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47587         __cxa_thread_atexit_impl.
47588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47589         Likewise.
47590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47591         Likewise.
47592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47593         Likewise.
47594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47595         Likewise.
47596         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47598         Likewise.
47599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47600         Likewise.
47601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47603         Likewise.
47604         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47605         (tests): Add test case tst-tls-atexit.
47606         (modules-names): Add shared library for tst-tls-atexit.
47607         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47608         (GLIBC_PRIVATE): Add __call_tls_dtors.
47609         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47610         for libstdc++.
47611         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47612         * stdlib/tst-tls-atexit.c: New test case.
47613         * stdlib/tst-tls-atexit-lib.c: New test case.
47615         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47617         * elf/Versions (ld): Add _dl_find_dso_for_object.
47618         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47619         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47620         (dl_open_worker): Use _dl_find_dso_for_object.
47621         * elf/dl-sym.c (do_sym): Likewise.
47622         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47624 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47626         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47627         Syntactic changes only.
47628         (_dl_runtime_profile): Do a tail-call to the resolved function.
47630 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47632         [BZ #13550]
47633         * sysdeps/x86_64/bp-asm.h: Remove file.
47634         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47635         <bp-sym.h> and <bp-asm.h>.
47636         (__clone): Do not use BP_SYM.
47637         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47638         <bp-sym.h> and <bp-asm.h>.
47639         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47640         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47641         "bp-asm.h".
47642         (_setjmp): Do not use BP_SYM.
47643         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47644         "bp-asm.h".
47645         (setjmp): Do not use BP_SYM.
47646         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47647         libc_hidden_def.
47648         (mempcpy): Do not use BP_SYM in weak_alias.
47649         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47650         "bp-asm.h".
47651         (strchr): Do not use BP_SYM.
47652         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47653         "bp-asm.h".
47654         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47655         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47656         (_start): Do not use BP_SYM.
47657         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47658         "bp-asm.h".
47659         (strcat): Do not use BP_SYM.
47660         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47661         "bp-asm.h".
47662         (STRCMP): Do not use BP_SYM.
47663         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47664         "bp-asm.h".
47665         (STRCPY): Do not use BP_SYM.
47666         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47667         "bp-asm.h".
47668         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47669         "bp-asm.h".
47670         (FUNCTION): Do not use BP_SYM.
47671         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47672         weak_alias.
47673         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47675 2013-02-17  Andreas Jaeger  <aj@suse.de>
47677         * time/Versions: Sort entries.
47678         * string/Versions: Likewise.
47679         * resolv/Versions: Likewise.
47680         * posix/Versions: Likewise.
47681         * iconv/Versions: Likewise.
47682         * elf/Versions: Likewise.
47683         * wcsmbs/Versions: Likewise.
47685 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47687         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47688         loop termination condition.
47690         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47691         variable to calculate EZ.
47692         (__sqr): Likewise.
47694         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47695         the lower precision input.
47697 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47699         [BZ #13550]
47700         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47701         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47702         (run-via-rtld-prefix): Do not handle %-bp tests.
47703         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47704         (all-object-suffixes): Remove .ob.
47705         (bppfx): Remove variable.
47706         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47707         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47708         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47709         [$(build-bounded) = yes] (libtype.ob): Likewise.
47710         * Makerules (elide-routines.ob): Remove variable.
47711         (do-tests-clean): Do not handle *-bp.out.
47712         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47713         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47714         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47715         (tests): Do not include $(tests-bp.out).
47716         (xtests): Do not include $(xtests-bp.out).
47717         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47718         [$(build-bounded) = yes] ($(addprefix
47719         $(objpfx),$(binaries-bounded))): Remove rule.
47720         ($(objpfx)%-bp.out): Remove rule.
47721         * config.make.in (build-bounded): Remove variable.
47722         * crypt/Makefile [$(build-bounded) = yes]
47723         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47724         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47725         append to variable.
47726         [$(build-bounded) = yes] (install-lib): Likewise.
47727         [$(build-bounded) = yes] (generated): Likewise.
47728         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47729         Remove rule.
47730         * intl/Makefile [$(build-bounded) = yes]
47731         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47732         * math/Makefile [$(build-bounded) = yes]
47733         ($(tests:%=$(objpfx)%-bp): Likewise.
47734         * misc/Makefile [$(build-bounded) = yes]
47735         ($(objpfx)tst-tsearch-bp): Likewise.
47736         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47737         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47738         Remove dependency.
47739         * string/Makefile (o-objects.ob): Remove variable.
47740         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47741         (CFLAGS-.ob): Remove variable.
47742         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47743         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47744         both definitions of variable.
47745         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47746         (ASFLAGS-.ob): Remove variable.
47748 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47750         [BZ #13550]
47751         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47752         Remove __BOUNDED_POINTERS__ from condition.
47753         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47754         * string/bits/string2.h [!__NO_STRING_INLINES &&
47755         !__BOUNDED_POINTERS__]: Likewise.
47756         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47757         Likewise.
47758         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47759         Remove conditional code.
47760         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47761         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47762         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47763         condition.
47765         [BZ #13550]
47766         * csu/libc-start.c: Do not include <bp-sym.h>.
47767         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47768         * elf/dl-open.c: Do not include <bp-sym.h>.
47769         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47770         * math/fegetenv.c: Do not include <bp-sym.h>.
47771         (fegetenv): Do not use BP_SYM in versioned symbols.
47772         * nptl/sysdeps/pthread/bits/libc-lockP.h
47773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47774         <bp-sym.h>.
47775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47776         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47778         (__pthread_mutex_destroy): Likewise.
47779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47780         (__pthread_mutex_lock): Likewise.
47781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47782         (__pthread_mutex_trylock): Likewise.
47783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47784         (__pthread_mutex_unlock): Likewise.
47785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47786         (__pthread_mutexattr_init): Likewise.
47787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47788         (__pthread_mutexattr_destroy): Likewise.
47789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47790         (__pthread_mutexattr_settype): Likewise.
47791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47792         (__pthread_rwlock_init): Likewise.
47793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47794         (__pthread_rwlock_destroy): Likewise.
47795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47796         (__pthread_rwlock_rdlock): Likewise.
47797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47798         (__pthread_rwlock_tryrdlock): Likewise.
47799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47800         (__pthread_rwlock_wrlock): Likewise.
47801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47802         (__pthread_rwlock_trywrlock): Likewise.
47803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47804         (__pthread_rwlock_unlock): Likewise.
47805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47806         (__pthread_key_create): Likewise.
47807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47808         (__pthread_setspecific): Likewise.
47809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47810         (__pthread_getspecific): Likewise.
47811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47812         Likewise.
47813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47814         (_pthread_cleanup_push_defer): Likewise.
47815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47816         (_pthread_cleanup_pop_restore): Likewise.
47817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47818         (pthread_setcancelstate): Likewise.
47819         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47820         <bp-sym.h>.
47821         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47822         (memchr): Do not use BP_SYM in weak_alias.
47823         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47824         (fegetenv): Do not use BP_SYM in versioned symbols.
47825         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47826         (fesetenv): Do not use BP_SYM in versioned symbols.
47827         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47828         (feupdateenv): Do not use BP_SYM in versioned symbols.
47829         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47830         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47831         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47832         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47833         (open64): Do not use BP_SYM in weak_alias.
47834         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47835         (fegetenv): Do not use BP_SYM in versioned symbols.
47836         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47837         (fesetenv): Do not use BP_SYM in versioned symbols.
47838         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47839         (feupdateenv): Do not use BP_SYM in versioned symbols.
47840         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47841         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47842         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47843         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47844         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47845         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47846         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47847         <bp-sym.h>.
47848         (__libc_start_main): Do not use BP_SYM.
47850 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47853         redundant return line.
47854         (norm): Likewise.
47855         (denorm): Likewise.
47856         (dbl_mp): Likewise.
47857         (sub_magnitudes): Likewise.
47858         (__add): Likewise.
47859         (__sub): Likewise.
47860         (__mul): Likewise.
47861         (__inv): Likewise.
47862         (__dvd): Likewise.
47863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47864         (norm): Likewise.
47865         (denorm): Likewise.
47866         (dbl_mp): Likewise.
47867         (sub_magnitudes): Likewise.
47868         (__add): Likewise.
47869         (__sub): Likewise.
47870         (__mul): Likewise.
47871         (__inv): Likewise.
47872         (__dvd): Likewise.
47874         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47875         instead of __mul.
47876         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47877         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47878         (cc32): Likewise.
47880         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47881         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47882         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47883         of __mul for squares.
47884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47885         function
47886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47887         Likewise.
47888         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47889         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47891 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
47893         [BZ #13550]
47894         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47895         code.
47896         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47897         prototype or function definition.  Rename ubp_* variables and
47898         parameters.  Remove argv definitions conditional on
47899         [__BOUNDED_POINTERS__].
47900         * debug/backtrace.c (__backtrace): Do not use __unbounded.
47901         * elf/dl-runtime.c (_dl_fixup): Likewise.
47902         * include/set-hooks.h (RUN_HOOK): Likewise.
47903         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47904         definition.
47905         * string/strcpy.c (strcpy): Do not use __unbounded.
47906         * sysdeps/generic/frame.h (struct layout): Likewise.
47907         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47908         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47909         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47910         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47911         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47912         (__backtrace): Likewise.
47913         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47914         use __ptrvalue.
47915         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47916         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47917         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47918         Likewise.
47919         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47920         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47921         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47922         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47923         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47924         Do not use __unbounded.
47925         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47926         Rename __unboundedrlimits parameter to rlimits in prototype.
47927         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47928         Do not use __unbounded.
47929         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47930         not use __ptrvalue.
47931         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47932         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47933         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47934         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47935         __ptrvalue or __unbounded.
47936         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47937         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47938         use __unbounded.
47939         (__new_msgctl): Do not use __ptrvalue.
47940         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47941         __unbounded.
47942         (__libc_msgrcv): Do not use __ptrvalue.
47943         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47944         startup_info): Do not use __unbounded.
47945         (__libc_start_main): Likewise.  Rename ubp_* variables and
47946         parameters.  Remove argv definitions conditional on
47947         [__BOUNDED_POINTERS__].
47948         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47949         __ptrvalue.
47950         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47951         use __unbounded.
47952         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47953         or __ptrvalue.
47954         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47955         use __unbounded.
47956         (__new_shmctl): Do not use __ptrvalue.
47957         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47958         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47959         Likewise.
47960         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47961         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47962         (__libc_sigaction): Likewise.
47963         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47964         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47965         Likewise.
47966         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47968 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
47970         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47972         * string/mempcpy.c: Implement by calling memcpy.
47974 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47978         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47979         evaluation.
47981         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47982         values in the mantissa.
47984         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47985         minimize writes to Z.
47986         (sub_magnitudes): Simplify code a bit.
47988 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47990         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47991         from the message.  The linker prefixes all warnings with that already.
47993 2013-02-12  Andreas Schwab  <schwab@suse.de>
47995         [BZ #15078]
47996         * posix/regexec.c (extend_buffers): Add parameter min_len.
47997         (check_matching): Pass minimum needed length.
47998         (clean_state_log_if_needed): Likewise.
47999         (get_subexp): Likewise.
48000         * posix/Makefile (tests): Add bug-regex34.
48001         (bug-regex34-ENV): Define.
48002         * posix/bug-regex34.c: New file.
48004         [BZ #11561]
48005         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48006         elements compare against the byte sequence of it, not its name.
48007         * posix/Makefile (tests): Add bug-regex35.
48008         (bug-regex35-ENV): Define.
48009         * posix/bug-regex35.c: New file.
48011 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48013         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
48014         comment.
48015         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48016         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48017         (CHECK_EOL): Add undef.
48019 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
48021         * bits/stdlib-bsearch.h: New file.
48022         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48023         * stdlib/stdlib.h: Likewise.
48025 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48027         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48028         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48029         declaration.
48030         * manual/search.texi (Array Search Function): Add missing const in
48031         lfind prototype.
48032         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48033         declaration to use rlim_t.
48034         (Basic Scheduling Functions): Remove erroneous const from
48035         sched_getparam prototype.  Remove erroneous * from
48036         sched_get_priority_max and sched_get_priority_min prototypes.
48037         (Resource Usage): Fix summary @comment on vtimes to refer to
48038         sys/vtimes.h rather than vtimes.h.
48039         Add missing *s in vtimes prototype.
48040         (Limits on Resources): Fix ulimit prototype to return long int.
48041         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48042         prototypes to use long int rather than double.
48043         (BSD Random): Fix initstate and setstate to use char *, not void *.
48044         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48045         prototype to make second argument 'struct aiocb64 *const[]'.
48046         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48047         (Status of AIO Operations): Remove erroneous const in aio_return and
48048         aio_return64 prototypes.
48049         (Synchronizing I/O): Fix sync prototype to return void.
48050         * manual/startup.texi (Suboptions): Remove an erroneous const in
48051         getsubopt prototype.
48052         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48053         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48054         use size_t rather than int.
48055         (Scanning All Users): Likewise for getpwent_r.
48056         (Setting Groups): Add missing const to setgroups prototype.
48057         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48058         * manual/socket.texi (Host Names): Fix gethostbyaddr and
48059         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48060         'const void *' rather than 'const char *'.
48061         (Host Address Functions): Likewise for inet_ntop.
48062         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48063         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48064         ssize_t for return value.
48065         (Sending Data): Likewise for send, sendto, sendmsg.
48066         (Socket Option Functions): Add a missing const in setsockopt prototype.
48067         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48068         use wchar_t for the argument.
48069         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48070         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48071         take no arguments.
48072         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48073         double/float/long double for second argument.
48074         Fix return types of significand, significandf, significandl.
48075         * manual/filesys.texi (Setting Permissions): Use mode_t for second
48076         argument in fchmod prototype.
48077         (File Owner): Use uid_t and gid_t in fchown prototype.
48078         (File Times): Add const to utimes, futimes, and lutimes prototypes.
48079         (Making Special Files): Use mode_t and dev_t in mknod prototype.
48080         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48081         use 'const struct dirent **' as argument types to CMP function pointer
48082         argument.
48083         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48084         (File Times): Fix summary magic @comment for struct utimbuf and utime
48085         to refer to utime.h, not time.h.
48086         * manual/string.texi (Argz Functions): Add missing const in
48087         argz_extract and argz_next prototypes.
48088         (Finding Tokens in a String): Likewise for basename.
48089         (String/Array Comparison): Fix typo in wcscasecmp prototype.
48090         (Copying and Concatenation): Fix typo in wmemmove prototype.
48091         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48092         (Signal Stack): Remove erroneous const in sigstack prototype.
48093         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48094         prototype.
48095         (Simple Calendar Time): Likewise for stime.
48096         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48097         prototype.
48098         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48099         say sys/sysctl.h instead.
48100         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48101         and vsyslog prototypes.
48103 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48105         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48106         Remove.
48108 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48110         * misc/sys/mman.h: Fix typo in mremap comment.
48112 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48114         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48115         the '\0' terminator.
48117 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48119         [BZ #13550]
48120         * debug/segfault.c: Don't include <bp-checks.h>.
48121         * sysdeps/generic/bp-checks.h: Remove file.
48122         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48123         (__GETDENTS): Don't use CHECK_N.
48124         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48125         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48126         (__getgroups): Don't use CHECK_N.
48127         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48128         (setgroups): Don't use CHECK_N.
48129         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48130         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48131         (__libc_msgrcv): Don't use CHECK_N.
48132         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48133         (__libc_msgsnd): Don't use CHECK_N.
48134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48135         <bp-checks.h>.
48136         (__libc_pread): Don't use CHECK_N.
48137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48138         include <bp-checks.h>.
48139         (__libc_pread64): Don't use CHECK_N.
48140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48141         include <bp-checks.h>.
48142         (__libc_pwrite): Don't use CHECK_N.
48143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48144         include <bp-checks.h>.
48145         (__libc_pwrite64): Don't use CHECK_N.
48146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48147         <bp-checks.h>.
48148         (__libc_pread): Don't use CHECK_N.
48149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48150         include <bp-checks.h>.
48151         (__libc_pread64): Don't use CHECK_N.
48152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48153         include <bp-checks.h>.
48154         (__libc_pwrite): Don't use CHECK_N.
48155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48156         include <bp-checks.h>.
48157         (__libc_pwrite64): Don't use CHECK_N.
48158         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48159         (do_pread): Don't use CHECK_N.
48160         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48161         (do_pread64): Don't use CHECK_N.
48162         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48163         (do_pwrite): Don't use CHECK_N.
48164         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48165         (do_pwrite64): Don't use CHECK_N.
48166         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48167         (__libc_readv): Don't use CHECK_N.
48168         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48169         (semop): Don't use CHECK_N.
48170         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48171         <bp-checks.h>.
48172         (semtimedop): Don't use CHECK_N.
48173         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48174         (__libc_pread): Don't use CHECK_N.
48175         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48176         <bp-checks.h>.
48177         (__libc_pread64): Don't use CHECK_N.
48178         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48179         <bp-checks.h>.
48180         (__libc_pwrite): Don't use CHECK_N.
48181         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48182         <bp-checks.h>.
48183         (__libc_pwrite64): Don't use CHECK_N.
48184         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48185         <bp-checks.h>.
48186         (__libc_msgrcv): Don't use CHECK_N.
48187         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48188         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48189         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48190         (__libc_writev): Don't use CHECK_N.
48192 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48194         * string/strcpy.c: Removed unused variable.
48196         * Makeconfig (+sysdep-includes): Define with := rather than =.
48197         Use an existing include/ subdir of each sysdeps dir before it.
48199 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48201         * nscd/connection.c (register_traced_file): Comment function.
48202         [HAVE_INOTIFY] (union __inev): Define.
48203         [HAVE_INOTIFY] (inotify_check_files): New function.
48204         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48205         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48206         clear_db_cache.
48207         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48209 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48211         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48212         loaded if not already and that a failure is permanent.
48214 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48216         [BZ #15006]
48217         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48218         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48220 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48222         [BZ #13550]
48223         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48224         (CHECK_1_NULL_OK): Likewise.
48225         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48226         (__fxstat): Do not use CHECK_1.
48227         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48228         <bp-checks.h>.
48229         (___fxstat64): Do not use CHECK_1.
48230         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48231         <bp-checks.h>.
48232         (__fxstatat): Do not use CHECK_1.
48233         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48234         <bp-checks.h>.
48235         (__fxstatat64): Do not use CHECK_1.
48236         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48237         <bp-checks.h>.
48238         (__fxstat): Do not use CHECK_1.
48239         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48240         <bp-checks.h>.
48241         (__fxstatat): Do not use CHECK_1.
48242         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48243         <bp-checks.h>.
48244         (__getresgid): Do not use CHECK_1.
48245         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48246         <bp-checks.h>.
48247         (__getresuid): Do not use CHECK_1.
48248         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48249         <bp-checks.h>.
48250         (__lxstat): Do not use CHECK_1.
48251         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48252         <bp-checks.h>.
48253         (__old_msgctl): Do not use CHECK_1.
48254         (__new_msgctl): Likewise.
48255         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48256         <bp-checks.h>.
48257         (__new_setrlimit): Do not use CHECK_1.
48258         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48259         <bp-checks.h>.
48260         (__old_shmctl): Do not use CHECK_1.
48261         (__new_shmctl): Likewise.
48262         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48263         <bp-checks.h>.
48264         (__xstat): Do not use CHECK_1.
48265         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48266         (__lxstat): Do not use CHECK_1.
48267         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48268         <bp-checks.h>.
48269         (___lxstat64): Do not use CHECK_1.
48270         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48271         (__old_msgctl): Do not use CHECK_1.
48272         (__new_msgctl): Likewise.
48273         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48274         <bp-checks.h>.
48275         (__gettimeofday): Do not use CHECK_1.
48276         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48277         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48278         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48279         <bp-checks.h>.
48280         (__gettimeofday): Do not use CHECK_1.
48281         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48282         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48283         (__new_shmctl): Do not use CHECK_1.
48284         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48285         <bp-checks.h>.
48286         (do_sigtimedwait): Do not use CHECK_1.
48287         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48288         <bp-checks.h>.
48289         (do_sigwaitinfo): Do not use CHECK_1.
48290         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48291         <bp-checks.h>.
48292         (msgctl): Do not use CHECK_1.
48293         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48294         <bp-checks.h>.
48295         (shmctl): Do not use CHECK_1.
48296         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48297         (ustat): Do not use CHECK_1.
48298         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48299         <bp-checks.h>.
48300         (__fxstat): Do not use CHECK_1.
48301         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48302         <bp-checks.h>.
48303         (__fxstatat): Do not use CHECK_1.
48304         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48305         <bp-checks.h>.
48306         (__lxstat): Do not use CHECK_1.
48307         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48308         <bp-checks.h>.
48309         (__xstat): Do not use CHECK_1.
48310         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48311         (__xstat): Do not use CHECK_1.
48312         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48313         (___xstat64): Do not use CHECK_1.
48315         [BZ #13550]
48316         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48317         definitions.
48318         (CHECK_BOUNDS_HIGH): Likewise.
48319         * string/strcpy.c: Do not include <bp-checks.h>.
48320         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48322 2013-02-07  Roland McGrath  <roland@hack.frob.com>
48324         * nscd/nscd-client.h (__nscd_drop_map_ref):
48325         Add __attribute__ ((unused)).
48326         * nis/nss-nisplus.h (niserr2nss): Likewise.
48328         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48329         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48331         * csu/libc-tls.c (init_static_tls, init_slotinfo):
48332         Remove inline keyword.
48333         * include/rounding-mode.h (round_away): Likewise.
48334         * libio/wfileops.c (adjust_wide_data): Likewise.
48335         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48336         (__m128i_strloadu_tolower): Likewise.
48337         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48338         (__m128i_strloadu_tolower): Likewise.
48339         * time/mktime.c (ydhms_diff): Likewise.
48340         * locale/elem-hash.h (elem_hash): Likewise.
48341         * locale/setlocale.c (setdata): Likewise.
48342         * posix/regex_internal.h (re_string_char_size_at): Likewise.
48343         (re_string_wchar_at): Likewise.
48344         (bitset_not, bitset_merge, bitset_mask): Likewise.
48345         [!(__GNUC__ > 3)] (inline): Remove macro.
48346         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48347         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48348         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48349         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48350         * string/memcmp.c (memcmp_bytes): Likewise.
48351         * locale/programs/locarchive.c (compute_hashval): Likewise.
48352         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48353         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48354         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48355         * nss/getent.c (print_rpc, print_protocols): Likewise.
48356         (print_passwd, print_group, print_aliases): Likewise.
48357         * nis/nss-nisplus.h (niserr2nss): Likewise.
48358         * nscd/connections.c (restart_p): Likewise.
48359         Change return type to bool.
48361 2013-02-05  Roland McGrath  <roland@hack.frob.com>
48363         * Makeconfig (all-Depend-files): Add existing
48364         $(sorted-subdirs:=/Depend) files.
48365         (all-subdirs): Remove nss.
48366         * sysdeps/unix/inet/Subdirs: Add it here instead.
48367         * hesiod/Depend: New file.
48369         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48370         instead of calling alloca.
48372         * io/lseek.c (__lseek): Rename to __libc_lseek.
48373         Define __lseek as an alias.
48375         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48377 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48379         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48380         else clause and remove check for non-standard endianness.
48382 2013-02-04  David S. Miller  <davem@davemloft.net>
48384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48386 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48388         [BZ #13550]
48389         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48390         (__ubp_memchr): Remove prototype.
48391         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48392         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48393         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48394         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48395         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48396         Remove alias.
48397         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48398         (__ubp_memchr): Likewise.
48399         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48400         (__ubp_memchr): Likewise.
48401         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48402         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48403         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48404         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48405         CHECK_STRING.
48406         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48407         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48408         (__getcwd): Do not use CHECK_STRING.
48409         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48410         <bp-checks.h>.
48411         (__real_chown): Do not use CHECK_STRING.
48412         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48413         <bp-checks.h>.
48414         (fchownat): Do not use CHECK_STRING.
48415         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48416         CHECK_STRING.
48417         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48418         <bp-checks.h>.
48419         (__lchown): Do not use CHECK_STRING.
48420         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48421         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48422         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48423         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48425         include <bp-checks.h>.
48426         (truncate64): Do not use CHECK_STRING.
48427         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48428         <bp-checks.h>.
48429         (__real_chown): Do not use CHECK_STRING.
48430         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48431         <bp-checks.h>.
48432         (__lchown): Do not use CHECK_STRING.
48433         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48434         <bp-checks.h>.
48435         (__chown): Do not use CHECK_STRING.
48436         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48437         <bp-checks.h>.
48438         (truncate64): Do not use CHECK_STRING.
48439         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48440         Likewise.
48441         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48442         (__xmknod): Do not use CHECK_STRING.
48443         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48444         <bp-checks.h>.
48445         (__xmknodat): Do not use CHECK_STRING.
48446         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48447         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48449 2013-02-04  Andreas Schwab  <schwab@suse.de>
48451         [BZ #14142]
48452         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48453         * include/netdb.h: Likewise for h_errno.
48454         * elf/tst-stackguard1.c: Include <tls.h>.
48456 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48458         * elf/link.h (struct link_map): Extend the l_addr comment.
48459         * include/link.h (struct link_map): Likewise.
48461 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48463         [BZ #13550]
48464         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48465         (BOUNDED_1): Remove macro.
48466         * debug/backtrace.c: Don't include <bp-checks.h>.
48467         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48468         (__backtrace): Likewise.
48469         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48470         <bp-checks.h>.
48471         (__backtrace): Don't use BOUNDED_1.
48472         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48473         <bp-checks.h>.
48474         (__backtrace): Don't use BOUNDED_1.
48475         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48476         (__backtrace): Don't use BOUNDED_1.
48477         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48478         (shmat): Don't use BOUNDED_N.
48480 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48482         [BZ #13550]
48483         * sysdeps/generic/bp-start.h: Remove file.
48484         * csu/libc-start.c: Don't include <bp-start.h>.
48485         (LIBC_START_MAIN): Set up __environ directly instead of using
48486         INIT_ARGV_and_ENVIRON.
48487         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48488         <bp-start.h>.
48490         [BZ #13550]
48491         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48492         definitions.
48493         (CHECK_FCNTL): Likewise.
48494         (CHECK_N_PAGES): Likewise.
48496         [BZ #13550]
48497         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48498         definitions.
48499         (CHECK_SIGSET_NULL_OK): Likewise.
48500         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48501         <bp-checks.h>.
48502         (sigpending): Don't use CHECK_SIGSET.
48503         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48504         <bp-checks.h>.
48505         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48506         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48507         <bp-checks.h>.
48508         (do_sigsuspend): Don't use CHECK_SIGSET.
48509         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48510         use CHECK_SIGSET.
48511         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48512         (do_sigwait): Don't use CHECK_SIGSET.
48513         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48514         use CHECK_SIGSET.
48515         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48516         include <bp-checks.h>.
48517         (sigpending): Don't use CHECK_SIGSET.
48518         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48519         include <bp-checks.h>.
48520         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48521         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48522         <bp-checks.h>.
48523         (sigpending): Don't use CHECK_SIGSET.
48524         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48525         <bp-checks.h>.
48526         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48528         [BZ #13550]
48529         * sysdeps/generic/bp-semctl.h: Remove file.
48530         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48531         <bp-checks.h> and <bp-semctl.h>.
48532         (__old_semctl): Don't use CHECK_SEMCTL.
48533         (__new_semctl): Likewise.
48534         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48535         and <bp-semctl.h>.
48536         (__old_semctl): Don't use CHECK_SEMCTL.
48537         (__new_semctl): Likewise.
48538         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48539         <bp-checks.h> and <bp-semctl.h>.
48540         (__old_semctl): Don't use CHECK_SEMCTL.
48541         (__new_semctl): Likewise.
48542         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48543         <bp-checks.h> and <bp-semctl.h>.
48544         (semctl): Don't use CHECK_SEMCTL.
48546         [BZ #13550]
48547         * Makerules (elide-bp-thunks): Remove variable.
48548         (elide-routines.oS): Don't use $(elide-bp-thunks).
48549         (elide-routines.os): Likewise.
48550         (elide-routines.o): Likewise.
48551         (elide-routines.op): Likewise.
48552         (elide-routines.og): Likewise.
48553         (objects): Don't use $(bp-thunks).
48554         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48555         include.
48556         (common-generated): Do not add s-proto-bp.d.
48557         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48558         (int): Likewise.
48559         (typ): Likewise.
48560         Do not generate makefile rules for bounded-pointer thunks.
48561         * sysdeps/generic/bp-thunks.h: Remove file.
48562         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48563         * sysdeps/unix/s-proto-bp.S: Likewise.
48565         [BZ #15062]
48566         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48567         parts of result separately when argument is not close to line from
48568         -i to i and one part of argument is small.
48569         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48570         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48571         * math/libm-test.inc (cacos_test): Add more tests.
48572         (casin_test): Likewise.
48573         (casinh_test): Likewise.
48574         * sysdeps/i386/fpu/libm-test-ulps: Update.
48575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48577 2013-01-31  David S. Miller  <davem@davemloft.net>
48579         * po/de.po: Update from translation team.
48581 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48583         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48585 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48587         * configure.in (_AC_PROG_CC_C89): New definition.
48588         * configure: Regenerate.
48590         * configure.in (AC_PROG_CPP): New definition.
48591         * configure: Regenerate.
48593 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48595         * debug/tst-backtrace.h: New file.
48596         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48597         (ret): Remove variable.
48598         (x): Likewise.
48599         (FAIL): Remove macro.
48600         (NO_INLINE): Likewise.
48601         (fn1): Use match function instead of strstr.
48602         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48603         (ret): Remove variable.
48604         (x): Likewise.
48605         (FAIL): Remove macro.
48606         (NO_INLINE): Likewise.
48607         (fn): Use match function instead of strstr.
48608         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48609         (ret): Remove variable.
48610         (x): Likewise.
48611         (FAIL): Remove macro.
48612         (NO_INLINE): Likewise.
48613         (handle_signal): Use match function instead of strstr.
48614         * debug/tst-backtrace5.c: Include tst-backtrace.h.
48615         (ret): Remove variable.
48616         (x): Likewise.
48617         (FAIL): Remove macro.
48618         (NO_INLINE): Likewise.
48619         (handle_signal): Use match function instead of strstr.
48621 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48623         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48625 2013-01-23  David S. Miller  <davem@davemloft.net>
48627         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48628         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48629         argument of CAS if possible.
48630         * sysdeps/sparc/sparc64/bits/atomic.h
48631         (__arch_compare_and_exchange_val_32_acq): Likewise.
48632         (__arch_compare_and_exchange_val_64_acq): Likewise.
48634 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48636         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48637         * sysdeps/posix/ulimit.c: ... this.
48638         Include <limits.h>.
48639         * sysdeps/unix/bsd/ulimit.c: Remove file.
48641 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48643         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48644         (LDFLAGS-tst-array5): Likewise.
48646 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48648         [BZ #15036]
48649         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48650         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48651         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48652         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48654 2013-01-21  David S. Miller  <davem@davemloft.net>
48656         * sysdeps/sparc/backtrace.c: New file.
48657         * sysdeps/sparc/sparc32/backtrace.h: New file.
48658         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48659         * sysdeps/sparc/sparc64/backtrace.h: New file.
48660         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48661         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48662         -funwind-tables.
48664 2013-01-21  Andreas Schwab  <schwab@suse.de>
48666         [BZ #15020]
48667         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48668         closed its stdout.
48670 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48673         "mpa2.h".
48674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48676 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48677             Mark Mitchell  <mark@codesourcery.com>
48678             Tom de Vries  <tom@codesourcery.com>
48679             Paul Pluzhnikov  <ppluzhnikov@google.com>
48681         * debug/tst-backtrace2.c: New file.
48682         * debug/tst-backtrace3.c: Likewise.
48683         * debug/tst-backtrace4.c: Likewise.
48684         * debug/tst-backtrace5.c: Likewise.
48685         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48686         (CFLAGS-tst-backtrace3.c): Likewise.
48687         (CFLAGS-tst-backtrace4.c): Likewise.
48688         (CFLAGS-tst-backtrace5.c): Likewise.
48689         (LDFLAGS-tst-backtrace2): Likewise.
48690         (LDFLAGS-tst-backtrace3): Likewise.
48691         (LDFLAGS-tst-backtrace4): Likewise.
48692         (LDFLAGS-tst-backtrace5): Likewise.
48693         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48694         tst-backtrace4 and tst-backtrace5.
48696 2013-01-18  Anton Blanchard  <anton@samba.org>
48697             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48699         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48700         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48701         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48702         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48704         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48705         "+r" and remove output regs list as redundant.  Add explicit inline
48706         asm to specify register of return val to work around compiler codegen
48707         bug.  Remove (int) cast on return value.  Add return type parameter to
48708         use in macro so that this macro does not truncate return value for
48709         64-bit values.
48710         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48711         pass to INTERNAL_VSYSCALL_NCS.
48712         (INLINE_VSYSCALL): Add 'long int' as return type to
48713         INTERNAL_VSYSCALL_NCS macro invocation.
48714         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48715         INTERNAL_VSYSCALL_NCS macro invocation.
48716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48718 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48720         [BZ #14496]
48721         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48722         Fix application of SIMD FP exception mask.
48724         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48725         mp_no from a power of two.
48726         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48727         __mpexp_twomm1.  Use __pow_mp.
48729         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48730         multiplication.
48732 2013-01-17  David S. Miller  <davem@davemloft.net>
48734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48736 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48738         [BZ #15023]
48739         * include/complex.h: Condition contents on [!_COMPLEX_H].
48740         (__kernel_casinhf): New prototype.
48741         (__kernel_casinh): Likewise.
48742         (__kernel_casinhl): Likewise.
48743         * math/Makefile (libm_calls): Add k_casinh.
48744         * math/k_casinh.c: New file.
48745         * math/k_casinhf.c: Likewise.
48746         * math/k_casinhl.c: Likewise.
48747         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48748         finite nonzero arguments.
48749         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48750         finite nonzero arguments.
48751         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48752         finite nonzero arguments.
48753         * math/s_casinh.c: Do not include <float.h>.
48754         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48755         * math/s_casinhf.c: Do not include <float.h>.
48756         (__casinhf): Move code for finite nonzero arguments to
48757         k_casinhf.c.
48758         * math/s_casinhl.c: Do not include <float.h>.
48759         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48760         redefine.
48761         (__casinhl): Move code for finite nonzero arguments to
48762         k_casinhl.c.
48763         * math/libm-test.inc (cacos_test): Add more tests.
48764         * sysdeps/i386/fpu/libm-test-ulps: Update.
48765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48767 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
48769         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48770         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48771         [!HAVE_MREMAP]: Remove [defined linux] case.
48772         * malloc/arena.c: Do not include <malloc-sysdep.h>.
48774 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48776         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48778 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
48780         * elf/elf.h (R_386_SIZE32): New relocation.
48781         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48782         R_386_SIZE32.
48783         (elf_machine_rela): Likewise.
48784         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48785         R_X86_64_SIZE64 and R_X86_64_SIZE32.
48787 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48789         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48790         (FP_FAST_FMA): Do not define.
48791         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48792         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48793         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48794         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48795         !_SOFT_FLOAT]: Likewise.
48796         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48797         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48798         value.
48799         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48800         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48801         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48802         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48803         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48804         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48805         file.
48807 2013-01-16  Andreas Schwab  <schwab@suse.de>
48809         [BZ #14327]
48810         * include/stdlib.h (__mktemp): Add declaration.
48811         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48812         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48814 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48816         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48817         definitions.
48818         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48819         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48820         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48821         definitions here.
48822         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48823         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48824         definitions.
48825         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48826         and ONE.
48827         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48828         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48829         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48830         definitions.
48831         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48832         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48833         definitions.
48834         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48836         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48838 2013-01-15  David S. Miller  <davem@davemloft.net>
48840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48841         trunc{,f} to libm-sysdep_routes.
48842         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48844         file.
48845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48847         file.
48848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48849         file.
48850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48852         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48853         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48854         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48855         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48856         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48857         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48860         nearbyint{,f} to libm-sysdep_routes.
48861         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48863         New file.
48864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48865         file.
48866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48867         New file.
48868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48869         file.
48870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48872         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48873         file.
48874         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48875         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48876         file.
48877         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48878         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48879         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48881         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48882         libc_feholdexcept and libc_fesetenv.
48884 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
48886         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48888 2013-01-14  David S. Miller  <davem@davemloft.net>
48890         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48891         (SPARC_ASM_VIS2_IFUNC): Likewise.
48892         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48894         use of 'siam' instruction.
48895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48896         Likewise.
48897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48898         Likewise.
48899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48900         Likewise.
48901         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48906         file.
48907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48908         file.
48909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48910         file.
48911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48912         file.
48913         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48914         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48915         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48916         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48918         new VIS2 routines.
48919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48922         Likewise.
48923         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48924         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48925         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48926         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48928         routines to libm-sysdep_routines.
48929         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48932         fdim/fdimf to libm-sysdep_routines.
48933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48934         file.
48935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48937         file.
48938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48941         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48942         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48943         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48944         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48946 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48948         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48949         to optimize copies.
48951         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48956         local variable MPTWO.
48957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48958         Likewise.
48960 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48962         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48963         GLOB_NOESCAPE.
48965 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48967         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48969 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48971         * manual/pattern.texi (glob_t): Document gl_flags.
48972         (glob64_t): Likewise.
48974 2013-01-11  David S. Miller  <davem@davemloft.net>
48976         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48977         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48978         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
48979         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48980         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48981         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48982         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48983         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48984         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48985         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48986         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48987         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48988         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48990         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48991         sparc V9 rather than using V8 code.
48992         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48993         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48995         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48996         Move to...
48997         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48998         Here.
49000 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49002         [BZ #14941]
49003         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49004         not in the main loop.
49005         * configure: Regenerated.
49007 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
49009         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49010         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49011         to just #else.
49012         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
49013         [!__GLIBC_HAVE_LONG_LONG] case.
49014         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49015         condition to just #else.
49016         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49017         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49018         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49019         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49020         unconditional.
49021         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49022         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49023         #elif condition to just #else.
49024         * sysdeps/unix/sysv/linux/sys/sysmacros.h
49025         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49026         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49027         #elif condition to just #else.
49029 2013-01-11  Steve Ellcey  <sellcey@mips.com>
49031         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49032         (EF_MIPS_ARCH_64): Fix value.
49033         (EF_MIPS_ARCH_32R2): New.
49034         (EF_MIPS_ARCH_64R2): New.
49036 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49038         * Makeconfig (+link-pie-before-libc): New.
49039         (+link-pie-after-libc): Likewise.
49040         (+link-pie-tests): Likewise.
49041         (+link-pie): Rewritten.
49042         (link-before-libc): Remove $(config-LDFLAGS).
49043         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49044         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49045         (config-LDFLAGS): Renamed to ...
49046         (rtld-LDFLAGS): This.
49047         (rtld-tests-LDFLAGS): New macro.
49048         (link-libc-rpath-link): Likewise.
49049         (link-libc-tests-rpath-link): Likewise.
49050         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49051         (link-libc): Prepand $(link-libc-rpath-link).
49052         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49053         (test-program-prefix): New macro.
49054         (test-via-rtld-prefix): Likewise.
49055         (test-program-cmd): Likewise.
49056         (host-test-program-cmd): Likewise.
49057         * Makefile ($(common-objpfx)testrun.sh): Replace
49058         $(run-program-prefix) with $(test-program-prefix).
49059         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49060         $(rtld-LDFLAGS).
49061         ($(common-objpfx)shlib.lds): Likewise.
49062         (build-module-helper): Likewise.
49063         ($(common-objpfx)format.lds): Likewise.
49064         * Rules (binaries-pie-tests): New.
49065         (binaries-pie-notests): Likewise.
49066         (binaries-pie): Rewritten.
49067         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49068         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49069         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49070         (make-test-out): Replace $(host-built-program-cmd) with
49071         $(host-test-program-cmd).
49072         * config.make.in (build-hardcoded-path-in-tests): New variable.
49073         * configure.in (--enable-hardcoded-path-in-tests): New configure
49074         option.
49075         (hardcoded_path_in_tests): New AC_SUBST.
49076         * configure: Regenerated.
49077         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49078         $(built-program-cmd) with $(test-program-cmd).
49079         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49080         (test_program_cmd): This.
49081         * elf/Makefile ($(objpfx)order.out): Run test with
49082         $(test-program-prefix).
49083         ($(objpfx)order2.out): Likewise.
49084         ($(objpfx)tst-initorder.out): Likewise.
49085         ($(objpfx)tst-initorder2.out): Likewise.
49086         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49087         $(test-program-cmd).
49088         ($(objpfx)tst-array1-static.out): Likewise.
49089         ($(objpfx)tst-array2.out): Likewise.
49090         ($(objpfx)tst-array3.out): Likewise.
49091         ($(objpfx)tst-array4.out): Likewise.
49092         ($(objpfx)tst-array5.out): Likewise.
49093         ($(objpfx)tst-array5-static.out): Likewise.
49094         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49095         $(test-program-cmd).
49096         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49097         $(run-program-prefix) with $(test-program-prefix).
49098         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49099         (test_program_prefix): This.
49100         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49101         $(run-program-prefix) with $(test-program-prefix).
49102         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49103         (test_program_prefix): This.
49104         * iconvdata/tst-tables.sh: Likewise.
49105         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49106         $(run-program-prefix) with $(test-program-prefix).
49107         ($(objpfx)tst-translit.out): Likewise.
49108         ($(objpfx)tst-gettext2.out): Likewise.
49109         ($(objpfx)tst-gettext4.out): Likewise.
49110         ($(objpfx)tst-gettext6.out): Likewise.
49111         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49112         (test_program_prefix): This.
49113         * intl/tst-gettext2.sh: Likewise.
49114         * intl/tst-gettext4.sh  Likewise.
49115         * intl/tst-gettext6.sh: Likewise.
49116         * intl/tst-translit.sh: Likewise.
49117         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49118         with $(test-program-cmd).
49119         * libio/Makefile ($(objpfx)test-freopen.out): Replace
49120         $(run-program-prefix) with $(test-program-prefix).
49121         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49122         (test_program_prefix): This.
49123         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49124         $(run-program-prefix) with $(test-program-prefix).
49125         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49126         (test_program_prefix): This.
49127         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49128         * posix/Makefile ($(objpfx)globtest.out): Replace
49129         $(run-via-rtld-prefix) and $(test-wrapper) with
49130         $(test-program-prefix) and $(test-via-rtld-prefix).
49131         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49132         $(test-program-prefix).
49133         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49134         $(host-test-program-cmd).
49135         (tst-spawn-ARGS): Likewise.
49136         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49137         $(test-program-prefix).
49138         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49139         (test_via_rtld_prefix): This.
49140         (test_wrapper): Renamed to ...
49141         (test_program_prefix): This.
49142         (run_program_prefix): Replaced by test_program_prefix.
49143         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49144         (test_program_prefix): This.
49145         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49146         with $(host-test-program-cmd).
49147         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49148         $(run-program-prefix) with $(test-program-prefix).
49149         ($(objpfx)tst-printf.out): Likewise.
49150         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49151         $(test-program-cmd).
49152         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49153         (test_program_prefix): This.
49154         * stdio-common/tst-unbputc.sh: Likewise.
49155         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49156         $(run-program-prefix) with $(test-program-prefix).
49157         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49158         (test_program_prefix): This.
49159         * string/Makefile ($(objpfx)tst-svc.out):  Replace
49160         $(built-program-cmd) with $(test-program-cmd).
49162 2013-01-11  Andreas Jaeger  <aj@suse.de>
49164         [BZ #15003]
49165         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49166         value. Sync with Linux 3.7.
49168 2013-01-10  David S. Miller  <davem@davemloft.net>
49170         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49171         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49172         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49174 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49176         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49177         never set.
49178         * configure: Regenerated.
49180 2013-01-10  David S. Miller  <davem@davemloft.net>
49182         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49183         sparc V9 rather than using V8 code.
49184         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49185         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49187 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49189         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49190         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49191         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49192         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49193         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49194         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49195         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49196         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49197         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49198         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49199         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49200         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49201         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49202         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49203         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49204         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49205         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49206         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49207         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49208         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49209         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49210         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49211         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49212         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49213         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49214         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49215         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49217 2013-01-10  David S. Miller  <davem@davemloft.net>
49219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49221 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49223         * posix/Makefile (tests-static): New variable.
49224         (tests): Add $(tests-static).
49225         (tst-exec-static-ARGS): New variable.
49226         (tst-spawn-static-ARGS): Likewise.
49227         * posix/tst-exec-static.c: New file.
49228         * posix/tst-spawn-static.c: Likewise.
49229         * posix/tst-exec.c: Support run directly.
49230         * posix/tst-spawn.c: Likewise.
49232 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49234         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49235         long.
49236         * math/bits/mathcalls.h (llrint): Likewise.
49237         (llround): Likewise.
49238         * stdlib/stdlib.h (struct drand48_data): Likewise.
49239         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49240         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49241         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49242         Likewise.
49243         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49244         Likewise.
49245         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49246         (elf_greg_t): Likewise.
49247         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49248         (__jmp_buf): Likewise.
49249         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49250         definitions.
49251         (llrint): Likewise, for all definitions.
49252         (llrintl): Likewise.
49254         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49255         Remove [__GNUC__] condition.
49256         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49257         condition to just [__USE_ISOC99].
49258         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49260 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49262         [BZ #14200]
49263         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49264         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49265         defined.
49266         (_POSIX_V6_ILP32_OFF32): Likewise.
49267         (_XBS5_ILP32_OFF32): Likewise.
49268         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49269         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49271 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49273         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49275         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49276         doubles __mpexp_twomm1.  Adjust usage.
49277         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49278         Remove.
49280 2013-01-10  Andreas Schwab  <schwab@suse.de>
49282         [BZ #14964]
49283         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49284         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49286 2013-01-09  David S. Miller  <davem@davemloft.net>
49288         [BZ #15003]
49289         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49290         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49291         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49292         (TCP_FASTOPEN): Define.
49293         (tcp_repair_opt): New structure.
49294         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49295         enum values.
49296         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49297         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49298         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49299         (tcp_cookie_transactions): New structure.
49301 2013-01-09  Anton Blanchard  <anton@samba.org>
49303         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49304         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49305         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49306         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49308 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
49310         * include/features.h (__USE_ANSI): Remove.
49312 2013-01-09  Roland McGrath  <roland@hack.frob.com>
49314         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49316         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49318 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
49320         * sysdeps/s390/fpu/libm-test-ulps: Update.
49322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49324         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49325         (__acr): Likewise.
49326         (__cpy): Likewise.
49327         (norm): Likewise.
49328         (denorm): Likewise.
49329         (__mp_dbl): Likewise.
49330         (__dbl_mp): Likewise.
49331         (add_magnitudes): Likewise.
49332         (sub_magnitudes): Likewise.
49333         (__add): Likewise.
49334         (__sub): Likewise.
49335         (__mul): Likewise.
49336         (__inv): Likewise.
49337         (__dvd): Likewise.
49338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49339         (__acr): Likewise.
49340         (__cpy): Likewise.
49341         (norm): Likewise.
49342         (denorm): Likewise.
49343         (__mp_dbl): Likewise.
49344         (__dbl_mp): Likewise.
49345         (add_magnitudes): Likewise.
49346         (sub_magnitudes): Likewise.
49347         (__add): Likewise.
49348         (__sub): Likewise.
49349         (__mul): Likewise.
49350         (__inv): Likewise.
49351         (__dvd): Likewise.
49352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49353         (__acr): Likewise.
49354         (__cpy): Likewise.
49355         (norm): Likewise.
49356         (denorm): Likewise.
49357         (__mp_dbl): Likewise.
49358         (__dbl_mp): Likewise.
49359         (add_magnitudes): Likewise.
49360         (sub_magnitudes): Likewise.
49361         (__add): Likewise.
49362         (__sub): Likewise.
49363         (__mul): Likewise.
49364         (__inv): Likewise.
49365         (__dvd): Likewise.
49367 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
49369         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49370         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49371         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49372         2 && __USE_EXTERN_INLINES]: Likewise.
49374 2013-01-08  Andreas Jaeger  <aj@suse.de>
49376         [BZ# 14985]
49377         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49378         Remove.
49379         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49380         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49382 2013-01-07  Anton Blanchard  <anton@samba.org>
49384         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49385         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49386         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49387         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49388         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49389         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49390         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49391         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49393         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49394         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49395         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49396         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49397         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49398         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49399         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49400         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49401         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49402         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49403         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49404         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49405         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49406         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49407         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49408         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49409         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49410         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49411         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49412         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49413         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49414         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49416         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49417         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49418         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49419         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49420         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49421         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49422         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49423         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49424         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49425         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49426         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49428 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49430         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49431         (__MALLOC_PMT): Likewise.
49432         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49433         [__GNUC__], only on [_LIBC].
49434         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49435         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49436         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49437         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49438         forward declaration.
49439         (realloc_hook_ini): Likewise.
49440         (memalign_hook_ini): Likewise.
49441         (__libc_memalign): Do not use __MALLOC_PMT in variable
49442         declaration.
49443         (__libc_valloc): Likewise.
49444         (__libc_pvalloc): Likewise.
49445         (__libc_calloc): Likewise.
49446         (__posix_memalign): Likewise.
49448         [BZ #14996]
49449         * math/s_casinh.c: Include <float.h>.
49450         (__casinh): Do not do computation with squaring and square root
49451         for large arguments.
49452         * math/s_casinhf.c: Include <float.h>.
49453         (__casinhf): Do not do computation with squaring and square root
49454         for large arguments.
49455         * math/s_casinhl.c: Include <float.h>.
49456         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49457         (__casinhl): Do not do computation with squaring and square root
49458         for large arguments.
49459         * math/libm-test.inc (casin_test): Add more tests.
49460         (casinh_test): Likewise.
49461         * sysdeps/i386/fpu/libm-test-ulps: Update.
49462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49464 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49466         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49467         (__x86_64_raw_data_cache_size): Likewise.
49468         (__x86_64_data_cache_size_half): Likewise.
49469         (__x86_64_raw_data_cache_size_half): Likewise.
49470         (__x86_64_shared_cache_size): Likewise.
49471         (__x86_64_raw_shared_cache_size): Likewise.
49472         (__x86_64_shared_cache_size_half): Likewise.
49473         (__x86_64_raw_shared_cache_size_half): Likewise.
49474         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49475         to ...
49476         (__x86_data_cache_size): This.
49477         (__x86_64_raw_data_cache_size): Renamed to ...
49478         (__x86_raw_data_cache_size): This.
49479         (__x86_64_data_cache_size_half): Renamed to ...
49480         (__x86_data_cache_size_half): This.
49481         (__x86_64_raw_data_cache_size_half): Renamed to ...
49482         (__x86_raw_data_cache_size_half): This.
49483         (__x86_64_shared_cache_size): Renamed to ...
49484         (__x86_shared_cache_size): This.
49485         (__x86_64_raw_shared_cache_size): Renamed to ...
49486         (__x86_raw_shared_cache_size): This.
49487         (__x86_64_shared_cache_size_half): Renamed to ...
49488         (__x86_shared_cache_size_half): This.
49489         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49490         (__x86_raw_shared_cache_size_half): This.
49491         * sysdeps/x86_64/memcpy.S: Updated.
49492         * sysdeps/x86_64/memset.S: Likewise.
49493         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49494         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49495         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49497 2013-01-04  David S. Miller  <davem@davemloft.net>
49499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49501 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49503         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49504         1 to avoid redefinition warning.
49505         (__USE_GNU): Don't define.
49506         (init_signaling_nan): Protoize.
49508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49510 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49512         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49514         (__cpymn): Likewise.
49515         (norm): Remove commented code.
49516         (denorm): Likewise.
49517         (__mp_dbl): Likewise.
49518         (__inv): Likewise.
49519         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49520         (__cpymn): Likewise.
49521         (norm): Remove commented code.
49522         (denorm): Likewise.
49523         (__mp_dbl): Likewise.
49524         (__inv): Likewise.
49526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49527         mp_no value for 1.0 and 2.0.
49528         (norm): Use RADIXI instead of radixi.d.
49529         (denorm): Likewise.
49530         (__mul): Use 0.0 instead of zero.d.
49531         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49532         mp_no value for 1.0 and 2.0.
49533         (norm): Use RADIXI instead of radixi.d.
49534         (denorm): Likewise.
49535         (__mul): Use 0.0 instead of zero.d.
49537 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49539         [BZ #14994]
49540         * math/s_casinh.c (__casinh): Reduce finite argument to first
49541         quadrant then set signs of results at the end.
49542         * math/s_casinhf.c (__casinhf): Likewise.
49543         * math/s_casinhl.c (__casinhl): Likewise.
49544         * math/libm-test.inc (casin_test): Add more tests.
49545         (casinh_test): Likewise.
49546         * sysdeps/i386/fpu/libm-test-ulps: Update.
49547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49549 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49551         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49553         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49555         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49556         declarations.
49557         (denorm): Likewise.
49558         (__mp_dbl): Likewise.
49559         (__inv): Likewise.
49561         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49562         and adjust the header comment.
49564         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49565         variable name from declaration.
49567 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49570         Initialize COMMON_CPUID_INDEX_7 element.
49571         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49572         (CPUID_RTM): Likewise.
49573         (HAS_RTM): Likewise.
49574         (COMMON_CPUID_INDEX_7): New enum.
49576 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49578         [BZ #14981]
49579         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49580         size is zero, record memory as freed.
49582 2013-01-03  Andreas Jaeger  <aj@suse.de>
49584         * po/ia.po: Add new Interlingua translation.
49586 2012-01-03  Allan McRae  <allan@archlinux.org>
49588         * locale/programs/localedef.c: Fix description of '--posix' flag.
49590 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49592         * NEWS: Update dates in second copyright notice.
49593         * README: Update copyright dates in example.
49594         * manual/libc.texinfo: Update copyright dates.
49595         * scripts/test-installation.pl: Update copyright date in --version
49596         output.
49598         * hurd/ctty-input.c: Fix copyright notice formatting.
49599         * hurd/ctty-output.c: Likewise.
49600         * hurd/dtable.c: Likewise.
49601         * hurd/hurd-raise.c: Likewise.
49602         * hurd/hurdprio.c: Likewise.
49603         * hurd/msgportdemux.c: Likewise.
49604         * misc/sys/file.h: Likewise.
49605         * misc/sys/ioctl.h: Likewise.
49606         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49607         * sysdeps/mach/hurd/chdir.c: Likewise.
49608         * sysdeps/mach/hurd/fchdir.c: Likewise.
49609         * sysdeps/mach/hurd/rename.c: Likewise.
49610         * sysdeps/mach/hurd/rmdir.c: Likewise.
49611         * sysdeps/mach/hurd/seekdir.c: Likewise.
49612         * sysdeps/mach/hurd/setsid.c: Likewise.
49613         * sysdeps/posix/wait3.c: Likewise.
49615         * All files with FSF copyright notices: Update copyright dates
49616         using scripts/update-copyrights.
49617         * intl/plural.c: Regenerated.
49618         * locale/programs/charmap-kw.h: Likewise.
49619         * locale/programs/locfile-kw.h: Likewise.
49621 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49623         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49624         four values.
49626         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49627         calculation loop and add branch prediction.
49629         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49630         check access beyond bounds of m1np.
49632         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49633         MPTWO.
49634         (__inv): Remove local variable MPTWO to use the global
49635         constant.
49636         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49637         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49638         variable MPTWO.
49639         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49640         MP3HALFS static const.
49642 2013-01-01  David S. Miller  <davem@davemloft.net>
49644         * po/ca.po: Update from translation team.
49646 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49648         * scripts/update-copyrights: New file.
49649         * Makeconfig: Reformat copyright notice.
49650         * ctype/ctype.h: Likewise.
49651         * debug/swprintf_chk.c: Likewise.
49652         * elf/dl-cache.c: Likewise.
49653         * elf/dl-debug.c: Likewise.
49654         * elf/dl-object.c: Likewise.
49655         * grp/initgroups.c: Likewise.
49656         * hurd/Makefile: Likewise.
49657         * hurd/hurd/signal.h: Likewise.
49658         * hurd/hurdfault.c: Likewise.
49659         * hurd/hurdioctl.c: Likewise.
49660         * hurd/hurdlookup.c: Likewise.
49661         * hurd/intr-msg.c: Likewise.
49662         * iconv/gconv_open.c: Likewise.
49663         * libio/swprintf.c: Likewise.
49664         * locale/lc-ctype.c: Likewise.
49665         * locale/nl_langinfo.c: Likewise.
49666         * mach/Machrules: Likewise.
49667         * mach/Makefile: Likewise.
49668         * malloc/obstack.h: Likewise.
49669         * manual/Makefile: Likewise.
49670         * manual/tsort.awk: Likewise.
49671         * misc/bits/stab.def: Likewise.
49672         * nis/nis_print_group_entry.c: Likewise.
49673         * nis/nis_table.c: Likewise.
49674         * nis/nss_compat/compat-pwd.c: Likewise.
49675         * nis/nss_compat/compat-spwd.c: Likewise.
49676         * po/Makefile: Likewise.
49677         * posix/fnmatch.c: Likewise.
49678         * posix/regex.h: Likewise.
49679         * resolv/Makefile: Likewise.
49680         * resolv/nss_dns/dns-network.c: Likewise.
49681         * resolv/res_hconf.c: Likewise.
49682         * scripts/gen-sorted.awk: Likewise.
49683         * soft-fp/soft-fp.h: Likewise.
49684         * stdio-common/printf.h: Likewise.
49685         * stdlib/monetary.h: Likewise.
49686         * stdlib/random.c: Likewise.
49687         * stdlib/random_r.c: Likewise.
49688         * sysdeps/generic/Makefile: Likewise.
49689         * sysdeps/gnu/Makefile: Likewise.
49690         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49691         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49692         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49693         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49694         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49695         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49696         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49697         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49698         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49699         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49700         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49701         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49702         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49703         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49704         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49705         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49706         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49707         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49708         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49709         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49710         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49711         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49712         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49713         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49714         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49715         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49716         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49717         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49718         * sysdeps/mach/hurd/errnos.awk: Likewise.
49719         * sysdeps/mach/hurd/fork.c: Likewise.
49720         * sysdeps/mach/hurd/getcwd.c: Likewise.
49721         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49722         * sysdeps/mach/hurd/mmap.c: Likewise.
49723         * sysdeps/mach/hurd/utimes.c: Likewise.
49724         * sysdeps/mach/hurd/xmknod.c: Likewise.
49725         * sysdeps/posix/profil.c: Likewise.
49726         * sysdeps/posix/readdir_r.c: Likewise.
49727         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49728         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49729         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49730         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49731         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49732         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49733         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49734         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49736         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49737         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49738         * sysdeps/pthread/lio_listio.c: Likewise.
49739         * sysdeps/sparc/dl-procinfo.h: Likewise.
49740         * sysdeps/unix/i386/sysdep.S: Likewise.
49741         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49742         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49743         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49744         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49746         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49747         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49748         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49749         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49750         * sysdeps/wordsize-32/divdi3.c: Likewise.
49751         * time/sys/time.h: Likewise.
49752         * wcsmbs/Makefile: Likewise.
49754 2013-01-01  David S. Miller  <davem@davemloft.net>
49756         * po/fr.po: Update from translation team.
49758         * catgets/gencat.c: Update copyright year.
49759         * csu/version.c: Likewise.
49760         * debug/catchsegv.sh: Likewise.
49761         * debug/pcprofiledump.c: Likewise.
49762         * debug/xtrace.sh: Likewise.
49763         * elf/ldconfig.c: Likewise.
49764         * elf/ldd.bash.in: Likewise.
49765         * elf/pldd.c: Likewise.
49766         * elf/sotruss.ksh: Likewise.
49767         * elf/sprof.c: Likewise.
49768         * iconv/iconv_prog.c: Likewise.
49769         * iconv/iconvconfig.c: Likewise.
49770         * locale/programs/locale.c: Likewise.
49771         * locale/programs/localedef.c: Likewise.
49772         * login/programs/pt_chown.c: Likewise.
49773         * malloc/memusage.sh: Likewise.
49774         * malloc/memusagestat.c: Likewise.
49775         * malloc/mtrace.pl: Likewise.
49776         * nscd/nscd.c: Likewise.
49777         * nss/getent.c: Likewise.
49778         * nss/makedb.c: Likewise.
49779         * posix/getconf.c: Likewise.
49781 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49783         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49784         numbers.
49786 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
49788         * math/bits/mathcalls.h (modf): Use __nonnull.
49790 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49792         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49793         (split): Use macro CN instead of the bare value.
49794         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49795         could be used.
49796         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49797         instead of the bare value.
49798         (power1): Likewise.
49800 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49802         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49803         __ATAN_TWOM.
49804         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49806         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49807         their values.
49808         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49809         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49810         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49811         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49813 2012-12-28  Andreas Jaeger  <aj@suse.de>
49815         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49816         values are from Linux 3.7.
49818         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49819         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49821 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49823         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49824         TRUE case.
49826         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49827         (norm): Likewise.
49828         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49829         variables with preprocessor constants.
49830         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49831         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49832         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49834 2012-12-27  Bruno Haible  <bruno@clisp.org>
49836         [BZ #14317]
49837         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49838         only if needed.
49840 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49843         and use variable directly.
49844         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49846         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49847         MPONE.
49848         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49849         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49850         variable MPONE.
49851         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49852         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49853         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49854         include directive.  Remove local variable MPONE.
49855         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49856         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49857         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49859 2012-12-25  David S. Miller  <davem@davemloft.net>
49861         * version.h (RELEASE): Set to "development".
49862         (VERSION): Set to "2.17.90".
49863         * NEWS: Add 2.18 section.
49865 2012-12-21  David S. Miller  <davem@davemloft.net>
49867         * po/hr.po: Update from translation team.
49869 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49871         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49873 2012-12-19  Steve Ellcey  <sellcey@mips.com>
49875         * NEWS:  Mention new memcpy for MIPS.
49877 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49879         * manual/contrib.texi (Contributors): Spelling correction.
49881 2012-12-15  David S. Miller  <davem@davemloft.net>
49883         * po/ru.po: Update from translation team.
49885 2012-12-13  David S. Miller  <davem@davemloft.net>
49887         * NEWS: Mention IFUNC testsuite enhancements.
49889         * po/pl.po: Update from translation team.
49890         * po/bg.po: Likewise.
49892         * manual/contrib.texi (Contributors): Update entries for Hongjiu
49893         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
49895 2012-12-11  David S. Miller  <davem@davemloft.net>
49897         * po/sv.po: Update from translation team.
49899         * po/vi.po: Update from translation team.
49901         * po/cs.po: Update from translation team.
49903         * po/de.po: Update from translation team.
49904         * po/eo.po: Likewise.
49905         * po/nl.po: Likewise.
49907 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49909         [BZ #14246]
49910         * manual/argp.texi (Argp Helper Functions): Move node to follow
49911         Argp Parsing State.
49913         [BZ #14872]
49914         * manual/conf.texi (Limits on File System Capacity): Mention if
49915         terminating null is included in the max size.
49917 2012-12-10  Andreas Jaeger  <aj@suse.de>
49919         * po/cs.po: Update from translation team.
49921 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49923         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49924         void pointer and cast to uintptr_t.
49925         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49926         path.
49927         * sysdeps/s390/s390-64/memcpy.S: Likewise.
49928         * sysdeps/s390/s390-64/memset.S: Likewise.
49930 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
49932         [BZ #14833]
49933         * menual/message.texi (Message Translation): Fix typos.
49934         (Helper programs for gettext): Likewise.
49936 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
49938         [BZ #14898]
49939         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49940         Change to -1.
49942 2012-12-07  David S. Miller  <davem@davemloft.net>
49944         * po/libc.pot: Update.
49946 2012-12-07  Richard Henderson  <rth@redhat.com>
49948         [BZ #10114]
49949         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49950         normal/normal case to before the switch.
49951         (_FP_DIV): Likewise.
49953 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
49954             Mike Frysinger  <vapier@gentoo.org>
49956         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49957         check for __NR_fadvise64_64.
49959 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
49961         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49962         0, not just to plain "0" as a statement.
49963         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49964         with cw.
49966 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
49968         * NEWS: Use sourceware.org in Bugzilla URL.
49970 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49973         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49975         * stdio-common/tst-put-error.c (do_test): Add newline to the
49976         padded test to ensure flush.
49978 2012-12-05  Jeff Law  <law@redhat.com>
49980         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49982 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49984         * README: Don't refer to ports add-on as distributed separately.
49985         Mention AArch64 in list of systems supported in the ports add-on.
49987         * LICENSES: Add more non-FSF copyright and license notices.
49989         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49990         ((unused)).
49992         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49994         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49995         10000 as width of padded output.
49997 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49999         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50001         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50002         variable LX with __attribute__ ((unused)).
50003         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50004         Likewise.
50005         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50006         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50007         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50008         with __attribute__ ((unused)).
50010 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
50012         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50014 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50016         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50017         (CFLAGS-nldbl-acos.c): New variable.
50018         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50019         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50020         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50021         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50022         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50023         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50024         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50025         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50026         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50027         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50028         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50029         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50030         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50031         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50032         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50033         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50034         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50035         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50036         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50037         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50038         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50039         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50040         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50041         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50042         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50043         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50044         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50045         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50046         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50047         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50048         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50049         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50050         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50051         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50052         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50053         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50054         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50055         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50056         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50057         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50058         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50059         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50060         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50061         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50062         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50063         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50064         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50065         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50066         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50067         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50068         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50069         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50070         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50071         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50072         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50073         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50074         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50075         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50076         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50077         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50078         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50079         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50080         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50081         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50082         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50083         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50084         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50085         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50086         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50087         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50088         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50089         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50090         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50091         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50092         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50093         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50094         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50095         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50096         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50097         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50098         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50099         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50100         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50101         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50102         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50103         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50104         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50105         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50106         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50107         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50108         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50109         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50110         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50111         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50112         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50113         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50114         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50117         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50119         [BZ #14914]
50120         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50121         whole low double instead of just low 47 bits when splitting values
50122         into two parts.
50124 2012-12-03  Allan McRae  <allan@archlinux.org>
50126         * manual/stdio.texi (Predefined Printf Handlers): Remove
50127         @hsep and @vsep usage.
50129 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
50131         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50132         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50134 2012-12-03  Jeff Law  <law@redhat.com>
50136         * time/sys/time.h (settimeofday): Do not mark TV argument
50137         as __nonnull.
50139 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
50141         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50142         when currently writing and seek to current position when not.
50143         * libio/Makefile (tests): Remove bug-fclose1.
50144         * libio/bug-fclose1.c: Delete.
50146 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
50148         * manual/arith.texi (feenableexcept): Fix typo.
50149         (fedisableexcept): Likewise.
50151 2012-11-30  Roland McGrath  <roland@hack.frob.com>
50153         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50154         second, differently-typed declaration, rather than a cast.
50156 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50158         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50159         * include/rpc/svc.h: ... here.
50161 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
50163         [BZ #13013]
50164         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50165         depending n and resplen2 to catch cases where answer
50166         equals answerp2.
50168 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
50170         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50171         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50173 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50175         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50177 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50179         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50181 2012-11-28  Jeff Law  <law@redhat.com>
50183         [BZ #13761]
50184         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50185         dataset_temporary.  Track alloca usage into alloca_used.
50186         If dataset is large allocate and release it via malloc/free.
50188 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50190         [BZ #14197]
50191         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50193 2012-11-28  David S. Miller  <davem@davemloft.net>
50195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50197 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50199         [BZ #14803]
50200         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50201         of pi/2 rounded to nearest to 64 bits.
50202         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50203         nearest to 64 bits.
50204         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50205         bits.
50207 2012-11-28  Jeff Law <law@redhat.com>
50208             Martin Osvald <mosvald@redhat.com>
50210         [BZ #14889]
50211         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50212         * sunrpc/svc.c: Include time.h.
50213         (__svc_accept_failed): New function.
50214         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50215         any reason other than EINTR, call __svc_accept_failed.
50216         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50217         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50219 2012-11-28  Andreas Schwab  <schwab@suse.de>
50221         * scripts/abilist.awk: Also handle indirect functions in .opd
50222         section.
50224 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50226         [BZ #13881]
50227         * sysdeps/x86/fpu/powl_helper.c: New file.
50228         * sysdeps/x86/fpu/Makefile: Likewise.
50229         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50230         (p3): New object.
50231         (__ieee754_powl): Use __powl_helper for finite arguments except
50232         integer exponents below 8.
50233         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50234         (p3): New object.
50235         (__ieee754_powl): Use __powl_helper for finite arguments except
50236         integer exponents below 8.
50237         * math/libm-test.inc (pow_test): Add more tests and enable some
50238         previously disabled tests.
50239         * sysdeps/i386/fpu/libm-test-ulps: Update.
50240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50242 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50243             Carlos O'Donell  <carlos_odonell@mentor.com>
50245         * nss/makedb.c (is_prime): Assert that input is odd and greater
50246         than 4.  Note that fact in a comment too.
50247         (next_prime): Add 4 to input.
50249 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50251         [BZ #11741]
50252         * libio/Makefile (tests): Add test case tst-fwrite-error.
50253         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50254         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50255         * libio/tst-fwrite-error.c: New test case.
50257 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50259         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50260         before casting to void *.
50261         * include/libc-internal.h (__pointer_type): New macro.
50262         (__integer_if_pointer_type_sub): Likewise.
50263         (__integer_if_pointer_type): Likewise.
50264         (cast_to_integer): Likewise.
50265         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50266         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50267         before casting to atomic64_t.
50268         (atomic_exchange_acq): Likewise.
50269         (__arch_exchange_and_add_body): Likewise.
50270         (__arch_add_body): Likewise.
50271         (atomic_add_negative): Likewise.
50272         (atomic_add_zero): Likewise.
50274 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50276         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50277         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50278         (add_fdes): Likewise.
50279         (linear_search_fdes): Likewise.
50280         (binary_search_unencoded_fdes): Likewise.
50282 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50284         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50286 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50288         * configure.in: Autodetect C++ header directories.
50289         * configure: Regenerated.
50291 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50293         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50295 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50299 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50301         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50302         LDBL_MANT_DIG == 106]: Disable some tests.
50303         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50304         Likewise.
50305         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50306         Likewise.
50308         [BZ #14871]
50309         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50310         input for small inputs.  Return +/- pi/2 for large inputs.
50311         * math/libm-test.inc (atan_test): Add more tests.
50313         * sysdeps/generic/unwind-dw2-fde-glibc.c
50314         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50315         __attribute__ ((unused)).
50317         [BZ #14645]
50318         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50319         x * y if x and y are nonzero and z is zero.
50321         [BZ #14811]
50322         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50323         nonzero exponents with absolute value below 0x1p-117 to +/-
50324         0x1p-117.
50326         [BZ #14869]
50327         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50328         up arguments below 2**-450, not just those below 2**-500.
50329         * math/libm-test.inc (hypot_test): Add another test.
50331         [BZ #14868]
50332         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50333         Return a+b for ratio over 2**120, not 2**60.
50334         * math/libm-test.inc (hypot_test): Add another test.
50336         * math/libm-test.inc (clog_test): Use
50337         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50338         (clog10_test): Likewise.
50340         [BZ #6778]
50341         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50343 2012-11-22  Andreas Schwab  <schwab@suse.de>
50345         * sysdeps/i386/fpu/libm-test-ulps: Update.
50347 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
50349         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50350         printf output with newline.
50352 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
50354         [BZ #14865]
50355         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50356         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50357         -z nodlopen, -z initfirst and -z execstack support.
50358         * configure: Regenerated.
50360         * elf/elf.h (DF_1_NODIRECT): New macro.
50361         (DF_1_IGNMULDEF): Likewise.
50362         (DF_1_NOKSYMS): Likewise.
50363         (DF_1_NOHDR): Likewise.
50364         (DF_1_EDITED): Likewise.
50365         (DF_1_NORELOC): Likewise.
50366         (DF_1_SYMINTPOSE): Likewise.
50367         (DF_1_GLOBAUDIT): Likewise.
50368         (DF_1_SINGLETON): Likewise.
50369         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50370         DT_1_SUPPORTED_MASK bits.
50371         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50373 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
50375         * sysdeps/unix/make-syscalls.sh: Document prefixes.
50377 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50379         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50380         macro.
50382         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50383         (sendmmsg): Move declarations...
50384         * socket/sys/socket.h: ... here.
50385         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50386         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50387         include it from...
50388         * socket/recvmmsg.c: ... this new file.
50389         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50390         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50391         definition of __sendmmsg hidden.
50392         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50393         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50394         Move ENOSYS stub into and include it from...
50395         * socket/sendmmsg.c: ... this new file.
50396         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50397         (sysdep_routines): Move recvmmsg and sendmmsg...
50398         * socket/Makefile (routines): ... here.
50399         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50400         (GLIBC_PRIVATE): Add __sendmmsg.
50401         * include/sys/socket.h (__sendmmsg): Add declarations.
50402         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50403         sendmmsg.
50405 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50407         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50408         variable I1 with __attribute__ ((unused)).
50409         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50411 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50413         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50414         DUMMY variables with __attribute__ ((unused)).
50416         * bits/byteswap.h: Include <bits/types.h>.
50417         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50419 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50421         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50422         string_t.  Do not manually set errno.
50423         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50424         length with __strnlen.  Make sure to both set errno and return it on
50425         failure.
50427 2012-11-19  David S. Miller  <davem@davemloft.net>
50429         With help from Joseph Myers.
50430         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50431         very large arguments properly.
50432         * math/libm-test.inc (atan_test): New tests.
50433         (atan2_test): New tests.
50434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50437 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50439         [BZ #14856]
50440         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50441         Define to 3.
50443         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50444         [POSIX] (EADDRNOTAVAIL): Likewise.
50445         [POSIX] (EAFNOSUPPORT): Likewise.
50446         [POSIX] (EALREADY): Likewise.
50447         [POSIX] (ECONNABORTED): Likewise.
50448         [POSIX] (ECONNREFUSED): Likewise.
50449         [POSIX] (ECONNRESET): Likewise.
50450         [POSIX] (EDESTADDRREQ): Likewise.
50451         [POSIX] (EDQUOT): Likewise.
50452         [POSIX] (EHOSTUNREACH): Likewise.
50453         [POSIX] (EIDRM): Likewise.
50454         [POSIX] (EISCONN): Likewise.
50455         [POSIX] (ELOOP): Likewise.
50456         [POSIX] (EMULTIHOP): Likewise.
50457         [POSIX] (ENETDOWN): Likewise.
50458         [POSIX] (ENETUNREACH): Likewise.
50459         [POSIX] (ENOBUFS): Likewise.
50460         [POSIX] (ENODATA): Likewise.
50461         [POSIX] (ENOLINK): Likewise.
50462         [POSIX] (ENOMSG): Likewise.
50463         [POSIX] (ENOPROTOOPT): Likewise.
50464         [POSIX] (ENOSR): Likewise.
50465         [POSIX] (ENOSTR): Likewise.
50466         [POSIX] (ENOTCONN): Likewise.
50467         [POSIX] (ENOTSOCK): Likewise.
50468         [POSIX] (EOPNOTSUPP): Likewise.
50469         [POSIX] (EOVERFLOW): Likewise.
50470         [POSIX] (EPROTO): Likewise.
50471         [POSIX] (EPROTONOSUPPORT): Likewise.
50472         [POSIX] (EPROTOTYPE): Likewise.
50473         [POSIX] (ESTALE): Likewise.
50474         [POSIX] (ETIME): Likewise.
50475         [POSIX] (ETXTBSY): Likewise.
50476         [POSIX] (EWOULDBLOCK): Likewise.
50477         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50478         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50479         [POSIX] (SEEK_CUR): Likewise.
50480         [POSIX] (SEEK_END): Likewise.
50481         [POSIX || UNIX98] (mode_t): Do not require.
50482         [POSIX] (off_t): Likewise.
50483         [POSIX] (pid_t): Likewise.
50484         [POSIX] (sys/stat.h): Do not allow header.
50485         [POSIX] (unistd.h): Likewise.
50486         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50487         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50488         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50489         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50490         require.
50491         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50492         sigevent): Specify elements.
50493         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50494         entry.
50495         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50496         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50498         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50499         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50500         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50501         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50502         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50503         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50504         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50505         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50506         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50507         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50508         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50509         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50510         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50511         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50512         Likewise.
50513         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50514         Likewise.
50515         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50516         Likewise.
50517         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50518         Likewise.
50519         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50520         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50521         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50522         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50523         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50524         Specify lower bound on value.
50525         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50526         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50527         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50528         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50529         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50530         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50531         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50532         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50533         value.
50534         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50535         as optional.
50536         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50537         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50538         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50539         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50540         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50541         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50542         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50543         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50544         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50545         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50546         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50547         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50548         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50549         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50550         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50551         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50552         entry.
50553         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50554         optional.
50555         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50556         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50557         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50558         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50559         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50560         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50561         Likewise.
50562         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50563         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50564         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50565         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50566         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50567         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50568         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50569         as optional.
50570         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50571         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50572         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50573         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50574         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50575         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50576         specify as optional.
50577         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50578         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50579         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50580         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50581         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50582         [XPG3] (NL_LANGMAX): Likewise.
50583         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50584         [POSIX || XPG3] (NL_NMAX): Likewise.
50585         [POSIX || XPG3] (NL_SETMAX): Likewise.
50586         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50587         [XPG3] (NZERO): Likewise.
50588         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50589         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50590         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50591         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50592         (REG_ERANGE): Expect.
50593         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50594         optional-constant.
50595         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50596         Use (void) in prototype.
50597         [POSIX] (*_t): Allow.
50598         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50599         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50600         (WRDE_BADVAL): Expect.
50602         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50603         expect.
50604         [XPG3 || XPG4] (O_RSYNC): Likewise.
50605         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50606         Likewise.
50607         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50608         [XPG3 || XPG4] (sigqueue): Likewise.
50609         [XPG3 || XPG4] (sigtimedwait): Likewise.
50610         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50611         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50612         [XPG3 || XPG4] (vsnprintf): Likewise.
50613         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50614         Likewise.
50615         [XPG3 || XPG4] (blksize_t): Likewise.
50616         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50617         Likewise.
50618         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50619         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50620         [XPG3 || XPG4] (struct itimerspec): Likewise.
50621         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50622         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50623         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50624         [XPG3 || XPG4] (clockid_t): Likewise.
50625         [XPG3 || XPG4] (timer_t): Likewise.
50626         [XPG3 || XPG4] (clock_getres): Likewise.
50627         [XPG3 || XPG4] (clock_gettime): Likewise.
50628         [XPG3 || XPG4] (clock_settime): Likewise.
50629         [XPG3 || XPG4] (nanosleep): Likewise.
50630         [XPG3 || XPG4] (timer_create): Likewise.
50631         [XPG3 || XPG4] (timer_delete): Likewise.
50632         [XPG3 || XPG4] (timer_gettime): Likewise.
50633         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50634         [XPG3 || XPG4] (timer_settime): Likewise.
50635         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50636         [XPG3 || XPG4] (getlogin_r): Likewise.
50637         [XPG3 || XPG4] (pread): Likewise.
50638         [XPG3 || XPG4] (pthread_atfork): Likewise.
50639         [XPG3 || XPG4] (pwrite): Likewise.
50641         [BZ #14835]
50642         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50643         <bits/siginfo.h>.
50645 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50647         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50648         finalizing MALLSTREAM.
50650         * sysdeps/mach/hurd/syncfs.c: New file.
50652 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50654         [BZ #14719]
50655         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50656         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50657         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50658         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50659         (_nss_dns_gethostbyname4_r): Likewise.
50660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50661         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50663 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50665         [BZ #13763]
50666         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50668 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50670         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50671         * elf/cache.c (print_entry): Print ",AArch64" for
50672         FLAG_AARCH64_LIB64
50674         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50675         * elf/cache.c (print_entry): Print ",hard-float" for
50676         FLAG_ARM_LIBHF.
50678 2012-11-18  David S. Miller  <davem@davemloft.net>
50680         With help from Joseph Myers.
50681         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50682         cutoff to 2**-13.
50683         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50684         cutoff to 2**-25.
50685         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50686         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50687         small.
50688         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50689         * math/libm-test.inc (y0_test): New tests.
50690         (y1_test): New tests.
50691         * sysdeps/i386/fpu/libm-test-ulps: Update.
50692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50695 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50697         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50698         64-bit targets.
50699         * configure: Regenerated.
50701 2012-11-17  David S. Miller  <davem@davemloft.net>
50703         [BZ #14811]
50704         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50705         nonzero exponents with absolute value below 0x1p-128 to +/-
50706         0x1p-128.
50708 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50710         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50712         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50714         * posix/getconf-speclist.c: New file.
50715         * posix/posix-envs.def: Likewise.
50716         * posix/confstr.c (START_ENV_GROUP): New macro.
50717         (END_ENV_GROUP): Likewise.
50718         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50719         (KNOWN_PRESENT_ENV_STRING): Likewise.
50720         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50721         (UNKNOWN_ENVIRONMENT): Likewise.
50722         (confstr): Include posix-envs.def instead of handling
50723         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50724         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50725         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50726         (END_ENV_GROUP): Likewise.
50727         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50728         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50729         (UNKNOWN_ENVIRONMENT): Likewise.
50730         (__sysconf): Include posix-envs.def instead of handling associated
50731         cases directly here.
50732         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50733         preprocessing getconf-speclist.c rather than running getconf or
50734         generating empty file.
50736 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50738         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50740 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50742         [BZ #14672]
50743         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50745 2012-11-16  David S. Miller  <davem@davemloft.net>
50747         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50748         smaller than LDBL_EPSILON/2.0L, just return xm1.
50750 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50752         * elf/tst-array1.c (init): Set constructor priority to 1000.
50753         (fini): Set destructor priority to 1000.
50754         * elf/tst-array2dep.c: Likewise.
50756 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50758         [BZ #11741]
50759         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50760         (_IO_new_file_xsputn): Also return EOF if none of the input
50761         data was written when overflow failed.
50762         * libio/iopadn.c (_IO_padn): Likewise.
50763         * libio/iowpadn.c (_IO_wpadn): Likewise.
50764         * stdio-common/tst-put-error.c: Add copyright notice.
50765         (do_test): Add case for printing padded string.
50766         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50767         _IO_padn returned error.
50768         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50769         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50770         return EOF.
50772 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50774         * libio/libioP.h: Add comment note that the references to C++
50775         bits are now obsolete.
50777 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50779         * math/libm-test.inc (check_complex): Use asprintf.
50781 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
50783         * debug/pcprofiledump.c (print_version): Update copyright year.
50784         * malloc/memusagestat.c (print_version): Likewise.
50786 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
50788         [BZ #14831]
50789         * elf/Makefile (tests): Add tst-audit8.
50790         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50791         ($(objpfx)tst-audit8.out): New target.
50792         (tst-audit8-ENV): New variable.
50793         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50794         audit if l_reloc_result is NULL.
50795         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50796         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50797         * elf/tst-audit8.c: New file.
50799 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50801         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50802         * misc/Makefile (CFLAGS-select.c): Define.
50803         * posix/Makefile (CFLAGS-pause.c): Define.
50805 2012-11-13  David S. Miller  <davem@davemloft.net>
50807         * crypt/Makefile: Move test targets after toplevel Rules
50808         inclusion.  Grab any necessary sysdep routines when linking.
50809         * crypt/md5.c (md5_process_block): Remove define, we will always
50810         name it __md5_process_block.
50811         (md5_finish_ctx): Update md5_process_block call.
50812         (md5_stream): Likewise.
50813         (md5_process_bytes): Likewise.
50814         (md5_process_block): Rename to __md5_process_block and move to ...
50815         * crypt/md5-block.c: ... here.
50816         * crypt/sha256.c (sha256_process_block): Move to ...
50817         * crypt/sha256-block.c: ... here.
50818         * crypt/sha512.c (sha512_process_block): Move to ...
50819         * crypt/sha512-block.c: ... here.
50820         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50821         path.
50822         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50823         * sysdeps/sparc/sparc64/multiarch/Makefile
50824         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50825         crypt subdir.
50826         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50827         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50828         multiarch changes.
50829         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50830         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50831         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50832         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50833         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50834         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50835         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50836         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50837         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50838         file.
50839         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50840         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50841         file.
50842         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50844 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50846         * timezone/tzselect.ksh: Update from tzcode git revision
50847         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50848         * timezone/zdump.c: Likewise.
50849         * timezone/zic.c: Likewise.
50850         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50851         in TZVERSION setting, not $(PKGVERSION).
50852         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
50853         REPORT_BUGS_TO settings.
50855         [BZ #14838]
50856         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50857         macro.
50859 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50861         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50862         detection to immediately after _FP_ROUND().
50863         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50864         bits are 0.
50866 2012-11-11  David S. Miller  <davem@davemloft.net>
50868         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50869         inttypes.h
50870         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50871         __close rather than their public counterparts.
50873 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
50875         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50876         file.
50877         [UNIX98] (sem_timedwait): Do not expect.
50878         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50879         [XPG4 || UNIX98] (sockatmark): Do not expect.
50880         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50881         (clock_getcpuclockid): Do not expect.
50882         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50883         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50884         Do not expect.
50885         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50886         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50887         [UNIX98] (vwscanf): Likewise.
50888         [UNIX98] (vswscanf): Likewise.
50890 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
50892         * timezone/version.h: Remove file.
50893         * timezone/README: Do not refer to version.h.
50894         * timezone/Makefile ($(objpfx)zic.o): New dependency on
50895         $(objpfx)version.h.
50896         ($(objpfx)zdump.o): Likewise.
50897         ($(objpfx)version.h): New target.
50899         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50900         2012i.
50901         * timezone/README: Don't mention modification to tzselect.ksh.
50902         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50903         work on unmodified tzselect.ksh.  Substitute version numbers in
50904         tzselect.ksh.
50906         * Makefile (format-me): Remove.
50907         (INSTALL): Adjust indentation.  Use commands directly instead of
50908         using $(format-me).
50910         * aclocal.m4 (ACX_PKGVERSION): New macro.
50911         (ACX_BUGURL): Likewise.
50912         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50913         (PKGVERSION): New AC_DEFINE_UNQUOTED.
50914         (REPORT_BUGS_TO): Likewise.
50915         * configure: Regenerated.
50916         * config.h.in (PKGVERSION): New macro.
50917         (REPORT_BUGS_TO): Likewise.
50918         * config.make.in (PKGVERSION): New variable.
50919         (PKGVERSION_TEXI): Likewise.
50920         (REPORT_BUGS_TO): Likewise.
50921         (REPORT_BUGS_TEXI): Likewise.
50922         * Makefile (format-me): Use -I$(common-objpfx)manual.
50923         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50924         ($(common-objpfx)manual/%): New target.
50925         (manual/%): Remove target.
50926         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50927         (print_version): Use PKGVERSION.
50928         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50929         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50930         and REPORT_BUGS_TO.
50931         ($(objpfx)xtrace): Likewise.
50932         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50933         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50934         (print_version): Use PKGVERSION.
50935         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50936         (do_version): Use PKGVERSION.
50937         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50938         REPORT_BUGS_TO.
50939         (common-ldd-rewrite): Likewise.
50940         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50941         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50942         (print_version): Use PKGVERSION.
50943         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50944         * elf/pldd.c (argp_program_bug_address): Remove variable.
50945         (more_help): New function.
50946         (argp): Use more_help.
50947         (print_version): Use PKGVERSION.
50948         * elf/sln.c (main): Use PKGVERSION.
50949         (usage): Use REPORT_BUGS_TO.
50950         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50951         (top level): Use PKGVERSION.
50952         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50953         (print_version): Use PKGVERSION.
50954         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50955         (print_version): Use PKGVERSION.
50956         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50957         (print_version): Use PKGVERSION.
50958         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50959         (print_version): Use PKGVERSION.
50960         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50961         (print_version): Use PKGVERSION.
50962         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50963         (print_version): Use PKGVERSION.
50964         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50965         and BUGURL.
50966         ($(objpfx)memusage): Likewise.
50967         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50968         (do_version): Use PKGVERSION.
50969         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50970         (print_version): Use PKGVERSION.
50971         * malloc/mtrace.pl ($PACKAGE): Remove variable.
50972         ($PKGVERSION): New variable.
50973         ($REPORT_BUGS_TO): Likewise.
50974         (usage): Use $REPORT_BUGS_TO.
50975         (top level): Use $PKGVERSION.
50976         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50977         ($(objpfx)pkgvers.texi): New rule.
50978         ($(objpfx)stamp-pkgvers): Likewise.
50979         * manual/install.texi: Include pkgvers.texi.
50980         (--with-pkgversion): Document new configure option.
50981         (--with-bugurl): Likewise.
50982         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50983         than necessarily for this particular distribution.  Use
50984         REPORT_BUGS_TO for where to report bugs.
50985         * INSTALL: Regenerated.
50986         * manual/libc.texinfo: Include pkgvers.texi.
50987         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50988         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50989         (print_version): Use PKGVERSION.
50990         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50991         (print_version): Use PKGVERSION.
50992         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50993         (print_version): Use PKGVERSION.
50994         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50995         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50996         macro.
50997         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50998         (print_version): Use PKGVERSION.
50999         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51000         (print_version): Use PKGVERSION.
51001         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51002         and PKGVERSION.
51004         * timezone/checktab.awk: Update from tzcode 2012i.
51005         * timezone/ialloc.c: Likewise.
51006         * timezone/private.h: Likewise.
51007         * timezone/scheck.c: Likewise.
51008         * timezone/tzfile.h: Likewise.
51009         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51010         (TZVERSION): Hardcode tzcode version number.
51011         * timezone/zdump.c: Update from tzcode 2012i.
51012         * timezone/zic.c: Likewise.
51013         * timezone/version.h: New file.
51014         * timezone/README: Describe version.h.  Update upstream location.
51016         [BZ #14824]
51017         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51018         (mktemp): Enable declaration.
51019         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51020         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51021         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51022         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51023         Likewise.
51024         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51025         Likewise.
51026         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51027         Likewise.
51028         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51029         Likewise.
51030         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51031         Likewise.
51032         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51033         Likewise.
51035         [BZ #14821]
51036         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51037         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51038         for copies of such integer values.
51039         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51040         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51042 2012-11-09  Andreas Jaeger  <aj@suse.de>
51044         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51045         definitions and declarations that are provided by
51046         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51048 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51050         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51051         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51052         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51053         definition.
51055 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51057         * elf/elf.h: Update comment before AArch64 relocations.
51059 2012-11-07  David S. Miller  <davem@davemloft.net>
51061         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51062         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51063         (__start_context): Declare.
51064         (__makecontext_ret): Delete.
51065         (__makecontext): Hook up __start_context instead of
51066         __makecontext_ret.
51067         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51068         (sysdep_routines): Add __start_context when in stdlib.
51070 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51072         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51073         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51074         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
51075         hardcoded "nm".
51076         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
51077         (READELF): New variable.  Use it instead of hardcoded "readelf".
51079 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51081         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51082         * sysdeps/x86/Makefile: Here.
51083         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51084         * sysdeps/x86/tst-xmmymm.sh: This.
51086 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51088         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51089         expectations.
51090         [UNIX98] (pthread_barrier_t): Do not expect.
51091         [UNIX98] (pthread_barrierattr_t): Likewise.
51092         [UNIX98] (pthread_spinlock_t): Likewise.
51093         [UNIX98] (pthread_barrier_destroy): Likewise.
51094         [UNIX98] (pthread_barrier_init): Likewise.
51095         [UNIX98] (pthread_barrier_wait): Likewise.
51096         [UNIX98] (pthread_barrierattr_destroy): Likewise.
51097         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51098         [UNIX98] (pthread_barrierattr_init): Likewise.
51099         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51100         [UNIX98] (pthread_getcpuclockid): Likewise.
51101         [UNIX98] (pthread_mutex_timedlock): Likewise.
51102         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51103         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51104         [UNIX98] (pthread_sigmask): Likewise.
51105         [UNIX98] (pthread_spin_destroy): Likewise.
51106         [UNIX98] (pthread_spin_init): Likewise.
51107         [UNIX98] (pthread_spin_lock): Likewise.
51108         [UNIX98] (pthread_spin_trylock): Likewise.
51109         [UNIX98] (pthread_spin_unlock): Likewise.
51110         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51111         Do not expect.
51112         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51113         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51114         [XPG3 || XPG4] (pthread_cond_t): Likewise.
51115         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51116         [XPG3 || XPG4] (pthread_key_t): Likewise.
51117         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51118         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51119         [XPG3 || XPG4] (pthread_once_t): Likewise.
51120         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51121         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51122         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51123         [XPG3 || XPG4] (pthread_t): Likewise.
51125         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51126         not expect.
51127         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51129         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51130         Change function return type to int.
51132         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51133         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51134         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51135         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51136         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51137         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51138         [!POSIX] (posix_madvise): Likewise.
51139         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51140         && !UNIX98].
51141         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51142         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51143         (mode_t): Likewise.
51144         (posix_mem_offset): Likewise.
51145         (posix_typed_mem_get_info): Likewise.
51146         (posix_typed_mem_open): Likewise.
51148         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51149         Change condition to [XOPEN2K8].
51151         * conform/conformtest.pl: Preprocess allow-header data with -x c
51152         instead of from stdin.
51153         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51154         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51155         [C99-based standards] (cerfc): Likewise.
51156         [C99-based standards] (cexp2): Likewise.
51157         [C99-based standards] (cexpm1): Likewise.
51158         [C99-based standards] (clog10): Likewise.
51159         [C99-based standards] (clog1p): Likewise.
51160         [C99-based standards] (clog2): Likewise.
51161         [C99-based standards] (clgamma): Likewise.
51162         [C99-based standards] (ctgamma): Likewise.
51163         [C99-based standards] (cerff): Likewise.
51164         [C99-based standards] (cerfcf): Likewise.
51165         [C99-based standards] (cexp2f): Likewise.
51166         [C99-based standards] (cexpm1f): Likewise.
51167         [C99-based standards] (clog10f): Likewise.
51168         [C99-based standards] (clog1pf): Likewise.
51169         [C99-based standards] (clog2f): Likewise.
51170         [C99-based standards] (clgammaf): Likewise.
51171         [C99-based standards] (ctgammaf): Likewise.
51172         [C99-based standards] (cerfl): Likewise.
51173         [C99-based standards] (cerfcl): Likewise.
51174         [C99-based standards] (cexp2l): Likewise.
51175         [C99-based standards] (cexpm1l): Likewise.
51176         [C99-based standards] (clog10l): Likewise.
51177         [C99-based standards] (clog1pl): Likewise.
51178         [C99-based standards] (clog2l): Likewise.
51179         [C99-based standards] (clgammal): Likewise.
51180         [C99-based standards] (ctgammal): Likewise.
51181         * conform/data/inttypes.h-data [C99-based standards]: Include
51182         stdint.h-data.  Remove all expectations for stdint.h contents.
51183         [C99-based standards] (PRI*): Do not allow.
51184         [C99-based standards] (SCN*): Likewise.
51185         [C99-based standards] (*_t): Likewise.
51186         [C99-based-standards] (PRId8): Expect macro.
51187         [C99-based-standards] (PRIi8): Likewise.
51188         [C99-based-standards] (PRIo8): Likewise.
51189         [C99-based-standards] (PRIu8): Likewise.
51190         [C99-based-standards] (PRIx8): Likewise.
51191         [C99-based-standards] (PRIX8): Likewise.
51192         [C99-based-standards] (SCNd8): Likewise.
51193         [C99-based-standards] (SCNi8): Likewise.
51194         [C99-based-standards] (SCNo8): Likewise.
51195         [C99-based-standards] (SCNu8): Likewise.
51196         [C99-based-standards] (SCNx8): Likewise.
51197         [C99-based-standards] (PRIdLEAST8): Likewise.
51198         [C99-based-standards] (PRIiLEAST8): Likewise.
51199         [C99-based-standards] (PRIoLEAST8): Likewise.
51200         [C99-based-standards] (PRIuLEAST8): Likewise.
51201         [C99-based-standards] (PRIxLEAST8): Likewise.
51202         [C99-based-standards] (PRIXLEAST8): Likewise.
51203         [C99-based-standards] (SCNdLEAST8): Likewise.
51204         [C99-based-standards] (SCNiLEAST8): Likewise.
51205         [C99-based-standards] (SCNoLEAST8): Likewise.
51206         [C99-based-standards] (SCNuLEAST8): Likewise.
51207         [C99-based-standards] (SCNxLEAST8): Likewise.
51208         [C99-based-standards] (PRIdFAST8): Likewise.
51209         [C99-based-standards] (PRIiFAST8): Likewise.
51210         [C99-based-standards] (PRIoFAST8): Likewise.
51211         [C99-based-standards] (PRIuFAST8): Likewise.
51212         [C99-based-standards] (PRIxFAST8): Likewise.
51213         [C99-based-standards] (PRIXFAST8): Likewise.
51214         [C99-based-standards] (SCNdFAST8): Likewise.
51215         [C99-based-standards] (SCNiFAST8): Likewise.
51216         [C99-based-standards] (SCNoFAST8): Likewise.
51217         [C99-based-standards] (SCNuFAST8): Likewise.
51218         [C99-based-standards] (SCNxFAST8): Likewise.
51219         [C99-based-standards] (PRId16): Likewise.
51220         [C99-based-standards] (PRIi16): Likewise.
51221         [C99-based-standards] (PRIo16): Likewise.
51222         [C99-based-standards] (PRIu16): Likewise.
51223         [C99-based-standards] (PRIx16): Likewise.
51224         [C99-based-standards] (PRIX16): Likewise.
51225         [C99-based-standards] (SCNd16): Likewise.
51226         [C99-based-standards] (SCNi16): Likewise.
51227         [C99-based-standards] (SCNo16): Likewise.
51228         [C99-based-standards] (SCNu16): Likewise.
51229         [C99-based-standards] (SCNx16): Likewise.
51230         [C99-based-standards] (PRIdLEAST16): Likewise.
51231         [C99-based-standards] (PRIiLEAST16): Likewise.
51232         [C99-based-standards] (PRIoLEAST16): Likewise.
51233         [C99-based-standards] (PRIuLEAST16): Likewise.
51234         [C99-based-standards] (PRIxLEAST16): Likewise.
51235         [C99-based-standards] (PRIXLEAST16): Likewise.
51236         [C99-based-standards] (SCNdLEAST16): Likewise.
51237         [C99-based-standards] (SCNiLEAST16): Likewise.
51238         [C99-based-standards] (SCNoLEAST16): Likewise.
51239         [C99-based-standards] (SCNuLEAST16): Likewise.
51240         [C99-based-standards] (SCNxLEAST16): Likewise.
51241         [C99-based-standards] (PRIdFAST16): Likewise.
51242         [C99-based-standards] (PRIiFAST16): Likewise.
51243         [C99-based-standards] (PRIoFAST16): Likewise.
51244         [C99-based-standards] (PRIuFAST16): Likewise.
51245         [C99-based-standards] (PRIxFAST16): Likewise.
51246         [C99-based-standards] (PRIXFAST16): Likewise.
51247         [C99-based-standards] (SCNdFAST16): Likewise.
51248         [C99-based-standards] (SCNiFAST16): Likewise.
51249         [C99-based-standards] (SCNoFAST16): Likewise.
51250         [C99-based-standards] (SCNuFAST16): Likewise.
51251         [C99-based-standards] (SCNxFAST16): Likewise.
51252         [C99-based-standards] (PRId32): Likewise.
51253         [C99-based-standards] (PRIi32): Likewise.
51254         [C99-based-standards] (PRIo32): Likewise.
51255         [C99-based-standards] (PRIu32): Likewise.
51256         [C99-based-standards] (PRIx32): Likewise.
51257         [C99-based-standards] (PRIX32): Likewise.
51258         [C99-based-standards] (SCNd32): Likewise.
51259         [C99-based-standards] (SCNi32): Likewise.
51260         [C99-based-standards] (SCNo32): Likewise.
51261         [C99-based-standards] (SCNu32): Likewise.
51262         [C99-based-standards] (SCNx32): Likewise.
51263         [C99-based-standards] (PRIdLEAST32): Likewise.
51264         [C99-based-standards] (PRIiLEAST32): Likewise.
51265         [C99-based-standards] (PRIoLEAST32): Likewise.
51266         [C99-based-standards] (PRIuLEAST32): Likewise.
51267         [C99-based-standards] (PRIxLEAST32): Likewise.
51268         [C99-based-standards] (PRIXLEAST32): Likewise.
51269         [C99-based-standards] (SCNdLEAST32): Likewise.
51270         [C99-based-standards] (SCNiLEAST32): Likewise.
51271         [C99-based-standards] (SCNoLEAST32): Likewise.
51272         [C99-based-standards] (SCNuLEAST32): Likewise.
51273         [C99-based-standards] (SCNxLEAST32): Likewise.
51274         [C99-based-standards] (PRIdFAST32): Likewise.
51275         [C99-based-standards] (PRIiFAST32): Likewise.
51276         [C99-based-standards] (PRIoFAST32): Likewise.
51277         [C99-based-standards] (PRIuFAST32): Likewise.
51278         [C99-based-standards] (PRIxFAST32): Likewise.
51279         [C99-based-standards] (PRIXFAST32): Likewise.
51280         [C99-based-standards] (SCNdFAST32): Likewise.
51281         [C99-based-standards] (SCNiFAST32): Likewise.
51282         [C99-based-standards] (SCNoFAST32): Likewise.
51283         [C99-based-standards] (SCNuFAST32): Likewise.
51284         [C99-based-standards] (SCNxFAST32): Likewise.
51285         [C99-based-standards] (PRId64): Likewise.
51286         [C99-based-standards] (PRIi64): Likewise.
51287         [C99-based-standards] (PRIo64): Likewise.
51288         [C99-based-standards] (PRIu64): Likewise.
51289         [C99-based-standards] (PRIx64): Likewise.
51290         [C99-based-standards] (PRIX64): Likewise.
51291         [C99-based-standards] (SCNd64): Likewise.
51292         [C99-based-standards] (SCNi64): Likewise.
51293         [C99-based-standards] (SCNo64): Likewise.
51294         [C99-based-standards] (SCNu64): Likewise.
51295         [C99-based-standards] (SCNx64): Likewise.
51296         [C99-based-standards] (PRIdLEAST64): Likewise.
51297         [C99-based-standards] (PRIiLEAST64): Likewise.
51298         [C99-based-standards] (PRIoLEAST64): Likewise.
51299         [C99-based-standards] (PRIuLEAST64): Likewise.
51300         [C99-based-standards] (PRIxLEAST64): Likewise.
51301         [C99-based-standards] (PRIXLEAST64): Likewise.
51302         [C99-based-standards] (SCNdLEAST64): Likewise.
51303         [C99-based-standards] (SCNiLEAST64): Likewise.
51304         [C99-based-standards] (SCNoLEAST64): Likewise.
51305         [C99-based-standards] (SCNuLEAST64): Likewise.
51306         [C99-based-standards] (SCNxLEAST64): Likewise.
51307         [C99-based-standards] (PRIdFAST64): Likewise.
51308         [C99-based-standards] (PRIiFAST64): Likewise.
51309         [C99-based-standards] (PRIoFAST64): Likewise.
51310         [C99-based-standards] (PRIuFAST64): Likewise.
51311         [C99-based-standards] (PRIxFAST64): Likewise.
51312         [C99-based-standards] (PRIXFAST64): Likewise.
51313         [C99-based-standards] (SCNdFAST64): Likewise.
51314         [C99-based-standards] (SCNiFAST64): Likewise.
51315         [C99-based-standards] (SCNoFAST64): Likewise.
51316         [C99-based-standards] (SCNuFAST64): Likewise.
51317         [C99-based-standards] (SCNxFAST64): Likewise.
51318         [C99-based-standards] (PRIdMAX): Likewise.
51319         [C99-based-standards] (PRIiMAX): Likewise.
51320         [C99-based-standards] (PRIoMAX): Likewise.
51321         [C99-based-standards] (PRIuMAX): Likewise.
51322         [C99-based-standards] (PRIxMAX): Likewise.
51323         [C99-based-standards] (PRIXMAX): Likewise.
51324         [C99-based-standards] (SCNdMAX): Likewise.
51325         [C99-based-standards] (SCNiMAX): Likewise.
51326         [C99-based-standards] (SCNoMAX): Likewise.
51327         [C99-based-standards] (SCNuMAX): Likewise.
51328         [C99-based-standards] (SCNxMAX): Likewise.
51329         [C99-based-standards] (PRIdPTR): Likewise.
51330         [C99-based-standards] (PRIiPTR): Likewise.
51331         [C99-based-standards] (PRIoPTR): Likewise.
51332         [C99-based-standards] (PRIuPTR): Likewise.
51333         [C99-based-standards] (PRIxPTR): Likewise.
51334         [C99-based-standards] (PRIXPTR): Likewise.
51335         [C99-based-standards] (SCNdPTR): Likewise.
51336         [C99-based-standards] (SCNiPTR): Likewise.
51337         [C99-based-standards] (SCNoPTR): Likewise.
51338         [C99-based-standards] (SCNuPTR): Likewise.
51339         [C99-based-standards] (SCNxPTR): Likewise.
51340         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51341         allow.
51342         * conform/data/stdint.h-data: Update comments to clarify
51343         requirements.
51344         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
51345         type.
51346         [C99-based standards] (INT8_MAX): Likewise.
51347         [C99-based standards] (INT16_MIN): Likewise.
51348         [C99-based standards] (INT16_MAX): Likewise.
51349         [C99-based standards] (INT32_MIN): Likewise.
51350         [C99-based standards] (INT32_MAX): Likewise.
51351         [C99-based standards] (INT64_MIN): Likewise.
51352         [C99-based standards] (INT64_MAX): Likewise.
51353         [C99-based standards] (UINT8_MAX): Likewise.
51354         [C99-based standards] (UINT16_MAX): Likewise.
51355         [C99-based standards] (UINT32_MAX): Likewise.
51356         [C99-based standards] (UINT64_MAX): Likewise.
51357         [C99-based standards] (INT_LEAST8_MIN): Likewise.
51358         [C99-based standards] (INT_LEAST8_MAX): Likewise.
51359         [C99-based standards] (INT_LEAST16_MIN): Likewise.
51360         [C99-based standards] (INT_LEAST16_MAX): Likewise.
51361         [C99-based standards] (INT_LEAST32_MIN): Likewise.
51362         [C99-based standards] (INT_LEAST32_MAX): Likewise.
51363         [C99-based standards] (INT_LEAST64_MIN): Likewise.
51364         [C99-based standards] (INT_LEAST64_MAX): Likewise.
51365         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51366         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51367         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51368         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51369         [C99-based standards] (INT_FAST8_MIN): Likewise.
51370         [C99-based standards] (INT_FAST8_MAX): Likewise.
51371         [C99-based standards] (INT_FAST16_MIN): Likewise.
51372         [C99-based standards] (INT_FAST16_MAX): Likewise.
51373         [C99-based standards] (INT_FAST32_MIN): Likewise.
51374         [C99-based standards] (INT_FAST32_MAX): Likewise.
51375         [C99-based standards] (INT_FAST64_MIN): Likewise.
51376         [C99-based standards] (INT_FAST64_MAX): Likewise.
51377         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51378         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51379         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51380         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51381         [C99-based standards] (INTPTR_MIN): Likewise.
51382         [C99-based standards] (INTPTR_MAX): Likewise.
51383         [C99-based standards] (UINTPTR_MAX): Likewise.
51384         [C99-based standards] (INTMAX_MIN): Likewise.
51385         [C99-based standards] (INTMAX_MAX): Likewise.
51386         [C99-based standards] (UINTMAX_MAX): Likewise.
51387         [C99-based standards] (PTRDIFF_MIN): Likewise.
51388         [C99-based standards] (PTRDIFF_MAX): Likewise.
51389         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51390         [C99-based standards] (SIZE_MAX): Likewise.
51391         [C99-based standards] (WCHAR_MAX): Likewise.
51392         [C99-based standards] (WINT_MAX): Likewise.
51393         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51394         constraint on value.
51395         [C99-based standards] (WCHAR_MIN): Likewise.
51396         [C99-based standards] (WINT_MIN): Likewise.
51397         [C99-based standards] (*_t): Allow.
51398         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51399         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51400         Include math.h-data and complex.h-data.  Remove all expectations
51401         of math.h and complex.h contents.
51402         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51403         at end of line.
51404         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51405         (struct tm): Expect tag.
51406         [C99-based-standards] (wcstof): Expect function.
51407         [C99-based-standards] (wcstold): Likewise.
51408         [C99-based-standards] (wcstoll): Likewise.
51409         [C99-based-standards] (wcstoull): Likewise.
51410         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51411         macro-int-constant.  Specify type.
51412         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51413         constraint on value.
51414         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51415         Specify type.
51416         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51417         Specify value.
51418         [ISO C standards]: Do not allow headers.
51419         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51420         wcs[abcdefghijklmnopqrstuvwxyz]*.
51421         [ISO C standards] (*_t): Do not allow.
51422         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51423         Expect function.
51424         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51425         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51426         Specify type.
51427         [ISO C standards]: Do not allow headers.
51428         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51429         is[abcdefghijklmnopqrstuvwxyz]*.
51430         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51431         to[abcdefghijklmnopqrstuvwxyz]*.
51432         [ISO C standards] (*_t): Do not allow.
51433         * conform/data/stdalign.h-data: New file.
51434         * conform/data/stdbool.h-data: Likewise.
51435         * conform/data/stdnoreturn.h-data: Likewise.
51437 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51439         [BZ #14815]
51440         * manual/filesys.texi (Directory Entries): Typo fix.
51441         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51443 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51445         * elf/elf.h (EM_AARCH64): New macro.
51446         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51447         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51448         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51449         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51450         (R_AARCH64_TLSDESC): Likewise.
51451         (NT_ARM_TLS): Likewise.
51452         (NT_ARM_HW_BREAK): Likewise.
51453         (NT_ARM_HW_WATCH): Likewise.
51455 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51457         [BZ #14811]
51458         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51459         (__ieee754_powl): Saturate nonzero exponents with absolute value
51460         below 0x1p-79 to +/- 0x1p-79.
51461         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51462         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51463         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51464         nonzero exponents with absolute value below 0x1p-32 to +/-
51465         0x1p-32.
51466         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51467         (__ieee754_powl): Saturate nonzero exponents with absolute value
51468         below 0x1p-79 to +/- 0x1p-79.
51469         * math/libm-test.inc (pow_test): Add more tests.
51471 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51473         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51474         _dl_s390_cap_flags with kernel. Increase string length.
51475         (_dl_s390_platforms): Add z196 and zEC12.
51477 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51479         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51480         Change XOPEN21K to XOPEN2K.
51482 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51484         * string/memmove.c: Use memcpy when possible.
51486 2012-11-06  Andreas Jaeger  <aj@suse.de>
51488         * po/eo.po: Update from translation team.
51490 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51492         [BZ #14793]
51493         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51494         exponent and small x and y exponents, scale x or y up.  Increase
51495         by 2 the exponent used in scaling up.
51496         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51497         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51498         * math/libm-test.inc (fma_test): Add more tests.
51499         (fma_test_towardzero): Likewise.
51500         (fma_test_downward): Likewise.
51501         (fma_test_upward): Likewise.
51503 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51505         [BZ #14805]
51506         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51507         fenv_t *.
51509         [BZ #14801]
51510         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51511         namespace for names of struct fields.
51512         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51513         fenv_t fields.
51514         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51515         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51517 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51519         [BZ #3665]
51520         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51522 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51524         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51525         PTR_DEMANGLE.
51527         [BZ #5246]
51528         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51529         PTR_DEMANGLE.
51531 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51533         [BZ #14797]
51534         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51535         definitely overflow as x * y not x * y + z.
51536         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51537         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51538         * math/libm-test.inc (fma_test): Add more tests.
51539         (fma_test_towardzero): Likewise.
51540         (fma_test_downward): Likewise.
51541         (fma_test_upward): Likewise.
51543 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51545         [BZ #157]
51547         * include/stub-tag.h: Remove file.
51548         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51549         '#include' of it.
51550         * manual/maint.texi (Porting): Don't reference it.
51551         * Makerules ($(objpfx)stubs): Likewise.
51552         * dirent/closedir.c: Don't include <stub-tag.h>.
51553         * dirent/dirfd.c: Likewise.
51554         * dirent/fdopendir.c: Likewise.
51555         * dirent/getdents.c: Likewise.
51556         * dirent/getdents64.c: Likewise.
51557         * dirent/opendir.c: Likewise.
51558         * dirent/readdir.c: Likewise.
51559         * dirent/readdir64.c: Likewise.
51560         * dirent/readdir64_r.c: Likewise.
51561         * dirent/readdir_r.c: Likewise.
51562         * dirent/rewinddir.c: Likewise.
51563         * dirent/seekdir.c: Likewise.
51564         * dirent/telldir.c: Likewise.
51565         * gmon/profil.c: Likewise.
51566         * grp/setgroups.c: Likewise.
51567         * inet/if_index.c: Likewise.
51568         * io/access.c: Likewise.
51569         * io/chdir.c: Likewise.
51570         * io/chmod.c: Likewise.
51571         * io/chown.c: Likewise.
51572         * io/close.c: Likewise.
51573         * io/dup.c: Likewise.
51574         * io/dup2.c: Likewise.
51575         * io/dup3.c: Likewise.
51576         * io/euidaccess.c: Likewise.
51577         * io/faccessat.c: Likewise.
51578         * io/fchdir.c: Likewise.
51579         * io/fchmod.c: Likewise.
51580         * io/fchmodat.c: Likewise.
51581         * io/fchown.c: Likewise.
51582         * io/fchownat.c: Likewise.
51583         * io/fcntl.c: Likewise.
51584         * io/flock.c: Likewise.
51585         * io/fstatfs.c: Likewise.
51586         * io/fstatfs64.c: Likewise.
51587         * io/fstatvfs.c: Likewise.
51588         * io/fstatvfs64.c: Likewise.
51589         * io/futimens.c: Likewise.
51590         * io/fxstat.c: Likewise.
51591         * io/fxstat64.c: Likewise.
51592         * io/fxstatat.c: Likewise.
51593         * io/fxstatat64.c: Likewise.
51594         * io/getcwd.c: Likewise.
51595         * io/isatty.c: Likewise.
51596         * io/lchmod.c: Likewise.
51597         * io/lchown.c: Likewise.
51598         * io/link.c: Likewise.
51599         * io/linkat.c: Likewise.
51600         * io/lseek.c: Likewise.
51601         * io/lseek64.c: Likewise.
51602         * io/lxstat64.c: Likewise.
51603         * io/mkdir.c: Likewise.
51604         * io/mkdirat.c: Likewise.
51605         * io/mkfifo.c: Likewise.
51606         * io/mkfifoat.c: Likewise.
51607         * io/open.c: Likewise.
51608         * io/open64.c: Likewise.
51609         * io/openat.c: Likewise.
51610         * io/openat64.c: Likewise.
51611         * io/pipe.c: Likewise.
51612         * io/pipe2.c: Likewise.
51613         * io/poll.c: Likewise.
51614         * io/posix_fadvise.c: Likewise.
51615         * io/posix_fadvise64.c: Likewise.
51616         * io/posix_fallocate.c: Likewise.
51617         * io/posix_fallocate64.c: Likewise.
51618         * io/read.c: Likewise.
51619         * io/readlink.c: Likewise.
51620         * io/readlinkat.c: Likewise.
51621         * io/rmdir.c: Likewise.
51622         * io/sendfile.c: Likewise.
51623         * io/sendfile64.c: Likewise.
51624         * io/statfs.c: Likewise.
51625         * io/statfs64.c: Likewise.
51626         * io/statvfs.c: Likewise.
51627         * io/statvfs64.c: Likewise.
51628         * io/symlink.c: Likewise.
51629         * io/symlinkat.c: Likewise.
51630         * io/ttyname.c: Likewise.
51631         * io/ttyname_r.c: Likewise.
51632         * io/umask.c: Likewise.
51633         * io/unlink.c: Likewise.
51634         * io/unlinkat.c: Likewise.
51635         * io/utime.c: Likewise.
51636         * io/utimensat.c: Likewise.
51637         * io/write.c: Likewise.
51638         * io/xmknod.c: Likewise.
51639         * io/xmknodat.c: Likewise.
51640         * io/xstat.c: Likewise.
51641         * io/xstat64.c: Likewise.
51642         * login/getpt.c: Likewise.
51643         * login/grantpt.c: Likewise.
51644         * login/unlockpt.c: Likewise.
51645         * math/e_acoshl.c: Likewise.
51646         * math/e_acosl.c: Likewise.
51647         * math/e_asinl.c: Likewise.
51648         * math/e_atan2l.c: Likewise.
51649         * math/e_atanhl.c: Likewise.
51650         * math/e_coshl.c: Likewise.
51651         * math/e_expl.c: Likewise.
51652         * math/e_fmodl.c: Likewise.
51653         * math/e_gammal_r.c: Likewise.
51654         * math/e_hypotl.c: Likewise.
51655         * math/e_j0l.c: Likewise.
51656         * math/e_j1l.c: Likewise.
51657         * math/e_jnl.c: Likewise.
51658         * math/e_lgammal_r.c: Likewise.
51659         * math/e_log10l.c: Likewise.
51660         * math/e_log2l.c: Likewise.
51661         * math/e_logl.c: Likewise.
51662         * math/e_powl.c: Likewise.
51663         * math/e_rem_pio2l.c: Likewise.
51664         * math/e_sinhl.c: Likewise.
51665         * math/e_sqrtl.c: Likewise.
51666         * math/fclrexcpt.c: Likewise.
51667         * math/fedisblxcpt.c: Likewise.
51668         * math/feenablxcpt.c: Likewise.
51669         * math/fegetenv.c: Likewise.
51670         * math/fegetexcept.c: Likewise.
51671         * math/fegetround.c: Likewise.
51672         * math/feholdexcpt.c: Likewise.
51673         * math/fesetenv.c: Likewise.
51674         * math/fesetround.c: Likewise.
51675         * math/feupdateenv.c: Likewise.
51676         * math/fgetexcptflg.c: Likewise.
51677         * math/fraiseexcpt.c: Likewise.
51678         * math/fsetexcptflg.c: Likewise.
51679         * math/ftestexcept.c: Likewise.
51680         * math/k_cosl.c: Likewise.
51681         * math/k_rem_pio2l.c: Likewise.
51682         * math/k_sinl.c: Likewise.
51683         * math/k_tanl.c: Likewise.
51684         * math/s_asinhl.c: Likewise.
51685         * math/s_atanl.c: Likewise.
51686         * math/s_cbrtl.c: Likewise.
51687         * math/s_erfl.c: Likewise.
51688         * math/s_expm1l.c: Likewise.
51689         * math/s_log1pl.c: Likewise.
51690         * math/s_tanhl.c: Likewise.
51691         * misc/acct.c: Likewise.
51692         * misc/brk.c: Likewise.
51693         * misc/chflags.c: Likewise.
51694         * misc/chroot.c: Likewise.
51695         * misc/fchflags.c: Likewise.
51696         * misc/fgetxattr.c: Likewise.
51697         * misc/flistxattr.c: Likewise.
51698         * misc/fremovexattr.c: Likewise.
51699         * misc/fsetxattr.c: Likewise.
51700         * misc/fsync.c: Likewise.
51701         * misc/ftruncate.c: Likewise.
51702         * misc/futimes.c: Likewise.
51703         * misc/futimesat.c: Likewise.
51704         * misc/getdomain.c: Likewise.
51705         * misc/getdtsz.c: Likewise.
51706         * misc/gethostid.c: Likewise.
51707         * misc/gethostname.c: Likewise.
51708         * misc/getloadavg.c: Likewise.
51709         * misc/getpagesize.c: Likewise.
51710         * misc/getsysstats.c: Likewise.
51711         * misc/getxattr.c: Likewise.
51712         * misc/gtty.c: Likewise.
51713         * misc/ioctl.c: Likewise.
51714         * misc/lgetxattr.c: Likewise.
51715         * misc/listxattr.c: Likewise.
51716         * misc/llistxattr.c: Likewise.
51717         * misc/lremovexattr.c: Likewise.
51718         * misc/lsetxattr.c: Likewise.
51719         * misc/lutimes.c: Likewise.
51720         * misc/madvise.c: Likewise.
51721         * misc/mincore.c: Likewise.
51722         * misc/mlock.c: Likewise.
51723         * misc/mlockall.c: Likewise.
51724         * misc/mmap.c: Likewise.
51725         * misc/mprotect.c: Likewise.
51726         * misc/msync.c: Likewise.
51727         * misc/munlock.c: Likewise.
51728         * misc/munlockall.c: Likewise.
51729         * misc/munmap.c: Likewise.
51730         * misc/preadv.c: Likewise.
51731         * misc/preadv64.c: Likewise.
51732         * misc/ptrace.c: Likewise.
51733         * misc/pwritev.c: Likewise.
51734         * misc/pwritev64.c: Likewise.
51735         * misc/readv.c: Likewise.
51736         * misc/reboot.c: Likewise.
51737         * misc/remap_file_pages.c: Likewise.
51738         * misc/removexattr.c: Likewise.
51739         * misc/revoke.c: Likewise.
51740         * misc/select.c: Likewise.
51741         * misc/setdomain.c: Likewise.
51742         * misc/setegid.c: Likewise.
51743         * misc/seteuid.c: Likewise.
51744         * misc/sethostid.c: Likewise.
51745         * misc/sethostname.c: Likewise.
51746         * misc/setregid.c: Likewise.
51747         * misc/setreuid.c: Likewise.
51748         * misc/setxattr.c: Likewise.
51749         * misc/sstk.c: Likewise.
51750         * misc/stty.c: Likewise.
51751         * misc/swapoff.c: Likewise.
51752         * misc/swapon.c: Likewise.
51753         * misc/sync.c: Likewise.
51754         * misc/syncfs.c: Likewise.
51755         * misc/syscall.c: Likewise.
51756         * misc/truncate.c: Likewise.
51757         * misc/ualarm.c: Likewise.
51758         * misc/usleep.c: Likewise.
51759         * misc/ustat.c: Likewise.
51760         * misc/utimes.c: Likewise.
51761         * misc/vhangup.c: Likewise.
51762         * misc/writev.c: Likewise.
51763         * posix/_exit.c: Likewise.
51764         * posix/alarm.c: Likewise.
51765         * posix/execve.c: Likewise.
51766         * posix/fexecve.c: Likewise.
51767         * posix/fork.c: Likewise.
51768         * posix/fpathconf.c: Likewise.
51769         * posix/getaddrinfo.c: Likewise.
51770         * posix/getegid.c: Likewise.
51771         * posix/geteuid.c: Likewise.
51772         * posix/getgid.c: Likewise.
51773         * posix/getgroups.c: Likewise.
51774         * posix/getlogin.c: Likewise.
51775         * posix/getlogin_r.c: Likewise.
51776         * posix/getpgid.c: Likewise.
51777         * posix/getpid.c: Likewise.
51778         * posix/getppid.c: Likewise.
51779         * posix/getresgid.c: Likewise.
51780         * posix/getresuid.c: Likewise.
51781         * posix/getsid.c: Likewise.
51782         * posix/getuid.c: Likewise.
51783         * posix/glob64.c: Likewise.
51784         * posix/nanosleep.c: Likewise.
51785         * posix/pathconf.c: Likewise.
51786         * posix/pause.c: Likewise.
51787         * posix/posix_madvise.c: Likewise.
51788         * posix/pread.c: Likewise.
51789         * posix/pread64.c: Likewise.
51790         * posix/pwrite.c: Likewise.
51791         * posix/pwrite64.c: Likewise.
51792         * posix/sched_getaffinity.c: Likewise.
51793         * posix/sched_getp.c: Likewise.
51794         * posix/sched_gets.c: Likewise.
51795         * posix/sched_primax.c: Likewise.
51796         * posix/sched_primin.c: Likewise.
51797         * posix/sched_rr_gi.c: Likewise.
51798         * posix/sched_setaffinity.c: Likewise.
51799         * posix/sched_setp.c: Likewise.
51800         * posix/sched_sets.c: Likewise.
51801         * posix/sched_yield.c: Likewise.
51802         * posix/setgid.c: Likewise.
51803         * posix/setlogin.c: Likewise.
51804         * posix/setpgid.c: Likewise.
51805         * posix/setresgid.c: Likewise.
51806         * posix/setresuid.c: Likewise.
51807         * posix/setsid.c: Likewise.
51808         * posix/setuid.c: Likewise.
51809         * posix/sleep.c: Likewise.
51810         * posix/spawni.c: Likewise.
51811         * posix/sysconf.c: Likewise.
51812         * posix/times.c: Likewise.
51813         * posix/wait.c: Likewise.
51814         * posix/wait3.c: Likewise.
51815         * posix/wait4.c: Likewise.
51816         * posix/waitpid.c: Likewise.
51817         * resolv/gai_sigqueue.c: Likewise.
51818         * resource/getpriority.c: Likewise.
51819         * resource/getrlimit.c: Likewise.
51820         * resource/getrusage.c: Likewise.
51821         * resource/nice.c: Likewise.
51822         * resource/setpriority.c: Likewise.
51823         * resource/setrlimit.c: Likewise.
51824         * resource/ulimit.c: Likewise.
51825         * rt/aio_cancel.c: Likewise.
51826         * rt/aio_fsync.c: Likewise.
51827         * rt/aio_read.c: Likewise.
51828         * rt/aio_sigqueue.c: Likewise.
51829         * rt/aio_suspend.c: Likewise.
51830         * rt/aio_write.c: Likewise.
51831         * rt/clock_getres.c: Likewise.
51832         * rt/clock_gettime.c: Likewise.
51833         * rt/clock_nanosleep.c: Likewise.
51834         * rt/clock_settime.c: Likewise.
51835         * rt/lio_listio.c: Likewise.
51836         * rt/mq_close.c: Likewise.
51837         * rt/mq_getattr.c: Likewise.
51838         * rt/mq_notify.c: Likewise.
51839         * rt/mq_open.c: Likewise.
51840         * rt/mq_receive.c: Likewise.
51841         * rt/mq_send.c: Likewise.
51842         * rt/mq_setattr.c: Likewise.
51843         * rt/mq_timedreceive.c: Likewise.
51844         * rt/mq_timedsend.c: Likewise.
51845         * rt/mq_unlink.c: Likewise.
51846         * rt/shm_open.c: Likewise.
51847         * rt/shm_unlink.c: Likewise.
51848         * rt/timer_create.c: Likewise.
51849         * rt/timer_delete.c: Likewise.
51850         * rt/timer_getoverr.c: Likewise.
51851         * rt/timer_gettime.c: Likewise.
51852         * rt/timer_settime.c: Likewise.
51853         * setjmp/__longjmp.c: Likewise.
51854         * setjmp/setjmp.c: Likewise.
51855         * signal/kill.c: Likewise.
51856         * signal/killpg.c: Likewise.
51857         * signal/raise.c: Likewise.
51858         * signal/sigaction.c: Likewise.
51859         * signal/sigaltstack.c: Likewise.
51860         * signal/sigblock.c: Likewise.
51861         * signal/sigignore.c: Likewise.
51862         * signal/sigintr.c: Likewise.
51863         * signal/signal.c: Likewise.
51864         * signal/sigpause.c: Likewise.
51865         * signal/sigpending.c: Likewise.
51866         * signal/sigqueue.c: Likewise.
51867         * signal/sigreturn.c: Likewise.
51868         * signal/sigset.c: Likewise.
51869         * signal/sigsetmask.c: Likewise.
51870         * signal/sigstack.c: Likewise.
51871         * signal/sigsuspend.c: Likewise.
51872         * signal/sigtimedwait.c: Likewise.
51873         * signal/sigvec.c: Likewise.
51874         * signal/sigwait.c: Likewise.
51875         * signal/sigwaitinfo.c: Likewise.
51876         * signal/sysv_signal.c: Likewise.
51877         * socket/accept.c: Likewise.
51878         * socket/accept4.c: Likewise.
51879         * socket/bind.c: Likewise.
51880         * socket/connect.c: Likewise.
51881         * socket/getpeername.c: Likewise.
51882         * socket/getsockname.c: Likewise.
51883         * socket/getsockopt.c: Likewise.
51884         * socket/isfdtype.c: Likewise.
51885         * socket/listen.c: Likewise.
51886         * socket/recv.c: Likewise.
51887         * socket/recvfrom.c: Likewise.
51888         * socket/recvmsg.c: Likewise.
51889         * socket/send.c: Likewise.
51890         * socket/sendmsg.c: Likewise.
51891         * socket/sendto.c: Likewise.
51892         * socket/setsockopt.c: Likewise.
51893         * socket/shutdown.c: Likewise.
51894         * socket/sockatmark.c: Likewise.
51895         * socket/socket.c: Likewise.
51896         * socket/socketpair.c: Likewise.
51897         * stdio-common/ctermid.c: Likewise.
51898         * stdio-common/cuserid.c: Likewise.
51899         * stdio-common/remove.c: Likewise.
51900         * stdio-common/rename.c: Likewise.
51901         * stdio-common/renameat.c: Likewise.
51902         * stdio-common/tempname.c: Likewise.
51903         * stdlib/getcontext.c: Likewise.
51904         * stdlib/makecontext.c: Likewise.
51905         * stdlib/setcontext.c: Likewise.
51906         * stdlib/swapcontext.c: Likewise.
51907         * stdlib/system.c: Likewise.
51908         * streams/fattach.c: Likewise.
51909         * streams/fdetach.c: Likewise.
51910         * streams/getmsg.c: Likewise.
51911         * streams/getpmsg.c: Likewise.
51912         * streams/putmsg.c: Likewise.
51913         * streams/putpmsg.c: Likewise.
51914         * sysdeps/unix/bsd/getpt.c: Likewise.
51915         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51916         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51917         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51919         Likewise.
51920         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51921         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51922         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51923         * sysvipc/msgctl.c: Likewise.
51924         * sysvipc/msgget.c: Likewise.
51925         * sysvipc/msgrcv.c: Likewise.
51926         * sysvipc/msgsnd.c: Likewise.
51927         * sysvipc/semctl.c: Likewise.
51928         * sysvipc/semget.c: Likewise.
51929         * sysvipc/semop.c: Likewise.
51930         * sysvipc/semtimedop.c: Likewise.
51931         * sysvipc/shmat.c: Likewise.
51932         * sysvipc/shmctl.c: Likewise.
51933         * sysvipc/shmdt.c: Likewise.
51934         * sysvipc/shmget.c: Likewise.
51935         * termios/tcdrain.c: Likewise.
51936         * termios/tcflow.c: Likewise.
51937         * termios/tcflush.c: Likewise.
51938         * termios/tcgetattr.c: Likewise.
51939         * termios/tcgetpgrp.c: Likewise.
51940         * termios/tcsendbrk.c: Likewise.
51941         * termios/tcsetattr.c: Likewise.
51942         * termios/tcsetpgrp.c: Likewise.
51943         * time/adjtime.c: Likewise.
51944         * time/clock.c: Likewise.
51945         * time/getitimer.c: Likewise.
51946         * time/gettimeofday.c: Likewise.
51947         * time/setitimer.c: Likewise.
51948         * time/settimeofday.c: Likewise.
51949         * time/stime.c: Likewise.
51950         * time/time.c: Likewise.
51952 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
51954         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51955         /usr/old/bin.
51957         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51958         instead of spaces.
51959         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51961 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
51963         [BZ #14796]
51964         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51965         FE_TONEAREST before applying Dekker multiplication and Knuth
51966         addition.  Clear inexact exceptions and check for exact zero
51967         results afterwards.
51968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51969         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51970         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51971         * math/libm-test.inc (fma_test): Add more tests.
51972         (fma_test_towardzero): Likewise.
51973         (fma_test_downward): Likewise.
51974         (fma_test_upward): Likewise.
51975         * sysdeps/generic/math_private.h (default_libc_fesetround): New
51976         function.
51977         (libc_fesetround): New macro.
51978         (libc_fesetroundf): Likewise.
51979         (libc_fesetroundl): Likewise.
51980         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51981         function.
51982         (libc_fesetround_387): Likewise.
51983         (libc_fesetroundf): New macro.
51984         (libc_fesetround): Likewise.
51985         (libc_fesetroundl): Likewise.
51986         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51987         function.
51988         (libc_fesetroundf): New macro.
51989         (libc_fesetround): Likewise.
51990         (libc_fesetroundl): Likewise.
51991         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51992         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51993         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51994         libm_hidden_ver.
51995         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51996         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51997         libm_hidden_def.
51998         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51999         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52000         libm_hidden_ver.
52001         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52002         libm_hidden_def.
52004         [BZ #3439]
52005         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52006         integer constant usable in #if and use that to give value to enum
52007         constant.
52008         (FE_DIVBYZERO): Likewise.
52009         (FE_UNDERFLOW): Likewise.
52010         (FE_OVERFLOW): Likewise.
52011         (FE_INVALID): Likewise.
52012         (FE_INVALID_SNAN): Likewise.
52013         (FE_INVALID_ISI): Likewise.
52014         (FE_INVALID_IDI): Likewise.
52015         (FE_INVALID_ZDZ): Likewise.
52016         (FE_INVALID_IMZ): Likewise.
52017         (FE_INVALID_COMPARE): Likewise.
52018         (FE_INVALID_SOFTWARE): Likewise.
52019         (FE_INVALID_SQRT): Likewise.
52020         (FE_INVALID_INTEGER_CONVERSION): Likewise.
52021         (FE_TONEAREST): Likewise.
52022         (FE_TOWARDZERO): Likewise.
52023         (FE_UPWARD): Likewise.
52024         (FE_DOWNWARD): Likewise.
52025         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52026         (FE_DIVBYZERO): Likewise.
52027         (FE_OVERFLOW): Likewise.
52028         (FE_UNDERFLOW): Likewise.
52029         (FE_INEXACT): Likewise.
52030         (FE_TONEAREST): Likewise.
52031         (FE_DOWNWARD): Likewise.
52032         (FE_UPWARD): Likewise.
52033         (FE_TOWARDZERO): Likewise.
52034         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52035         (FE_UNDERFLOW): Likewise.
52036         (FE_OVERFLOW): Likewise.
52037         (FE_DIVBYZERO): Likewise.
52038         (FE_INVALID): Likewise.
52039         (FE_TONEAREST): Likewise.
52040         (FE_TOWARDZERO): Likewise.
52041         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52042         (FE_OVERFLOW): Likewise.
52043         (FE_UNDERFLOW): Likewise.
52044         (FE_DIVBYZERO): Likewise.
52045         (FE_INEXACT): Likewise.
52046         (FE_TONEAREST): Likewise.
52047         (FE_TOWARDZERO): Likewise.
52048         (FE_UPWARD): Likewise.
52049         (FE_DOWNWARD): Likewise.
52050         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52051         (FE_DIVBYZERO): Likewise.
52052         (FE_OVERFLOW): Likewise.
52053         (FE_UNDERFLOW): Likewise.
52054         (FE_INEXACT): Likewise.
52055         (FE_TONEAREST): Likewise.
52056         (FE_DOWNWARD): Likewise.
52057         (FE_UPWARD): Likewise.
52058         (FE_TOWARDZERO): Likewise.
52060 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
52062         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52064 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
52066         * scripts/cross-test-ssh.sh (command): Use newlines to separate
52067         commands.  Quote $PWD.
52068         (blacklist_exports): Don't use remove_newlines.  Replace "declare
52069         -x" by "export".
52070         (remove_newlines): Remove.
52072 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
52074         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52075         * stdlib/stdlib.h (atof): Moved to ...
52076         * include/bits/stdlib-float.h: Here.  New file.
52077         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52078         * stdlib/bits/stdlib-float.h: New file.
52079         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52080         -mno-sse -mno-mmx.
52081         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52082         <xmmintrin.h>.
52084 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52086         * conform/conformtest.pl (@headers): Add fenv.h.
52087         * conform/data/fenv.h-data: New file.
52088         * include/fenv.h [_ISOMAC]: Disable all contents of file except
52089         include of <math/fenv.h>.
52091         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52092         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52093         && !UNIX98].  Enables tests for XOPEN2K8.
52094         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52095         POSIX2008]: Likewise.
52097         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52098         (struct rusage): Do not expect type or its members.
52100         [BZ #3439]
52101         * math/math.h (FP_NAN): Define macro to integer constant usable in
52102         #if and use that to give value to enum constant.
52103         (FP_INFINITE): Likewise.
52104         (FP_ZERO): Likewise.
52105         (FP_SUBNORMAL): Likewise.
52106         (FP_NORMAL): Likewise.
52108 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
52110         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52111         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52112         arguments.
52114 2012-11-02  Roland McGrath  <roland@hack.frob.com>
52116         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52117         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52118         autoconf-time if not.
52119         * configure.in: Remove AC_PREREQ.
52121 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52123         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52124         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52125         of the internal implementation.
52127 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52129         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52130         except include of <misc/sys/syslog.h>.
52132 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52135         function returns with a NULL context exit with zero.
52137 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52139         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52141 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
52143         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52144         (run_program_cmd): This.
52145         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52146         (tst_langinfo): New variable.  Use it.
52148 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
52150         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52151         floating point opcodes.
52153 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52155         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52156         variable.
52158         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52160         * sysdeps/mach/hurd/powerpc: Remove directory.
52161         * sysdeps/mach/powerpc: Likewise.
52163 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52165         * scripts/check-local-headers.sh: Ignore c++ headers.
52167 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52169         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52170         __libc_cleanup_region_start argument.
52172 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
52174         [BZ #14784]
52175         [BZ #14785]
52176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52177         x * y using scaling, not as x * y + z.
52178         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52179         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52180         * math/libm-test.inc (fma_test): Add more tests.
52181         (fma_test_towardzero): Likewise.
52182         (fma_test_downward): Likewise.
52183         (fma_test_upward): Likewise.
52185 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52187         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52189 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52191         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52192         New variable.
52194 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52196         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52198 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52201         Fix sort order.
52202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52203         Likewise.
52205 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52208         Fix the order of the list for glibc 2.17.
52209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52210         Likewise.
52212 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52216 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52218         [BZ #14610]
52219         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52220         for low part of x being zero before using __atanl (y).
52221         * math/libm-test.inc (atan2_test): Add another test.
52223         * manual/install.texi (Configuring and compiling): Document
52224         general use of test-wrapper and test-wrapper-env.
52225         * INSTALL: Regenerated.
52227         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52228         (__fma): Do not extract and scale down low bits on after-rounding
52229         systems when result rounded to normal precision would have normal
52230         exponent.
52231         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52232         (__fmal): Do not extract and scale down low bits on after-rounding
52233         systems when result rounded to normal precision would have normal
52234         exponent.
52235         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52236         (__fmal): Do not extract and scale down low bits on after-rounding
52237         systems when result rounded to normal precision would have normal
52238         exponent.
52239         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52240         macro.
52241         (fma_test): Add more tests.
52242         (fma_test_towardzero): Likewise.
52243         (fma_test_downward): Likewise.
52244         (fma_test_upward): Likewise.
52246 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52248         * sysdeps/i386/tininess.h: Renamed to ...
52249         * sysdeps/x86/tininess.h: This.
52250         * sysdeps/x86_64/tininess.h: Removed.
52252 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52254         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52255         input.  Use $(build-program-cmd).
52256         ($(objpfx)tst-array1-static.out): Likewise.
52257         ($(objpfx)tst-array2.out): Likewise.
52258         ($(objpfx)tst-array3.out): Likewise.
52259         ($(objpfx)tst-array4.out): Likewise.
52260         ($(objpfx)tst-array5.out): Likewise.
52261         ($(objpfx)tst-array5-static.out): Likewise.
52263 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52265         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52266         if defined.
52268         * nss/nsswitch.h (nss_interface_function): Provide new
52269         macro for use with NSS functions.
52270         * grp/initgroups.c: Use new macro.
52271         * nss/getXXbyYY.c: Likewise.
52272         * nss/getXXbyYY_r.c: Likewise.
52273         * nss/getXXent.c: Likewise.
52274         * nss/getXXent_r.c: Likewise.
52275         * sysdeps/posix/getaddrinfo.c: Likewise.
52277 2012-10-30  Andreas Jaeger  <aj@suse.de>
52279         * po/ru.po: Update Russion translation from translation project.
52281 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52283         [BZ #14152]
52284         [BZ #14783]
52285         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52286         result and shift together with sticky bit instead of replicating
52287         round-to-nearest rounding.
52288         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52290         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52291         missing underflow exceptions.
52292         (fma_test_towardzero): Add more tests.
52293         (fma_test_downward): Likewise.
52294         (fma_test_upward): Likewise.
52296         [BZ #14047]
52297         * sysdeps/generic/tininess.h: New file.
52298         * sysdeps/i386/tininess.h: Likewise.
52299         * sysdeps/sh/tininess.h: Likewise.
52300         * sysdeps/x86_64/tininess.h: Likewise.
52301         * stdlib/tst-strtod-underflow.c: Likewise.
52302         * stdlib/tst-tininess.c: Likewise.
52303         * stdlib/strtod_l.c: Include <tininess.h>.
52304         (round_and_return): Do not set errno for exact underflow cases.
52305         Force an underflow exception when setting errno for underflow.
52306         Determine underflow based on rounding to normal precision if
52307         TININESS_AFTER_ROUNDING.
52308         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52309         ERANGE for exact underflow cases.
52310         * stdlib/Makefile (tests): Add tst-tininess and
52311         tst-strtod-underflow.
52312         ($(objpfx)tst-tininess): Use $(link-libm).
52313         ($(objpfx)tst-strtod-underflow): Likewise.
52315 2012-10-30  Andreas Jaeger  <aj@suse.de>
52317         [BZ#14767]
52318         * elf/Makefile (tests): Remove conditional for have-initfini-array
52319         since this is now always required and the variable does not exist
52320         anymore.
52321         (tests-static): Likewise.
52322         (modules-names): Likewise.
52324         * po/eo.po: Add Esperanto translation from translation project.
52326         * elf/tst-array1.c (fini_array): Make writeable so that it can be
52327         merged with constructor/destructor.
52328         (init_array): Likewise.
52329         * elf/tst-array2dep.c (fini_array): Likewise.
52330         (init_array): Likewise.
52332 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
52334         * manual/message.texi: Delete @cartouche tags.
52336 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
52338         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52339         EOPNOTSUPP.
52340         * sysdeps/mach/hurd/fsync.c: Likewise.
52342         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52343         [_POSIX_REALTIME_SIGNALS]: Change condition to
52344         [_POSIX_REALTIME_SIGNALS > 0].
52346 2012-10-27  Andreas Jaeger  <aj@suse.de>
52348         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52349         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52350         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52351         [__WORDSIZE != 64]: Likewise.
52353 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
52355         *  iconvdata/tst-table.sh: Remove ${SHELL}.
52356         *  iconvdata/tst-tables.sh: Likewise.
52358 2012-10-25  David S. Miller  <davem@davemloft.net>
52360         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52361         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52362         of strtoull.
52364         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52365         ifunc-impl-list.c
52366         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52367         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52368         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52369         file.
52371 2012-10-25  Roland McGrath  <roland@hack.frob.com>
52373         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52374         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52375         __getdirentries.
52377 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52378             Jim Blandy  <jimb@codesourcery.com>
52380         * scripts/cross-test-ssh.sh: New file.
52381         * manual/install.texi (Configuring and compiling): Document use of
52382         cross-test-ssh.sh.
52383         * INSTALL: Regenerated.
52385 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52387         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52388         EOPNOTSUPP.
52390 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52392         * Makeconfig (run-program-prefix): Fix comment.
52394 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52395             Jim Blandy  <jimb@codesourcery.com>
52397         * Makeconfig (test-wrapper): New variable,
52398         (test-wrapper-env): Likewise.
52399         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52400         (run-built-tests): Define to yes.
52401         (run-program-prefix): Use $(test-wrapper).
52402         (built-program-cmd): Likewise.
52403         * Rules (make-test-out): Use $(test-wrapper-env) and
52404         $(host-built-program-cmd).
52405         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52406         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52407         tst-pathopt.sh.
52408         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52409         $(test-wrapper-env) to tst-rtld-load-self.sh.
52410         ($(objpfx)order2.out): Use $(test-wrapper).
52411         ($(objpfx)tst-initorder.out): Likewise.
52412         ($(objpfx)tst-initorder2.out): Likewise.
52413         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52414         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52415         (test_wrapper_env): New variable.  Use it to run ld.so.
52416         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52417         Use it to run ld.so.
52418         (test_wrapper_env): Likewise.
52419         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52420         $(test-wrapper) to run-iconv-test.sh.
52421         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52422         (ICONV): Use $test_wrapper.
52423         * posix/Makefile ($(objpfx)globtest.out): Pass
52424         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52425         globtest.sh, not $(run-program-prefix).
52426         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52427         (test_wrapper): Likewise.
52428         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52429         set together with run_via_rtld_prefix.
52430         (run_program_prefix): Define in terms of test_wrapper and
52431         run_via_rtld_prefix.
52433 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52435         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52436         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52437         Targets removed.
52439         [BZ #14743]
52440         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52441         Declare __clock_getres, __clock_gettime, __clock_settime,
52442         __clock_nanosleep, and __clock_getcpuclockid.
52443         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52444         Remove librt_hidden_def (clock_gettime).
52445         * sysdeps/unix/clock_gettime.c: Likewise.
52446         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52447         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52448         * rt/clock_getres.c: Define __clock_getres as an alias.
52449         * sysdeps/posix/clock_getres.c: Likewise.
52450         * rt/clock_settime.c: Define __clock_settime as an alias.
52451         * sysdeps/unix/clock_settime.c: Likewise.
52452         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52453         * sysdeps/unix/clock_nanosleep.c: Likewise.
52454         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52455         * rt/clock-compat.c: New file.
52456         * rt/Makefile (librt-routines): Add clock-compat and move
52457         $(clock-routines) to ...
52458         (routines): ... here, new variable.
52459         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52460         Don't add get_clockfreq here.
52461         * rt/Versions (libc: GLIBC_2.17): New version set.
52462         Add clock_* symbols here.
52463         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52464         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52465         (GLIBC_2.17): Add clock_* symbols.
52466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52468         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52470         Likewise.
52471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52472         Likewise.
52473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52477         * NEWS: Mention the move.
52479         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52480         Use __open, __read, __close rather than their public counterparts.
52481         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52482         (__get_clockfreq_via_cpuinfo): Likewise.
52483         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52484         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52486         * config.h.in (HAVE_IFUNC): New #undef.
52487         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52488         was successful.
52489         * configure: Regenerated.
52491 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52493         * configure.in: Move READELF check to start of file.
52494         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52495         libc_cv_asm_gnu_indirect_function in the process.
52496         * configure: Regenerated.
52498 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52500         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52501         send the output to /dev/null.
52502         (libc_cv_cc_with_libunwind): Likewise.
52503         (libc_cv_as_noexecstack): Likewise.
52504         * configure: Regenerate.
52506 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52508         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52510         * posix/globtest.sh (TMPDIR): Do not set.
52511         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52512         (testout): Likewise.
52514 2012-10-24  Andreas Jaeger  <aj@suse.de>
52516         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52517         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52518         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52519         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52520         posix_fadvise64, posix_fallocate64.
52522         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52523         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52524         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52525         Likewise.
52526         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52527         Likewise.
52528         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52530         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52531         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52532         <bits/fcntl-linux.h>.
52533         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52535         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52536         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52537         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52538         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52539         [__WORDSIZE != 64]: Likewise.
52541 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52543         * Makeconfig (run-built-tests): New variable.
52544         * Rules [$(cross-compiling) = yes]: Change condition to
52545         [$(run-built-tests) = no].
52546         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52547         to [$(run-built-tests) = yes].
52548         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52549         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52550         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52551         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52552         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52553         * io/Makefile [$(cross-compiling) = no]: Likewise.
52554         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52555         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52556         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52557         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52558         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52559         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52560         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52561         * string/Makefile [$(cross-compiling) = no]: Likewise.
52563         * posix/Makefile ($(objpfx)globtest.out): Pass
52564         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52565         $(rtld-installed-name).
52566         * posix/globtest.sh (elf_objpfx): Remove variable.
52567         (rtld_installed_name): Likewise.
52568         (library_path): Likewise.
52569         (run_program_prefix): New variable.  Use for running globtest
52570         binary.
52572 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52573             Joseph Myers  <joseph@codesourcery.com>
52575         * Makeconfig (host-built-program-cmd): New variable.
52576         * elf/Makefile (tst-stackguard1-ARGS): Use
52577         $(host-built-program-cmd).
52578         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52579         (tst-spawn-ARGS): Likewise.
52580         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52582 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52583             Jim Blandy  <jimb@codesourcery.com>
52585         * Makeconfig (run-via-rtld-prefix): New variable.
52586         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52587         (built-program-cmd): Likewise.
52589 2012-10-22  Andreas Jaeger  <aj@suse.de>
52591         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52592         __O_RSYNC if it exists, otherwise to O_SYNC.
52594 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52595             Joseph Myers  <joseph@codesourcery.com>
52597         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52598         /dev/null.
52599         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52600         from /dev/null
52601         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52602         /dev/null.
52604 2012-10-22  Andreas Jaeger  <aj@suse.de>
52606         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52607         Define always.
52608         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52610         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52611         bits/fcntl-linux.h.
52613         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52614         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52616         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52617         to __O_LARGEFILE.
52618         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52619         to __O_LARGEFILE.
52621 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52622             Joseph Myers  <joseph@codesourcery.com>
52624         * config.make.in (NM): New variable.
52626 2012-10-21  Andreas Jaeger  <aj@suse.de>
52628         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52629         definitions and declarations that are provided by
52630         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52632 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52634         [BZ #14683]
52635         * elf/Makefile (tests-static): Add tst-leaks1-static.
52636         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52637         ($(objpfx)tst-leaks1-static): New rule.
52638         ($(objpfx)tst-leaks1-static-mem): Likewise.
52639         (tst-leaks1-static-ENV): New macro.
52640         * elf/dl-open.c (dl_open_worker): Check the main application
52641         only if SHARED is defined.
52642         * elf/tst-leaks1-static.c: New file.
52644 2012-10-20  Andreas Jaeger  <aj@suse.de>
52646         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52647         generic values for Linux.
52648         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52649         and declarations that are provided by <bits/fcntl-linux.h> and
52650         include <bits/fcntl-linux.h>.
52651         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52652         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52654 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52656         * io/fcntl.h: Move include of <bits/types.h> to the top and
52657         include it unconditionally.
52659 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52661         * wcsmbs/Makefile (tests-ifunc): New variable.
52662         (tests): Add $(tests-ifunc).
52663         * wcsmbs/test-wcschr-ifunc.c: New file.
52664         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52665         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52666         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52667         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52668         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52670         * string/Makefile (tests-ifunc): New variable.
52671         (tests): Add $(tests-ifunc).
52672         * string/test-memccpy.c (TEST_NAME): New macro.
52673         * string/test-memchr.c (TEST_NAME): Likewise.
52674         * string/test-memcmp.c (TEST_NAME): Likewise.
52675         * string/test-memcpy.c (TEST_NAME): Likewise.
52676         * string/test-memmem.c (TEST_NAME): Likewise.
52677         * string/test-memmove.c (TEST_NAME): Likewise.
52678         * string/test-memset.c (TEST_NAME): Likewise.
52679         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52680         * string/test-stpcpy.c (TEST_NAME): Likewise.
52681         * string/test-stpncpy.c (TEST_NAME): Likewise.
52682         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52683         * string/test-strcasestr.c (TEST_NAME): Likewise.
52684         * string/test-strcat.c (TEST_NAME): Likewise.
52685         * string/test-strchr.c (TEST_NAME): Likewise.
52686         * string/test-strcmp.c(TEST_NAME): Likewise.
52687         * string/test-strcpy.c (TEST_NAME): Likewise.
52688         * string/test-strcspn.c (TEST_NAME): Likewise.
52689         * string/test-strlen.c (TEST_NAME): Likewise.
52690         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52691         * string/test-strncmp.c (TEST_NAME): Likewise.
52692         * string/test-strncpy.c (TEST_NAME): Likewise.
52693         * string/test-strnlen.c (TEST_NAME): Likewise.
52694         * string/test-strpbrk.c (TEST_NAME): Likewise.
52695         * string/test-strrchr.c (TEST_NAME): Likewise.
52696         * string/test-strspn.c (TEST_NAME): Likewise.
52697         * string/test-strstr.c (TEST_NAME): Likewise.
52698         * string/test-bcopy-ifunc.c: New file.
52699         * string/test-bzero-ifunc.c: Likewise.
52700         * string/test-memccpy-ifunc.c: Likewise.
52701         * string/test-memchr-ifunc.c: Likewise.
52702         * string/test-memcmp-ifunc.c: Likewise.
52703         * string/test-memcpy-ifunc.c: Likewise.
52704         * string/test-memmem-ifunc.c: Likewise.
52705         * string/test-memmove-ifunc.c: Likewise.
52706         * string/test-mempcpy-ifunc.c: Likewise.
52707         * string/test-memset-ifunc.c: Likewise.
52708         * string/test-rawmemchr-ifunc.c: Likewise.
52709         * string/test-stpcpy-ifunc.c: Likewise.
52710         * string/test-stpncpy-ifunc.c: Likewise.
52711         * string/test-strcasecmp-ifunc.c: Likewise.
52712         * string/test-strcasestr-ifunc.c: Likewise.
52713         * string/test-strcat-ifunc.c: Likewise.
52714         * string/test-strchr-ifunc.c: Likewise.
52715         * string/test-strchrnul-ifunc.c: Likewise.
52716         * string/test-strcmp-ifunc.c: Likewise.
52717         * string/test-strcpy-ifunc.c: Likewise.
52718         * string/test-strcspn-ifunc.c: Likewise.
52719         * string/test-strlen-ifunc.c: Likewise.
52720         * string/test-strncasecmp-ifunc.c: Likewise.
52721         * string/test-strncat-ifunc.c: Likewise.
52722         * string/test-strncmp-ifunc.c: Likewise.
52723         * string/test-strncpy-ifunc.c: Likewise.
52724         * string/test-strnlen-ifunc.c: Likewise.
52725         * string/test-strpbrk-ifunc.c: Likewise.
52726         * string/test-strrchr-ifunc.c: Likewise.
52727         * string/test-strspn-ifunc.c: Likewise.
52728         * string/test-strstr-ifunc.c: Likewise.
52730         * debug/Makefile (tests-ifunc): New variable.
52731         (tests): Add $(tests-ifunc).
52732         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52733         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52734         * debug/test-stpcpy_chk-ifunc.c: New file.
52735         * debug/test-strcpy_chk-ifunc.c: Likewise.
52737 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52739         [BZ #13601]
52740         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52741         header is not read in.
52743 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52745         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52746         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52747         directly.  Pass built executable to script as
52748         $(built-program-cmd).
52749         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52750         $testprogram without using LD_LIBRARY_PATH and $ldso.
52752         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52753         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52754         $(rtld-installed-name).
52755         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52756         (rtld_installed_name): Likewise.
52757         (library_path): Likewise.
52758         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52759         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52760         $(run-program-prefix) to tst-tables.sh.
52761         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52762         it to run tst-table-from and tst-table-to.
52763         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52764         Pass it to tst-table.sh.
52765         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52766         $(run-program-prefix) to tst-gettext.sh.
52767         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52768         tst-translit.sh.
52769         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52770         tst-gettext2.sh.
52771         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
52772         to run tst-gettext.
52773         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
52774         to run tst-gettext2.
52775         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
52776         to run tst-translit.
52777         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52778         $(run-program-prefix) to tst-mtrace.sh.
52779         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
52780         to run tst-mtrace.
52781         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52782         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52783         $(rtld-installed-name).
52784         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52785         (rtld_installed_name): Likewise.
52786         (run_program_prefix): New variable.  Use it to run wordexp-test.
52788         * Makeconfig (ARCH): Remove all definitions.
52789         (machine): Likewise.
52790         [ARCH]: Remove conditional code.
52791         [!objdir]: Give error.
52792         [!objdir] (objpfx): Remove.
52793         [!objdir] (common-objpfx): Likewise.
52794         [!objdir] (common-objdir): Likewise.
52795         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52796         AC_CONFIG_FILES call.
52797         * configure: Regenerated.
52799         [BZ #13888]
52800         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52801         or TMPDIR.
52802         (testout): Likewise.
52804         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52805         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52806         $(rtld-installed-name).
52807         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52808         (rtld_installed_name): Likwise.
52809         (runit): Remove function.
52810         (run_getconf): New variable,  Use it for running getconf binary.
52812 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52814         [BZ #14716]
52815         * string/test-memmem.c (check_result): New function.
52816         (do_one_test): Use it.
52817         (check1): New function.
52818         (test_main): Use it.
52820 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52822         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52824 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52826         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52827         (_G_LSEEK64): Likewise.
52828         (_G_MMAP64): Likewise.
52829         (_G_FSTAT64): Likewise.
52830         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52831         (_G_LSEEK64): Likewise.
52832         (_G_MMAP64): Likewise.
52833         (_G_FSTAT64): Likewise.
52834         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52835         unconditional.  Call __mmap64 directly.
52836         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52837         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52838         __lseek64 directly.
52839         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52840         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52841         __mmap64 directly.
52842         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52843         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52844         __lseek64 directly.
52845         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52846         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52847         __lseek64 directly.
52848         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52849         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52850         __lseek64 directly.
52851         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52852         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
52853         __fxstat64 directly.
52854         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52855         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52856         unconditional.
52857         (freopen64) [!_G_OPEN64]: Remove conditional code.
52858         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52859         unconditional.
52860         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52861         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52862         unconditional.
52863         (ftello64) [!_G_LSEEK64]: Remove conditional code.
52864         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52865         unconditional.
52866         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52867         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52868         unconditional.
52869         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52870         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52871         unconditional.
52872         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52873         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52874         unconditional.
52875         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52876         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52877         unconditional.
52878         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52880 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52882         [BZ #12140]
52883         * manual/memory.texi (Malloc Tunable Parameters): Add note
52884         about free list pointers overwriting some perturb bytes.
52885         Wording suggested by Roland McGrath.
52887 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
52889         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52890         (lgamma_test): Likewise.
52891         (tgamma_test): Likewise.
52893 2012-10-16  Florian Weimer  <fweimer@redhat.com>
52895         [BZ #14700]
52896         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52897         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52899 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
52901         * NEWS: Mention BZ #14716.
52902         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52903         when removing AVAILABLE1_USES_J macro.
52905 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
52907         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52908         (__bswap_64): __uint64_t for unsigned 64-bit int.
52910 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
52912         * include/string.h (memmem): Declare libc hidden alias.
52913         * string/memmem.c (memmem): Define libc hidden alias.
52914         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52915         __read, __close instead of open, read, close.
52917 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
52919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52920         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52921         global and hidden.
52922         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52923         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52924         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52925         Likewise.
52926         (__rawmemchr_sse2): Likewise.
52927         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52928         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52929         (__strchr_sse2): Likewise.
52930         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52931         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52932         (__strcasecmp_sse2): Likewise.
52933         (__strncasecmp_sse2): Likewise.
52934         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52935         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52936         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52937         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52938         (__strrchr_sse2): Likewise.
52939         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52940         ifunc-impl-list.c.
52941         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52942         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52943         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52944         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52945         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52946         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52947         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52948         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52949         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52950         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52951         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52952         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52953         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52954         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52955         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52956         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52957         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52958         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52959         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52960         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52961         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52962         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52963         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52964         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52965         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52966         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52967         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52968         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52969         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52970         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52972         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52973         global and hidden.
52974         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52975         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52976         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52977         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52978         Likewise.
52979         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52980         Likewise.
52981         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52982         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52983         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52984         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52985         ifunc-impl-list.c.
52986         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52987         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52988         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52989         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52990         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52991         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52992         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52993         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52994         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52995         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52996         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52997         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52998         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52999         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53000         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53001         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53002         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53003         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53004         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53005         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53006         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53007         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53008         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53009         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53010         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53011         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53012         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53013         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53014         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53015         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53016         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53017         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53018         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53019         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53020         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53021         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53022         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53023         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53024         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53025         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53026         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53028         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53029         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53030         * include/ifunc-impl-list.h: New file.
53031         * misc/ifunc-impl-list.c: Likewise.
53032         * misc/Makefile (routines): Add ifunc-impl-list.
53033         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53034         * string/test-string.h: Include <ifunc-impl-list.h>.
53035         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53036         TEST_NAME]: New variables.
53037         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53038         are defined.
53039         (test_init): Call __libc_ifunc_impl_list to initialize
53040         func_list if TEST_IFUNC and TEST_NAME are defined.
53042         * string/Makefile (strop-tests): Add bcopy and bzero.
53043         * string/test-bcopy.c: New file.
53044         * string/test-bzero.c: Likewise.
53045         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53046         defined.
53047         * string/test-memset.c: Support bzero test if TEST_BZERO is
53048         defined.
53049         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53050         __libc_memmove.
53051         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53052         __libc_memset.
53053         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53054         of memset.
53056 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
53058         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53059         * configure: Regenerated.
53061         * Makeconfig (+link-static-before-libc): Don't include
53062         $(link-static-libc).
53064         * libio/libio.h (_IO_pos_t): Remove.
53066 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53068         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
53069         McGrath.
53071 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53073         * crypt/crypt-entry.c: Include fips-private.h.
53074         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53075         * crypt/md5c-test.c (main): Tolerate disabled MD5.
53076         * sysdeps/unix/sysv/linux/fips-private.h: New file.
53077         * sysdeps/generic/fips-private.h: New file, dummy fallback.
53079 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53081         * crypt/crypt-private.h: Include stdbool.h.
53082         (_ufc_setup_salt_r): Return bool.
53083         * crypt/crypt-entry.c: Include errno.h.
53084         (__crypt_r): Return NULL with EINVAL for bad salt.
53085         * crypt/crypt_util.c (bad_for_salt): New.
53086         (_ufc_setup_salt_r): Check that salt is long enough and within
53087         the specified alphabet.
53088         * crypt/badsalttest.c: New file.
53089         * crypt/Makefile (tests): Add it.
53090         ($(objpfx)badsalttest): New.
53092 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
53094         * NEWS: Add entry for BZ #14602.
53096 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53098         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53099         type-generic.
53100         * math/libm-test.inc: Update comment listing what functions and
53101         macros are tested.
53102         (isgreater_test): New function.
53103         (isgreaterequal_test): Likewise.
53104         (isless_test): Likewise.
53105         (islessequal_test): Likewise.
53106         (islessgreater_test): Likewise.
53107         (isunordered_test): Likewise.
53108         (main): Call the new functions.
53110 2012-10-09  Roland McGrath  <roland@hack.frob.com>
53112         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53113         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53114         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53115         * sysdeps/i386/configure: Regenerated.
53116         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53117         * sysdeps/mach/configure: Regenerated.
53118         * sysdeps/mach/hurd/configure: Regenerated.
53119         * sysdeps/powerpc/configure: Regenerated.
53120         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53121         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53122         * sysdeps/s390/s390-32/configure: Regenerated.
53123         * sysdeps/s390/s390-64/configure: Regenerated.
53124         * sysdeps/sh/configure: Regenerated.
53125         * sysdeps/sparc/configure: Regenerated.
53126         * sysdeps/unix/sysv/linux/configure: Regenerated.
53127         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53128         * sysdeps/x86_64/configure: Regenerated.
53130         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53131         defined.  Don't check if MAP is NULL.
53133 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53135         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53136         (_G_stat64): Likewise.
53137         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53138         (_G_stat64): Likewise.
53139         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53140         instead of struct _G_stat64.
53141         * libio/fileops.c (mmap_remap_check): Likewise.
53142         (decide_maybe_mmap): Likewise.
53143         (_IO_new_file_seekoff): Likewise.
53144         (_IO_file_stat): Likewise.
53145         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53146         _G_off64_t.
53147         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53148         instead of struct _G_stat64.
53149         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53151 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
53153         [BZ #14602]
53154         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53155         Replace with ...
53156         (CHECK_EOL): New macro.
53157         (two_way_short_needle): Check beginning of haystack for EOL.  Use
53158         CHECK_EOL.
53159         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53160         Replace with CHECK_EOL.
53161         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53162         Replace with CHECK_EOL.
53164 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
53166         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53167         type-generic.
53168         * math/libm-test.inc: Update comment listing what functions and
53169         macros are tested.
53170         (finite_test): New function.
53171         (isinf_test): Likewise.
53172         (isnan_test): Likewise.
53173         (fpclassify_test): Test subnormal input.
53174         (isfinite_test): Likewise.
53175         (isnormal_test): Likewise.
53176         (main): Call the new functions.
53178 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53180         [BZ #14660]
53181         * Makerules (%.dynsym): Force C locale when running
53182         $(OBJDUMP) --dynamic-syms.
53184 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53186         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53187         <stdint.h>.
53189 2012-10-06  David S. Miller  <davem@davemloft.net>
53191         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53192         upper 32-bits of the length value in %o2 since we use branch-on-register
53193         tests which consider the entire 64-bit register.
53195 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53197         * string/test-strstr.c (check2): Add a test for page boundary.
53199 2012-10-05  David S. Miller  <davem@davemloft.net>
53201         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53202         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53203         file.
53204         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53205         sysdep_routines.
53206         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53207         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53208         and bzero when HWCAP_SPARC_CRYPTO is present.
53210 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53212         [BZ #14602]
53213         * string/test-strstr.c (check2): New function.
53214         (test_main): Call check2.
53216         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53217         and bug-strchr1.
53218         * string/bug-strcasestr1.c (do_test): Moved to ...
53219         * string/test-strcasestr.c (check1): Here.  New function.
53220         (do_one_test): Break out result checking code into ...
53221         (check_result): This.  New function.
53222         (do_one_test): Call check_result.
53223         (test_main): Call check1.
53224         * string/bug-strchr1.c (do_test): Moved to ...
53225         * string/test-strchr.c (check1): Here.  New function.
53226         (do_one_test): Break out result checking code into ...
53227         (check_result): This.  New function.
53228         (do_one_test): Call check_result.
53229         (test_main): Call check1.
53230         * string/bug-strstr1.c (main): Moved to ...
53231         * string/test-strstr.c (check1): Here.  New function.
53232         (do_one_test): Break out result checking code into ...
53233         (check_result): This.  New function.
53234         (do_one_test): Call check_result.
53235         (test_main): Call check1.
53236         * string/bug-strcasestr1.c: Removed.
53237         * string/bug-strchr1.c: Likewise.
53238         * string/bug-strstr1.c: Likewise.
53240         * elf/Makefile (dl-routines): Add hwcaps.
53241         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53242         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53243         (_dl_important_hwcaps): Moved to ...
53244         * elf/dl-hwcaps.c: Here.  New file.
53245         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53247         [BZ #14557]
53248         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53249         if IS_IN_rtld isn't defined.
53251         * elf/dl-support.c (_dl_sysinfo_map): New.
53252         Include "get-dynamic-info.h" and "setup-vdso.h".
53253         (_dl_non_dynamic_init): Call setup_vdso.
53254         * elf/dynamic-link.h: Don't include <assert.h>.
53255         (elf_get_dynamic_info): Moved to ...
53256         * elf/get-dynamic-info.h: Here.  New file.
53257         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53258         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53259         * elf/setup-vdso.h: Here.  New file.
53260         * elf/rtld.c: Include "setup-vdso.h".
53261         (dl_main): Call setup_vdso.
53263 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53265         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53266         creal in comment listing functions tested.  List finite, isinf,
53267         isnan, isless, islessequal, isgreater, isgreaterequal,
53268         islessgreater, isunordered, lgamma_r and pow10 as functions and
53269         macros not tested.  Mention which functions not tested are aliases
53270         for other functions.  Fix typo.  Note that signs of NaNs are not
53271         tested.
53273         * scripts/config.guess: Update from config.git.
53274         * scripts/config.sub: Likewise.
53276 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53278         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53279         * misc/madvise.c (madvise): Renamed to __madvise.
53280         Make madvise a weak alias.
53281         * include/sys/mman.h: Declare __madvise.
53282         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53283         * sysdeps/unix/syscalls.list
53284         (madvise): Make __madvise the strong name, and madvise a weak alias.
53285         * sysdeps/unix/sysv/linux/syscalls.list
53286         (madvise, mmap): Remove redundant entries.
53287         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53288         * malloc/malloc.c (mtrim): Likewise.
53289         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53291 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53293         * sysdeps/mach/hurd/dl-cache.c: File removed.
53294         * config.h.in (USE_LDCONFIG): New #undef.
53295         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53296         * configure: Regenerated.
53297         * elf/Makefile (dl-routines): Add dl-cache only under
53298         [$(use-ldconfig) = yes].
53299         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53300         cache on [USE_LDCONFIG].
53301         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53302         [USE_LDCONFIG].
53303         * elf/rtld.c (dl_main): Likewise.
53305 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
53307         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53308         _SC_LEVEL4_CACHE_LINESIZE.
53310 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53312         * sysdeps/unix/bsd/confstr.h: File removed.
53314 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
53316         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53317         sys/sdt-config.h.
53319 2012-10-02  Roland McGrath  <roland@hack.frob.com>
53321         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53322         Make 'mapoff' field ElfW(Off) rather than off_t.
53324 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
53326         * nscd/Makefile: Remove nscd-cflags and all its users.
53327         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53328         (CFLAGS-nonlib): Add compiler flags for nscd modules.
53330         [BZ #10631]
53331         * malloc.c (malloc_printerr): Clarify error message.
53333 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
53335         [BZ #14648]
53336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53337         Set bit_FMA_Usable if FMA is supported.
53338         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53339         macro.
53340         (bit_FMA4_Usable): Updated.
53341         (index_FMA_Usable): New macro.
53342         (CPUID_FMA): Likewise.
53343         (HAS_FMA): Defined with bit_FMA_Usable.
53345 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53347         * bits/types.h (__swblk_t): Type removed.
53348         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53349         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53350         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53351         (__SWBLK_T_TYPE): Likewise.
53352         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53353         (__SWBLK_T_TYPE): Likewise.
53354         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53355         (__SWBLK_T_TYPE): Likewise.
53356         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53357         (__SWBLK_T_TYPE): Likewise.
53359 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
53360             Honza Horak <hhorak@redhat.com>
53362         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53363         (xdr_mapname): Use YPMAXMAP as maxsize.
53364         (xdr_peername): Use YPMAXPEER as maxsize.
53365         (xdr_keydat): Use YPAXRECORD as maxsize.
53366         (xdr_valdat): Use YPMAXRECORD as maxsize.
53368 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53370         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53372         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53373         * csu/init-first.c: ... here.
53374         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53375         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53376         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53377         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53378         * sysdeps/i386/init-first.c: File removed.
53379         * sysdeps/sh/init-first.c: File removed.
53381 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53383         [BZ #14645]
53384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53385         if x * y might underflow to zero and z is zero.
53386         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53388         * math/libm-test.inc (min_subnorm_value): New variable.
53389         (fma_test): Add more tests.
53390         (fma_test_towardzero): Likewise.
53391         (fma_test_downward): Likewise.
53392         (fma_test_upward): Likewise.
53393         (initialize): Set min_subnorm_value.
53395 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53397         [BZ #14638]
53398         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53399         0 + 0.
53400         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53401         mode for addition resulting in exact zero.
53402         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53404         exact 0 + 0.
53405         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53406         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53407         * math/libm-test.inc (fma_test): Add more tests.
53408         (fma_test_towardzero): New function.
53409         (fma_test_downward): Likewise.
53410         (fma_test_upward): Likewise.
53411         (main): Call the new functions.
53413 2012-09-28  David S. Miller  <davem@davemloft.net>
53415         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53417 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53419         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53420         instead of SIGALRM.
53422         * sysdeps/gnu/_G_config.h: Moved to ...
53423         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53424         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53425         * sysdeps/generic/_G_config.h: ... here.
53427         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53429         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53431         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53432         Conditionalize target on [libnss_test1.so-version].
53434         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53436         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53437         (elfobjdir): Move out of conditionals.
53439         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53440         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53441         (__nss_lookup_function): Conditionalize label remove_from_tree on
53442         [!DO_STATIC_NSS || SHARED], matching its only use.
53444 2012-09-28  David S. Miller  <davem@davemloft.net>
53446         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53447         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53448         file.
53449         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53450         sysdep_routines.
53451         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53452         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53453         when HWCAP_SPARC_CRYPTO is present.
53455 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53457         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53459 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53461         [BZ #6530]
53462         * stdio-common/vfprintf.c (process_string_arg): Revert
53463         2000-07-22 change.
53465 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53467         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53468         for testcase.
53469         * stdio-common/tst-sprintf.c: Include <locale.h>
53470         (main): Test sprintf's handling of incomplete multibyte
53471         characters.
53473 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53475         * elf/dl-runtime.c (VERSYMIDX): Removed.
53476         * elf/dl-version.c (VERSYMIDX): Likewise.
53477         * elf/do-rel.h (VERSYMIDX): Likewise.
53478         (VALIDX): Likewise.
53479         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53480         * elf/rtld.c (VALIDX): Likewise.
53481         (ADDRIDX): Likewise.
53482         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53483         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53484         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53485         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53486         (VALIDX): Likewise.
53487         (ADDRIDX): Likewise.
53489 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53491         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53493 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53495         [BZ #11438]
53496         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53497         to global scope.
53498         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53499         addresses are in the same scope as 192.0.2/24.
53500         * posix/gai.conf: Document new scope table defaults.
53502 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53504         [BZ #5298]
53505         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53506         for ftell.  Compute offsets from write pointers instead.
53507         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53509 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53511         [BZ #14543]
53512         * libio/Makefile (tests): New test case tst-fseek.
53513         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53514         combination works in wide mode.
53515         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53516         state when the external buffer state changes.
53518 2012-09-27  David S. Miller  <davem@davemloft.net>
53520         [BZ #14376]
53521         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53522         pass reloc->r_addend in as the 'high' argument to
53523         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53527 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53529         * rt/tst-aio2.c: Include <pthread.h>.
53530         * rt/tst-aio3.c: Likewise.
53532 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53534         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53536 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53538         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53539         contents on [SHARED].
53541 2012-09-26  Marek Polacek  <polacek@redhat.com>
53543         [BZ #14530]
53544         [BZ #13741]
53545         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53546         for C++ and GCC <4.3 as well as for non GCC compilers.
53548 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53552 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53554         * Makefile.in (all, install): Declare with .PHONY.
53555         Reported by Michael Hope <michael.hope@linaro.org>.
53557 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53559         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53560         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53561         system header.
53562         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53563         Likewise.
53564         (sydep_routines): Add the new and the internal functions.
53565         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53566         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53568         (GLIBC_2.17): Add the new function.
53569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53570         (GLIBC_2.17): Likewise.
53571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53572         (GLIBC_2.17): Likewise.
53573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53574         (GLIBC_2.17): Likewise.
53575         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53577 2012-09-25  Alan Modra  <amodra@gmail.com>
53579         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53580         Add release barrier before setting once_control to say
53581         initialisation is done.  Add hints on lwarx.  Use macro in
53582         place of isync.
53583         (clear_once_control): Add release barrier.
53585 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53587         [BZ #13629]
53588         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53589         specially.
53590         * math/s_clog10.c (__clog10): Likewise.
53591         * math/s_clog10f.c (__clog10f): Likewise.
53592         * math/s_clog10l.c (__clog10l): Likewise.
53593         * math/s_clogf.c (__clogf): Likewise.
53594         * math/s_clogl.c (__clogl): Likewise.
53595         * math/Makefile (libm-calls): Add x2y2m1.
53596         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53597         (__x2y2m1): Likewise.
53598         (__x2y2m1l): Likewise.
53599         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53600         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53601         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53602         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53603         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53604         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53605         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53606         * sysdeps/i386/fpu/libm-test-ulps: Update.
53607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53609         [BZ #14621]
53610         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53611         int as type of variable DEPTH.
53612         (glob): Use size_t instead of int as type of variables NEWCOUNT
53613         and OLD_PATHC.
53615 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53617         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53618         Add s_sincosf-sse2.
53619         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53620         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53621         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53622         macros for using routine as __sincosf_ia32.
53623         Use macro for function declaration and weak_alias.
53624         * sysdeps/i386/fpu/libm-test-ulps: Update.
53626         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53629         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53630         subnormal argument.
53631         * math/s_cexpf.c (__cexpf): Likewise.
53632         * math/s_csinf.c (__csinf): Likewise.
53633         * math/s_csinhf.c (__csinhf): Likewise.
53634         * math/s_ctanf.c (__ctanf): Likewise.
53635         * math/s_ctanhf.c (__ctanhf): Likewise.
53636         * math/s_ccosh.c (__ccoshf): Likewise.
53637         * math/s_cexp.c (__cexpl): Likewise.
53638         * math/s_csin.c (__csin): Likewise.
53639         * math/s_csinh.c (__csinh): Likewise.
53640         * math/s_ctan.c (__ctan): Likewise.
53641         * math/s_ctanh.c (ctanh): Likewise.
53642         * math/s_ccoshl.c (__ccoshl): Likewise.
53643         * math/s_cexpl.c (__cexpl): Likewise.
53644         * math/s_csinl.c (__csinl): Likewise.
53645         * math/s_csinhl.c (__csinhl): Likewise.
53646         * math/s_ctanl.c (__ctanl): Likewise.
53647         * math/s_ctanhl.c (__ctanhl): Likewise.
53649 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53651         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53652         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53653         (_IO_off_t): Define to __off_t, not _G_off_t.
53654         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53655         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53656         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53657         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53658         type of __dummy and __dummy2 fields.
53659         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53660         (_G_ssize_t): Likewise.
53661         (_G_off_t): Likewise.
53662         (_G_pid_t): Likewise.
53663         (_G_uid_t): Likewise.
53664         (_G_wchar_t): Likewise.
53665         (_G_wint_t): Likewise.
53666         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53667         (_G_ssize_t): Likewise.
53668         (_G_off_t): Likewise.
53669         (_G_pid_t): Likewise.
53670         (_G_uid_t): Likewise.
53671         (_G_wchar_t): Likewise.
53672         (_G_wint_t): Likewise.
53673         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53674         (_G_ssize_t): Likewise.
53675         (_G_off_t): Likewise.
53676         (_G_pid_t): Likewise.
53677         (_G_uid_t): Likewise.
53678         (_G_wchar_t): Likewise.
53679         (_G_wint_t): Likewise.
53681 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53683         * malloc/arena.c: Include malloc-sysdep.h.
53684         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53685         is sufficient to shrink the heap or an unmap is needed.
53686         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53687         new function check_may_shrink_heap.
53688         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53689         new function check_may_shrink_heap.
53691 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53693         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53694         comments.
53696 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53698         * catgets/test-gencat.sh: Add "set -e".
53699         * elf/tst-pathopt.sh: Likewise.
53700         * grp/tst_fgetgrent.sh: Likewise.
53701         * iconvdata/run-iconv-test.sh: Likewise.
53702         * intl/tst-gettext.sh: Likewise.
53703         * intl/tst-gettext2.sh: Likewise.
53704         * intl/tst-gettext4.sh: Likewise.
53705         * intl/tst-gettext6.sh: Likewise.
53706         * intl/tst-translit.sh: Likewise.
53707         * io/ftwtest-sh: Likewise.
53708         * libio/test-freopen.sh: Likewise.
53709         * malloc/tst-mtrace.sh: Likewise.
53710         * posix/globtest.sh: Likewise.
53711         * posix/tst-getconf.sh: Likewise.
53712         * posix/wordexp-tst.sh: Likewise.
53713         * stdio-common/tst-printf.sh: Likewise.
53714         * stdio-common/tst-unbputc.sh: Likewise.
53715         * stdlib/tst-fmtmsg.sh: Likewise.
53716         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53717         * catgets/Makefile: Do not specify -e option when running
53718         testsuite shell scripts.
53719         * elf/Makefile: Likewise.
53720         * grp/Makefile: Likewise.
53721         * iconvdata/Makefile: Likewise.
53722         * intl/Makefile: Likewise.
53723         * io/Makefile: Likewise.
53724         * libio/Makefile: Likewise.
53725         * malloc/Makefile: Likewise.
53726         * posix/Makefile: Likewise.
53727         * stdio-common/Makefile: Likewise.
53728         * stdlib/Makefile: Likewise.
53729         * sysdeps/x86_64/Makefile: Likewise.
53731         * io/ftwtest-sh: Add copyright header.
53732         * posix/globtest.sh: Likewise.
53733         * posix/tst-getconf.sh: Likewise.
53734         * posix/wordexp-tst.sh: Likewise.
53735         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53737 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53739         [BZ #13679]
53740         * Makeconfig (+link): Defined as $(+link-static) if
53741         $(build-shared) isn't yes.
53742         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53743         isn't yes.
53744         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53746         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53748         [BZ #14562]
53749         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53750         new chunk size with MALLOC_ALIGN_MASK.
53752 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53754         [BZ #5044]
53755         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53756         <rounding-mode.h>.
53757         (__printf_fphex): Determine rounding using get_rounding_mode and
53758         round_away.
53759         * stdio-common/tst-printf-round.c (struct hex_test): New
53760         structure.
53761         (hex_tests): New variable.
53762         (test_hex_in_one_mode): New function.
53763         (do_test): Also run tests for hex float output.
53765 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
53767         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53768         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53769         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53770         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53771         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53772         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53773         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53774         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53776 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
53778         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53779         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53780         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53781         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53783 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
53785         [BZ #14579]
53786         * elf/rtld.c (dl_main): Limit the check for self loading to normal
53787         mode only.
53788         * elf/tst-rtld-load-self.sh: New test.
53789         * elf/Makefile: Run it.
53791 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53793         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53794         (tst-writev-ENV): Remove.
53795         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53797 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53799         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53801 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53803         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53804         unconditional.
53805         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53806         Likewise.
53807         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53808         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53809         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53810         Likewise.
53812 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53814         [BZ #14587]
53815         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53816         * config.make.in (have-cpp-asm-debuginfo): Removed.
53817         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53818         * configure: Regenerated.
53820 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53822         [BZ #5044]
53823         * stdio-common/printf_fp.c: Include <stdbool.h> and
53824         <rounding-mode.h>.
53825         (___printf_fp): Determine rounding using get_rounding_mode and
53826         round_away.
53827         * stdio-common/tst-printf-round.c: New file.
53828         * stdio-common/Makefile (tests): Add tst-printf-round.
53829         (link-libm): New variable.
53830         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53832 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53834         [BZ #14576]
53835         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53836         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53837         Likewise.
53838         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53839         Likewise.
53841 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53843         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53844         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53845         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53846         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53848 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53850         [BZ #14518]
53851         * include/rounding-mode.h: New file.
53852         * sysdeps/generic/get-rounding-mode.h: Likewise.
53853         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53854         * stdlib/strtod_l.c: Include <rounding-mode.h>.
53855         (MAX_VALUE): New macro.
53856         (MIN_VALUE): Likewise.
53857         (overflow_value): New function.
53858         (underflow_value): Likewise.
53859         (round_and_return): Use overflow_value and underflow_value to
53860         determine return values in overflow and underflow cases.  Use
53861         round_away to determine rounding depending on rounding mode.
53862         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53863         determine return values in overflow and underflow cases.
53864         * stdlib/tst-strtod-round.c: Include <fenv.h>.
53865         (struct test_results): New structure.
53866         (struct test): Use struct test_results to store expected results
53867         for all rounding modes.
53868         (TEST): Include expected results for all rounding modes.
53869         (test_in_one_mode): New function.
53870         (do_test): Use test_in_one_mode to compute and check results.
53871         Check results for all rounding modes.
53872         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53873         $(link-libm).
53875 2012-12-09  Allan McRae  <allan@archlinux.org>
53877         * sysdeps/i386/fpu/libm-test-ulps: Update
53879 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
53881         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53882         (_G_int32_t): Likewise.
53883         (_G_uint16_t): Likewise.
53884         (_G_uint32_t): Likewise.
53885         (_G_HAVE_BOOL): Likewise.
53886         (_G_HAVE_ATEXIT): Likewise.
53887         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53888         (_G_HAVE_IO_FILE_OPEN): Likewise.
53889         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53890         (_G_int32_t): Likewise.
53891         (_G_uint16_t): Likewise.
53892         (_G_uint32_t): Likewise.
53893         (_G_HAVE_BOOL): Likewise.
53894         (_G_HAVE_ATEXIT): Likewise.
53895         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53896         (_G_HAVE_IO_FILE_OPEN): Likewise.
53897         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53898         (_G_int32_t): Likewise.
53899         (_G_uint16_t): Likewise.
53900         (_G_uint32_t): Likewise.
53901         (_G_HAVE_BOOL): Likewise.
53902         (_G_HAVE_ATEXIT): Likewise.
53903         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53904         (_G_HAVE_IO_FILE_OPEN): Likewise.
53906 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
53908         * csu/libc-tls.c: Update copyright years.
53910 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
53912         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53913         [!_G_USING_THUNKS]: Remove conditional code.
53914         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53915         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53917         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53918         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53919         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53920         (_G_VTABLE_LABEL_PREFIX): Likewise.
53921         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53922         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53923         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53924         (_G_VTABLE_LABEL_PREFIX): Likewise.
53925         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53926         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53927         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53928         (_G_VTABLE_LABEL_PREFIX): Likewise.
53929         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53931 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
53933         * libio/Makefile: Include ../Makeconfig before tests.
53934         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53935         only if $(build-shared) is yes.
53937         * iconv/gconv_db.c: Update copyright years.
53939 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53941         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53942         unwind info if defined PIC. Fix special cases description.
53943         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53945         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53946         DP_HI_MASK entry.
53947         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53949 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
53951         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53953         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53954         is NULL.
53956         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53957         (LDLIBS-tst-chk4): This.
53958         (LDFLAGS-tst-chk5): Renamed to ...
53959         (LDLIBS-tst-chk5): This.
53960         (LDFLAGS-tst-chk6): Renamed to ...
53961         (LDLIBS-tst-chk6): This.
53962         (LDFLAGS-tst-lfschk4): Renamed to ...
53963         (LDLIBS-tst-lfschk4): This.
53964         (LDFLAGS-tst-lfschk5): Renamed to ...
53965         (LDLIBS-tst-lfschk5): This.
53966         (LDFLAGS-tst-lfschk6): Renamed to ...
53967         (LDLIBS-tst-lfschk6): This.
53969         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53970         on $(common-objpfx)soversions.mk.
53972 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
53974         [BZ #10014]
53975         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53976         example host name.
53978 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53980         * malloc/arena.c (arena_get_retry): New function that gets
53981         another arena for the caller to try its request on.
53982         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53983         current arena cannot fulfill the request.
53984         (__libc_memalign): Likewise.
53985         (__libc_memalign): Likewise.
53986         (__libc_pvalloc): Likewise.
53987         (__libc_calloc): Likewise.
53989 2012-09-05  John Tobey  <john.tobey@gmail.com>
53991         [BZ #13542]
53992         * manual/arith.texi (Operations on Complex): Fix description
53993         of carg branch cut.
53995 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53997         [BZ #10014]
53998         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53999         host name.
54001         [BZ #10038]
54002         * manual/memory.texi (Memory): Make order of menu items match
54003         order of sections.
54005 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54007         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54008         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
54009         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54011 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54013         * csu/libc-tls.c (static_dtv): Renamed to ...
54014         (_dl_static_dtv): This.  Make it global.
54015         (_dl_initial_dtv): Removed.
54016         (__libc_setup_tls): Updated.
54017         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54018         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54019         DL_INITIAL_DTV.
54021 2012-09-06  Petr Machata  <pmachata@redhat.com>
54023         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54024         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54025         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54026         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54028 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54030         [BZ #14545]
54031         * csu/libc-tls.c (_dl_initial_dtv): New variable.
54032         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54033         freeing dtv[-1].
54035 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54037         [BZ #14544]
54038         * Makeconfig (link-static-before-libc): Replace $(+prector)
54039         with $(+prectorT).
54040         (link-static-after-libc): Replace $(+postctor) with
54041         $(+postctorT).
54042         (link-bounded): Replace $(+prector)/$(+postctor) with
54043         $(+prectorT)/$(+postctorT).
54044         (+prectorT): New macro.
54045         (+postctorT): Likewise.
54047 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54049         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54050         (round_str): Handle values above the maximum for IBM long double
54051         as inexact.
54052         * stdlib/tst-strtod-round.c (tests): Regenerated.
54054 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54056         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54057         assembler flag.
54058         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54059         zarch_nohighgprs around the zarch optimized routines.
54060         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54061         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54062         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54063         for zarch.
54065 2012-09-05  David S. Miller  <davem@davemloft.net>
54067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54069         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54070         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54071         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54072         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54073         entries.
54075 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54077         * malloc/arena.c: Fold copyright years.
54078         * malloc/mcheck.c, malloc/memusage.c: Likewise.
54080 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54082         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54084 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54086         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
54088 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54090         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54091         change internal state upon failure.
54093 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54095         * malloc/mcheck.c (mcheck_check_all): Fix typo.
54096         * malloc/memusage.c (mmap): Likewise.
54097         (mmap64, mremap): Likewise.  Adjust name in comment.
54099 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54101         * libio/fileops.c: Fix typos in comments.
54102         * libio/oldfileops.c: Likewise.
54103         * libio/wfileops.c: Likewise.
54105 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54107         [BZ #1349]
54108         * malloc/Makefile (tests): Add tst-malloc-usable test case.
54109         (tst-malloc-usable-ENV): Set environment for test case.
54110         * malloc/hooks.c (malloc_check_get_size): New function to get
54111         requested size.
54112         * malloc/malloc.c (musable): Use malloc_check_get_size.
54113         * malloc/tst-malloc-usable.c: New test case.
54115 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54117         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54119 2012-09-05  Allan McRae  <allan@archlinux.org>
54121         [BZ #13966]
54122         * configure.in (CXX_SYSINCLUDES): Use compiler output to
54123         determine header location.
54124         * configure: Regenerated.
54126 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54128         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54129         float format.
54130         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54131         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54132         format.
54133         (test): Regenerate.
54135 2012-09-04  David S. Miller  <davem@davemloft.net>
54137         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54138         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54139         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54141 2012-09-04  Florian Weimer  <fweimer@redhat.com>
54143         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54144         failures.
54146         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54148 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
54150         [BZ #9914]
54151         * libio/iogetdelim.c: Include <limits.h>.
54152         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54153         + len + 1 would overflow.
54155 2012-09-03  Andreas Jaeger  <aj@suse.de>
54157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54158         * sysdeps/i386/fpu/libm-test-ulps: Update.
54160 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54162         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54163         Add s_sinf-sse2, s_conf-sse2.
54165         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54166         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54167         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54168         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54170         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54171         for using routine as __sinf_ia32.
54172         Use macro for function declaration and weak_alias.
54173         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54174         for using routine as __cosf_ia32.
54175         Use macro for function declaration and weak_alias.
54177         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54178         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54180         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54181         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54184         * math/libm-test.inc (cos_test): Add more test cases.
54185         (sin_test): Likewise.
54186         (sincos_test): Likewise.
54188 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54190         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54191         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54192         hidden.
54193         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54195 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54197         [BZ #14538]
54198         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54199         first element of the GOT.
54200         (elf_machine_load_address): Return the difference between
54201         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54203 2012-09-01  Allan McRae  <allan@archlinux.org>
54205         [BZ #13412]
54206         * configure.in (AWK): Require gawk version 3.0 or later.
54207         * configure: Regenerated.
54209 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54211         * sysdeps/unix/sysv/linux/kernel-features.h
54212         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54213         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54214         [__NR_clock_getres]: Make code unconditional.
54215         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54216         (clock_getcpuclockid): Remove code left unreachable by removal of
54217         conditionals.
54218         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54219         code unconditional.
54220         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54221         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54222         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54223         Make code unconditional.
54224         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54225         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54226         * sysdeps/unix/sysv/linux/clock_settime.c
54227         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54228         conditional code.
54229         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54230         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54232 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54234         [BZ #14476]
54235         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54236         scripts/test-installation.pl.
54238         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54239         and $ld_so_version if it is set.
54241 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54243         [BZ #14516]
54244         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54245         failure if reading from procfs failed.
54246         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54248 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54250         * sysdeps/unix/sysv/linux/kernel-features.h
54251         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54252         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54253         Remove conditional code.
54254         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54255         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54256         Remove conditional code.
54257         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54258         * sysdeps/unix/sysv/linux/i386/fxstat.c
54259         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54260         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54261         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54262         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54263         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54264         * sysdeps/unix/sysv/linux/i386/lxstat.c
54265         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54266         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54267         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54268         Remove conditional code.
54269         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54270         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54271         Remove conditional code.
54272         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54273         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54274         <kernel-features.h>.
54275         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54276         Remove.
54277         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54278         Remove conditional code.
54279         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54280         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54281         Remove conditional.
54283 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54285         [BZ #5400]
54286         * NEWS: Add fixed bug number.
54288 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54290         [BZ #14519]
54291         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54292         underflowing exponent in case of negative sign.
54293         * stdlib/tst-strtod-round-data: Add more tests.
54294         * stdlib/tst-strtod-round.c (tests): Regenerated.
54296         [BZ #3479]
54297         * stdlib/strtod_l.c (NDIG): Remove.
54298         (HEXNDIG): Likewise.
54299         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54300         smallest representable value.
54301         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54302         lie within an exact representation of 1/2 ulp of the result.
54303         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54304         unconditionally.
54305         (TENS_P9_IDX): Define unconditionally.
54306         (TENS_P9_SIZE): Likewise.
54307         (TENS_P10_IDX): Likewise.
54308         (TENS_P10_SIZE): Likewise.
54309         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54310         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54311         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54312         entries for 10^2^13 and 10^2^14.
54313         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54314         (TENS_P13_IDX): Define.
54315         (TENS_P13_SIZE): Likewise.
54316         (TENS_P14_IDX): Likewise.
54317         (TENS_P14_SIZE): Likewise.
54318         (_fpioconst_pow10): Change array size to
54319         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
54320         unconditional.
54321         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54322         1024]: Add entries for 10^2^13 and 10^2^14.
54323         [LAST_POW10 > _LAST_POW10]: Remove #error.
54324         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54325         (_fpioconst_pow10): Change array size to
54326         FPIOCONST_POW10_ARRAY_SIZE.
54327         * stdlib/gen-fpioconst.c: New file.
54328         * stdlib/gen-tst-strtod-round.c: Likewise.
54329         * stdlib/tst-strtod-round-data: Likewise.
54330         * stdlib/tst-strtod-round.c: Likewise.
54331         * stdlib/Makefile (tests): Add tst-strtod-round.
54333         [BZ #14459]
54334         * stdlib/strtod_l.c: Include <stdint.h>.
54335         (NDEBUG): Do not define.
54336         (round_and_return): Change EXPONENT parameter to type intmax_t.
54337         Rearrange calculations to avoid internal overflow possibilities.
54338         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54339         Rearrange calculations to avoid internal overflow possibilities.
54340         Assert that number fits inside MPNSIZE limbs.
54341         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54342         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
54343         calculations and add assertions to avoid internal overflow
54344         possibilities.  Add casts to avoid signed/unsigned operations.
54345         * stdlib/tst-strtod-overflow.c: New file.
54346         * stdlib/Makefile (tests): Add tst-strtod-overflow.
54348 2012-08-25  Marek Polacek  <polacek@redhat.com>
54350         * time/time.h: Fix some typos in comments.
54352 2012-08-23  Roland McGrath  <roland@hack.frob.com>
54354         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54355         * posix/tst-rfc3484-2.c: Likewise.
54356         * posix/tst-rfc3484-3.c: Likewise.
54358 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
54360         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54361         (EF_ARM_ABI_FLOAT_HARD): Likewise.
54363 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
54365         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54366         #include of fxstatat64.c.
54368 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54370         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54371         * shadow/getspent_r.c: Likewise.
54372         * shadow/getspnam.c: Likewise.
54373         * shadow/getspnam_r.c: Likewise.
54374         * gshadow/getsgent.c: Likewise.
54375         * gshadow/getsgent_r.c: Likewise.
54376         * gshadow/getsgnam.c: Likewise.
54377         * gshadow/getsgnam_r.c: Likewise.
54378         * inet/getnetbyad.c: Likewise.
54379         * inet/getnetbyad_r.c: Likewise.
54380         * inet/getnetbynm.c: Likewise.
54381         * inet/getnetbynm_r.c: Likewise.
54382         * inet/getnetent.c: Likewise.
54383         * inet/getnetent_r.c: Likewise.
54384         * inet/getproto.c: Likewise.
54385         * inet/getproto_r.c: Likewise.
54386         * inet/getprtent.c: Likewise.
54387         * inet/getprtent_r.c: Likewise.
54388         * inet/getprtname.c: Likewise.
54389         * inet/getprtname_r.c: Likewise.
54390         * inet/getrpcbyname.c: Likewise.
54391         * inet/getrpcbyname_r.c: Likewise.
54392         * inet/getrpcbynumber.c: Likewise.
54393         * inet/getrpcbynumber_r.c: Likewise.
54394         * inet/getrpcent.c: Likewise.
54395         * inet/getrpcent_r.c: Likewise.
54396         * inet/getaliasent.c: Likewise.
54397         * inet/getaliasent_r.c: Likewise.
54398         * inet/getaliasname.c: Likewise.
54399         * inet/getaliasname_r.c: Likewise.
54400         * nscd/getgrgid_r.c: Likewise.
54401         * nscd/getgrnam_r.c: Likewise.
54402         * nscd/gethstbyad_r.c: Likewise.
54403         * nscd/gethstbynm3_r.c: Likewise.
54404         * nscd/getpwnam_r.c: Likewise.
54405         * nscd/getpwuid_r.c: Likewise.
54406         * nscd/getsrvbynm_r.c: Likewise.
54407         * nscd/getsrvbypt_r.c: Likewise.
54408         * nscd/gai.c: Likewise.
54410         * configure.in (build_nscd): New substituted variable, set
54411         by --disable-build-nscd and defaults to $use_nscd.
54412         * configure: Regenerated.
54413         * config.make.in (build-nscd): New substituted variable.
54414         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54415         Change conditional to require [$(build-nscd) = yes] as well.
54416         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54418         [BZ# 13696]
54419         * configure.in (use_nscd): New substituted variable, set by
54420         --disable-nscd.  If enabled, define USE_NSCD.
54421         * configure: Regenerated.
54422         * config.h.in: Add USE_NSCD.
54423         * config.make.in (use-nscd): New substituted variable.
54424         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54425         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54426         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54427         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54428         (CFLAGS-getgrnam_r.c): Likewise.
54429         (CFLAGS-initgroups.c): Likewise.
54430         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54431         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54432         Variables removed.
54433         * inet/getnetgrent_r.c
54434         (nscd_setnetgrent): New function, broken out of ...
54435         (setnetgrent): ... here.  Call it.
54436         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54437         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54438         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54439         * nscd/Makefile (routines, aux): Move definitions after include of
54440         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54441         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54442         Conditionalize on [USE_NSCD].
54443         (is_nscd, nscd_init_cb): Likewise.
54444         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54445         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54446         * nss/nss_db/db-init.c: Likewise.
54447         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54448         [USE_NSCD].
54449         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54450         (make_request): Use it.
54451         (cache_valid_p): New function.
54452         (__check_pf): Use it.
54453         * NEWS: Add item for --disable-nscd.
54455 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54457         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54458         to support sed >= 4.2.1-20-ga9bf076.
54459         * configure: Regenerated.
54461 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54463         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54464         Conditionalize whole body on [IREL].
54466 2012-08-22  Jeff Law <law@redhat.com>
54468         [BZ #14505]
54469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54470         if the family is PF_UNSPEC.
54472 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54474         * Makerules (lib-version): Rename from V.
54475         (install-lib-nosubdir): Change V to lib-version.
54477 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54479         [BZ #14252]
54480         * powerpc32/power6/wcschr.c: New file.
54481         * powerpc32/power6/wcscpy.c: New file.
54482         * powerpc32/power6/wcsrchr.c: New file.
54483         * powerpc64/power6/wcschr.c: New file.
54484         * powerpc64/power6/wcscpy.c: New file.
54485         * powerpc64/power6/wcsrchr.c: New file.
54487 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54489         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54490         (two_way_short_needle): Use it.
54491         * string/strstr.c (AVAILABLE1_USES_J): Define.
54492         * string/strcasestr.c: Likewise.
54494         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54495         array references.
54496         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54498         [BZ #11607]
54499         * NEWS: Add an entry.
54500         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54501         define their defaults.
54502         (two_way_short_needle): Detect end-of-string on-the-fly.
54503         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54504         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54505         * string/bug-strcasestr1.c: New test.
54506         * string/Makefile: Run it.
54508 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54510         [BZ #11607]
54511         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54512         the first character.
54514 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54516         * csu/elf-init.c (__libc_csu_irel): Function removed.
54517         * csu/libc-start.c (apply_irel): New function.
54518         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54520 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54522         * sysdeps/unix/sysv/linux/kernel-features.h
54523         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54524         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54525         <kernel-features.h>.
54526         [__NR_fadvise64_64]: Make code unconditional.
54527         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54528         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54529         !__NR_fadvise64_64)]: Likewise.
54530         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54531         !__NR_fadvise64_64))]: Likewise.
54532         [__NR_fadvise64]: Make code unconditional.
54533         [!__NR_fadvise64]: Remove conditional code.
54534         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54535         <kernel-features.h>.
54536         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54537         unconditional.
54538         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54539         conditional code.
54540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54541         not include <kernel-features.h>.
54542         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54543         unconditional.
54544         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54545         conditional code.
54546         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54547         include <kernel-features.h>.
54548         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54549         unconditional.
54550         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54551         conditional code.
54553 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54555         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54556         slight instruction rearrangements per scrollpipe analysis.
54557         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54559 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54561         * manual/syslog.texi (syslog; vsyslog, closelog):
54562         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54563         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54565         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54566         DSOCAPS to match condition on defining it.
54568 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54570         * sysdeps/unix/sysv/linux/kernel-features.h
54571         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54573         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54574         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54576         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54577         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54579         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54580         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54582         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54583         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54585         * sysdeps/unix/sysv/linux/kernel-features.h
54586         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54587         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54588         unconditional.
54589         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54590         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54591         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54592         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54593         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54594         Make code unconditional.
54595         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54596         (__mmap64) [!__NR_mmap2]: Likewise.
54597         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54598         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54599         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54600         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54601         [__NR_mmap2]: Make code unconditional.
54602         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54603         (__mmap64) [!__NR_mmap2]: Likewise.
54605 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54607         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54609 2012-08-18  Andreas Jaeger  <aj@suse.de>
54611         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54613 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54615         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54616         * include/unistd.h (__have_sock_cloexec): Likewise.
54617         (__have_pipe2): Likewise.
54618         (__have_dup3): Likewise.
54620 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54622         [BZ #9685]
54623         * include/unistd.h (__have_pipe2): Change define into an extern int.
54624         (__have_dup3): Likewise.
54625         * socket/have_sock_cloexec.c: Include fcntl.h.
54626         (__have_pipe2): New variable.
54627         (__have_dup3): Likewise.
54629 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54631         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54633 2012-08-17  Marek Polacek  <polacek@redhat.com>
54635         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54636         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54638 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54640         * configure.in: Add AC_SUBST for sysheaders.
54641         * configure: Regenerated.
54642         * config.make.in (sysheaders): New substituted variable.
54644         * sysdeps/unix/mkfifo.c: Moved ...
54645         * sysdeps/posix/mkfifo.c: ... here.
54646         * sysdeps/unix/mkfifoat.c: Moved ...
54647         * sysdeps/posix/mkfifoat.c: ... here.
54649         * sysdeps/unix/utime.c: Moved ...
54650         * sysdeps/posix/utime.c: ... here.
54652         * sysdeps/unix/time.c: Moved ...
54653         * sysdeps/posix/time.c: ... here.
54654         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54655         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54657         * sysdeps/unix/nice.c: Moved ...
54658         * sysdeps/posix/nice.c: ... here.
54660         * sysdeps/unix/alarm.c: Moved ...
54661         * sysdeps/posix/alarm.c: ... here.
54663         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54665 2012-08-17  Jeff Law <law@redhat.com>
54667         * intl/Makefile (codeset_mo): New variable.
54668         ($(codeset_mo)): New target.
54669         (tst-codeset.out): Depend on that.  Remove explicit rule.
54670         (tst-gettext3.out, tst-gettext5.out): Likewise.
54671         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54672         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54673         * intl/tst-codeset.sh: Remove.
54674         * intl/tst-gettext3.sh: Likewise.
54675         * intl/tst-gettext5.sh: Likewise.
54677 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54679         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54680         * sysdeps/unix/syscalls.list: ... here.
54682         * sysdeps/posix/getaddrinfo.c
54683         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54684         (gaiconf_init, gaiconf_reload): Use them.
54685         [!_STATBUF_ST_NSEC]
54686         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54687         Define using time_t rather than struct timespec.
54689         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54690         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54691         Macros removed.
54692         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54693         [!NO_THREADS].
54694         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54695         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54696         Likewise.
54698         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54699         __libc_cleanup_push argument.
54701         * bits/param.h: New file.
54702         * misc/sys/param.h: New file.
54703         * include/sys/param.h: New file.
54704         * misc/Makefile (headers): Add bits/param.h.
54705         * sysdeps/generic/sys/param.h: File removed.
54706         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54707         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54708         * sysdeps/mach/hurd/bits/param.h: New file.
54709         * sysdeps/mach/hurd/sys/param.h: File removed.
54711         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54712         last change.
54714         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54715         [_IO_MTSAFE_IO].
54716         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54717         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54718         New macros.
54720         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54721         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54722         rather than -D_IO_MTSAFE_IO conditionally.
54723         * stdio-common/Makefile (CPPFLAGS): Likewise.
54724         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54725         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54726         Use $(libio-mtsafe).
54727         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54728         of -D_IO_MTSAFE_IO.
54729         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54730         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54731         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54732         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54733         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54734         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54735         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54736         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54737         (CFLAGS-fread_u_chk.c): Likewise.
54738         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54739         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54740         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54741         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54742         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54743         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54744         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54745         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54746         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54748         * libio/Makefile: Test [$(libc-reentrant) = yes]
54749         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54751         * Makeconfig
54752         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54753         * sysdeps/pthread/configure: File removed.
54754         * sysdeps/pthread/Makeconfig: New file.
54755         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54756         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54758 2012-08-16  Gary Benson  <gbenson@redhat.com>
54760         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54761         unmapping the first object in a namespace.
54763 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54765         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54766         (__internal_setnetgrent): ... this.  Add internal_function to
54767         definition.  Add libc_hidden_def.
54768         (setnetgrent): Update caller.
54769         (internal_endnetgrent): Renamed to ...
54770         (__internal_endnetgrent): ... this.  Add internal_function to
54771         definition.  Add libc_hidden_def.
54772         (endnetgrent): Update caller.
54773         (internal_getnetgrent_r): Renamed to ...
54774         (__internal_getnetgrent_r): ... this.  Add internal_function to
54775         definition.  Add libc_hidden_def.
54776         (__getnetgrent_r): Update caller.
54777         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
54779 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54781         * stdlib/longlong.h: Update from GCC.
54783 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54785         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54786         on _QL, which is set by umul_ppmm but never used.
54787         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54788         variables, which are set by GMP macros but never used.
54789         * stdio-common/_itowa.c (_itowa): Likewise.
54790         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54791         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54793 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54795         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54796         struct La_sh_regs is not constant.
54797         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54798         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54799         and struct La_sparc64_regs are not constant.
54801 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54803         * sysdeps/unix/sysv/linux/kernel-features.h
54804         (__ASSUME_POSIX_TIMERS): Remove.
54805         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54806         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54807         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54808         Make code unconditional.
54809         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54810         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54811         Make code unconditional.
54812         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54813         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54814         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54815         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54816         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54817         Make code unconditional.
54818         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54819         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54820         (__libc_missing_posix_timers): Remove.
54822 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54824         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54825         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54827         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54829         * elf/dl-sym.c: Include <stdlib.h>.
54831         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54832         constants, which avoids warnings in 32-bit builds.
54834         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54835         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54837         * misc/lseek.c: File moved to ...
54838         * io/lseek.c: ... here.
54840         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54842         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54843         shifting LEN more than 31 bits at once.
54845 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54847         [BZ #14195]
54848         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54849         segmentation fault for a case of two empty input strings.
54850         * string/test-strncasecmp.c (check1): Renamed to...
54851         (bz12205): ...this.
54852         (bz14195): Add new testcase for two empty input strings and N > 0.
54853         (test_main): Call new testcase, adapt for renamed function.
54855 2012-08-15  Andreas Jaeger  <aj@suse.de>
54857         [BZ #14090]
54858         * crypt/md5test2.c: New test, based on test supplied by Serge
54859         Belyshev <belyshev@depni.sinp.msu.ru>.
54860         * crypt/Makefile (xtests): Add md5test-giant..
54861         * crypt/Makefile ($(objpfx)md5test-giant): Add.
54863 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
54865         [BZ #14090]
54866         * crypt/md5.c (md5_process_block): Don't assume the buffer
54867         length is less than 2**32.
54868         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54869         length is less than 2**64.
54871 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54873         * string/str-two-way.h: Include <sys/param.h>.
54874         (MAX): Macro removed.
54876         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54877         Move #define and #undef of memmove to just before and after
54878         including <string.h>.
54880         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54881         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54882         and after including <string.h>.  Move declarations of
54883         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54884         to before #include "string/memmove.c".
54886         * include/dirent.h: Declare __getdirentries.
54888         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54889         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54891 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
54893         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54894         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54895         * sysdeps/i386/configure: Regenerated.
54896         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54897         STABS_CURRENT_FILE, and STABS_FUN.
54898         (END): Remove call to STABS_FUN_END.
54899         (STABS_CURRENT_FILE1): Delete.
54900         (STABS_CURRENT_FILE): Likewise.
54901         (STABS_FUN): Likewise.
54902         (STABS_FUN_END): Likewise.
54903         (STABS_FUN2): Likewise.
54904         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54905         * sysdeps/x86_64/configure: Regenerated.
54907 2012-08-14  Roland McGrath  <roland@hack.frob.com>
54909         * elf/dl-open.c: Include <atomic.h>.
54910         * elf/dl-lookup.c: Likewise.
54912 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
54914         * sysdeps/unix/sysv/linux/kernel-features.h
54915         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54916         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54917         unconditionally.
54918         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54919         unconditionally.
54920         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54921         condition on __ASSUME_CLONE_THREAD_FLAGS.
54923 2012-08-14  Andreas Jaeger  <aj@suse.de>
54925         * sysdeps/i386/fpu/libm-test-ulps: Update.
54927 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
54929         * include/atomic.h (atomic_exchange_and_add): Split into ...
54930         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54931         New atomic macros.
54933 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
54935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54937 2012-08-13  Jeff Law <law@redhat.com>
54939         * manual/stdio.texi (snprintf): Clarify handling of the trailing
54940         null byte in the output string.
54942 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
54944         * sysdeps/unix/sysv/linux/kernel-features.h
54945         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54946         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54947         (__ASSUME_ARG_MAX_STACK_BASED): Define.
54948         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54949         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54950         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
54951         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54953 2012-08-09  Jeff Law <law@redhat.com>
54955         [BZ #13939]
54956         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54957         When avoid_arena is set, don't retry in the that arena.  Pick the
54958         next one, whatever it might be.
54959         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54960         (arena_lock): Pass in new parameter to arena_get2.
54961         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54962         arena_get2.
54963         (__libc_malloc): Unify retrying after main arena failure with
54964         __libc_memalign version.
54965         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54967 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
54969         [BZ #14166]
54970         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54971         to __redirect_strstr.
54972         (__strstr_sse42): Use typeof __redirect_strstr.
54973         (__strstr_ia32): Likewise.
54974         (__libc_strstr): New prototype.
54975         (strstr): Renamed to ...
54976         (__libc_strstr): This.
54977         (strstr): New strong alias of __libc_strstr.
54978         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54979         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54980         __redirect_time.
54981         Include <time.h>.
54982         (__libc_time): New prototype.
54983         (time_ifunc): Replace time with __libc_time.
54984         (time): New strong alias and hidden definition of __libc_time.
54985         (__GI_time): Remove strong alias.
54986         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54987         Include <stddef.h>.
54988         (memmove): Redefined to __redirect_memmove.
54989         (__memmove_sse2): Use typeof __redirect_memmove.
54990         (__memmove_ssse3): Likewise.
54991         (__memmove_ssse3_back): Likewise.
54992         (__libc_memmove): New prototype.
54993         (memmove): Renamed to ...
54994         (__libc_memmove): This.
54995         (memmove): New strong alias of __libc_memmove.
54997 2012-08-08  Mark Salter  <msalter@redhat.com>
54999         * elf/elf.h
55000         (R_MN10300_TLS_GD): Define.
55001         (R_MN10300_TLS_LD): Likewise.
55002         (R_MN10300_TLS_LDO): Likewise.
55003         (R_MN10300_TLS_GOTIE): Likewise.
55004         (R_MN10300_TLS_IE): Likewise.
55005         (R_MN10300_TLS_LE): Likewise.
55006         (R_MN10300_TLS_DTPMOD): Likewise.
55007         (R_MN10300_TLS_DTPOFF): Likewise.
55008         (R_MN10300_TLS_TPOFF): Likewise.
55009         (R_MN10300_SYM_DIFF): Likewise.
55010         (R_MN10300_ALIGN): Likewise.
55011         (R_MN10300_NUM): Update.
55013 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
55015         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55016         Remove.
55018 2012-08-08  Roland McGrath  <roland@hack.frob.com>
55020         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55022         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55023         sysdeps/unix -> sysdeps/posix move.
55024         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55026 2012-08-07      Allan McRae     <allan@archlinux.org>
55028         [BZ #14303]
55029         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55030         (SUNOS_CPP): Likewise.
55031         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55032         not found.
55033         (open_input): Call CPP using execvp.
55035 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55037         * sysdeps/unix/sysv/linux/kernel-features.h
55038         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55039         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55040         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55041         (__ASSUME_WAITID_SYSCALL): Likewise.
55042         * sysdeps/unix/sysv/linux/dl-execstack.c
55043         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55044         code unconditional.
55045         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55046         conditional code.
55047         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55048         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55049         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55050         code.
55051         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55052         unconditional.
55053         [__ASSUME_WAITID_SYSCALL]: Likewise.
55054         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55056 2012-08-07  Roland McGrath  <roland@hack.frob.com>
55058         * sysdeps/unix/closedir.c: Renamed to ...
55059         * sysdeps/posix/closedir.c: ... here.
55060         * sysdeps/unix/dirfd.c: Renamed to ...
55061         * sysdeps/posix/dirfd.c: ... here.
55062         * sysdeps/unix/dirstream.h: Renamed to ...
55063         * sysdeps/posix/dirstream.h: ... here.
55064         * sysdeps/unix/fdopendir.c: Renamed to ...
55065         * sysdeps/posix/fdopendir.c: ... here.
55066         * sysdeps/unix/opendir.c: Renamed to ...
55067         * sysdeps/posix/opendir.c: ... here.
55068         * sysdeps/unix/readdir.c: Renamed to ...
55069         * sysdeps/posix/readdir.c: ... here.
55070         * sysdeps/unix/readdir_r.c: Renamed to ...
55071         * sysdeps/posix/readdir_r.c: ... here.
55072         * sysdeps/unix/rewinddir.c: Renamed to ...
55073         * sysdeps/posix/rewinddir.c: ... here.
55074         * sysdeps/unix/seekdir.c: Renamed to ...
55075         * sysdeps/posix/seekdir.c: ... here.
55076         * sysdeps/unix/telldir.c: Renamed to ...
55077         * sysdeps/posix/telldir.c: ... here.
55078         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55079         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55080         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55081         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55083         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55084         * bits/fcntl.h: ... here.
55086         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55087         not 0.
55088         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55089         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55090         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55091         (struct flock): Move l_start, l_len to the beginning.
55092         Use __pid_t for l_pid.
55093         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55094         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55095         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55096         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55097         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55098         [__USE_LARGEFILE64] (struct flock64): New type.
55099         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55101         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55102         * bits/dirent.h: ... here.
55104         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55105         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55107 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55109         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55110         Change from 2.6.0 to 2.6.16.
55111         * sysdeps/unix/sysv/linux/configure: Regenerated.
55112         * sysdeps/unix/sysv/linux/kernel-features.h
55113         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55114         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55115         version.
55116         (__ASSUME_UTIMES): Likewise.
55117         (__ASSUME_CLONE_STOPPED): Remove.
55118         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55119         architectures, not kernel version.
55120         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55121         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55122         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55123         (__ASSUME_WAITID_SYSCALL): Likewise.
55124         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55125         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55126         * README: State 2.6.16 as minimum Linux kernel version.  Do not
55127         refer to older versions.
55129 2012-08-06  Roland McGrath  <roland@hack.frob.com>
55131         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55132         Define alphasort64 as an alias.
55133         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55134         Define versionsort64 as an alias.
55135         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55136         Define scandir64 as an alias.
55137         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55138         Define scandirat64 as an alias.
55139         * dirent/alphasort64.c (alphasort64):
55140         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55141         * dirent/versionsort64.c: Likewise.
55142         * dirent/scandir64.c: Likewise.
55143         * dirent/scandirat64.c: Likewise.
55144         * sysdeps/wordsize-64/alphasort.c: File removed.
55145         * sysdeps/wordsize-64/alphasort64.c: File removed.
55146         * sysdeps/wordsize-64/scandir.c: File removed.
55147         * sysdeps/wordsize-64/scandir64.c: File removed.
55148         * sysdeps/wordsize-64/scandirat.c: File removed.
55149         * sysdeps/wordsize-64/scandirat64.c: File removed.
55150         * sysdeps/wordsize-64/versionsort.c: File removed.
55151         * sysdeps/wordsize-64/versionsort64.c: File removed.
55152         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55153         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55154         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55155         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55156         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55157         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55158         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55159         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55161         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55162         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55163         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55164         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55165         [defined __arch64__ || defined __sparcv9]
55166         (__INO_T_MATCHES_INO64_T): New macro.
55167         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55168         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55169         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55170         * sysdeps/unix/sysv/linux/bits/dirent.h
55171         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55172         (_DIRENT_MATCHES_DIRENT64): New macro.
55174         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55175         Define lockf64 as an alias.
55176         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55177         Define fseeko64 as an alias.
55178         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55179         Define ftello64 as an alias.
55180         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55181         Define _IO_fgetpos64 and fgetpos64 as aliases.
55182         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55183         Define _IO_fsetpos64 and fsetpos64 as aliases.
55184         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55185         Conditionalize body on this.
55186         * libio/fseeko64.c: Likewise.
55187         * libio/ftello64.c: Likewise.
55188         * libio/iofgetpos64.c: Likewise.
55189         * libio/iofsetpos64.c: Likewise.
55190         * sysdeps/wordsize-64/lockf.c: File removed.
55191         * sysdeps/wordsize-64/lockf64.c: File removed.
55192         * sysdeps/wordsize-64/fseeko.c: File removed.
55193         * sysdeps/wordsize-64/fseeko64.c: File removed.
55194         * sysdeps/wordsize-64/ftello.c: File removed.
55195         * sysdeps/wordsize-64/ftello64.c: File removed.
55196         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55197         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55198         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55199         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55200         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55201         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55202         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55203         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55204         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55205         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55206         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55207         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55208         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55209         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55211         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55212         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55213         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55214         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55215         [defined __arch64__ || defined __sparcv9]
55216         (__OFF_T_MATCHES_OFF64_T): New macro.
55217         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55218         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55219         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55220         (__OFF_T_MATCHES_OFF64_T): New macro.
55222 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55224         * stdlib/secure-getenv.c (__secure_getenv): Replace
55225         GLIBC_2_16 with GLIBC_2_17.
55227 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55229         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55230         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55232 2012-08-03  David S. Miller  <davem@davemloft.net>
55234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55236 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55238         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55239         Remove.
55240         (__ASSUME_CORRECT_SI_PID): Likewise.
55241         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55242         (__ASSUME_TMPFS_NAME): Likewise.
55243         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55244         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55245         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55246         (HAVE_AUX_SECURE): Make definition unconditional.
55247         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55248         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55250 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55252         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55253         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55254         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55255         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55256         __eloop_threshold instead of SYMLOOP_MAX.
55258         * sysdeps/generic/eloop-threshold.h: New file.
55259         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55260         of MAXSYMLINKS.
55261         * elf/chroot_canon.c (chroot_canon): Likewise.
55263 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55265         [BZ #13717]
55266         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55267         Change to 2.6.0 everywhere.
55268         * sysdeps/unix/sysv/linux/configure: Regenerated.
55269         * sysdeps/unix/sysv/linux/kernel-features.h
55270         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55271         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55272         kernel versions.
55273         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55274         (__ASSUME_FUTEX_REQUEUE): Remove.
55275         (__ASSUME_STATFS64): Define unconditionally.
55276         (__ASSUME_AT_SECURE): Likewise.
55277         (__ASSUME_CORRECT_SI_PID): Likewise.
55278         (__ASSUME_TGKILL): Define without depending on kernel version for
55279         i386.
55280         (__ASSUME_UTIMES): Likewise.
55281         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55282         kernel version.
55283         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55284         (__ASSUME_TMPFS_NAME): Likewise.
55285         * README: Update reference to Linux kernel versions.
55287 2012-08-02  Marek Polacek  <polacek@redhat.com>
55289         [BZ# 14150]
55290         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55291         libc_cv_asm_type_prefix with %.
55292         * configure: Regenerated.
55293         * include/libc-symbols.h: Remove comment about
55294         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55295         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55296         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55297         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55298         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55299         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55300         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55301         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55302         * elf/tst-unique2mod1.c: Likewise.
55303         * elf/tst-unique1mod2.c: Likewise.
55304         * elf/tst-unique1mod1.c: Likewise.
55305         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55306         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55307         Replace ASM_TYPE_DIRECTIVE with .type.
55308         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55309         * sysdeps/i386/sysdep.h: Likewise.
55310         * sysdeps/x86_64/sysdep.h: Likewise.
55311         * sysdeps/sh/sysdep.h: Likewise.
55312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55313         Do not define ASM_TYPE_DIRECTIVE.
55314         * sysdeps/powerpc/sysdep.h: Likewise.
55315         * sysdeps/powerpc/powerpc32/sysdep.h:
55316         Replace ASM_TYPE_DIRECTIVE with .type.
55317         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55318         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55319         * sysdeps/i386/fpu/e_powf.S: Likewise.
55320         * sysdeps/i386/fpu/e_expl.S: Likewise.
55321         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55322         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55323         * sysdeps/i386/fpu/e_pow.S: Likewise.
55324         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55325         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55326         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55327         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55328         * sysdeps/i386/fpu/e_log2.S: Likewise.
55329         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55330         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55331         * sysdeps/i386/fpu/e_powl.S: Likewise.
55332         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55333         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55334         * sysdeps/i386/fpu/e_logl.S: Likewise.
55335         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55336         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55337         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55338         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55339         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55340         * sysdeps/i386/fpu/e_log.S: Likewise.
55341         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55342         * sysdeps/i386/fpu/e_logf.S: Likewise.
55343         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55344         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55345         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55346         * sysdeps/i386/fpu/e_log10.S: Likewise.
55347         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55348         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55349         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55350         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55351         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55352         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55353         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55354         * sysdeps/i386/i686/strtok.S: Likewise.
55355         * sysdeps/i386/i386-mcount.S: Likewise.
55356         * sysdeps/i386/strtok.S: Likewise.
55357         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55358         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55359         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55360         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55361         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55362         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55363         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55364         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55365         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55366         * sysdeps/x86_64/_mcount.S: Likewise.
55367         * sysdeps/x86_64/strtok.S: Likewise.
55368         * sysdeps/sh/_mcount.S: Likewise.
55370 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55372         * libio/iofopen.c: Include <fcntl.h>.
55373         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55374         (_IO_fopen64, fopen64): Define as aliases.
55375         * libio/iofopen64.c: Include <fcntl.h>.
55376         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55377         Conditionalize body on this.
55378         * sysdeps/wordsize-64/iofopen.c: File removed.
55379         * sysdeps/wordsize-64/iofopen64.c: File removed.
55381 2012-08-01  Marek Polacek  <polacek@redhat.com>
55383         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55384         Use dlfcn directly instead of a variable.
55385         (binfmt-subdir): Do not define.
55386         (dlfcn): Likewise.
55388 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55390         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55391         Remove all definitions.
55392         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55393         <kernel-features.h>.
55394         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55395         (miss_F_GETOWN_EX): Remove all definitions.
55396         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55397         macro definition.
55398         [!__ASSUME_FCNTL64]: Remove conditional code.
55399         [__ASSUME_FCNTL64]: Make code unconditional.
55400         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55401         <kernel-features.h>.
55402         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55403         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55404         (lockf64) [__NR_fcntl64]: Make code unconditional.
55405         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55407         * sysdeps/unix/sysv/linux/kernel-features.h
55408         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55409         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55410         Make code unconditional.
55411         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55412         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55414         [__NR_vfork]: Make code unconditional.
55415         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55416         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55418         [__NR_vfork]: Make code unconditional.
55419         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55420         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55422 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55424         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55425         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55427         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55428         Define mkstemp64 as an alias.
55429         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55430         Define mkstemps64 as an alias.
55431         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55432         Define mkostemp64 as an alias.
55433         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55434         Define mkostemps64 as an alias.
55435         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55436         Conditionalize body on this.
55437         * misc/mkostemp64.c: Likewise.
55438         * misc/mkostemps64.c: Likewise.
55439         * misc/mkstemps64.c: Likewise.
55440         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55441         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55442         * sysdeps/wordsize-64/mkostemp.c: File removed.
55443         * sysdeps/wordsize-64/mkstemp.c: File removed.
55444         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55445         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55446         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55447         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55449         [BZ #14138]
55450         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55451         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55452         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55453         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55455         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55456         compat_symbol macros from <shlib-compat.h> rather than the underlying
55457         default_symbol_version and symbol_version macros, so that DEFAULT
55458         lines in shlib-versions are respected.
55459         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55461 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55463         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55464         Declare with warn_unused_result.
55465         (setgid, setregid, setegid, setresgid): Likewise.
55466         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55467         Likewise.
55468         * WUR-REPORT: Remove set*id functions.
55470 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55472         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55474 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55476         [BZ #10191]
55477         * include/sys/socket.h (__libc_accept, __libc_accept4):
55478         Add attribute_hidden.
55479         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55481         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55482         use of PTR_MANGLE.
55483         * inet/getnetgrent_r.c (setup): Likewise.
55485         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55487 2012-07-31  David S. Miller  <davem@davemloft.net>
55489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55491 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55493         [BZ #13629]
55494         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55495         value between 1.0 and 2.0 and smaller part has absolute value less
55496         than 1.0.
55497         * math/s_clog10.c (__clog10): Likewise.
55498         * math/s_clog10f.c (__clog10f): Likewise.
55499         * math/s_clog10l.c (__clog10l): Likewise.
55500         * math/s_clogf.c (__clogf): Likewise.
55501         * math/s_clogl.c (__clogl): Likewise.
55502         * math/libm-test.inc (clog_test): Add more tests.
55503         (clog10_test): Likewise.
55504         * sysdeps/i386/fpu/libm-test-ulps: Update.
55505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55507 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55509         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55510         Exit with zero in case no suitable GID is found, and write a
55511         message to standard error.
55513 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55515         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55516         rather than to 1.
55517         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55518         (MAXPATHLEN): Removed.
55519         (NOGROUP, NODEV): New macros.
55520         (setbit, clrbit, isset, isclr): New macros.
55521         (howmany, roundup, powerof2): New macros.
55522         (DEV_BSIZE): New macro.
55524         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55525         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55527         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55528         definition on [!__NO_LONG_DOUBLE_MATH].
55530         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55531         PTR_MANGLE and PTR_DEMANGLE.
55533         * socket/accept4.c (accept4): Rename to __libc_accept4.
55534         Define accept4 as a weak alias.
55536         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55537         on [_DIRENT_HAVE_D_TYPE].
55538         * io/ftw.c (ftw_dir): Likewise.
55540         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55542         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55544         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55545         Use the BSD numbers rather than the arbitrary ones we had.
55546         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55547         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55548         (SIGXCPU, SIGXFSZ): New macros.
55549         (_NSIG): Now 32.
55551         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55552         initializer on [_LIBC_REENTRANT].
55554         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55555         definitions inside [_POSIX_MAPPED_FILES].
55557         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55559         * dirent/opendir.c: Include <fcntl.h>.
55561         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55562         (__libc_getspecific): Likewise.
55563         (__libc_key_create): Likewise.
55565         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55566         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55567         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55568         (tmpfile64): Define as alias.
55569         * sysdeps/wordsize-64/tmpfile.c: File removed.
55570         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55571         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55572         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55574         * stdio-common/vfscanf.c: Include <stdbool.h>.
55575         * nss/makedb.c: Likewise.
55576         * stdio-common/_i18n_number.h: Likewise.
55577         * argp/argp-help.c: Likewise.
55578         * posix/wordexp.c: Likewise.
55579         * sysdeps/posix/spawni.c: Likewise.
55580         * nss/nss_files/files-initgroups.c: Likewise.
55581         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55582         * nss/nss_files/files-initgroups.c: Likewise.
55583         * nss/nss_db/db-netgrp.c: Likewise.
55584         * nss/nss_db/db-initgroups.c: Likewise.
55585         * io/fchmodat.c: Include <sys/stat.h>.
55587         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55588         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55590         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55591         [HAVE_MMAP].
55593         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55594         Add multiple inclusion protection.
55596 2012-07-27  David S. Miller  <davem@davemloft.net>
55598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55600 2012-07-27  Gary Benson  <gbenson@redhat.com>
55602         [BZ #14298]
55603         * elf/rtld.c: Include <stap-probe.h>.
55604         (dl_main): Added static probes "init_start" and "init_complete".
55605         * elf/dl-load.c: Include <stap-probe.h>.
55606         (lose): Take new parameter "nsid".
55607         Added static probe "map_failed".
55608         (_dl_map_object_from_fd): Pass namespace id to lose.
55609         Added static probe "map_start".
55610         (open_verify): Pass namespace id to lose.
55611         * elf/dl-open.c: Include <stap-probe.h>.
55612         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55613         and "reloc_complete".
55614         * elf/dl-close.c: Include <stap-probe.h>.
55615         (_dl_close_worker): Added static probes "unmap_start" and
55616         "unmap_complete".
55617         * elf/rtld-debugger-interface.txt: New file documenting the above.
55619 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55621         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55622         rather than a string variable.
55623         * sunrpc/rpc_main.c (h_output): Likewise.
55624         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55626 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55628         * inet/check_native.c: New file.
55630 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55632         [BZ #13629]
55633         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55634         if larger part has absolute value 1.0.
55635         * math/s_clog10.c (__clog10): Likewise.
55636         * math/s_clog10f.c (__clog10f): Likewise.
55637         * math/s_clog10l.c (__clog10l): Likewise.
55638         * math/s_clogf.c (__clogf): Likewise.
55639         * math/s_clogl.c (__clogl): Likewise.
55640         * math/libm-test.inc (clog_test): Add more tests.
55641         (clog10_test): Likewise.
55642         * sysdeps/i386/fpu/libm-test-ulps: Update.
55643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55645         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55646         (pltexit): Likewise.
55647         (La_regs): Likewise.
55648         (La_retval): Likewise.
55649         (int_retval): Likewise.
55650         Update #error for removed macros to refer only to definitions in
55651         tst-audit.h.
55652         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55653         macro.
55654         (pltexit): Likewise.
55655         (La_regs): Likewise.
55656         (La_retval): Likewise.
55657         (int_retval): Likewise.
55658         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55659         macro.
55660         (pltexit): Likewise.
55661         (La_regs): Likewise.
55662         (La_retval): Likewise.
55663         (int_retval): Likewise.
55664         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55665         macro.
55666         (pltexit): Likewise.
55667         (La_regs): Likewise.
55668         (La_retval): Likewise.
55669         (int_retval): Likewise.
55670         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55671         macro.
55672         (pltexit): Likewise.
55673         (La_regs): Likewise.
55674         (La_retval): Likewise.
55675         (int_retval): Likewise.
55676         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55677         macro.
55678         (pltexit): Likewise.
55679         (La_regs): Likewise.
55680         (La_retval): Likewise.
55681         (int_retval): Likewise.
55682         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55683         macro.
55684         (pltexit): Likewise.
55685         (La_regs): Likewise.
55686         (La_retval): Likewise.
55687         (int_retval): Likewise.
55688         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55689         macro definitions in tst-audit.h.
55690         * sysdeps/i386/tst-audit.h: New file.
55691         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55692         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55693         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55694         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55695         * sysdeps/sh/tst-audit.h: Likewise.
55696         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55697         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55698         * sysdeps/x86_64/tst-audit.h: Likewise.
55700 2012-07-26  Andreas Jaeger  <aj@suse.de>
55702         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55703         ptrace.
55705         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55706         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55707         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55708         PTRACE_O_MASK.
55709         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55710         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55711         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55713         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55714         value.
55716         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55717         _sigsys.
55718         (si_call_addr, si_syscall, si_arch): Define new macro.
55719         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55720         _sigsys.
55721         (si_call_addr, si_syscall, si_arch): Define new marcro.
55722         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55723         _sigsys.
55724         (si_call_addr, si_syscall, si_arch): Define new macro.
55725         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55726         _sigsys.
55727         (si_call_addr, si_syscall, si_arch): Define new macro.
55729 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55731         [BZ #13717]
55732         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55733         Change to 2.4.21 where previously 2.4.1.
55734         * sysdeps/unix/sysv/linux/configure: Regenerated.
55735         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55736         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55737         Linux kernel version.
55738         (__ASSUME_STD_AUXV): Remove.
55739         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55740         kernel version.
55741         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55742         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55743         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55744         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55745         (__ASSUME_NETLINK_SUPPORT): Likewise.
55746         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55747         (__no_netlink_support): Remove conditional definition.
55748         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55749         Remove.
55750         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55751         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55752         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55753         (if_nameindex_ioctl): Remove.
55754         (if_nameindex_netlink): Do not handle __no_netlink_support.
55755         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55756         code.
55757         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55758         Remove conditional code.
55759         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55760         code.
55761         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55762         unconditional.
55763         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55764         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55765         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55766         Remove.
55767         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55768         [!__ASSUME_STD_AUXV]: Remove conditional code.
55769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55770         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55771         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55773         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55774         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55775         code.
55776         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55778         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55779         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55780         conditional code.
55781         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55783         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55784         code.
55785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55786         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55787         conditional code.
55788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55789         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55790         code unconditional.
55791         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55792         conditional code.
55793         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55794         unconditional.
55795         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55796         conditional code.
55797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55798         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55799         unconditional.
55800         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55801         conditional code.
55802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55803         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55804         code unconditional.
55805         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55806         conditional code.
55807         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55808         unconditional.
55809         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55810         conditional code.
55811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55812         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55813         code unconditional.
55814         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55815         conditional code.
55816         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55817         unconditional.
55818         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55819         conditional code.
55821 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55823         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55824         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55825         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55826         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55827         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55828         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55829         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55830         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55831         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55832         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55833         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55834         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55835         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55836         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55837         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55838         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55839         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55840         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55841         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55842         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55843         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55844         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55845         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55847 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55849         * Versions.def: Add GLIBC_2.17.
55850         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55851         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55852         Introduce __libc_secure_getenv.
55853         * stdlib/Versions (2.17): Add secure_getenv
55854         (GLIBC_PRIVATE): Add __libc_secure_getenv.
55855         * stdlib/secure-getenv.c: Rename __secure_getenv to
55856         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
55857         symbol __secure_getenv for GLIBC_2.0.
55858         * stdlib/tst-secure-getenv.c: New.
55859         * stdlib/Makefile (tests): Add testcase.
55860         * manual/startup.texi (Environment Access): Document
55861         secure_getenv.
55862         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55863         __libc_secure_getenv.
55864         * inet/ruserpass.c (ruserpass): Likewise.
55865         * malloc/mtrace.c (mtrace): Likewise.
55866         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55867         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55868         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55869         * sysdeps/posix/tempname.c: Likewise.  Evaluate
55870         HAVE_SECURE_GETENV.
55871         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55872         __secure_getenv to __libc_secure_getenv.
55873         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55875         Likewise.
55876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55877         Likewise.
55878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55880         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55886 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55888         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55889         (struct La_i86_retval): Likewise.
55890         (struct La_x86_64_regs): Likewise.
55891         (struct La_x86_64_retval): Likewise.
55892         (struct La_x32_regs): Likewise.
55893         (struct La_x32_retval): Likewise.
55894         (struct La_ppc32_regs): Likewise.
55895         (struct La_ppc32_retval): Likewise.
55896         (struct La_ppc64_regs): Likewise.
55897         (struct La_ppc64_retval): Likewise.
55898         (struct La_sh_regs): Likewise.
55899         (struct La_sh_retval): Likewise.
55900         (struct La_s390_32_regs): Likewise.
55901         (struct La_s390_32_retval): Likewise.
55902         (struct La_s390_64_regs): Likewise.
55903         (struct La_s390_64_retval): Likewise.
55904         (struct La_sparc32_regs): Likewise.
55905         (struct La_sparc32_retval): Likewise.
55906         (struct La_sparc64_regs): Likewise.
55907         (struct La_sparc64_retval): Likewise.
55908         (struct audit_ifaces): Remove architecture-specific pltenter and
55909         pltexit members.
55910         * sysdeps/i386/ldsodefs.h: New file.
55911         * sysdeps/powerpc/ldsodefs.h: Likewise.
55912         * sysdeps/s390/ldsodefs.h: Likewise.
55913         * sysdeps/sh/ldsodefs.h: Likewise.
55914         * sysdeps/sparc/ldsodefs.h: Likewise.
55915         * sysdeps/x86_64/ldsodefs.h: Likewise.
55917 2012-07-25  Marek Polacek  <polacek@redhat.com>
55919         [BZ #6808]
55920         * math/libm-test.inc (yn_test): Add another test.
55921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55922         to ERANGE when the result is +-Inf.
55923         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55924         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55925         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55926         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55928 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
55930         * conform/data/time.h-data (NULL): Use macro-constant.  Require
55931         equal to 0.
55932         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
55933         clock_t.
55934         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
55936 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
55938         * configure.in <sysdeps resolving>: Correct printing
55939         Implies_before.
55940         * configure: Regenerate.
55942 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
55944         * math/w_ilogb.c: Include <limits.h>.
55945         * math/w_ilogbl.c: Likewise.
55947 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55949         * manual/lang.texi (__va_copy): Document primarily as ISO C99
55950         va_copy.  Document allowing for unavailable va_copy only as
55951         pre-C99 compatibility.
55952         * manual/string.texi (Copying and Concatenation): Use va_copy
55953         instead of __va_copy in concat example.
55955 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
55957         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55958         (__sendto): Use create_address_port.  Initialize APORT and deallocate
55959         it if not null.
55961         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55962         with O_NOLINK passed to __file_name_lookup.
55964         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55965         with O_NOLINK passed to __file_name_lookup.
55967         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55968         negative N or less than NGIDS.
55970         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55971         type to string_t.  Set ERANGE as errno and return it if NAME is not big
55972         enough.  Use memcpy instead of strncpy.
55974 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55976         * elf/Makefile (check-data): Remove.
55977         (localplt.data): New vpath directive.
55978         ($(objpfx)check-localplt.out): Use localplt.data from vpath
55979         instead of $(check-data).
55980         * scripts/data/localplt-generic.data: Move to ...
55981         * sysdeps/generic/localplt.data: ... here.
55982         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55983         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55984         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55986         ... here.
55987         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55989         ... here.
55990         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55992         ... here.
55993         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55995         ... here.
55996         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55998         ... here.
55999         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56001         ... here.
56003 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56005         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56006         PPC32 and PPC64 files.
56007         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56008         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56010 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56012         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56013         __makecontext_ret to ...
56014         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56015         ... here and call exit if uc_link is NULL.  New file.
56016         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56017         __makecontext_ret.S.
56018         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56019         __makecontext_ret to ...
56020         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56021         ... here and call exit if uc_link is NULL.  New file.
56022         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56023         __makecontext_ret.S.
56025 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56027         * elf/elf.h (R_390_IRELATIVE): New definition.
56028         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56029         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
56030         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56031         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56032         (elf_machine_lazy_rel): Likewise.
56033         * sysdeps/s390/dl-irel.h: New file.
56034         * sysdeps/s390/s390-64/memcpy.S: New asm code.
56035         * sysdeps/s390/s390-64/memset.S: New asm code.
56036         * sysdeps/s390/s390-64/memcmp.S: New asm code.
56037         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56038         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56039         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56040         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56041         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56042         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56043         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56044         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56045         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56046         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56047         * sysdeps/s390/s390-32/memcpy.S: New asm code.
56048         * sysdeps/s390/s390-32/memset.S: New asm code.
56049         * sysdeps/s390/s390-32/memcmp.S: New asm code.
56051 2012-07-17  Marek Polacek  <polacek@redhat.com>
56053         [BZ #14349]
56054         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56055         * sysdeps/s390/s390-64/configure.in: Likewise.
56056         * sysdeps/sparc/configure.in: Likewise.
56057         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56058         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56059         * sysdeps/i386/configure.in: Likewise.
56060         * sysdeps/x86_64/configure.in: Likewise.
56061         * sysdeps/sh/configure.in: Likewise.
56062         * sysdeps/s390/s390-32/configure: Regenerated.
56063         * sysdeps/s390/s390-64/configure: Likewise.
56064         * sysdeps/x86_64/configure: Likewise.
56065         * sysdeps/sh/configure: Likewise.
56066         * sysdeps/powerpc/powerpc64/configure: Likewise.
56067         * sysdeps/powerpc/powerpc32/configure: Likewise.
56068         * sysdeps/sparc/configure: Likwise.
56069         * sysdeps/i386/configure: Likewise.
56071         * elf/dl-open.c: Comment fixes.
56073 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
56075         * Makefile [CXX] (check-data): Remove.
56076         [CXX] (c++-types.data): New vpath directive.
56077         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56078         vpath.  Do not allow for C++ type data being missing.
56079         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56080         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56081         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56082         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56083         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56084         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56085         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56087         ... here.
56088         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56090         ... here.
56091         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56093         ... here.
56094         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56096         ... here.
56097         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56099         ... here.
56100         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56102         ... here.
56103         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56105         ... here.
56106         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56109         * elf/tls-macros.h (TLS_LE): Move architecture-specific
56110         definitions to architecture-specific files.
56111         (TLS_IE): Likewise.
56112         (TLS_LD): Likewise.
56113         (TLS_GD): Likewise.
56114         * sysdeps/i386/tls-macros.h: New file.
56115         * sysdeps/powerpc/tls-macros.h: Likewise.
56116         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56117         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56118         * sysdeps/sh/tls-macros.h: Likewise.
56119         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56120         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56121         * sysdeps/x86_64/tls-macros.h: Likewise.
56123 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56125         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56126         zero value for regular exit case.
56128         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56129         (__start_context): Preserve zero value for regular exit case.
56131 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56132             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56134         * manual/setjmp.texi (setcontext): Clarify normal process
56135         termination when uc_link is the null pointer.
56136         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56137         exit call.
56139 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
56141         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56142         preprocessor.  Test for each exception mask separately.
56144 2012-07-16  Andreas Jaeger  <aj@suse.de>
56146         * po/ru.po: Update from translation team.
56148 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
56150         * conform/data/string.h-data (NULL): Use macro-constant.  Require
56151         equal to 0.
56152         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56153         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56154         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56155         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56156         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56158 2012-07-13  Andreas Jaeger  <aj@suse.de>
56160         * po/fr.po: Update from translation team.
56162 2012-07-12  Marek Polacek  <polacek@redhat.com>
56164         [BZ #14173]
56165         * math/libm-test.inc (yn_test): Add test for BZ #14173.
56166         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56167         loop condition.
56169 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
56171         [BZ #13717]
56172         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56173         Change to 2.4.1 where previously 2.4.0.
56174         * sysdeps/unix/sysv/linux/configure: Regenerated.
56175         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56176         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56177         version.
56178         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56179         (__ASSUME_AT_CLKTCK): Remove.
56180         (__ASSUME_AT_PAGESIZE): Likewise.
56181         (__ASSUME_AT_XID): Likewise.
56182         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56183         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56184         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56185         unconditionally.
56186         (HAVE_AUX_PAGESIZE): Likewise.
56187         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56188         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56189         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56191 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56193         [BZ #14307]
56194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56195         the temporary buffer used to invoke __gethostbyname2_r,
56196         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56197         host_data / struct gaih_addrtuple.
56198         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56199         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56200         header file nss/nsswitch.h.
56201         * nss/nsswitch.h (global scope): Add definition of implementation
56202         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56203         resolv/nss_dns/dns-host.c).
56205 2012-07-11  Andreas Jaeger  <aj@suse.de>
56207         * po/fr.po: Update from translation team.
56209         * po/sv.po: Update from translation team
56210         * po/fr.po: Another update from translation team.
56212 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56214         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56215         for subnormals or multiply small sinh result by itself.
56216         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56219 2012-07-11  David S. Miller  <davem@davemloft.net>
56221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56223 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56225         [BZ #14347]
56226         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56227         (INTERNAL_MARK): Shift it here.
56229 2012-07-10  Marek Polacek  <polacek@redhat.com>
56231         [BZ #14151]
56232         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56233         libc_cv_asm_global_directive with .globl.
56234         * configure: Regenerated.
56235         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56236         with .globl.
56237         * sysdeps/i386/configure: Regenerated.
56238         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56239         with .globl.
56240         * sysdeps/x86_64/configure: Regenerated.
56241         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56242         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56243         * elf/tst-unique2mod2.c: Likewise.
56244         * elf/tst-unique2mod1.c: Likewise.
56245         * elf/tst-unique1mod2.c: Likewise.
56246         * elf/tst-unique1mod1.c: Likewise.
56247         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56248         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56249         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56250         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56251         * sysdeps/mach/sysdep.h: Likewise.
56252         * sysdeps/i386/sysdep.h: Likewise.
56253         * sysdeps/i386/i386-mcount.S: Likewise.
56254         * sysdeps/x86_64/_mcount.S: Likewise.
56255         * sysdeps/x86_64/sysdep.h: Likewise.
56256         * sysdeps/sh/_mcount.S: Likewise.
56257         * sysdeps/sh/sysdep.h: Likewise.
56258         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56259         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56260         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56261         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56262         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56263         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56264         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56265         * locale/localeinfo.h: Likewise.
56266         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56267         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56269 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56271         [BZ #14336]
56272         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56273         system".
56274         * manual/message.texi (The Uniforum approach): Likewise.
56275         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56276         (glibc iconv Implementation): Likewise.
56278 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56280         [BZ #14337]
56281         * math/s_clog.c (__clog): Avoid scaling a value down where that
56282         could result in underflow.
56283         * math/s_clog10.c (__clog10): Likewise.
56284         * math/s_clog10f.c (__clog10f): Likewise.
56285         * math/s_clog10l.c (__clog10l): Likewise.
56286         * math/s_clogf.c (__clogf): Likewise.
56287         * math/s_clogl.c (__clogl): Likewise.
56288         * math/libm-test.inc (clog_test): Add more tests.
56289         (clog10_test): Likewise.
56290         * sysdeps/i386/fpu/libm-test-ulps: Update.
56291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56293 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56295         [BZ #14283]
56296         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56297         by 7 not 8 to examine high bit of fractional part.
56299         [BZ #14042]
56300         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56301         for call to __mcount_internal.
56302         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56303         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56304         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56306 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
56308         [BZ #14154]
56309         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56310         approximation for values within 0x1p-13f of an odd multiple of
56311         pi/4.
56312         * math/libm-test.inc (tan_test): Do not allow spurious underflow
56313         exception.  Add more tests.
56314         * sysdeps/i386/fpu/libm-test-ulps: Update.
56316         [BZ #6778]
56317         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56318         inputs and return -1 for them.  Do not check for +Inf in case not
56319         reachable for +Inf.
56320         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56321         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56322         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56323         and return -1 for them.  Do not check for +Inf in case not
56324         reachable for +Inf.
56325         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56326         define.
56327         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56328         and return -1 for them.  Do not check for +Inf in case not
56329         reachable for +Inf.
56330         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
56331         spurious underflow.
56332         * sysdeps/i386/fpu/libm-test-ulps: Update.
56333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56335 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
56337         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56339 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
56341         [BZ #14157]
56342         [BZ #14331]
56343         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56344         could result in spurious underflow.  Scale down values above
56345         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56346         * math/s_csqrtf.c (__csqrtf): Likewise.
56347         * math/s_csqrtl.c (__csqrtl): Likewise.
56348         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
56349         spurious underflow.
56350         * sysdeps/i386/fpu/libm-test-ulps: Update.
56351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56353 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
56355         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56356         xopen-msg.sed.
56357         * catgets/xopen-msg.awk: New file.
56358         * catgets/xopen-msg.sed: Removed.
56360         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56361         po2text.sed.
56362         * intl/po2test.awk: New file.
56363         * intl/po2test.sed: Removed.
56365 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
56367         [BZ #14328]
56368         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56369         or multiply small sinh result by itself.
56370         * math/s_ctanf.c (__ctanf): Likewise.
56371         * math/s_ctanh.c (__ctanh): Likewise.
56372         * math/s_ctanhf.c (__ctanhf): Likewise.
56373         * math/s_ctanhl.c (__ctanhl): Likewise.
56374         * math/s_ctanl.c (__ctanl): Likewise.
56375         * math/libm-test.inc (ctan_test_tonearest): New function.
56376         (ctan_test_towardzero): Likewise.
56377         (ctan_test_downward): Likewise.
56378         (ctan_test_upward): Likewise.
56379         (ctanh_test_tonearest): Likewise.
56380         (ctanh_test_towardzero): Likewise.
56381         (ctanh_test_downward): Likewise.
56382         (ctanh_test_upward): Likewise.
56383         (main): Call these new functions.
56384         * sysdeps/i386/fpu/libm-test-ulps: Update.
56385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56387 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56389         * .gitignore: Delete /ports entry.
56391 2012-07-03  Andreas Jaeger  <aj@suse.de>
56393         * po/bg.po: Update from translation team.
56394         * po/cs.po: Likewise.
56395         * po/de.po: Likewise.
56396         * po/hr.po: Likewise.
56397         * po/nl.pl: Likewise.
56398         * po/pl.po: Likewise.
56399         * po/vi.po: Likewise.
56401 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56403         * Makeconfig [!+link] (+link-before-libc): New variable.
56404         [!+link] (+link-after-libc): Likewise.
56405         [!+link] (+link-tests): Likewise.
56406         [!+link] (+link): Define in terms of $(+link-before-libc) and
56407         $(+link-after-libc).
56408         [!+link-static] (+link-static-before-libc): New variable.
56409         [!+link-static] (+link-static-after-libc): Likewise.
56410         [!+link-static] (+link-static-tests): Likewise.
56411         [!+link-static] (+link-static): Define in terms of
56412         $(+link-static-before-libc) and $(+link-static-after-libc).
56413         [build-shared] (link-libc-before-gnulib): New variable.
56414         [build-shared] (link-libc-tests): Likewise.
56415         [build-shared] (link-libc): Define in terms of
56416         $(link-libc-before-gnulib).
56417         [!build-shared] (link-libc-tests): New variable.
56418         (link-libc-static-tests): New variable.
56419         [!gnulib] (gnulib-arch): New variable.
56420         [!gnulib] (gnulib-tests): Likewise.
56421         [!gnulib] (static-gnulib-arch): Likewise.
56422         [!gnulib] (static-gnulib-tests): Likewise.
56423         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56424         Define with "=" instead of ":=".
56425         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56426         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56427         * Rules (binaries-all-notests): New variable.
56428         (binaries-all-tests): Likewise.
56429         (binaries-static-notests): Likewise.
56430         (binaries-static-tests): Likewise.
56431         (binaries-all): Define using $(binaries-all-notests) and
56432         $(binaries-all-tests).
56433         (binaries-static): Define using $(binaries-static-notests) and
56434         $(binaries-static-tests).
56435         (binaries-shared-tests): New variable.
56436         (binaries-shared-notests): Likewise.
56437         (binaries-shared): Remove variable.
56438         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56439         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56440         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56441         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56442         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56443         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56444         * elf/Makefile (sln-modules): New variable.
56445         (extra-objs): Add $(sln-modules:=.o).
56446         (ldconfig-modules): Add static-stubs.
56447         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56448         * elf/static-stubs.c: New file.
56450         [BZ #14283]
56451         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56452         by 7 not 8 to examine high bit of fractional part.  Use volatile
56453         variables when splitting into final array of floats if
56454         __FLT_EVAL_METHOD__ != 0.
56455         * math/libm-test.inc (cos_test): Add another test.
56456         (sin_test): Likewise.
56457         * sysdeps/i386/fpu/libm-test-ulps: Update.
56459         [BZ #14273]
56460         * math/libm-test.inc (cosh_test): Add more tests.
56462         * version.h (RELEASE): Set to "development".
56463         (VERSION): Set to "2.16.90".
56465 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56467         * NEWS: Update copyright. Remove last-updated date.
56468         Mention math library bug fixes and timezone data changes.
56469         * README: Mention GNU/Hurd, x32, and HPPA support status.
56471 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56473         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56475 2012-06-27  Andreas Jaeger  <aj@suse.de>
56477         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56479 2012-06-25  Andreas Jaeger  <aj@suse.de>
56481         * sysdeps/s390/fpu/libm-test-ulps: Update.
56483 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56484             Thomas Schwinge  <thomas@codesourcery.com>
56486         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56487         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56488         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56489         fanotify_mark.
56491 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56493         * sysdeps/mach/start.c: Remove file.
56494         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56495         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56496         * sysdeps/sh/init-first.c: Likewise.
56498         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56499         registers for frame unwinding purposes, add CFI directives.
56500         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56501         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56502         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56503         Likewise.
56505         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56506         __fortify_fail returning.
56507         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56509         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56510         sysdeps/sh/____longjmp_chk.S.
56511         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56512         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56513         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56514         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56516         * sysdeps/sh/abort-instr.h: New file.
56517         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56518         process in case exit returns.
56520         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56521         initialize the GOT register before use.
56523         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56524         calculation of ARGC > 4.
56526         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56527         meaningful names to some local labels.
56529 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56530             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56532         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56533         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56534         (__arch_compare_and_exchange_val_16_acq): Likewise.
56535         (__arch_compare_and_exchange_val_32_acq): Likewise.
56536         (atomic_exchange_and_add): Fix gUSA sequence.
56537         (atomic_add): Likewise.
56538         (atomic_add_negative): Likewise.
56539         (atomic_add_zero): Likewise.
56540         (atomic_bit_test_set): Likewise.
56542 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56544         [BZ #13579]
56545         * include/link.h (struct link_map): Add l_free_initfini.
56546         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56547         l_initfini.
56548         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56549         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56550         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56551         set.
56553 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56555         * configure.in: Use AC_LANG_SOURCE.
56556         * configure: Regenerate.
56558 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56560         * configure.in (libc_cv_localstatedir): New substituted variable.
56561         * configure: Regenerated.
56562         * config.make.in (localstatedir): New variable, substituted from
56563         libc_cv_localstatedir.
56564         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56565         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56566         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56567         * sysdeps/gnu/configure: Regenerated.
56569 2012-06-21  Jeff Law  <law@redhat.com>
56571         [BZ #14277]
56572         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56573         free.  Simplify list management for _LIBC case.
56575 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56577         [BZ #14273]
56578         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56579         Clear sign bit of 64-bit integer value before comparing against
56580         overflow value.
56582         * sysdeps/mach/configure: Regenerated.
56584 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56586         [BZ #14278]
56587         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56589 2012-06-21  Jeff Law  <law@redhat.com>
56591         [BZ #13882]
56592         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56593         uint16_t for elements in the "seen" array to avoid char overflows.
56594         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56595         * elf/dl-open.c (dl_open_worker): Likewise.
56597 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56599         * scripts/list-sources.sh: Scan PORTS for translations.
56600         * po/libc.pot: Regenerated.
56602 2012-06-21  Andreas Jaeger  <aj@suse.de>
56604         [BZ #12194]
56605         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56606         warning.
56607         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56608         * bits/byteswap-16.h (__bswap_16): Likewise.
56609         * bits/byteswap.h (__bswap_constant_16): Likewise.
56611 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56613         [BZ #14117]
56614         * sysdeps/i386/fpu_control.h: Removed.
56615         * sysdeps/x86_64/fpu_control.h: Moved to ...
56616         * sysdeps/x86/fpu_control.h: Here.
56618         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56619         (_FPU_SETCW): Likewise.
56621 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56623         [BZ #14117]
56624         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56625         * sysdeps/x86/fpu/bits/mathinline.h: This.
56626         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56628         [BZ #14050]
56629         [BZ #14117]
56630         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56631         functions if __x86_64__ is defined.
56633 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56635         * string/endian.h: Add !__ASSEMBLER__ condition for including
56636         conversion interfaces.
56638 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56640         [BZ #14241]
56641         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56642         of ABS(x) in calculating zero to negative powers other than odd
56643         integers.
56644         * math/libm-test.inc (pow_test): Add more tests.
56646 2012-06-15  Andreas Jaeger  <aj@suse.de>
56648         * manual/contrib.texi (Contributors): Update entry of Liubov
56649         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56650         Machado Filho.
56652 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56654         * string/string.h: Add __wur to GNU version of strerror_r.
56656 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56658         [BZ #14229]
56659         * string/Makefile (tests): Add tst-strtok_r.
56660         * string/tst-strtok_r.c: New file.
56661         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56662         RAX_LP/RDX_LP on SAVE_PTR.
56664 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56666         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56668 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56670         * libm_test.inc (csqrt_test): Allow more spurious underflow
56671         exceptions.
56672         (j0_test): Likewise.
56673         (j1_test): Likewise.
56674         (y0_test): Likewise.
56675         (y1_test): Likewise.
56677 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56679         * po/Makefile (libc.pot): Use UTF-8 charset.
56681 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56683         [BZ #14210]
56684         Suppress sign-conversion warning from FD_SET.
56685         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56686         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56687         not unsigned long int.
56688         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56690 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56692         [BZ #14050]
56693         [BZ #14117]
56694         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56695         __extern_always_inline instead of __extern_inline.
56696         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56697         (__signbit): Likewise.
56698         (__signbitl): Support C++ namespace.
56699         (lrintf): New inline function.
56700         (lrint): Likewise.
56701         (llrintf): Likewise.
56702         (llrint): Likewise.
56703         (fmaxf): Likewise.
56704         (fmax): Likewise.
56705         (fminf): Likewise.
56706         (fmin): Likewise.
56707         (rint): Likewise.
56708         (rintf): Likewise.
56709         (ceil): Likewise.
56710         (ceilf): Likewise.
56711         (floor): Likewise.
56712         (floorf): Likewise.
56713         (nearbyint): Likewise.
56714         (nearbyintf): Likewise.
56716 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56718         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56719         non-default versions.
56721 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56723         [BZ #14218]
56724         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56726 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56728         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56729         (FE_UPWARD, FE_DOWNWARD): Don't define.
56730         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56731         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56733         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56734         reading it.
56735         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56736         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56738 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56740         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56741         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56742         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56743         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56745 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56747         [BZ #14117]
56748         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56749         * sysdeps/i386/fpu/Implies: New file.
56750         * sysdeps/x86_64/fpu/Implies: Likewise.
56751         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56752         * sysdeps/x86/fpu/bits/fenv.h: This.
56754         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56755         __SSE_MATH__.
56757 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56759         [BZ #14134]
56760         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56761         character 0xffff that matches the last element of the
56762         conversion table.
56764 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56766         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56767         fmodl commit.
56769 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56771         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56772         values higher than 25.6283.
56774 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56776         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56777         subnormal exponent extraction and add some __builtin_expect.
56778         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56779         Fix for subnormal mantissa calculation.
56781 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
56783         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56784         cpu2 is -1 and errno is not ENOSYS.
56786 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
56788         [BZ #14117]
56789         * sysdeps/i386/i486/bits/string.h: Renamed to ...
56790         * sysdeps/x86/bits/string.h: This.
56791         * sysdeps/x86_64/bits/string.h: Removed.
56793         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56794         if not compiling for x86-64, but compiling for >= i486.
56796         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56797         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56799         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56800         New macro from Linux kernel 3.4.0.
56801         (FP_XSTATE_MAGIC2): Likewise.
56802         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56803         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56804         (struct _fpx_sw_bytes): New struct.
56805         (struct _xsave_hdr): Likewise.
56806         (struct _ymmh_state): Likewise.
56807         (struct _xstate): Likewise.
56809         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56810         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56811         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56812         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56813         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56814         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56816         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56817         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56818         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56819         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56820         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56821         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56823 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56825         [BZ #13743]
56826         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56827         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56828         (sysdep_headers): Include sys/platform/ppc.h.
56829         * sysdeps/powerpc/test-gettimebase.c: Test for
56830         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56831         * manual/Makefile (appendices): Include platform.texi.
56832         * manual/contrib.texi (Contributors): Update @node pointers.
56833         * manual/maint.texi (Maintenance): Likewise.
56834         (Platform): New node.
56835         * manual/platform.texi: New file.  Document the new features.
56837 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56838             Jakub Jelinek  <jakub@redhat.com>
56840         [BZ #14188]
56841         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56842         where __builtin_expect is unavailable.
56844 2012-06-03  David S. Miller  <davem@davemloft.net>
56846         * stdlib/longlong.h: Updated from GCC.
56848 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56850         [BZ #14042]
56851         * sysdeps/powerpc/powerpc32/mcount.c: New file.
56852         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56853         __mcount_internal.
56854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56855         (GLIBC_2.16): Likewise.
56857 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56859         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56861 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56864         (default-abi): New variable.
56865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56866         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56867         variable.
56868         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56869         Likewise.
56870         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56871         Likewise.
56872         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56873         Likewise.
56875         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56876         definition.  Document in comment.
56878 2012-06-01  David S. Miller  <davem@davemloft.net>
56880         * stdlib/longlong.h: Updated from GCC.
56882 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56884         [BZ #14117]
56885         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56886         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56887         sys/debugreg.h sys/io.h here.
56888         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56889         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56890         sys/io.h.
56891         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56892         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56893         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56894         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56895         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56896         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56898         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56899         Define only if __x86_64__ is defined.
56901 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56903         [BZ #14048]
56904         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56905         Use int64_t for variable i.
56906         * math/libm-test.inc (fmod_test): Add more tests.
56908         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56909         z computation is not scheduled after fetestexcept.
56910         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56911         Use math_force_eval instead of asm to ensure calculation scheduled
56912         before exception test.
56913         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56914         Ensure a1 + u.d computation is not scheduled after fetestexcept.
56916 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
56918         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56919         computation is not scheduled after fetestexcept.
56921 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56923         [BZ #14117]
56924         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56925         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56927 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56929         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56930         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56932 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56934         [BZ #14117]
56935         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56936         <bits/wordsize.h>.
56937         (__WCHAR_MIN): Support __WORDSIZE == 64.
56938         (__WCHAR_MAX): Likewise.
56940         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56941         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56943         [BZ #14183]
56944         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56945         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56947         [BZ #14117]
56948         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56949         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56951         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56952         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56954         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56955         Defined to 1 if __x86_64__ isn't defined.
56956         (_STAT_VER_LINUX_OLD): New.
56957         (st_atime): Remove duplicate.
56958         (st_mtime): Likewise.
56959         (st_ctime): Likewise.
56961 2012-05-31  David S. Miller  <davem@davemloft.net>
56963         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56964         entries.
56966 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
56968         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56969         gen-libm-test.pl.
56971         [BZ #14132]
56972         * elf/dl-reloc.c: Include <_itoa.h>.
56973         (_dl_reloc_bad_type): Remove use of INTUSE.
56974         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56975         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56976         * stdio-common/psiginfo.c (psiginfo): Likewise.
56977         * stdio-common/psignal.c (psignal): Likewise.
56978         * string/strsignal.c (strsignal): Likewise.
56979         * include/signal.h (_sys_siglist): Declare hidden proto.
56980         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56981         INTVARDEF with libc_hidden_data_def.
56982         * stdio-common/itoa-udigits.c: Likewise.
56983         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56984         (_itoa_lower_digits_internal): Remove declaration.
56985         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56986         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56987         (_sys_sigabbrev_internal): Remove aliases.
56988         (_sys_siglist): Define hidden alias.
56990 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56992         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56993         bits/sysctl.h.
56995 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56997         [BZ #14117]
56998         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56999         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57001         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57002         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57003         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57004         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57005         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57006         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57008         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57009         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57010         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57012         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57013         with __addr.
57014         (insw): Likewise.
57015         (insl): Likewise.
57016         (outsb): Likewise.
57017         (outsw): Likewise.
57018         (outsl): Likewise.
57020         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57021         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57022         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57024         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57025         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57026         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57027         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57028         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57029         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57031         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57032         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57034         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57035         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57037         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57038         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57039         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57041         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57042         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57043         to ...
57044         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57046         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57047         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57048         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57050         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57051         for x86-64.
57052         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57054 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
57056         * math/math.h (M_El): Use two more decimal places.
57057         (M_LOG2El): Likewise.
57058         (M_LOG10El): Likewise.
57059         (M_LN2l): Likewise.
57060         (M_LN10l): Likewise.
57061         (M_PIl): Likewise.
57062         (M_PI_2l): Likewise.
57063         (M_PI_4l): Likewise.
57064         (M_1_PIl): Likewise.
57065         (M_2_PIl): Likewise.
57066         (M_2_SQRTPIl): Likewise.
57067         (M_SQRT2l): Likewise.
57068         (M_SQRT1_2l): Likewise.
57070 2012-05-31  David S. Miller  <davem@davemloft.net>
57072         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57073         values between float registers.
57074         * sysdeps/sparc/sparc64/memset.S: Likewise.
57075         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57077 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
57079         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57080         -D_FORTIFY_SOURCE=1.
57081         (CPPFLAGS-tst-longjmp_chk.c): Define.
57082         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57083         (CPPFLAGS-tst-longjmp_chk2.c): Define.
57084         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57085         CFLAGS-tst-wchar-h.c.
57087 2012-05-31  Marek Polacek  <polacek@redhat.com>
57089         [BZ #14132]
57090         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57091         __endmntent_internal): Remove declaration.
57092         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57093         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57094         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57096 2012-05-30  David S. Miller  <davem@davemloft.net>
57098         * sysdeps/sparc/sparc32/soft-fp/q_util.c
57099         (___Q_simulate_exceptions): Use real FP ops rather than writing
57100         into the %fsr.
57101         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57102         Likewise.
57104 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57106         [BZ #14117]
57107         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57108         * sysdeps/x86/bits/xtitypes.h: This.
57110         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57111         * sysdeps/x86/bits/wordsize.h: This.
57113         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57114         * sysdeps/x86/bits/huge_vall.h: This.
57116         * sysdeps/i386/bits/select.h: Removed.
57117         * sysdeps/x86_64/bits/select.h: Renamed to ...
57118         * sysdeps/x86/bits/select.h: This.
57120         * sysdeps/i386/bits/setjmp.h: Removed.
57121         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57122         * sysdeps/x86/bits/setjmp.h: This.
57124         * sysdeps/i386/bits/mathdef.h: Removed.
57125         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57126         * sysdeps/x86/bits/mathdef.h: This.
57128 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
57130         [BZ #14132]
57131         * include/sys/socket.h (__connect_internal)
57132         (__libc_sa_len_internal): Remove declaration.
57133         (__connect, __libc_sa_len): Declare hidden_proto.
57134         (SA_LEN): Remove use of INTUSE.
57135         * socket/connect.c: Add libc_hidden_def.
57136         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57137         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57138         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57139         alias.
57140         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57141         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57142         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57143         of adding _internal alias.
57145 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57147         [BZ #14117]
57148         * sysdeps/i386/bits/link.h: Removed.
57149         * sysdeps/i386/bits/linkmap.h: Likewise.
57150         * sysdeps/x86_64/bits/link.h: Renamed to ...
57151         * sysdeps/x86/bits/link.h: This.
57152         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57153         * sysdeps/x86/bits/linkmap.h: This.
57155         * sysdeps/i386/bits/endian.h: Removed.
57156         * sysdeps/x86_64/bits/endian.h: Renamed to ...
57157         * sysdeps/x86/bits/endian.h: This.
57159         * sysdeps/i386/bits/byteswap.h: Removed.
57160         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57161         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57162         * sysdeps/x86/bits/byteswap.h: This.
57163         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57164         * sysdeps/x86/bits/byteswap-16.h: This.
57165         * sysdeps/i386/Implies: Add x86.
57166         * sysdeps/x86_64/Implies: Likewise.
57168 2012-05-30  David S. Miller  <davem@davemloft.net>
57170         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57171         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57172         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57173         (FP_TRAPPING_EXCEPTIONS): Define.
57174         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57175         (FP_TRAPPING_EXCEPTIONS): Define.
57176         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57177         subnormals only when inexact has been signalled or underflow
57178         exceptions are enabled.
57179         (_FP_PACK_CANONICAL): Likewise.
57181 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57183         [BZ #14183]
57184         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57185         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57187 2012-05-30  Richard Henderson  <rth@twiddle.net>
57189         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57190         with #ifndef NOT_IN_libc.
57192         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57193         marked to avoid plt entry.
57195 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57197         [BZ #14112]
57198         * Makeconfig (default-abi): New macro.
57199         (abi-includes): Likewise.
57200         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57201         $(abi-$(default-abi)-lib-soname) for soname if defined.
57202         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57203         abi-variants.
57204         * Makefile (installed-stubs): Likewise.
57205         * include/stubs-biarch.h: Removed.
57206         * scripts/lib-names.awk: Only handle one library at a time.
57207         * scripts/soversions.awk: Remove WORDSIZE support.
57208         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57209         entries.
57210         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57211         Removed.
57212         (syscall-list-default-condition): Likewise.
57213         (syscall-list-default-condition): Likewise.
57214         (syscall-list-includes): Likewise.
57215         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57216         syscall-list-* with abi-*.  Handle undefined abi-variants.
57217         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57218         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57219         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57220         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57221         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57222         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57223         Removed.
57224         (syscall-list-32-options): Likewise.
57225         (syscall-list-32-condition): Likewise.
57226         (syscall-list-64-options): Likewise.
57227         (syscall-list-64-condition): Likewise.
57228         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57229         macro.
57230         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57231         Renamed to ...
57232         (abi-*): This.
57233         (abi-64-ld-soname): New macro.
57234         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57235         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57236         Renamed to ...
57237         (abi-*): This.
57238         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57239         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57241 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57243         * sysdeps/unix/sysv/linux/kernel-features.h
57244         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57245         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57246         include <kernel-features.h>.
57247         [!__NR_ftruncate64]: Remove conditional code.
57248         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57249         [__NR_ftruncate64]: Make code unconditional.
57250         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57251         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57252         include <kernel-features.h>.
57253         [!__NR_ftruncate64]: Remove conditional code.
57254         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57255         [__NR_ftruncate64]: Make code unconditional.
57256         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57258         include <kernel-features.h>.
57259         [!__NR_ftruncate64]: Remove conditional code.
57260         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57261         [__NR_ftruncate64]: Make code unconditional.
57262         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57264         include <kernel-features.h>.
57265         [!__NR_ftruncate64]: Remove conditional code.
57266         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57267         [__NR_ftruncate64]: Make code unconditional.
57268         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57270         * configure.in (libc_cv_fpie): Weaken to a compile test using
57271         LIBC_TRY_CC_OPTION.
57272         * configure: Regenerated.
57274 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57280         Refreshed.
57281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57287         Refreshed.
57289 2012-05-27  David S. Miller  <davem@davemloft.net>
57291         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57292         (___Q_zero): New.
57293         (__Q_simulate_exceptions): Return void.  Change to simulate
57294         exceptions by writing into the %fsr.
57295         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57296         (__Qp_handle_exceptions): Likewise.
57297         (numbers): Delete.
57298         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57299         __Qp_handle_exceptions.
57300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57301         __Qp_handle_exceptions.
57302         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57303         as unused and give dummy FP_RND_NEAREST initializer.
57304         (FP_INHIBIT_RESULTS): Define.
57305         (___Q_simulate_exceptions): Update declaration.
57306         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57307         formatting.
57308         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57309         as unused and give dummy FP_RND_NEAREST initializer.
57310         (__Qp_handle_exceptions): Update declaration.
57311         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57312         formatting.
57314 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
57316         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57317         the temporary FPU control word.
57318         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57319         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57320         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57321         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57322         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57323         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57324         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57325         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57326         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57327         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57328         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57330 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57332         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57333         fields.
57335 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
57337         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57338         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57339         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57340         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57341         Likewise.
57342         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57343         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57344         Likewise.
57346 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
57348         * po/h.po: Update from translation team.
57350 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
57352         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57354         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57355         handling of denormals.
57356         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57357         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57358         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57359         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57360         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57361         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57362         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57363         Likewise.
57365 2012-05-26  Marek Polacek  <polacek@redhat.com>
57367         [BZ #14152]
57368         * math/libm-test.inc (fma_test): Don't always expect underflow
57369         exception.
57371 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57373         [BZ #12416]
57374         * elf/tst-execstack.c: Include stackinfo.h.
57375         (do_test): Adjust test case to ensure that pthread_getattr_np
57376         behaviour remains the same after marking stack executable.
57378 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57380         * sysdeps/unix/sysv/linux/kernel-features.h
57381         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57382         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57383         kernel-features.h.
57384         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57385         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57386         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57387         kernel-features.h.
57388         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57389         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57391 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57393         * configure.in: Define the default includes to being none.
57394         * configure: Regenerated.
57396 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57398         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57399         * sysdeps/x86_64/setjmp.S: Likewise.
57400         * sysdeps/i386/bsd-setjmp.S: Likewise.
57401         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57402         * sysdeps/i386/setjmp.S: Likewise.
57403         * sysdeps/i386/__longjmp.S: Likewise.
57404         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57405         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57407         * include/stap-probe.h: New file.
57408         * configure.in: Handle --enable-systemtap.
57409         * configure: Regenerated.
57410         * config.h.in (USE_STAP_PROBE): New #undef.
57411         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57412         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57413         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57415 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57417         [BZ #13717]
57418         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57419         to 2.4.0 where earlier.
57420         * sysdeps/unix/sysv/linux/configure: Regenerated.
57421         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57422         <kernel-features.h>.
57423         [__ASSUME_32BITUIDS]: Make code unconditional.
57424         [!__ASSUME_32BITUIDS]: Remove conditional code.
57425         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57426         <kernel-features.h>.
57427         [__ASSUME_32BITUIDS]: Make code unconditional.
57428         [!__ASSUME_32BITUIDS]: Remove conditional code.
57429         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57430         [__ASSUME_32BITUIDS]: Make code unconditional.
57431         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57432         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57433         <kernel-features.h>.
57434         [__ASSUME_32BITUIDS]: Make code unconditional.
57435         [!__ASSUME_32BITUIDS]: Remove conditional code.
57436         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57437         <kernel-features.h>.
57438         [__ASSUME_32BITUIDS]: Make code unconditional.
57439         [!__ASSUME_32BITUIDS]: Remove conditional code.
57440         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57441         <kernel-features.h>.
57442         [__ASSUME_32BITUIDS]: Make code unconditional.
57443         [!__ASSUME_32BITUIDS]: Remove conditional code.
57444         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57445         <kernel-features.h>.
57446         [__ASSUME_32BITUIDS]: Make code unconditional.
57447         [!__ASSUME_32BITUIDS]: Remove conditional code.
57448         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57449         <kernel-features.h>.
57450         [__ASSUME_32BITUIDS]: Make code unconditional.
57451         [!__ASSUME_32BITUIDS]: Remove conditional code.
57452         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57453         <kernel-features.h>.
57454         [__ASSUME_32BITUIDS]: Make code unconditional.
57455         [!__ASSUME_32BITUIDS]: Remove conditional code.
57456         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57457         <kernel-features.h>.
57458         [__ASSUME_32BITUIDS]: Make code unconditional.
57459         [!__ASSUME_32BITUIDS]: Remove conditional code.
57460         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57461         <kernel-features.h>.
57462         [__ASSUME_32BITUIDS]: Make code unconditional.
57463         [!__ASSUME_32BITUIDS]: Remove conditional code.
57464         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57465         <kernel-features.h>.
57466         [__ASSUME_32BITUIDS]: Make code unconditional.
57467         [!__ASSUME_32BITUIDS]: Remove conditional code.
57468         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57469         <kernel-features.h>.
57470         [__ASSUME_32BITUIDS]: Make code unconditional.
57471         [!__ASSUME_32BITUIDS]: Remove conditional code.
57472         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57473         <kernel-features.h>.
57474         [__NR_setresgid] (__setresgid): Do not declare.
57475         [__ASSUME_32BITUIDS]: Make code unconditional.
57476         [!__ASSUME_32BITUIDS]: Remove conditional code.
57477         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57478         <kernel-features.h>.
57479         [__NR_setresuid] (__setresuid): Do not declare.
57480         [__ASSUME_32BITUIDS]: Make code unconditional.
57481         [!__ASSUME_32BITUIDS]: Remove conditional code.
57482         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57483         <kernel-features.h>.
57484         [__ASSUME_32BITUIDS]: Make code unconditional.
57485         [!__ASSUME_32BITUIDS]: Remove conditional code.
57486         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57487         <kernel-features.h>.
57488         [__ASSUME_32BITUIDS]: Make code unconditional.
57489         [!__ASSUME_32BITUIDS]: Remove conditional code.
57490         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57491         <kernel-features.h>.
57492         [__ASSUME_32BITUIDS]: Make code unconditional.
57493         [!__ASSUME_32BITUIDS]: Remove conditional code.
57494         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57495         <kernel-features.h>.
57496         [__ASSUME_32BITUIDS]: Make code unconditional.
57497         [!__ASSUME_32BITUIDS]: Remove conditional code.
57498         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57499         <kernel-features.h>.
57500         [__ASSUME_32BITUIDS]: Make code unconditional.
57501         [!__ASSUME_32BITUIDS]: Remove conditional code.
57502         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57503         <kernel-features.h>.
57504         [__ASSUME_32BITUIDS]: Make code unconditional.
57505         [!__ASSUME_32BITUIDS]: Remove conditional code.
57506         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57507         <kernel-features.h>.
57508         [__ASSUME_32BITUIDS]: Make code unconditional.
57509         [!__ASSUME_32BITUIDS]: Remove conditional code.
57510         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57511         <kernel-features.h>.
57512         [__ASSUME_32BITUIDS]: Make code unconditional.
57513         [!__ASSUME_32BITUIDS]: Remove conditional code.
57514         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57515         <kernel-features.h>.
57516         [__ASSUME_32BITUIDS]: Make code unconditional.
57517         [!__ASSUME_32BITUIDS]: Remove conditional code.
57518         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57519         <kernel-features.h>.
57520         [__ASSUME_32BITUIDS]: Make code unconditional.
57521         [!__ASSUME_32BITUIDS]: Remove conditional code.
57522         * sysdeps/unix/sysv/linux/kernel-features.h
57523         (__ASSUME_SETRESUID_SYSCALL): Remove.
57524         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57525         (__ASSUME_32BITUIDS): Likewise.
57526         (__ASSUME_LDT_WORKS): Likewise.
57527         (__ASSUME_O_DIRECTORY): Likewise.
57528         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57529         architecture but not kernel version.
57530         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57531         (__ASSUME_MMAP2_SYSCALL): Likewise.
57532         (__ASSUME_STAT64_SYSCALL): Likewise.
57533         (__ASSUME_IPC64): Likewise.
57534         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57535         <kernel-features.h>.
57536         [__ASSUME_32BITUIDS]: Make code unconditional.
57537         [!__ASSUME_32BITUIDS]: Remove conditional code.
57538         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57539         <kernel-features.h>.
57540         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57541         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57542         132096]: Remove conditional code.
57543         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57544         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57545         <kernel-features.h>.
57546         [__ASSUME_32BITUIDS]: Make code unconditional.
57547         [!__ASSUME_32BITUIDS]: Remove conditional code.
57548         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57549         <kernel-features.h>.
57550         [__ASSUME_32BITUIDS]: Make code unconditional.
57551         [!__ASSUME_32BITUIDS]: Remove conditional code.
57552         * sysdeps/unix/sysv/linux/setegid.c: Do not include
57553         <kernel-features.h>.
57554         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57555         unconditional.
57556         (__setresgid): Do not declare.
57557         [__ASSUME_32BITUIDS]: Make code unconditional.
57558         [!__ASSUME_32BITUIDS]: Remove conditional code.
57559         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57560         <kernel-features.h>.
57561         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57562         unconditional.
57563         (__setresuid): Do not declare.
57564         [__ASSUME_32BITUIDS]: Make code unconditional.
57565         [!__ASSUME_32BITUIDS]: Remove conditional code.
57566         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57567         <kernel-features.h>.
57568         [__ASSUME_32BITUIDS]: Make code unconditional.
57569         [!__ASSUME_32BITUIDS]: Remove conditional code.
57570         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57571         <kernel-features.h>.
57572         [__ASSUME_32BITUIDS]: Make code unconditional.
57573         [!__ASSUME_32BITUIDS]: Remove conditional code.
57575 2012-05-25  Richard Henderson  <rth@twiddle.net>
57577         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57578         dl_hwcap to ifunc resolver.
57579         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57580         elf_ifunc_invoke.
57581         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57582         dl_hwcap to ifunc resolver.
57583         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57585 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57587         [BZ #14153]
57588         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57589         for |x| <= 2**-26, not 2**-57.
57590         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57591         exception.
57593 2012-05-24  Jeff Law  <law@redhat.com>
57595         * stdio-common/Makefile (tests): Add bug25.
57596         * stdio-common/bug25.c: New test.
57598 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57600         [BZ #13576]
57601         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57602         multiple of MALLOC_ALIGNMENT in size.
57603         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57605 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57607         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57608         Require >= 256.
57609         (FILENAME_MAX): Use macro-int-constant.
57610         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57611         (_IOFBF): Use macro-int-constant.
57612         (_IOLBF): Likewise.
57613         (_IONBF): Likewise.
57614         (SEEK_CUR): Likewise.
57615         (SEEK_END): Likewise.
57616         (SEEK_SET): Likewise.
57617         (TMP_MAX): Likewise.
57618         (EOF): Use macro-int-constant.  Require < 0.
57619         (NULL): Use macro-constant.  Require == 0.
57620         (stdin): Require type to be FILE *.
57621         (stdout): Likewise.
57622         (stderr): Likewise.
57623         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57624         macro-int-constant.
57625         (EXIT_SUCCESS): Likewise.
57626         (NULL): Use macro-constant.  Require == 0.
57627         (RAND_MAX): Use macro-int-constant.
57628         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57629         [C99-based standards] (strtof): Require function.
57630         [C99-based standards] (strtold): Likewise.
57631         [C99-based standards] (strtoll): Likewise.
57632         [C99-based standards] (strtoull): Likewise.
57633         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57634         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57635         [ISO || ISO99 || ISO11] (math.h): Likewise.
57636         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57637         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57638         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57640 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57642         [BZ #14132]
57643         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57644         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57645         * intl/dgettext.c (DCGETTEXT): Likewise.
57646         * intl/gettext.c (DCGETTEXT): Likewise.
57647         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57648         * posix/regex_internal.h (gettext): Likewise.
57649         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57650         Remove declaration.
57651         * include/argz.h (__argz_count_internal)
57652         (__argz_stringify_internal): Remove declaration.
57653         (__argz_count, __argz_stringify): Declare hidden proto.
57654         * intl/dcgettext.c: Remove use of INTDEF.
57655         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57656         * string/argz-stringify.c: Likewise.
57657         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57658         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57659         Declare hidden proto.
57660         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57661         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57662         Declare hidden proto.
57663         * include/stdio.h (__asprintf_internal): Don't declare.
57664         (__asprintf): Don't define as macro.  Declare hidden proto.
57665         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57666         (__fsetlocking): Declare hidden proto.
57667         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57668         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57669         hidden proto.
57670         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57671         (_IO_setlinebuf): Remove use of INTUSE.
57672         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57673         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57674         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57675         Remove declaration.
57676         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57677         (_IO_do_flush): Remove use of INTUSE.
57678         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57679         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57680         (_IO_adjust_column, _IO_least_wmarker)
57681         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57682         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57683         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57684         (_IO_default_doallocate, _IO_wdefault_doallocate)
57685         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57686         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57687         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57688         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57689         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57690         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57691         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57692         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57693         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57694         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57695         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57696         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57697         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57698         proto.
57699         (_IO_flush_all_internal, _IO_adjust_column_internal)
57700         (_IO_default_uflow_internal, _IO_default_finish_internal)
57701         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57702         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57703         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57704         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57705         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57706         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57707         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57708         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57709         (_IO_file_close_internal, _IO_file_close_it_internal)
57710         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57711         (_IO_file_init_internal, _IO_file_attach_internal)
57712         (_IO_file_fopen_internal, _IO_file_read_internal)
57713         (_IO_file_sync_internal, _IO_file_seek_internal)
57714         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57715         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57716         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57717         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57718         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57719         (_IO_list_all_internal, _IO_link_in_internal)
57720         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57721         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57722         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57723         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57724         (_IO_do_write_internal, _IO_padn_internal)
57725         (_IO_getline_info_internal, _IO_getline_internal)
57726         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57727         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57728         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57729         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57730         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57731         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57732         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57733         with libc_hidden_ver, remove use of INTUSE.
57734         * libio/genops.c: Likewise.
57735         * libio/freopen.c: Likewise.
57736         * libio/freopen64.c: Likewise.
57737         * libio/iofclose.c: Likewise.
57738         * libio/iofdopen.c: Likewise.
57739         * libio/iofflush.c: Likewise.
57740         * libio/iofflush_u.c: Likewise.
57741         * libio/iofgets.c: Likewise.
57742         * libio/iofgets_u.c: Likewise.
57743         * libio/iofopen.c: Likewise.
57744         * libio/iofopncook.c: Likewise.
57745         * libio/iofread.c: Likewise.
57746         * libio/iofread_u.c: Likewise.
57747         * libio/ioftell.c: Likewise.
57748         * libio/iofwrite.c: Likewise.
57749         * libio/iogetline.c: Likewise.
57750         * libio/iogets.c: Likewise.
57751         * libio/iogetwline.c: Likewise.
57752         * libio/iopadn.c: Likewise.
57753         * libio/iopopen.c: Likewise.
57754         * libio/ioseekoff.c: Likewise.
57755         * libio/ioseekpos.c: Likewise.
57756         * libio/iosetbuffer.c: Likewise.
57757         * libio/iosetvbuf.c: Likewise.
57758         * libio/ioungetc.c: Likewise.
57759         * libio/ioungetwc.c: Likewise.
57760         * libio/iovdprintf.c: Likewise.
57761         * libio/iovsprintf.c: Likewise.
57762         * libio/iovsscanf.c: Likewise.
57763         * libio/memstream.c: Likewise.
57764         * libio/obprintf.c: Likewise.
57765         * libio/oldfileops.c: Likewise.
57766         * libio/oldiofclose.c: Likewise.
57767         * libio/oldiofdopen.c: Likewise.
57768         * libio/oldiofopen.c: Likewise.
57769         * libio/oldiopopen.c: Likewise.
57770         * libio/oldstdfiles.c: Likewise.
57771         * libio/putc.c: Likewise.
57772         * libio/setbuf.c: Likewise.
57773         * libio/setlinebuf.c: Likewise.
57774         * libio/stdfiles.c: Likewise.
57775         * libio/strops.c: Likewise.
57776         * libio/vasprintf.c: Likewise.
57777         * libio/vscanf.c: Likewise.
57778         * libio/vsnprintf.c: Likewise.
57779         * libio/vswprintf.c: Likewise.
57780         * libio/wfiledoalloc.c: Likewise.
57781         * libio/wfileops.c: Likewise.
57782         * libio/wgenops.c: Likewise.
57783         * libio/wmemstream.c: Likewise.
57784         * libio/wstrops.c: Likewise.
57785         * libio/__fpurge.c: Likewise.
57786         * libio/__fsetlocking.c: Likewise.
57787         * assert/assert.c: Likewise.
57788         * debug/fgets_chk.c: Likewise.
57789         * debug/fgets_u_chk.c: Likewise.
57790         * debug/fread_chk.c: Likewise.
57791         * debug/fread_u_chk.c: Likewise.
57792         * debug/gets_chk.c: Likewise.
57793         * debug/obprintf_chk.c: Likewise.
57794         * debug/vasprintf_chk.c: Likewise.
57795         * debug/vdprintf_chk.c: Likewise.
57796         * debug/vsnprintf_chk.c: Likewise.
57797         * debug/vsprintf_chk.c: Likewise.
57798         * malloc/mtrace.c: Likewise.
57799         * misc/error.c: Likewise.
57800         * misc/syslog.c: Likewise.
57801         * stdio-common/asprintf.c: Likewise.
57802         * stdio-common/fxprintf.c: Likewise.
57803         * stdio-common/getw.c: Likewise.
57804         * stdio-common/isoc99_fscanf.c: Likewise.
57805         * stdio-common/isoc99_scanf.c: Likewise.
57806         * stdio-common/isoc99_vfscanf.c: Likewise.
57807         * stdio-common/isoc99_vscanf.c: Likewise.
57808         * stdio-common/isoc99_vsscanf.c: Likewise.
57809         * stdio-common/printf-prs.c: Likewise.
57810         * stdio-common/printf_fp.c: Likewise.
57811         * stdio-common/printf_fphex.c: Likewise.
57812         * stdio-common/printf_size.c: Likewise.
57813         * stdio-common/putw.c: Likewise.
57814         * stdio-common/scanf.c: Likewise.
57815         * stdio-common/sprintf.c: Likewise.
57816         * stdio-common/tmpfile.c: Likewise.
57817         * stdio-common/vfprintf.c: Likewise.
57818         * stdio-common/vfscanf.c: Likewise.
57819         * stdlib/strfmon_l.c: Likewise.
57820         * sunrpc/openchild.c: Likewise.
57821         * sunrpc/xdr_stdio.c: Likewise.
57822         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57823         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57825 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57827         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57829         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57830         in the third column, to generate for the shared library an IFUNC
57831         that uses _dl_vdso_vsym.
57832         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57833         * Makeconfig (object-suffixes-noshared): New variable.
57835         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57836         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57837         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57838         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57840         [BZ #14132]
57841         * include/sys/time.h (__gettimeofday): Remove macro.
57842         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57843         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57844         Remove INTDEF.
57845         (__gettimeofday): Add libc_hidden_def.
57846         (gettimeofday): Add libc_hidden_weak.
57847         * sysdeps/mach/gettimeofday.c: Likewise.
57848         * sysdeps/posix/gettimeofday.c: Likewise.
57849         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57850         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57851         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57852         (__gettimeofday_internal): Remove strong_alias.
57853         (__gettimeofday): Add libc_hidden_def.
57854         (gettimeofday): Add libc_hidden_weak.
57855         * sysdeps/unix/syscalls.list (gettimeofday):
57856         Remove __gettimeofday_internal alias.
57858 2012-05-24  Daniel Jacobowitz  <drow@false.org>
57859             H.J. Lu  <hongjiu.lu@intel.com>
57861         [BZ #12495]
57862         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57863         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57864         (largebin_index_32_big): New.
57865         (largebin_index): Use it for 16-byte alignment.
57866         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
57867         correction with front_misalign.
57869 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57873         Likewise.
57874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57875         Likewise.
57876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57877         Likewise.
57878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57879         Likewise.
57880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57881         Likewise.
57882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57883         Likewise.
57884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57885         Likewise.
57886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57887         Likewise.
57888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57889         Likewise.
57890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57891         Likewise.
57892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57893         Likewise.
57894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57895         Likewise.
57897         * scripts/data/c++-types-x32-linux-gnu.data: New file.
57898         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57900 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57902         [BZ #10846]
57903         [BZ #14036]
57904         * math/libm-test.inc (exp_test): Add test from bug 14036.
57905         (pow_test): Add test from bug 10846.
57907         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57908         and other flags.
57909         (special_function): Do not include flags in test name.
57910         (parse_args): Likewise.
57911         * sysdeps/i386/fpu/libm-test-ulps: Update.
57912         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57913         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57914         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57917         * math/gen-libm-test.pl (%beautify): Add entries for underflow
57918         exceptions.
57919         * math/libm-test.inc ("Philosophy"): Update comment about
57920         exception testing.
57921         (UNDERFLOW_EXCEPTION): New macro.
57922         (UNDERFLOW_EXCEPTION_OK): Likewise.
57923         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57924         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57925         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57926         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57927         (INVALID_EXCEPTION_OK): Update value.
57928         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57929         (OVERFLOW_EXCEPTION_OK): Likewise.
57930         (IGNORE_ZERO_INF_SIGN): Likewise.
57931         (test_exceptions): Handle underflow exceptions.
57932         (acos_test): Update for underflow exception expectations.
57933         (cexp_test): Likewise.
57934         (clog_test): Likewise.
57935         (clog10_test): Likewise.
57936         (csqrt_test): Likewise.
57937         (ctan_test): Likewise.
57938         (ctanh_test): Likewise.
57939         (exp_test): Likewise.
57940         (exp10_test): Likewise.
57941         (exp2_test): Likewise.
57942         (expm1_test): Likewise.
57943         (fma_test): Likewise.
57944         (j0_test): Likewise.
57945         (jn_test): Likewise.
57946         (nexttoward_test): Likewise.
57947         (pow_test): Likewise.
57948         (scalbn_test): Likewise.
57949         (scalbln_test): Likewise.
57950         (tan_test): Likewise.
57951         (y1_test): Likewise.
57952         * sysdeps/i386/fpu/libm-test-ulps: Update.
57953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57955 2012-05-23  David S. Miller  <davem@davemloft.net>
57957         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57958         (__libc_sigaction): Remove unused local variables.
57960 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57962         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57964 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
57966         mktime: avoid signed integer overflow
57967         * time/mktime.c (__mktime_internal): Do not mishandle the case
57968         where diff == INT_MIN.
57970         mktime: simplify computation of average
57971         * time/mktime.c (ranged_convert): Use new time_t_avg function
57972         instead of rolling our own (probably-slower) code.
57974         mktime: do not assume signed right shift propagates sign bit
57975         * time/mktime.c (isdst_differ): New static function.
57976         (__mktime_internal): No need to normalize tm_isdst now.
57977         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57978         tm_isdst values.
57980         mktime: merge another wrapv change from gnulib
57981         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57982         from some compilers.
57984         mktime: remove incorrect attempt at unusual arithmetics
57985         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57986         The code didn't really work on such machines anyway.
57987         (TYPE_MINIMUM): Assume two's complement.
57988         (twos_complement_arithmetic): Verify that long_int and time_t
57989         are two's complement (or unsigned, in the latter case).
57991         mktime: check signed shifts on long_int and time_t, too
57992         * time/mktime.c (SHR): Check that shifts work as desired
57993         on the types long_int and time_t too, as SHR is used on
57994         such types.
57996         mktime: do not assume 'long' is wide enough
57997         * time/mktime.c (verify): Move decl up.
57998         (long_int): New type.
57999         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58000         to remove assumption in the code that 'long' is wide enough to
58001         store year values.  This assumption is not true on x32 and on
58002         some non-glibc platforms.
58004         mktime: merge wrapv change from gnulib
58005         * time/mktime.c (WRAPV): New macro.
58006         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58007         (guess_time_tm, __mktime_internal): Do not assume that signed
58008         integer overflow wraps around; modern compilers generate code
58009         where this assumption is no longer valid.
58011 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58013         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58014         Replace "jmp L(pseudo_end)" with "ret".
58015         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58016         Likewise.
58018 2012-05-23  Andreas Jaeger  <aj@suse.de>
58020         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58021         * sysdeps/unix/sysv/linux/poll.c: Remove file.
58023 2012-05-23  Andreas Jaeger  <aj@suse.de>
58024             Maximilian Attems  <max@stro.at>
58026         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58027         New macros.
58029 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58031         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58032         code so that pseudo_end is just ret and the stack pointer is
58033         correct also for static library in error case.
58035 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
58037         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58038         move to syscalls.list.
58039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58044         * manual/install.texi (Running make install): Do not mention Linux
58045         kernel version for which pt_chown is not needed.
58046         (Linux): Do not mention problems with nscd with 2.0 kernels.
58047         * INSTALL: Regenerated.
58049 2012-05-23  Andreas Jaeger  <aj@suse.de>
58051         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58052         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58053         macro.
58054         * sysdeps/unix/sysv/linux/s390/bits/mman.h
58055         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58056         * sysdeps/unix/sysv/linux/sh/bits/mman.h
58057         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58058         * sysdeps/unix/sysv/linux/i386/bits/mman.h
58059         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58060         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58061         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58062         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58063         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58064         * sysdeps/unix/sysv/linux/bits/in.h
58065         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58067 2012-05-22  Roland McGrath  <roland@hack.frob.com>
58069         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58070         (PREPARE_VERSION): Just use assert instead, it will be elided
58071         under [NDEBUG] anyway.
58073 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58075         * sysdeps/unix/sysv/linux/Makefile: Include
58076         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58077         (sysdep_routines): Remove sysctl.
58078         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58079         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58080         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58081         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58082         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58084 2012-05-22  Andreas Jaeger  <aj@suse.de>
58086         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58087         that pseudo_end is just ret and the stack pointer is correct also
58088         for static library in error case.
58090 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
58092         [BZ #14122]
58093         * nss/nsswitch.c (defconfig_entries): New variable.
58094         (__nss_database_lookup): Don't leak defconfig entries.
58095         (nss_parse_service_list): Don't leak on error paths.
58096         (free_database_entries): New function.
58097         (free_defconfig): New function.
58098         (free_mem): Move common code to free_database_entries.
58100 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58102         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58103         Add arch_prctl.
58104         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58106         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58107         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58109         New macro.
58110         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58111         (INTERNAL_SYSCALL_TYPES): Likewise.
58112         (LOAD_ARGS_TYPES_[1-6]): Likewise.
58113         (LOAD_REGS_TYPES_[1-6]): Likewise.
58114         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58115         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58117 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58119         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58120         copysignl for GLIBC_2_0.
58121         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58122         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58124         logbl for GLIBC_2_0.
58125         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58126         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58128 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58130         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58131         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58133         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58134         Use "neg %eax".
58136         * time/mktime.c: Update copyright years.
58138 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
58140         mktime: merge comment-quoting-style change from gnulib
58141         * time/mktime.c: Quote 'like this' in comments.
58142         The GNU coding standards suggest that we no longer quote `like this',
58143         as "`" and "'" are typically rendered asymmetrically nowadays.
58144         The typical gnulib style is to quote 'like this' when quoting
58145         code, and "like this" when quoting English.
58147         * time/mktime.c (compile-command): Add "-I.".
58149         mktime: merge mktime-internal.h change from gnulib
58150         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58152         mktime: merge time_r change from gnulib
58153         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58155         mktime: merge DEBUG change from gnulib
58156         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58157         case system <time.h> has a #define.
58159         mktime: merge <sys/types.h> change from gnulib
58160         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58161         since <time.t> is now guaranteed to define time_t.
58163         mktime: merge HAVE_CONFIG_H change from gnulib
58164         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58166 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58169         Use "neg %eax".
58171         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58172         __rlim_t cast.
58173         (struct rusage): Use anonymous union to pad each field to
58174         __syscall_slong_t.
58176 2012-05-21  David S. Miller  <davem@davemloft.net>
58178         * Makefules (o-iterator): Remove .s cases.
58179         (compile-command.s): Delete.
58180         (COMPILE.s): Delete.
58181         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58183 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58185         * configure.in (libc_cv_predef_stack_protector): Only consider
58186         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58187         * configure: Regenerated.
58189 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58192         New macro.  Use R*LP on int and pointer.
58193         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58194         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58195         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58196         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58198         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58199         [__WORDSIZE_TIME64_COMPAT32] instead of
58200         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58201         (struct utmp): Likewise.
58202         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58203         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58204         Renamed to ...
58205         (__WORDSIZE_TIME64_COMPAT32): This.
58206         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58207         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58208         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58209         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58210         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58211         (__WORDSIZE_TIME64_COMPAT32): New macro.
58213 2012-05-21  Andreas Jaeger  <aj@suse.de>
58215         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58216         only if [SHARED]. Add prototype for __wcschr_ia32.
58218 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58220         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58221         of %rbp unmolested in the jmp_buf while mangling the low bits.
58222         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58223         unmolested high bits of %rbp while demangling the low bits.
58224         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58226 2012-05-21  Andreas Jaeger  <aj@suse.de>
58228         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58229         * sunrpc/svc_simple.c: Use it for registerrpc.
58230         * sunrpc/xcrypt.c: Use it for passwd2des.
58232         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58234 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58236         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58237         Don't define if [__SYSCALL_WORDSIZE != 32].
58238         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58239         New macro.
58241 2012-05-21  Bruno Haible  <bruno@clisp.org>
58242             Andreas Jaeger  <aj@suse.de>
58244         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58245         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58246         inptr and inend for must_buffer_ch.
58247         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58248         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58249         * stdio-common/Makefile (tests): Remove bug15.
58250         (bug15-ENV): Remove macro.
58251         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58252         anymore.
58254 2012-05-19  Andreas Jaeger  <aj@suse.de>
58255             Roland McGrath  <roland@hack.frob.com>
58257         * manual/contrib.texi: Completely rewritten. It contains now an
58258         alphabetical list of contributors and their contributions.
58260 2012-05-21  Richard Henderson  <rth@twiddle.net>
58262         * misc/getauxval.c (__getauxval): Use unsigned long int.
58263         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58264         (getauxval): Use unsigned long int.
58266 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58268         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58270 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58272         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58273         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58274         __alignof__ (long double).
58276 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58280 2012-05-20  Richard Henderson  <rth@twiddle.net>
58282         * misc/getauxval.c: New file.
58283         * misc/sys/auxv.h: New file.
58284         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58285         (routines): Add getauxval.
58286         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58287         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58288         * elf/dl-sysdep.c (_dl_auxv): Remove.
58289         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58290         * elf/dl-support.c (_dl_auxv): New variable.
58291         (_dl_aux_init): Initialize it.
58292         * manual/startup.texi (Auxiliary Vector): New node.
58293         * sysdeps/generic/bits/hwcap.h: New file.
58294         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58295         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58296         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58297         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58298         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58299         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58301         Update.
58302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58305         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58311 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58315 2012-05-19  David S. Miller  <davem@davemloft.net>
58317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58319 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58321         [BZ #14123]
58322         * math/s_ccosh.c: Include <float.h>
58323         (__ccosh): Avoid internal overflow calculating sinh and cosh
58324         values before multiplying by sin and cos values.
58325         * math/s_ccoshf.c: Likewise.
58326         * math/s_ccoshl.c: Likewise.
58327         * math/s_csin.c: Likewise.
58328         * math/s_csinf.c: Likewise.
58329         * math/s_csinl.c: Likewise.
58330         * math/s_csinh.c: Likewise.
58331         * math/s_csinhf.c: Likewise.
58332         * math/s_csinhl.c: Likewise.
58333         * math/libm-test.inc (ccos_test): Add more tests.
58334         (ccosh_test): Likewise.
58335         (csin_test): Likewise.
58336         (csinh_test): Likewise.
58337         * sysdeps/i386/fpu/libm-test-ulps: Update.
58338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58340 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
58342         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58343         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58345         * sysdeps/x86_64/x32/_itoa.h: Add comment.
58347 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58349         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58350         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58351         * sysdeps/powerpc/soft-fp/Versions: Likewise.
58352         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58353         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58354         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58355         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58356         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58357         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58358         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58359         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58360         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58361         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58362         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58363         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58364         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58365         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58366         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58367         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58368         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58369         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58370         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58371         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58372         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58373         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58374         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58375         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58376         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58377         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58378         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58379         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58381 2012-05-18  Andreas Jaeger  <aj@suse.de>
58383         * csu/.gitignore: Delete.
58385 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58387         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58388         (timex): Use __syscall_slong_t.
58390 2012-05-18  Andreas Jaeger  <aj@suse.de>
58391             Carlos O'Donell  <carlos_odonell@mentor.com>
58393         * manual/install.texi (Configuring and compiling): Update
58394         description about files modified in the source directory.
58395         * INSTALL: Regenerated.
58397 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58399         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58400         value.  Use "or" to set return value to -1.
58401         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58402         negate return value.
58404 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58406         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58407         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58408         failure if the compiler has Graphite support disabled.
58409         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58410         Likewise.
58411         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58412         (CFLAGS-memmove.c): Likewise.
58413         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58414         Likewise.
58416 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58418         * sysdeps/x86_64/x32/_itoa.h: New file.
58420         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58421         getdents system call only if kernel and user dirents have the
58422         same d_ino and d_off.
58424         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58425         LLONG_MAX != LONG_MAX.
58426         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58427         (_fitoa_word): Likewise.
58429         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58430         years.
58431         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58432         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58433         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58435         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58436         include <bits/wordsize.h>.  Check __x86_64__ instead of
58437         __WORDSIZE.
58438         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58439         if __x86_64__ is defined.  Use anonymous union on fpstate.
58441         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58442         anonymous union.
58444 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58446         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58447         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58448         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58449         Refer to _rtld_local_ro instead of _rtld_global_ro.
58450         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58451         Likewise.
58452         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58453         Likewise.
58454         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58455         Likewise.
58456         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58457         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58458         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58460         [BZ #10882]
58461         * sysdeps/powerpc/powerpc32/dl-machine.c
58462         (__elf_machine_runtime_setup) [PROF]: Don't reference
58463         _dl_prof_resolve.
58465 2012-05-18  Andreas Jaeger  <aj@suse.de>
58467         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58468         function only available for GCCs before 3.4 since GCC 3.4
58469         introduced a builtin.
58470         (lrint): Likewise.
58471         (llrintf): Likewise.
58472         (llrint): Likewise.
58473         (fmaxf): Likewise.
58474         (fmax): Likewise.
58475         (fminf): Likewise.
58476         (fmin): Likewise.
58477         (rint): Likewise.
58478         (rintf): Likewise.
58479         (nearbyint): Likewise.
58480         (nearbyintf): Likewise.
58481         (ceil): Likewise.
58482         (ceilf): Likewise.
58483         (floor): Likewise.
58484         (floorf): Likewise.
58486 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58488         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58489         on both fields and cast pointer to __syscall_ulong_t.
58491         * bits/types.h (__fsword_t): New type.
58492         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58493         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58494         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58495         (__FSWORD_T_TYPE): Likewise.
58496         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58497         (__FSWORD_T_TYPE): Likewise.
58498         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58499         (__FSWORD_T_TYPE): Likewise.
58500         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58501         (__FSWORD_T_TYPE): Likewise.
58502         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58503         __SWORD_TYPE with __fsword_t.
58504         (statfs64): Likewise.
58506 2012-05-17  David S. Miller  <davem@davemloft.net>
58508         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58510 2012-05-17  Andreas Jaeger  <aj@suse.de>
58512         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58513         warning.
58515 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58517         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58519 2012-05-17  Andreas Jaeger  <aj@suse.de>
58521         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58522         when it is used.
58524 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58526         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58528 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58530         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58531         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58533 2012-05-17  Andreas Jaeger  <aj@suse.de>
58534             Carlos O'Donell  <carlos_odonell@mentor.com>
58536         [BZ #14059]
58537         * sysdeps/x86_64/multiarch/init-arch.h
58538         (bit_YMM_Usable): Rename to...
58539         (bit_AVX_Usable): ... this.
58540         (bit_FMA4_Usable): New macro.
58541         (bit_XMM_state): New macro.
58542         (bit_YMM_state): New macro.
58543         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58544         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58545         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58546         (CPUID_OSXSAVE): New macro.
58547         (CPUID_AVX): New macro.
58548         (CPUID_FMA4): New macro.
58549         (index_YMM_Usable): Rename to...
58550         (index_AVX_Usable): ... this.
58551         (HAS_AVX): Use HAS_ARCH_FEATURE.
58552         (HAS_FMA4): Likewise.
58553         (HAS_YMM_USABLE): Remove.
58554         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58555         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58556         are present.
58557         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58558         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58559         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58560         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58561         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58563 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58565         * math/libm-test.c: Support platforms without multiple rounding modes.
58566         * math/bug-nextafter.c: Support platforms without FP exceptions.
58567         * math/bug-nexttoward.c: Likewise.
58568         * math/test-fenv.c: Likewise.
58569         * math/test-misc.c: Likewise.
58570         * stdlib/bug-getcontext.c: Likewise.
58572 2012-05-17  Andreas Jaeger  <aj@suse.de>
58574         * manual/examples/search.c (critter_cmp): Change signature to
58575         avoid warnings.
58576         * manual/string.texi (Collation Functions): Likewise.
58578 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58580         * bits/types.h: Fold copyright years.
58581         * bits/typesizes.h: Likewise.
58582         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58583         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58584         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58585         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58586         * time/time.h: Likewise.
58588 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58590         [BZ #208]
58591         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58592         in instead of returning them.  Return void.
58593         (__libc_mallinfo): Accumulate over all arenas.
58594         (__malloc_stats): Adjust for change in int_mallinfo interface.
58596 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58598         [BZ #10375]
58599         * configure.in (NM): Add AC_CHECK_TOOL for it.
58600         (libc_extra_cflags): New substituted variable.
58601         Check for -fstack-protector being used implicitly.
58602         * configure: Regenerated.
58603         * config.make.in (config-extra-cflags): New variable,
58604         gets @libc_extra_cflags@.
58605         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58607         [BZ #10375]
58608         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58609         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58610         * configure: Regenerated.
58611         * config.make.in (CPPUNDEFS): New substituted variable.
58612         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58613         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58614         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58616 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58618         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58619         (mq_attr): Use __syscall_slong_t.
58621 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58623         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58624         Check __x86_64__ instead of __WORDSIZE.
58625         (_STAT_VER_LINUX): Likewise.
58626         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58627         __syscall_ulong_t and __syscall_slong_t.
58628         (stat64): Likewise.
58630 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58632         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58634 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58636         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58638 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58640         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58641         __syscall_ulong_t.
58643         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58644         include <bits/wordsize.h>.  Check __x86_64__ instead of
58645         __WORDSIZE.
58646         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58647         defined.
58648         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58650         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58651         include <bits/wordsize.h>.  Check __x86_64__ instead of
58652         __WORDSIZE.
58653         (user_regs_struct): Use "__extension__ unsigned long long"
58654         instead of "unsigned long" if __x86_64__ is defined.
58655         (user): Likewise.  Pad after pointer field if __ILP32__ is
58656         defined.
58658 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58660         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58661         versions 5 to 9.
58662         * configure: Regenerated.
58663         * manual/install.texi (texinfo): Increase version requirement to
58664         4.5 or later.
58665         * INSTALL: Regenerated.
58667         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58669 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58671         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58673         * sysdeps/x86_64/x32/ffs.c: New file.
58675         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58676         __syscall_ulong_t.
58677         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58678         defined.  Use __syscall_ulong_t.
58679         (shminfo): Use __syscall_ulong_t.
58680         (shm_info): Likewise.
58682         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58683         __syscall_ulong_t.
58685         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58686         <bits/wordsize.h>.
58687         (msgqnum_t): Use __syscall_ulong_t.
58688         (msglen_t): Likewise.
58689         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58690         __syscall_ulong_t.
58692         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58693         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58695         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58697         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58698         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58700         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58701         __syscall_slong_t.
58703         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58704         include <bits/wordsize.h>.  Check __x86_64__ instead of
58705         __WORDSIZE.
58707         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58708         "unsigned long long int" if __x86_64__ is defined.
58709         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58711         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58712         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58713         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58715         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58716         <stdint.h>.
58717         (GET_PC): Cast to uintptr_t first.
58718         (GET_FRAME): Likewise.
58719         (GET_STACK): Likewise.
58721         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58722         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58723         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58724         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58725         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58726         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58727         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58728         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58729         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58730         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58731         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58732         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58733         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58734         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58735         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58736         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58737         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58738         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58739         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58740         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58741         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58742         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58743         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58744         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58745         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58746         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58747         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58748         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58749         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58751 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58753         * Makerules (+depfiles): Also collect depfiles from .oS in
58754         $(extra-objs).
58755         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58756         .oS, $(libnldbl-routines)).
58758         * Makerules (native-compile-mkdep-flags): Define.
58759         * sunrpc/Makefile (extra-objs): Add $(addprefix
58760         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58761         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58762         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58763         calling $(make-target-directory).
58765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58767         * bits/types.h (__snseconds_t): Removed.
58768         * time/time.h (struct timespec): Replace __snseconds_t with
58769         __syscall_slong_t.
58770         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58771         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58772         Likewise.
58773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58774         (__SNSECONDS_T_TYPE): Likewise.
58775         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58776         (__SNSECONDS_T_TYPE): Likewise.
58777         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58778         (__SNSECONDS_T_TYPE): Likewise.
58780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58782         * sysdeps/mach/hurd/bits/typesizes.h
58783         (__SYSCALL_SLONG_TYPE): New macro.
58784         (__SYSCALL_ULONG_TYPE): Likewise.
58786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58788         * bits/types.h (__syscall_slong_t): New type.
58789         (__syscall_ulong_t): Likewise.
58791         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58792         (__SYSCALL_ULONG_TYPE): Likewise.
58793         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58794         (__SYSCALL_SLONG_TYPE): Likewise.
58795         (__SYSCALL_ULONG_TYPE): Likewise.
58796         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58797         (__SYSCALL_SLONG_TYPE): Likewise.
58798         (__SYSCALL_ULONG_TYPE): Likewise.
58799         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58800         (__SYSCALL_SLONG_TYPE): Likewise.
58801         (__SYSCALL_ULONG_TYPE): Likewise.
58803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58805         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58806         Add sigaltstack-offsets.sym.
58807         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58808         <sigaltstack-offsets.h>.
58809         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58810         longjmp_msg pointer.
58811         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58812         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58813         signal stack.
58814         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58816 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58818         * elf/stackguard-macros.h: Remove file.
58819         * sysdeps/generic/stackguard-macros.h: New file.
58820         * sysdeps/i386/stackguard-macros.h: Likewise.
58821         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58822         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58823         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58824         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58825         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58826         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58827         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58828         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58829         <elf/stackguard-macros.h>.
58831         [BZ #14109]
58832         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58833         __aligned__ in attribute.
58834         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58835         (gregset_t): Likewise.
58837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58839         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58840         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58841         * sysdeps/x86_64/x32/Implies-after: New file.
58843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58845         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58846         and access return value for _dl_profile_fixup.  Use R10_LP to
58847         load frame size.
58849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58851         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58855         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58856         * sysdeps/x86_64/x32/sysdep.h: New file.
58858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58860         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58861         * sysdeps/x86_64/setjmp.S: Likewise.
58863 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58865         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58866         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58867         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58868         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58869         remove unused global constant.
58871 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
58873         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58874         include of <not-cancel.h>.
58876 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58878         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58880 2012-05-15  Jeff Law  <law@redhat.com>
58881             Andreas Jaeger  <aj@suse.de>
58883         [BZ #13594]
58884         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58885         out from...
58886         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58887         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58888         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58889         code changing __hst_map_handle.map.
58891 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58893         * configure.in (sysnames): Look for Implies-before and Implies-after
58894         files.
58895         * configure: Regenerated.
58897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58899         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58900         8-byte data alignment with LP_SIZE alignment.
58902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58904         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58905         into R10_LP.
58907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58909         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58913         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58914         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58915         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58916         Likewise.
58917         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58921         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58922         (stackinfo_sub_sp): Likewise.
58924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58926         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58927         RAX_LP.
58929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58931         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58932         into R*_LP.
58934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58936         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58937         sizes into R*_LP.
58939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58941         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58943 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58945         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58946         into R11_LP and load __x86_64_shared_cache_size_half into
58947         R8_LP.
58949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58951         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58952         R8_LP.
58954 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58956         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58957         logb for POWER7.
58958         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58959         logbf for POWER7.
58960         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58961         logbl for POWER7.
58962         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58963         powerpc32/power7/fpu/s_logb.c via #include.
58964         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58965         powerpc32/power7/fpu/s_logbf.c via #include.
58966         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58967         powerpc32/power7/fpu/s_logbl.c via #include.
58969 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58971         * README.libm: Remove file.
58973 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58975         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58976         count for x32.  Use R*_LP and omit operand-size suffix.
58978 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58980         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58981         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58982         * sysdeps/x86_64/x32/shlib-versions: New file.
58984 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58986         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58987         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58988         Use _dl_fatal_printf instead.
58990 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58992         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58993         set if not set by the user.  Do not allow for being unset.
58994         * sysdeps/unix/sysv/linux/configure: Regenerated.
58996 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58998         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58999         the `q' suffix from lea and replace .quad with ASM_ADDR.
59001 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59003         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59004         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59005         instead of $17.
59006         (PTR_DEMANGLE): Likewise.
59008 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59010         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59011         (LP_OP): Likewise.
59012         (ASM_ADDR): Likewise.
59013         (RAX_LP): Likewise.
59014         (RBP_LP): Likewise.
59015         (RBX_LP): Likewise.
59016         (RCX_LP): Likewise.
59017         (RDI_LP): Likewise.
59018         (RSI_LP): Likewise.
59019         (RSP_LP): Likewise.
59020         (R8_LP): Likewise.
59021         (R9_LP): Likewise.
59022         (R10_LP): Likewise.
59023         (R10_LP): Likewise.
59024         (R11_LP): Likewise.
59025         (R12_LP): Likewise.
59026         (R13_LP): Likewise.
59027         (R14_LP): Likewise.
59028         (R15_LP): Likewise.
59030 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59032         * sysdeps/x86_64/x32/dl-machine.h: New file.
59034 2012-05-14  Andreas Jaeger  <aj@suse.de>
59036         * manual/Makefile (subdir): Remove export of subdir.
59037         (all): Remove target.
59038         (.PHONY): Remove all from list.
59039         (mkinstalldirs): Remove.
59040         (.PHONY): Remove installdirs from list.
59041         ($(inst_infodir)/libc.info): Use make-target-directory.
59042         (installdirs): Remove.
59043         (subdir_%): Remove.
59044         (glibc-targets): Remove.
59045         (lib): Remove.
59046         (stubs): Remove.
59047         ($(objpfx)stubs ../po/manual.pot): Remove.
59048         ($(objpfx)stamp%): Remove.
59049         (make-target-directory): Remove.
59050         (subdir_install): Remove.
59051         (routines): Remove.
59052         (aux): Remove.
59053         (sources): Remove.
59054         (objects): Remove.
59055         (headers): Remove.
59057         [BZ #13750]
59058         * manual/.gitignore: Remove, it's not needed anymore.
59059         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59060         all files in it.
59061         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59062         directory.
59063         (texis): Renamed to $(objpfx)texis.
59064         (texis-path): New, contains path to generated files.
59065         (chapters.%): Use texis-path for complete path, add extra argument
59066         libc-texinfo.sh.
59067         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59068         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59069         (summary,texi, stamp-summary): Use complete path of
59070         files. Generate files in build dir.
59071         (dir-add.texi): Build in build dir.
59072         (libm-err.texi,stamp-libm-err): Likewise.
59073         (version.texi, stamp-version): Likewise.
59074         (.%c.texi): Likewise.
59075         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59076         (mostlyclean): Remove target.
59077         (realclean): Remove target.
59078         (generated): Add new variable with contents from mostlyclean and
59079         realclean, remove entries duplicated in common-mostlyclean, add
59080         stamp-libm-err and stamp-version.
59081         (generated-dirs): Add libc directory.
59082         ($(inst_infodir)/libc.info): Install files from build dir.
59084         * manual/install.texi (Configuring and compiling): Adjust since
59085         the info files are not part of the tar ball anymore.
59087 2012-05-14  Andreas Jaeger  <aj@suse.de>
59089         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59090         variable.
59092 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59094         [BZ #13717]
59095         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59096         to 2.2.0 where earlier.
59097         * sysdeps/unix/sysv/linux/configure: Regenerated.
59098         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59099         Remove conditional code.
59100         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59101         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59102         Remove conditional code.
59103         [!__NR_lchown]: Likewise.
59104         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59105         [__NR_lchown]: Likewise.
59106         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59107         comment referencing __ASSUME_LCHOWN_SYSCALL.
59108         * sysdeps/unix/sysv/linux/i386/sigaction.c
59109         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59110         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59111         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59112         Remove conditional code.
59113         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59114         (__protocol_available): Remove #if 0 code.
59115         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59116         conditional code.
59117         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59118         * sysdeps/unix/sysv/linux/kernel-features.h
59119         (__ASSUME_GETCWD_SYSCALL): Don't define.
59120         (__ASSUME_REALTIME_SIGNALS): Likewise.
59121         (__ASSUME_PREAD_SYSCALL): Likewise.
59122         (__ASSUME_PWRITE_SYSCALL): Likewise.
59123         (__ASSUME_POLL_SYSCALL): Likewise.
59124         (__ASSUME_LCHOWN_SYSCALL): Likewise.
59125         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59126         non-SPARC.
59127         (__ASSUME_SIOCGIFNAME): Don't define.
59128         (__ASSUME_MSG_NOSIGNAL): Likewise.
59129         (__ASSUME_SENDFILE): Define unconditionally.
59130         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59131         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59132         conditional code.
59133         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59134         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59135         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59136         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59137         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59138         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59139         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59141         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59142         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59144         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59145         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59147         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59148         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59150         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59151         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59153         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59154         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59156         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59157         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59159         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59160         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59162         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59163         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59164         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59165         Remove conditional code.
59166         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59167         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59168         Remove conditional code.
59169         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59170         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59171         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59172         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59173         Remove conditional code.
59174         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59175         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59176         Remove conditional code.
59177         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59178         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59179         Remove conditional code.
59180         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59181         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59182         Remove conditional code.
59183         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59184         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59185         Remove conditional code.
59186         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59187         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59188         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59189         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59190         * sysdeps/unix/sysv/linux/sigaction.c
59191         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59192         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59193         * sysdeps/unix/sysv/linux/sigpending.c
59194         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59195         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59196         * sysdeps/unix/sysv/linux/sigprocmask.c
59197         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59198         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59199         * sysdeps/unix/sysv/linux/sigsuspend.c
59200         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59201         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59202         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59203         (__libc_missing_rt_sigs): Remove.
59204         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59205         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59206         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59207         Remove conditional code.
59208         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59209         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59210         return 1.
59211         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59212         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59213         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59214         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59216 2012-05-14  Andreas Jaeger  <aj@suse.de>
59218         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59219         it's not used in glibc.
59220         (__coshm1): Likewise.
59221         (__acosh1p): Likewise.
59222         (__sgn): Likewise.
59224         * manual/string.texi (Copying and Concatenation): Add missing
59225         variable in concat example.
59226         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59228 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59230         [BZ #14103]
59231         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59232         __builtin_clzl with __builtin_clzll.
59234 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59236         [BZ #14104]
59237         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59238         libc_freeres_ptr.
59240 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59242         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59243         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59244         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59245         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59247 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59249         * NEWS: Update ia64 info.
59251 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59253         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59254         used as bcopy.
59256 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59258         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59259         * sysdeps/unix/syscalls.list (dup3): Likewise.
59260         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59261         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59263 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59265         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59266         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59268 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59270         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59271         thread pointer.
59272         (TLS_IE): Use mov/add instead of movq/addq to load thread
59273         pointer.
59274         (TLS_GD_PREFIX): New.
59275         (TLS_GD): Use it.
59277 2012-05-11  David S. Miller  <davem@davemloft.net>
59279         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59280         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59281         (_FPU_SETCW): Likewise.
59283 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59285         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59286         is 32-byte aligned.
59288 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59290         [BZ #11837]
59291         * iconvdata/gb18030.c: Update tables.
59292         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59293         characters specially.
59294         (BODY for TO_LOOP): Add encoding of missing ranges.
59296 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59298         [BZ #13673]
59299         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59300         * sysdeps/mach/hurd/dup3.c: Likewise.
59301         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59302         * sysdeps/powerpc/memmove.c:: Likewise.
59304 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59306         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59307         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59309 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59311         * elf/elf.h (R_X86_64_RELATIVE64): New.
59312         (R_X86_64_NUM): Updated.
59313         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59314         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
59315         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59316         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59317         tst-quad1pie tst-quad2pie
59318         (modules-names): Add tst-quadmod1 tst-quadmod2.
59319         ($(objpfx)tst-quad1): New dependency.
59320         ($(objpfx)tst-quad2): Likewise.
59321         ($(objpfx)tst-quad1pie): Likewise.
59322         ($(objpfx)tst-quad2pie): Likewise.
59323         * sysdeps/x86_64/tst-quad1.c: New file.
59324         * sysdeps/x86_64/tst-quad1pie.c: New file.
59325         * sysdeps/x86_64/tst-quad2.c: Likewise.
59326         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59327         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59328         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59329         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59330         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59332 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59334         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59335         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59336         * streams/stropts.h (t_scalar_t): Define type.
59338         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59339         (_PATH_PRESERVE): Set to "/var/lib".
59340         (_PATH_RWHODIR): Set to "/var/spool/rwho".
59342         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59343         instead of int.
59345         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59346         if __dir_mkfile succeeded.
59348         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59349         checking for _hurd_dtablesize.  Unlock it right after having
59350         finished _hurd_dtable allocation.
59352 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59354         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59355         * sysdeps/mach/hurd/configure: Regenerated.
59356         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59357         special-casing to...
59358         * sysdeps/gnu/configure.in: ... this new file.
59359         * sysdeps/unix/sysv/linux/configure: Regenerated.
59360         * sysdeps/gnu/configure: New generated file.
59362         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59363         for Linux: use nsec instead of usec, as well as:
59364         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59365         members of type struct timespec.
59366         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59367         New macros.
59368         (struct stat64): Likewise.
59369         (_STATBUF_ST_NSEC): New macro.
59370         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59372         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59373         __strtoul_internal rather than strtoul.
59375 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59377         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59378         and reject them.
59380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59382         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59383         which preserves existing values.
59384         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59386 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59388         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59389         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59390         greater than FD_SETSIZE.
59392 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59394         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59395         allocated, call __vm_protect to finish enabling the existing space, and
59396         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59397         allocate the remainder.
59399 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59401         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59402         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59404 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59406         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59407         sysdeps/mach/hurd/readlink.c.
59409         * posix/tst-sysconf.c (posix_options): Only use
59410         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59411         _POSIX_SYNCHRONIZED_IO when they are defined
59412         * sysdeps/mach/hurd/bits/posix_opt.h:
59413         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59414         (_XOPEN_REALTIME): Undefine macro.
59415         (_XOPEN_REALTIME_THREADS): Undefine macro.
59416         (_XOPEN_SHM): Undefine macro.
59417         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59418         macro to -1.
59419         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59420         macro to -1.
59421         (_POSIX_ASYNC_IO): Undefine macro.
59422         (_POSIX_PRIORITIZED_IO): Undefine macro.
59423         (_POSIX_SPIN_LOCKS): Define macro to -1.
59425         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59426         SA_NODEFER, SA_RESETHAND.
59427         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59428         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59429         F_DUPFD_CLOEXEC.
59431 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59433         * elf/Makefile (pldd-modules): Define unconditionally.
59435 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59437         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59439 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59441         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59442         Return ENOENT when name is empty.
59443         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59445 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59447         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59449         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59451 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59453         Fix mlock in all cases except non-readable pages.
59454         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59455         instead of VM_PROT_ALL as parameter to __vm_wire function.
59457         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59458         (__mkdir): When path is `/', just fail with EEXIST.
59459         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59461 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59463         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59464         <sys/uio.h> (for writev).
59465         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59466         and <sys/param.h> (for MIN).
59468 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59470         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59471         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59472         if interrupted.
59474 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59476         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59477         Depend on against $(link-rpcuserlibs).
59479 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59481         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59482         (__libc_stack_end): Do not use attribute_relro.
59483         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59484         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59485         to libthread-provided value.
59486         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59487         attribute_relro.
59489 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59491         [BZ #3748]
59492         * bits/libc-lock.h (__libc_once_get): New macro.
59493         * sysdeps/mach/bits/libc-lock.h: Likewise.
59494         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59495         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59496         instead of using implementation details.
59498         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59499         * libio/freopen.c: Likewise.
59500         * libio/freopen64.c: Likewise.
59501         * misc/syslog.c: Likewise.
59502         * nscd/connections.c: Likewise.
59503         * nscd/netgroupcache.c: Likewise.
59504         * sysdeps/posix/getcwd.c: Likewise.
59506 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59508         * math/w_ilogbf.c: Add #include <limits.h>.
59510 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59512         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59513         path instead of returning without unlocking.
59515         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59516         immediate-write ioctls.
59517         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59519 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59521         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59522         __builtin_frame_address instead of making assumptions about the
59523         location of the return address relative to DATA.  Force early load of
59524         the return address.
59525         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59526         __builtin_frame_address.
59528         dup3 for GNU Hurd.
59529         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59530         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59531         implement dup3 and do some further code clean-ups.
59532         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59533         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59535 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59537         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59539         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59540         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59541         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59542         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59543         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59544         d->port.lock.
59546         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59547         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59548         when handler == SIG_ERR, not when handler != SIG_ERR.
59550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59552         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59553         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59554         definitions.
59556         accept4 for GNU Hurd.
59557         * include/sys/socket.h (__libc_accept4): New prototype.
59558         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59559         to implement __libc_accept4.
59560         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59561         __libc_accept4.
59562         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59564         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59565         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59566         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59567         signal-defines.sym.
59569 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59571         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59573 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59575         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59576         assertion on O_CLOEXEC flag.
59577         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59578         * hurd/intern-fd.c: Likewise.
59579         * hurd/port2fd.c: Likewise.
59581 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59583         [BZ #3906]
59584         * bits/in.h (IPV6_PKTINFO): Define new macro.
59585         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59587 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59589         [BZ #13954]
59590         [BZ #13955]
59591         [BZ #13956]
59592         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59593         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59594         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59595         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59596         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59597         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59598         * math/libm-test.inc (logb_test) : Additional logb tests.
59600 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59601             Andreas Jaeger  <aj@suse.de>
59603         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59604         * configure: Regenerated.
59605         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59606         * config.make.in (link-obsolete-rpc): New substituted variable.
59607         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59608         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59609         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59610         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59611         so that libc.a contains the symbols.
59612         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59613         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59614         * sunrpc/auth_none.c: Likewise.
59615         * sunrpc/auth_unix.c: Likewise.
59616         * sunrpc/authdes_prot.c: Likewise.
59617         * sunrpc/authuxprot.c: Likewise.
59618         * sunrpc/clnt_gen.c: Likewise.
59619         * sunrpc/clnt_perr.c: Likewise.
59620         * sunrpc/clnt_raw.c: Likewise.
59621         * sunrpc/clnt_simp.c: Likewise.
59622         * sunrpc/clnt_tcp.c: Likewise.
59623         * sunrpc/clnt_udp.c: Likewise.
59624         * sunrpc/clnt_unix.c: Likewise.
59625         * sunrpc/des_crypt.c: Likewise.
59626         * sunrpc/des_soft.c: Likewise.
59627         * sunrpc/get_myaddr.c: Likewise.
59628         * sunrpc/key_call.c: Likewise.
59629         * sunrpc/key_prot.c: Likewise.
59630         * sunrpc/netname.c: Likewise.
59631         * sunrpc/pm_getmaps.c: Likewise.
59632         * sunrpc/pm_getport.c: Likewise.
59633         * sunrpc/pmap_clnt.c: Likewise.
59634         * sunrpc/pmap_prot.c: Likewise.
59635         * sunrpc/pmap_prot2.c: Likewise.
59636         * sunrpc/pmap_rmt.c: Likewise.
59637         * sunrpc/publickey.c: Likewise.
59638         * sunrpc/rpc_cmsg.c: Likewise.
59639         * sunrpc/rpc_common.c: Likewise.
59640         * sunrpc/rpc_dtable.c: Likewise.
59641         * sunrpc/rpc_prot.c: Likewise.
59642         * sunrpc/rpc_thread.c: Likewise.
59643         * sunrpc/rtime.c: Likewise.
59644         * sunrpc/svc.c: Likewise.
59645         * sunrpc/svc_auth.c: Likewise.
59646         * sunrpc/svc_raw.c: Likewise.
59647         * sunrpc/svc_run.c: Likewise.
59648         * sunrpc/svc_tcp.c: Likewise.
59649         * sunrpc/svc_udp.c: Likewise.
59650         * sunrpc/svc_unix.c: Likewise.
59651         * sunrpc/svcauth_des.c: Likewise.
59652         * sunrpc/xcrypt.c: Likewise.
59653         * sunrpc/xdr.c: Likewise.
59654         * sunrpc/xdr_array.c: Likewise.
59655         * sunrpc/xdr_float.c: Likewise.
59656         * sunrpc/xdr_intXX_t.c: Likewise.
59657         * sunrpc/xdr_mem.c: Likewise.
59658         * sunrpc/xdr_rec.c: Likewise.
59659         * sunrpc/xdr_ref.c: Likewise.
59660         * sunrpc/xdr_sizeof.c: Likewise.
59661         * sunrpc/xdr_stdio.c: Likewise.
59663 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59665         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59666         change.  Update copyright years.
59668 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59670         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59672 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59673             Joseph Myers  <joseph@codesourcery.com>
59674             Paul Pluzhnikov  <ppluzhnikov@google.com>
59676         [BZ #14012]
59677         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59678         requiring rpcgen.
59679         [cross-compiling] (extra-libs): Likewise.
59680         [cross-compiling] (extra-libs-others): Likewise.
59681         [cross-compiling] (librpcsvc-routines): Likewise.
59682         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59683         [cross-compiling] (omit-deps): Likewise.
59684         (sunrpc-CPPFLAGS): New variable.
59685         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59686         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59687         (cross-rpcgen-objs): New variable.
59688         (extra-objs): Append $(cross-rpcgen-objs).
59689         ($(cross-rpcgen-objs)): New rule.
59690         ($(objpfx)cross-rpcgen): Likewise.
59691         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59692         comment.
59693         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59694         ($(objpfx)x%.stmp): Likewise.
59695         * sunrpc/proto.h [IS_IN_build] (_): Define.
59696         [IS_IN_build] (_libc_intl_domainname): Likewise.
59698 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59700         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59701         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59702         and R_X86_64_TPOFF64.
59704 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59706         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59707         sysdeps/unix/sysv/syscalls.list.
59708         (stime): Likewise.
59709         (utime): Likewise.
59710         * sysdeps/unix/sysv/syscalls.list: Remove file.
59712 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59714         [BZ #3440]
59715         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59716         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59717         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59718         (__LC_IDENTIFICATION): Make these macros useful in #if
59719         expressions, as required by C99.
59721 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59723         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59724         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59725         after this.
59727 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59729         * stdlib/longlong.h: Updated from GCC.
59731 2012-05-09  Andreas Jaeger  <aj@suse.de>
59733         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59734         default is first entry.
59735         (run_mode): Set type.
59736         (main): Remove informal message about syslog.
59737         (options): Fix typo.
59739         [BZ #14053]
59740         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59741         to asm.
59742         (lrint): Likewise.
59743         (llrintf): Likewise.
59744         (llrint): Likewise.
59745         (rint): Likewise.
59746         (rintf): Likewise.
59747         (nearbyint): Likewise.
59748         (nearbyintf): Likewise.
59750 2012-05-09  Andreas Jaeger  <aj@suse.de>
59751             Pedro Alves  <palves@redhat.com>
59753         * nscd/nscd.c (run_mode): Use enum.
59754         (main): Cleanup coding style issue.
59756 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59757             Andreas Jaeger  <aj@suse.de>
59759         * nscd/nscd.c (go_background): Replaced with...
59760         (run_mode): ... this.
59761         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59762         (options): Add -F --foreground.
59763         (main): Implement it.
59764         (parse_opt): Parse it.
59766 2012-05-09  Andreas Jaeger  <aj@suse.de>
59768         [BZ #14083]
59769         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59770         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59771         -Wconversion warning.
59772         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59773         Likewise.
59775 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
59777         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
59778         == 0.
59779         (LC_ALL): Use macro-int-constant.
59780         (LC_COLLATE): Likewise.
59781         (LC_CTYPE): Likewise.
59782         (LC_MESSAGES): Likewise.
59783         (LC_MONETARY): Likewise.
59784         (LC_NUMERIC): Likewise.
59785         (LC_TIME): Likewise.
59786         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59787         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59788         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59789         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59790         Specify type.
59791         [C99-based standards] (float_t): Expect type.
59792         [C99-based standards] (double_t): Expect type.
59793         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59794         type.
59795         [C99-based standards] (HUGE_VALL): Likewise.
59796         [C99-based standards] (INFINITY): Likewise.
59797         [C99-based standards] (NAN): Likewise.
59798         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59799         [C99-based standards] (FP_NAN): Likewise.
59800         [C99-based standards] (FP_NORMAL): Likewise.
59801         [C99-based standards] (FP_SUBNORMAL): Likewise.
59802         [C99-based standards] (FP_ZERO): Likewise.
59803         [C99-based standards] (FP_FAST_FMA): Use
59804         optional-macro-int-constant.  Specify type.  Require == 1.
59805         [C99-based standards] (FP_FAST_FMAF): Likewise.
59806         [C99-based standards] (FP_FAST_FMAL): Likewise.
59807         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59808         [C99-based standards] (FP_ILOGBNAN): Likewise.
59809         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59810         Specify type.
59811         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59812         [C99-based standards] (math_errhandling): Specify type.
59813         [ISO99 || ISO11] (signgam): Do not allow.
59814         [non-C99-based standards] (copysignf): Do not allow.
59815         [non-C99-based standards] (exp2f): Likewise.
59816         [non-C99-based standards] (log2f): Likewise.
59817         [non-C99-based standards] (modff): Allow.
59818         [non-C99-based standards] (erff): Do not allow.
59819         [non-C99-based standards] (erfcf): Likewise.
59820         [non-C99-based standards] (gammaf): Likewise.
59821         [non-C99-based standards] (hypotf): Likewise.
59822         [non-C99-based standards] (j0f): Likewise.
59823         [non-C99-based standards] (j1f): Likewise.
59824         [non-C99-based standards] (jnf): Likewise.
59825         [non-C99-based standards] (lgammaf): Likewise.
59826         [non-C99-based standards] (tgammaf): Likewise.
59827         [non-C99-based standards] (y0f): Likewise.
59828         [non-C99-based standards] (y1f): Likewise.
59829         [non-C99-based standards] (ynf): Likewise.
59830         [non-C99-based standards] (isnanf): Likewise.
59831         [non-C99-based standards] (acoshf): Likewise.
59832         [non-C99-based standards] (asinhf): Likewise.
59833         [non-C99-based standards] (atanhf): Likewise.
59834         [non-C99-based standards] (cbrtf): Likewise.
59835         [non-C99-based standards] (expm1f): Likewise.
59836         [non-C99-based standards] (ilogbf): Likewise.
59837         [non-C99-based standards] (log1pf): Likewise.
59838         [non-C99-based standards] (logbf): Likewise.
59839         [non-C99-based standards] (nextafterf): Likewise.
59840         [non-C99-based standards] (remainderf): Likewise.
59841         [non-C99-based standards] (rintf): Likewise.
59842         [non-C99-based standards] (scalbf): Likewise.
59843         [non-C99-based standards] (copysignl): Likewise.
59844         [non-C99-based standards] (exp2l): Likewise.
59845         [non-C99-based standards] (log2l): Likewise.
59846         [non-C99-based standards] (modfl): Allow.
59847         [non-C99-based standards] (erfl): Do not allow.
59848         [non-C99-based standards] (erfcl): Likewise.
59849         [non-C99-based standards] (gammal): Likewise.
59850         [non-C99-based standards] (hypotl): Likewise.
59851         [non-C99-based standards] (j0l): Likewise.
59852         [non-C99-based standards] (j1l): Likewise.
59853         [non-C99-based standards] (jnl): Likewise.
59854         [non-C99-based standards] (lgammal): Likewise.
59855         [non-C99-based standards] (tgammal): Likewise.
59856         [non-C99-based standards] (y0l): Likewise.
59857         [non-C99-based standards] (y1l): Likewise.
59858         [non-C99-based standards] (ynl): Likewise.
59859         [non-C99-based standards] (isnanl): Likewise.
59860         [non-C99-based standards] (acoshl): Likewise.
59861         [non-C99-based standards] (asinhl): Likewise.
59862         [non-C99-based standards] (atanhl): Likewise.
59863         [non-C99-based standards] (cbrtl): Likewise.
59864         [non-C99-based standards] (expm1l): Likewise.
59865         [non-C99-based standards] (ilogbl): Likewise.
59866         [non-C99-based standards] (log1pl): Likewise.
59867         [non-C99-based standards] (logbl): Likewise.
59868         [non-C99-based standards] (nextafterl): Likewise.
59869         [non-C99-based standards] (remainderl): Likewise.
59870         [non-C99-based standards] (rintl): Likewise.
59871         [non-C99-based standards] (scalbl): Likewise.
59872         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59873         [non-C99-based standards] (FP_*): Do not allow.
59874         [C99-based standards] (FP_*): Change to
59875         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59876         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59877         allow.
59878         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59879         (SIG_ERR): Likewise.
59880         [X/Open-based standards] (SIG_HOLD): Likewise.
59881         (SIG_IGN): Likewise.
59882         (SIGABRT): Use macro-int-constant.  Specify type.  Require
59883         positive value.
59884         (SIGFPE): Likewise.
59885         (SIGILL): Likewise.
59886         (SIGINT): Likewise.
59887         (SIGSEGV): Likewise.
59888         (SIGTER): Likewise.
59889         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59890         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59891         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59892         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59893         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59894         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59895         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59896         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59897         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59898         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59899         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59900         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59901         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59902         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59903         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59904         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59905         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59906         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59907         [X/Open-based standards] (SIGTRAP): Likewise.
59908         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59909         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59910         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59911         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59912         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59913         allow.
59915 2012-05-08  Ian Wienand  <ianw@vmware.com>
59917         [BZ #14080]
59918         * time/tzset.c (__tzset_parse_tz): Update default rules for
59919         daylight time changes in the Energy Policy Act of 2005.
59921 2012-05-09  Andreas Jaeger  <aj@suse.de>
59923         [BZ #13983]
59924         * elf/ldconfig.c (parse_conf): Change string to make clear that
59925         ldconfig only issued a warning if ld.so.conf does not exist.
59927 2012-05-08  David S. Miller  <davem@davemloft.net>
59929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59930         movxtod instead of popping the value on the stack.
59932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59934 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
59936         * config.h.in: Add HAVE_ARM_PCS_VFP.
59938 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
59940         [BZ #13979]
59941         * include/features.h: Warn if user requests __FORTIFY_SOURCE
59942         checking but the checks are disabled for any reason.
59944 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
59946         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59947         and ELF64_R_TYPE with ELFW(R_TYPE).
59949 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
59951         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59952         (ulimit): Likewise.
59954         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59955         (settimeofday): Likewise.
59957 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
59959         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
59960         a struct th_u2 inside the union, and move tu_block/tu_code into
59961         a new th_u3 union of tu_block/tu_code inside of that.  Move
59962         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
59963         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
59964         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59965         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59966         (th_stuff): Change to th_u1.tu_stuff.
59967         (th_data): Define.
59968         (th_msg): Change to th_u1.th_u2.tu_data.
59970 2012-05-07  David S. Miller  <davem@davemloft.net>
59972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59974         [BZ #14074]
59975         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59976         (SETUP_PIC_REG): Use it.
59977         (SETUP_PIC_REG_LEAF): Use it.
59979 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59981         [BZ #13885]
59982         [BZ #13923]
59983         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59984         USE_AS_EXPM1L.
59985         (EXPL_FINITE): Likewise.
59986         (FLDLOG): Likewise.
59987         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59988         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59989         e_expl.S.
59990         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59991         USE_AS_EXPM1L.
59992         (EXPL_FINITE): Likewise.
59993         (FLDLOG): Likewise.
59994         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59995         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59996         e_expl.S.
59997         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59998         test of -max_value argument for long double.
59999         * sysdeps/i386/fpu/libm-test-ulps: Update.
60000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60002 2012-05-06  David S. Miller  <davem@davemloft.net>
60004         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60005         quad soft-float symbols whose references which are compiler
60006         generated.
60007         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60009 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
60011         [BZ #13884]
60012         [BZ #13914]
60013         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60014         USE_AS_EXP10L.
60015         (EXPL_FINITE): Likewise.
60016         (FLDLOG): Likewise.
60017         (c0): Likewise.
60018         (c1): Likewise.
60019         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60020         Adjust comments for base varying.
60021         (__expl_finite): Change alias to EXPL_FINITE.
60022         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60023         e_expl.S.
60024         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60025         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60026         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60027         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60028         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60029         USE_AS_EXP10L.
60030         (EXPL_FINITE): Likewise.
60031         (FLDLOG): Likewise.
60032         (c0): Likewise.
60033         (c1): Likewise.
60034         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60035         Adjust comments for base varying.
60036         (__expl_finite): Change alias to EXPL_FINITE.
60037         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60038         tests for bugs.
60039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60041         [BZ #14064]
60042         * math/libm-test.inc (check_float_internal): Correct ulp
60043         calculation for subnormal expected results.
60045 2012-05-06  Andreas Jaeger  <aj@suse.de>
60047         * Makeconfig (+math-flags): New, set to -frounding-math.
60048         (+cflags): Add +math-flags so that all of glibc gets compiled with
60049         it.
60051         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60053 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
60055         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60056         Disable one test.
60058         [BZ #13787]
60059         [BZ #13922]
60060         [BZ #14036]
60061         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60062         (__ieee754_expl): Allow for and saturate large arguments.
60063         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60064         (u_threshold): Likewise.
60065         (__exp): Call __ieee754_exp before checking for overflow and
60066         underflow.
60067         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60068         (u_threshold): Likewise.
60069         (__expf): Call __ieee754_expf before checking for overflow and
60070         underflow.
60071         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60072         (u_threshold): Likewise.
60073         (__expl): Call __ieee754_expl before checking for overflow and
60074         underflow.
60075         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60076         (__ieee754_expl): Allow for and saturate large arguments.
60077         * math/libm-test.inc (exp_test): Add another test.  Do not allow
60078         missing overflow exception on overflow.
60079         (expm1_test): Do not allow missing overflow exception on overflow.
60081         * sysdeps/i386/fpu/e_expl.c: Move to ...
60082         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
60083         rather than using inline asm.
60084         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60085         * sysdeps/x86_64/fpu/e_expl.S: Copy from
60086         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60088         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60089         (nice): Likewise.
60090         (poll): Likewise.
60091         (signal): Likewise.
60092         (time): Likewise.
60093         (times): Likewise.
60095 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60097         * sysdeps/unix/syscalls.list (adjtime): Add entry from
60098         sysdeps/unix/common/syscalls.list.
60099         (fchmod): Likewise.
60100         (fchown): Likewise.
60101         (ftruncate): Likewise.
60102         (getrusage): Likewise.
60103         (gettimeofday): Likewise.
60104         (setpgid): Likewise.
60105         (setregid): Likewise.
60106         (setreuid): Likewise.
60107         (sigaction): Likewise.
60108         (truncate): Likewise.
60109         (vhangup): Likewise.
60110         * sysdeps/unix/common/syscalls.list: Remove file.
60111         * sysdeps/unix/bsd/Implies: Don't include unix/common.
60112         * sysdeps/unix/sysv/linux/Implies: Likewise.
60114 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
60116         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60118         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60119         Moved to ...
60120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60121         Here.
60122         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60123         to ...
60124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60125         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60126         to ...
60127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60128         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60129         to ...
60130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60131         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60132         to ...
60133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60134         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60135         to ...
60136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60137         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60138         to ...
60139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60140         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60141         to ...
60142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60143         Here.
60144         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60145         to ...
60146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60147         Here.
60148         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60149         to ...
60150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60151         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60152         Moved to ...
60153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60154         Here.
60155         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60156         to ...
60157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60159 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60161         * sysdeps/unix/common/bits/dirent.h: Remove file.
60162         * sysdeps/unix/common/bits/fcntl.h: Likewise.
60164         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60165         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60166         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60167         * sysdeps/unix/bsd/isatty.c: Likewise.
60168         * sysdeps/unix/bsd/tcdrain.c: Likewise.
60169         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60170         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60172 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60174         [BZ #13563]
60175         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60176         long double comparison inaccuracies.
60177         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60180 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60182         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60183         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60185 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60187         [BZ #14049]
60188         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60189         nonzero digits before rounding a hex value.
60190         * stdlib/tst-strtod.c (tests): Add another test.
60192 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60194         * sysdeps/s390/fpu/libm-test-ulps: Update.
60196 2012-05-03  Andreas Jaeger  <aj@suse.de>
60198         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60199         does not get optimized out.
60200         (malloc_opt_barrier): New.
60202 2012-05-03  Andreas Jaeger  <aj@suse.de>
60203             Roland McGrath  <roland@hack.frob.com>
60205         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60206         intermediate file deletion.
60207         (generated): Add .symlist files.
60209 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60211         [BZ #13775]
60212         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60213         Redirect under this condition.
60214         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60215         [__USE_GNU] (__dprintf_chk): Not under this condition.
60216         [__USE_GNU] (__vdprintf_chk): Likewise.
60217         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60218         under this condition.
60219         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60220         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60221         [__USE_XOPEN2K8] (vdprintf): Likewise.
60222         [__USE_GNU] (__dprintf_chk): Not under this condition.
60223         [__USE_GNU] (__vdprintf_chk): Likewise.
60224         [__USE_GNU] (dprintf): Likewise.
60225         [__USE_GNU] (vdprintf): Likewise.
60227 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60229         * elf/Makefile (common-generated): Set this instead of generated for
60230         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60231         $(all-built-dso)-derived lists.
60233 2012-05-03  Andreas Jaeger  <aj@suse.de>
60235         * sysdeps/i386/fpu/libm-test-ulps: Update.
60237         * FAQ: Removed.
60238         * FAQ.in: Likewise.
60239         * scripts/gen-FAQ.pl: Likewise.
60240         * manual/install.texi (Installation): Point to online location of
60241         FAQ.
60242         * Makefile (files-for-dist): Remove FAQ.
60243         (FAQ): Remove.
60245 2012-05-02  Allan McRae  <allan@archlinux.org>
60247         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60248         (LDFLAGS-reldepmod5.so): Likewise.
60249         (LDFLAGS-reldep6mod1.so): Likewise.
60250         (LDFLAGS-reldep6mod4.so): Likewise.
60251         (LDFLAGS-reldep8mod3.so): Likewise.
60252         (LDFLAGS-unload4mod1.so): Likewise.
60253         (LDFLAGS-unload4mod2.so): Likewise.
60254         (LDFLAGS-tst-initorder): Likewise.
60255         (LDFLAGS-tst-initordera2.so): Likewise.
60256         (LDFLAGS-tst-initordera3.so): Likewise.
60257         (LDFLAGS-tst-initordera4.so): Likewise.
60258         (LDFLAGS-tst-initorderb2.so): Likewise.
60259         (LDFLAGS-noload): Likewise.
60260         (LDFLAGS-next): Likewise.
60261         (LDFLAGS-order2mod1.so): Likewise.
60262         (LDFLAGS-order2mod2.so): Likewise.
60263         (LDFLAGS-tst-initorder2): Likewise.
60264         (LDFLAGS-tst-initorder2a.so): Likewise.
60265         (LDFLAGS-tst-initorder2b.so): Likewise.
60266         (LDFLAGS-tst-initorder2c.so): Likewise.
60267         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60269 2012-05-02  David S. Miller  <davem@davemloft.net>
60271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60273 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60275         [BZ #14055]
60276         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60278 2012-05-02  Andreas Jaeger  <aj@suse.de>
60280         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60281         since we manipulate rounding mode.
60282         (CPPFLAGS-test-idouble.c): Likewise.
60283         (CPPFLAGS-test-ifloat.c): Likewise.
60284         (CFLAGS-test-ldouble.c): Likewise.
60285         (CFLAGS-test-double.c): Likewise.
60286         (CFLAGS-test-float.c): Likewise.
60287         (CFLAGS-test-misc.c): Likewise.
60288         (CFLAGS-test-test-fenv.c): Likewise.
60290 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60292         [BZ #2550]
60293         [BZ #2570]
60294         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60295         comparisons to determine direction to adjust input.
60297 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60299         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60300         output to the target.
60302         * scripts/localplt.awk: New file.
60303         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60304         (check-localplt-CFLAGS): Variable removed.
60305         ($(all-built-dso:=.jmprel)): New static pattern rule.
60306         (generated): Add those targets.
60307         (localplt-built-dso): New variable.
60308         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60310         * elf/check-localplt.c: File removed.
60312         * scripts/check-execstack.awk: New file.
60313         * elf/Makefile ($(objpfx)check-execstack): Target removed.
60314         (check-execstack-CFLAGS): Variable removed.
60315         ($(objpfx)check-execstack.h): Target removed.
60316         ($(objpfx)execstack-default): New target.
60317         (generated): Add that instead of check-execstack.h.
60318         ($(all-built-dso:=.phdr)): New static pattern rule.
60319         (generated): Add those targets.
60320         * elf/check-execstack.c: File removed.
60322         * scripts/check-textrel.awk: New file.
60323         * elf/Makefile ($(objpfx)check-textrel): Target removed.
60324         (check-textrel-CFLAGS): Variable removed.
60325         (all-built-dso): Use := to define.o
60326         ($(all-built-dso:=.dyn)): New static pattern rule.
60327         (generated): Add those targets.
60328         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60329         * config.make.in (READELF): New substituted variable.
60330         * elf/check-textrel.c: File removed.
60332 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60334         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60335         allow.
60336         * conform/data/ctype.h-data [C99-based standards] (isblank):
60337         Expect function.
60338         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60339         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60340         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60341         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60342         Specify type.  Require positive value.
60343         (EILSEQ): Likewise.
60344         (ERANGE): Likewise.
60345         [ISO || POSIX] (EILSEQ): Do not expect.
60346         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60347         Specify type.  Require positive value.
60348         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60349         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60350         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60351         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60352         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60353         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60354         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60355         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60356         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60357         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60358         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60359         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60360         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60361         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60362         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60363         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60364         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60365         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60366         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60367         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60368         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60369         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60370         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60371         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60372         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60373         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60374         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60375         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60376         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60377         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60378         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60379         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60380         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60381         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60382         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60383         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60384         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60385         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60386         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60387         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60388         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60389         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60390         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60391         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60392         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60393         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60394         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60395         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60396         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60397         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60398         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60399         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60400         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60401         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60402         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60403         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60404         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60405         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60406         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60407         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60408         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60409         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60410         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60411         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60412         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60413         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60414         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60415         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60416         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60417         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60418         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60419         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60420         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60421         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60422         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60423         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60424         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60425         Require >= 2.
60426         (FLT_ROUNDS): Expect as macro, not constant.
60427         (FLT_MANT_DIG): Use macro-int-constant.
60428         (DBL_MANT_DIG): Likewise.
60429         (LDBL_MANT_DIG): Likewise.
60430         (FLT_DIG): Likewise.
60431         (DBL_DIG): Likewise.
60432         (LDBL_DIG): Likewise.
60433         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60434         (DBL_MIN_EXP): Likewise.
60435         (LDBL_MIN_EXP): Likewise.
60436         (FLT_MAX_EXP): Use macro-int-constant.
60437         (DBL_MAX_EXP): Likewise.
60438         (LDBL_MAX_EXP): Likewise.
60439         (FLT_MAX_10_EXP): Likewise.
60440         (DBL_MAX_10_EXP): Likewise.
60441         (LDBL_MAX_10_EXP): Likewise.
60442         (FLT_MAX): Use macro-constant.
60443         (DBL_MAX): Likewise.
60444         (LDBL_MAX): Likewise.
60445         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60446         (DBL_EPSILON): Likewise.
60447         (LDBL_EPSILON): Likewise.
60448         (FLT_MIN): Likewise.
60449         (DBL_MIN): Likewise.
60450         (LDBL_MIN): Likewise.
60451         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60452         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60453         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60454         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60455         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60456         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60457         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60458         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60459         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60460         [ISO11] (FLT_TRUE_MIN): Likewise.
60461         [ISO11] (LDBL_TRUE_MIN): Likewise.
60462         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60463         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60464         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60465         (SCHAR_MAX): Likewise.
60466         (UCHAR_MAX): Likewise.
60467         (CHAR_MIN): Likewise.
60468         (CHAR_MAX): Likewise.
60469         (MB_LEN_MAX): Use macro-int-constant.
60470         (SHRT_MIN): Use macro-int-constant.  Specify type.
60471         (SHRT_MAX): Likewise.
60472         (USHRT_MAX): Likewise.
60473         (INT_MAX): Likewise.
60474         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60475         bound negative.
60476         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60477         bound with "U".
60478         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60479         bound with "L".
60480         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60481         bound negative.  Suffix upper bound with "L".
60482         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60483         bound with "UL".
60484         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60485         Specify type.
60486         [C99-based standards] (LLONG_MAX): Likewise.
60487         [C99-based standards] (ULLONG_MAX): Likewise.
60488         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60489         == 0.
60490         [ISO11] (max_align_t): Require type.
60491         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60493         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60494         from $CFLAGS, without defining away __attribute__ calls.
60495         (checknamespace): Use $CFLAGS_namespace.
60497         * conform/conformtest.pl (@keywords): Only include C99 keywords
60498         for standards based on C99 or C11.
60500         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60501         Disable tests.
60502         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60503         UNIX98]: Likewise.
60505         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60506         usability of symbols in #if.
60508         * conform/conformtest.pl: If macro or constant types start
60509         "promoted:", expect the symbol to be of the following type
60510         promoted by the integer promotions.
60512         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60513         in one place.  Also handle "macro-constant".
60515         * conform/conformtest.pl: Only accept expected macro values with
60516         "==".  Parse all "macro" lines in one place.
60517         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60519         * conform/conformtest.pl: Handle braced types on "constant" lines
60520         instead of handling "typed-constant".
60521         * conform/data/signal.h-data: Use "constant" instead of
60522         "typed-constant".
60524         * conform/conformtest.pl: Handle "optional-" at start of lines in
60525         one place rather than duplicating several cases.  Handle each
60526         format of "macro" line with initial "optional-".
60528         * conform/conformtest.pl: Only accept expected constant or
60529         optional-constant values with "==".  Parse all "constant" lines in
60530         one place.  Parse all "optional-constant" lines in one place.
60531         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60532         * conform/data/fmtmsg.h-data: Likewise.
60533         * conform/data/netinet/in.h-data: Likewise.
60534         * conform/data/tar.h-data: Likewise.
60535         * conform/data/limits.h-data: Use "==" form on "constant" and
60536         "optional-constant" lines.
60538         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60539         Use -std=c99 for XOPEN2K.
60540         (@knownproblems): Remove.
60541         (newtoken): Don't check %isknown.
60543         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60544         Do not expect macro.
60545         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60546         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60547         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60548         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60549         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60550         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60551         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60552         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60553         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60554         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60555         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60556         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60557         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60558         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60559         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60560         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60561         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60562         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60563         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60564         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60565         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60566         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60567         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60568         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60569         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60570         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60571         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60572         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60573         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60574         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60575         [XPG3] (acosh): Likewise.
60576         [XPG3] (asinh): Likewise.
60577         [XPG3] (atanh): Likewise.
60578         [XPG3] (cbrt): Likewise.
60579         [XPG3] (expm1): Likewise.
60580         [XPG3] (ilogb): Likewise.
60581         [XPG3] (log1p): Likewise.
60582         [XPG3] (logb): Likewise.
60583         [XPG3] (nextafter): Likewise.
60584         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60585         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60586         [XPG3] (remainder): Likewise.
60587         [XPG3] (rint): Likewise.
60588         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60589         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60590         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60591         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60592         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60593         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60594         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60595         [UNIX98 || XOPEN2K] (scalb): Expect.
60596         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60597         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60598         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60599         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60600         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60601         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60602         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60603         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60604         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60605         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60606         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60607         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60608         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60609         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60610         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60611         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60612         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60613         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60614         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60615         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60616         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60617         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60618         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60619         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60620         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60621         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60622         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60623         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60624         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60625         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60626         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60627         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60628         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60629         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60630         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60631         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60632         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60633         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60634         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60635         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60636         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60637         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60638         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60639         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60640         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60641         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60642         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60643         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60644         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60645         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60646         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60647         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60648         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60649         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60650         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60651         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60652         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60653         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60654         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60655         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60656         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60657         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60658         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60659         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60660         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60661         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60662         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60663         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60664         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60665         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60666         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60667         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60668         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60669         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60670         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60671         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60672         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60673         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60674         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60675         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60676         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60677         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60678         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60679         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60680         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60681         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60682         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60683         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60684         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60685         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60686         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60687         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60688         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60689         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60690         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60691         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60692         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60693         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60694         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60695         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60696         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60697         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60698         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60699         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60700         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60701         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60702         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60703         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60704         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60705         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60706         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60707         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60708         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60709         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60710         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60711         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60712         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60713         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60714         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60715         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60716         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60717         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60718         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60719         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60720         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60721         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60722         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60723         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60724         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60725         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60726         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60727         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60728         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60729         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60730         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60731         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60732         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60734         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60735         _XOPEN_SOURCE_EXTENDED for XPG4.
60737         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60739         * Makeconfig (localtime): Remove variable.
60740         (inst_localtime-file): Likewise.
60742 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60745         Update.
60746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60747         Update.
60748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60749         Update.
60750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60751         Update.
60752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60753         Update.
60754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60755         Update.
60756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60757         Update.
60758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60759         Update.
60760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60761         Update.
60763 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60765         [BZ #2550]
60766         [BZ #2570]
60767         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60768         comparisons to determine direction to adjust input.
60769         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60770         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60771         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60772         Likewise.
60773         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60774         Likewise.
60775         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60776         Likewise.
60777         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60778         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60779         Likewise.
60780         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60781         Likewise.
60782         * math/libm-test.inc (nexttoward_test): Add more tests.
60784 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60786         [BZ #14040]
60787         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60788         in version GLIBC_2.1, not GLIBC_2.0.
60789         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60790         Likewise.
60792 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60794         [BZ #13942]
60795         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60796         (1 - x) * (1 + x).
60797         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60798         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60799         * math/libm-test.inc (acos_test): Add more tests.
60800         (asin_test): Likewise.
60801         * sysdeps/i386/fpu/libm-test-ulps: Update.
60802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60804         [BZ #14034]
60805         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60806         of square root.
60807         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60808         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60809         * math/libm-test.inc (acos_test_tonearest): New function.
60810         (acos_test_towardzero): Likewise.
60811         (acos_test_downward): Likewise.
60812         (acos_test_upward): Likewise.
60813         (asin_test_tonearest): Likewise.
60814         (asin_test_towardzero): Likewise.
60815         (asin_test_downward): Likewise.
60816         (asin_test_upward): Likewise.
60817         (main): Call the new functions.
60818         * sysdeps/i386/fpu/libm-test-ulps: Update.
60819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60821         [BZ #13884]
60822         [BZ #13924]
60823         * math/e_exp10.c: Include <float.h>.
60824         (__ieee754_exp10): Handle underflow here rather than multiplying
60825         large negative argument by M_LN10.
60826         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60827         of __ieee754_expf.
60828         * math/e_exp10l.c: Include <float.h>.
60829         (__ieee754_exp10l): Handle underflow here rather than multiplying
60830         large negative argument by M_LN10l.
60831         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60832         spurious overflow exception on underflow.
60834 2012-04-29  Marek Polacek  <polacek@redhat.com>
60836         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60837         (__fortify_function): New macro.
60838         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60839         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60840         __extern_always_inline.
60841         * libio/bits/stdio2.h: Likewise.
60842         * libio/bits/stdio.h: Likewise.
60843         * string/string.h: Likewise.
60844         * string/bits/string3.h: Likewise.
60845         * include/stdio.h: Likewise.
60846         * stdlib/bits/stdlib.h: Likewise.
60847         * stdlib/stdlib.h: Likewise.
60848         * rt/bits/mqueue2.h: Likewise.
60849         * rt/mqueue.h: Likewise.
60850         * posix/bits/unistd.h: Likewise.
60851         * posix/unistd.h: Likewise.
60852         * io/bits/poll2.h: Likewise.
60853         * io/bits/fcntl2.h: Likewise.
60854         * io/fcntl.h: Likewise.
60855         * io/sys/poll.h: Likewise.
60856         * misc/bits/syslog.h: Likewise.
60857         * misc/bits/syslog-ldbl.h: Likewise.
60858         * misc/sys/syslog.h: Likewise.
60859         * socket/bits/socket2.h: Likewise.
60860         * socket/sys/socket.h: Likewise.
60861         * debug/tst-chk1.c: Likewise.
60862         * wcsmbs/bits/wchar2.h: Likewise.
60863         * wcsmbs/bits/wchar-ldbl.h: Likewise.
60864         * wcsmbs/wchar.h: Likewise.
60866 2012-04-29  Andreas Jaeger  <aj@suse.de>
60868         * Makerules (tests): Remove enable-check-abi protection.
60869         (check-abi-warn): Remove.
60870         (check-abi-%): Remove check-abi-warn usage.
60872         * configure.in: Remove check-abi configure option.
60873         * configure: Regenerated.
60874         * config.make.in (enable-check-abi): Remove.
60876 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
60878         [BZ #14033]
60879         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60880         double functions to double *_finite functions.
60882         [BZ #13941]
60883         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60884         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60885         LDBL_MIN_EXP.
60886         * stdio-common/Makefile (tests): Add tst-sprintf3.
60887         * stdio-common/tst-sprintf3.c: New file.
60889         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60890         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60892 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60894         * conform/conformtest.pl: Remove duplicate typed-constant
60895         handling.
60897 2012-04-28  David S. Miller  <davem@davemloft.net>
60899         * Makerules (%.abilist): Add vpath on sysdep_dirs.
60900         (check-abi-%): Remove AWK script prerequisite and explicit
60901         abilist directory.
60902         (check-abi): Rewrite to just diff the symlist with the abilist.
60903         (config-tls, config-abi-config): Delete, no longer used.
60904         (update-abi-%): Remove AWK script and explicit abilist directory.
60905         (update-abi): Rewrite to simply compare and conditionally copy the
60906         symlist and the sysdep abilist file.  Remove update-abi-config
60907         checks.
60908         * abilist/ld.abilist: Remove.
60909         * abilist/libBrokenLocale.abilist: Remove.
60910         * abilist/libanl.abilist: Remove.
60911         * abilist/libcrypt.abilist: Remove.
60912         * abilist/libdl.abilist: Remove.
60913         * abilist/librt.abilist: Remove.
60914         * abilist/libthread_db.abilist: Remove.
60915         * abilist/libutil.abilist: Remove.
60916         * scripts/extract-abilist.awk: Remove.
60917         * scripts/merge-abilist.awk: Remove.
60918         * sysdeps/generic/libcidn.abilist: New file.
60919         * sysdeps/generic/libnss_compat.abilist: New file.
60920         * sysdeps/generic/libnss_db.abilist: New file.
60921         * sysdeps/generic/libnss_dns.abilist: New file.
60922         * sysdeps/generic/libnss_files.abilist: New file.
60923         * sysdeps/generic/libnss_hesiod.abilist: New file.
60924         * sysdeps/generic/libnss_nis.abilist: New file.
60925         * sysdeps/generic/libnss_nisplus.abilist: New file.
60926         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60927         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60928         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60929         file.
60930         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60931         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60932         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60933         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60934         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60935         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60936         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60937         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60938         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60939         file.
60940         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60941         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60942         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60943         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60944         file.
60945         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60946         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60947         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60948         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60949         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60950         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60951         file.
60952         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60953         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60954         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60955         file.
60956         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60958         New file.
60959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60960         New file.
60961         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60962         New file.
60963         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60964         New file.
60965         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60966         New file.
60967         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60968         New file.
60969         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60970         New file.
60971         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60972         New file.
60973         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60974         New file.
60975         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60976         New file.
60977         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60978         New file.
60979         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60980         New file.
60981         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60982         New file.
60983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60984         file.
60985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60986         New file.
60987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60988         New file.
60989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60990         file.
60991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60992         New file.
60993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60994         New file.
60995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60996         file.
60997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60998         New file.
60999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61000         New file.
61001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61002         New file.
61003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61004         New file.
61005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61006         New file.
61007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61008         New file.
61009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61011         file.
61012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61013         New file.
61014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61015         file.
61016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61017         file.
61018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61019         file.
61020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61021         file.
61022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61023         file.
61024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61025         New file.
61026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61027         file.
61028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61029         file.
61030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61031         New file.
61032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61033         file.
61034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61036         file.
61037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61038         New file.
61039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61040         file.
61041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61042         file.
61043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61044         file.
61045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61046         file.
61047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61048         file.
61049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61050         New file.
61051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61052         file.
61053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61054         file.
61055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61056         New file.
61057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61058         file.
61059         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61060         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61061         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61062         file.
61063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61064         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61065         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61066         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61067         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61068         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61069         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61070         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61071         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61072         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61075         file.
61076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61077         New file.
61078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61079         file.
61080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61081         file.
61082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61083         file.
61084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61085         file.
61086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61087         file.
61088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61089         New file.
61090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61091         New file.
61092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61093         file.
61094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61095         New file.
61096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61097         file.
61098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61100         file.
61101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61102         New file.
61103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61104         file.
61105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61106         file.
61107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61108         file.
61109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61110         file.
61111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61112         file.
61113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61114         New file.
61115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61116         New file.
61117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61118         file.
61119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61120         New file.
61121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61122         file.
61124 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61126         * conform/conformtest.pl: Fix typo in handling typed-constant from
61127         allow-header.
61129 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61131         * README: Cut down references to pre-2.6 Linux kernels and
61132         Linuxthreads.  Update lists of configurations in libc and ports
61133         and sort alphabetically.  Say "or newer" with Linux kernel version
61134         requirements.
61136         * config.h.in [IS_IN_build]: Allow compiling without optimization.
61138 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61140         [BZ #887]
61141         * math/libm-test.inc (logb_test_downward): New test to expose
61142         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61143         rounding mode.
61145 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61147         [BZ #14027]
61148         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61149         to be done.
61150         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61151         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61153 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
61155         * sysdeps/unix/i386/brk.S: Remove file.
61156         * sysdeps/unix/i386/dl-brk.S: Likewise.
61157         * sysdeps/unix/i386/pipe.S: Likewise.
61158         * sysdeps/unix/i386/sigreturn.S: Likewise.
61159         * sysdeps/unix/i386/syscall.S: Likewise.
61160         * sysdeps/unix/i386/vfork.S: Likewise.
61161         * sysdeps/unix/i386/wait.S: Likewise.
61163         * sysdeps/unix/common/tcsendbrk.c: Move to ...
61164         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61166         * configure.in (arm*-none*): Do not allow without
61167         --enable-hacker-mode.
61168         (netbsd*): Remove case setting base_os.
61169         (386bsd*): Likewise.
61170         (freebsd*): Likewise.
61171         (bsdi*): Likewise.
61172         (osf*): Likewise.
61173         (sunos*): Likewise.
61174         (ultrix*): Likewise.
61175         (newsos*): Likewise.
61176         (dynix*): Likewise.
61177         (*bsd*): Likewise.
61178         (sysv*): Likewise.
61179         (isc*): Likewise.
61180         (esix*): Likewise.
61181         (sco*): Likewise.
61182         (minix*): Likewise.
61183         (irix4*): Likewise.
61184         (irix6*): Likewise.
61185         (solaris[2-9]*): Likewise.
61186         (none): Likewise.
61187         * configure: Regenerated.
61189 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61191         [BZ #11521]
61192         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61193         overflow or cancellation in calculating denominator.
61194         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61195         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61196         down expression to avoid unexpected rounding in newer GCCs.
61197         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61199 2012-04-26  David S. Miller  <davem@davemloft.net>
61201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61202         long-double compat symbols.
61203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61217 2012-04-25  David S. Miller  <davem@davemloft.net>
61219         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61220         HWCAP_* values only after the memory barriers have been defined.
61221         (atomic_full_barrier): Define.
61222         (atomic_read_barrier): Define.
61223         (atomic_write_barrier): Define.
61225 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61227         * shlib-versions: Add libgcc_s version information.
61228         * sysdeps/generic/libgcc_s.h: Remove.
61229         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61230         libgcc_s.h.
61231         * sysdeps/gnu/unwind-resume.c: Likewise.
61232         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61234 2012-04-25  David S. Miller  <davem@davemloft.net>
61236         * sysdeps/unix/sparc/brk.S: Delete.
61237         * sysdeps/unix/sparc/dl-brk.S: Delete.
61238         * sysdeps/unix/sparc/pipe.S: Delete.
61239         * sysdeps/unix/sparc/sysdep.S: Delete.
61240         * sysdeps/unix/sparc/sysdep.h: Delete.
61241         * sysdeps/unix/sparc/vfork.S: Delete.
61242         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61243         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61244         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61245         (ret_ERRVAL, r0, r1, MOVE): Define.
61246         (JUMPTARGET): Remove.
61247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61248         sysdeps/unix/sparc/sysdep.h
61249         (ENTRY, END): Remove.
61250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61252 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61254         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61255         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61256         -DIS_IN_build.
61258         * timezone/README: Update upstream location and email address for
61259         tzcode and tzdata.
61260         * timezone/zdump.c: Update from tzcode 2012b.
61261         * timezone/zic.c: Likewise.
61263         * configure.in (libc_cv_as_needed): Remove test.
61264         * configure: Regenerated.
61265         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61266         conditional definition.
61267         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61268         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61269         * config.make.in (have-as-needed): Remove variable.
61271 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61272             Paul Pluzhnikov  <ppluzhnikov@google.com>
61274         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61275         strings correctly.
61277 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61279         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61280         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61281         * sysdeps/sh/strlen.S: Likewise.
61283 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61285         * sysdeps/unix/fork.S: Remove file.
61286         * sysdeps/unix/i386/fork.S: Likewise.
61287         * sysdeps/unix/sparc/fork.S: Likewise.
61289         * sysdeps/unix/system.c: Remove file.
61290         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61292         * sysdeps/unix/getegid.S: Remove file.
61293         * sysdeps/unix/geteuid.S: Likewise.
61295 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61297         * scripts/check-localplt.awk: New file.
61298         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61299         of diff.
61300         * scripts/data/localplt-generic.data: Add a comment.
61302         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61303         NODE when __dir_mkfile failed.
61304         * sysdeps/mach/hurd/symlinkat.c: Likewise.
61305         Reported by Ludovic Courtès <ludo@gnu.org>.
61307 2012-04-24  Andreas Jaeger  <aj@suse.de>
61309         * Makerules (common-clean): Also remove gen-as-const-headers
61310         files.
61312 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61314         * Makerules (native-compile): Do not change working directory for
61315         build.  Use $(OUTPUT_OPTION) in command.
61316         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61318 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61320         [BZ #13886]
61321         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61322         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61323         * math/libm-test.inc (floor_test): Add more tests.
61324         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61326 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61328         * sysdeps/unix/getdents.c: Remove file.
61329         * sysdeps/unix/sysv/getdents.c: Likewise.
61330         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61332         * sysdeps/unix/syscalls.list (madvise): Add syscall from
61333         sysdeps/unix/mman/syscalls.list.
61334         (mmap): Likewise.
61335         (mprotect): Likewise.
61336         (msync): Likewise.
61337         (munmap): Likewise.
61338         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61339         * sysdeps/unix/mman/syscalls.list: Remove.
61340         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61342         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61343         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61344         * configure: Regenerated.
61345         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61346         $(libgcc_s_suffix).
61347         * config.make.in (libgcc_s_suffix): Remove variable.
61349 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
61351         * sysdeps/unix/sysv/gethostname.c: Move to ...
61352         * sysdeps/posix/gethostname.c: ... here.
61354         * sysdeps/unix/execve.S: Remove file.
61356         * sysdeps/unix/_exit.S: Remove file.
61358 2012-04-23  Andreas Jaeger  <aj@suse.de>
61360         [BZ #13739]
61361         * manual/Makefile: Remove make dist support, there's no
61362         need for a stand-alone documentation tar ball.
61363         (TEXI2DVI): Define always, it's not in Makeconfig.
61364         (dist): Removed.
61365         (tar-it): Removed.
61366         (edition): Removed.
61367         (glibc-doc-$(edition).tar): Removed
61368         (%.Z): Removed.
61369         (%.gz): Removed.
61370         (%.uu): Removed.
61371         (ETAGS): Remove, it's in Makeconfig.
61372         (move-if-change): Remove, it's in Makeconfig.
61374 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
61376         [BZ #13970]
61377         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61378         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61379         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61380         (strtod_l, strtof_l, strtold_l): Remove __wur.
61381         It is not necessarily an error to ignore strtol's return value.
61382         One can reliably look at the stored endptr to decide whether
61383         the number had valid syntax.
61385 2012-04-21  Andreas Jaeger  <aj@suse.de>
61387         [BZ #13739]
61388         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61390 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61392         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61393         * sysdeps/unix/sysv/Versions: Remove file.
61395 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61397         [BZ #13927]
61398         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61400 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61402         [BZ #7064]
61403         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61404         version from __vm86.
61406 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61408         * sysdeps/unix/common/lxstat.c: Remove file.
61409         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61411         * sysdeps/unix/sysv/Makefile: Remove file.
61413         * sysdeps/unix/sysv/direct.h: Remove file.
61415         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61416         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61417         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61418         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61419         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61420         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61421         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61423         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61425         * sysdeps/unix/xmknod.c: Remove file.
61426         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61428         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61430         * sysdeps/unix/sysv/i386/time.S: Remove file.
61432         * sysdeps/unix/fxstat.c: Remove file.
61433         * sysdeps/unix/xstat.c: Likewise.
61434         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61436         * sysdeps/unix/sysv/sigaction.c: Remove file.
61438         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61439         (sysdep_headers): Remove variable.
61440         [termio.h not in sysdep_headers] (generated): Likewise.
61441         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61442         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61443         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61444         * sysdeps/unix/sysv/tcflow.c: Likewise.
61445         * sysdeps/unix/sysv/tcflush.c: Likewise.
61446         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61447         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61448         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61449         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61450         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61452         * sysdeps/unix/siglist.c: Remove file.
61454         * sysdeps/unix/getppid.S: Remove file.
61456         * sysdeps/unix/mkdir.c: Remove file.
61457         * sysdeps/unix/rmdir.c: Likewise.
61459 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61461         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61462         ERR_MAX value.
61463         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61464         errlist-compat value.
61466 2012-04-18  David S. Miller  <davem@davemloft.net>
61468         * sysdeps/generic/memcopy.h (reg_char): Delete.
61469         * debug/strcat_chk.c: Use char, not reg_char.
61470         * debug/strcpy_chk.c: Likewise.
61471         * debug/strncat_chk.c: Likewise.
61472         * debug/strncpy_chk.c: Likewise.
61473         * string/memchr.c: Likewise.
61474         * string/memrchr.c: Likewise.
61475         * string/rawmemchr.c: Likewise.
61476         * string/strcat.c: Likewise.
61477         * string/strchr.c: Likewise.
61478         * string/strchrnul.c: Likewise.
61479         * string/strcmp.c: Likewise.
61480         * string/strcpy.c: Likewise.
61481         * string/strncat.c: Likewise.
61482         * string/strncmp.c: Likewise.
61483         * string/strncpy.c: Likewise.
61485 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61487         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61488         __builtin_memcopy is called when src and dest ranges are known to not
61489         overlap.
61491 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61493         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61494         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61495         fwd_align_merge macro call.
61496         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61497         bwd_align_merge macro call.
61498         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61500 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61502         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61503         bwd_align_merge macros.
61504         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61505         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61506         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61508 2012-04-18  David S. Miller  <davem@davemloft.net>
61510         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61512 2012-04-18  Andreas Jaeger  <aj@suse.de>
61514         [BZ# 6794]
61515         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61516         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61517         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61519         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61520         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61521         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61523         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61524         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61525         Adjust for changed ldbl-128 files.
61527         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61528         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61529         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61531 2012-04-17  David S. Miller  <davem@davemloft.net>
61533         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61535 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61537         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61538         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61539         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61540         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61541         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61542         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61544 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61546         [BZ #6794]
61547         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61548         * math/libm-test.inc: Add ilogb errno and exception tests.
61549         * math/w_ilogb.c: New file: ilogb wrapper.
61550         * math/w_ilogbf.c: New file: ilogbf wrapper.
61551         * math/w_ilogbl.c: New file: ilogbl wrapper.
61552         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61553         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61554         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61555         exception being thrown with 0.0 as argument.
61556         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61557         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61558         exception being thrown with 0.0 as argument.
61559         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61560         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61561         exception being thrown with 0.0 as argument.
61562         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61563         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61564         exception being thrown with 0.0 as argument.
61565         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61566         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61567         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61568         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61569         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61570         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61571         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61572         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61573         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61575 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61577         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61578         with altivec.
61580 2012-04-16  Marek Polacek  <polacek@redhat.com>
61582         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61584 2012-04-16  Marek Polacek  <polacek@redhat.com>
61586         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61587         operands of fdivp instruction.
61589 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61591         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61592         * elf/tst-auditmod3b.c: Likewise.
61593         * elf/tst-auditmod4b.c: Likewise.
61594         * elf/tst-auditmod5b.c: Likewise.
61595         * elf/tst-auditmod6b.c: Likewise.
61596         * elf/tst-auditmod6c.c: Likewise.
61597         * elf/tst-auditmod7b.c: Likewise.
61598         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61599         * sysdeps/x86_64/preconfigure.in: Likewise.
61600         * sysdeps/x86_64/preconfigure: Regenerated.
61602 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61604         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61605         __ILP32__.
61607 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61609         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61610         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61612 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61614         [BZ #13973]
61615         * locale/iso-639.def: Fix gl language name. Spotted by
61616         Yaron Shahrabani.
61618 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61620         [BZ #2074]
61621         * libio/libio.h (__io_write_fn): Update comment.
61623 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61625         [BZ #2074]
61626         * stdio.texi (Hook Functions): The user provided writer function
61627         is not allowed to return -1.
61629 2012-04-11  David S. Miller  <davem@davemloft.net>
61631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61633 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61635         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61636         Add a leading slash to rtkaio.
61638 2012-04-11  Jim Meyering  <meyering@redhat.com>
61640         [BZ #11959]
61641         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61642         It is not necessarily an error to ignore fwrite's return
61643         value.  One can reliably use ferror to test for errors after
61644         the fact.
61646 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61648         * bits/types.h (__snseconds_t): New type.
61649         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61651         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61652         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61653         (__SNSECONDS_T_TYPE): Likewise.
61654         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61655         (__SNSECONDS_T_TYPE): Likewise.
61656         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61657         (__SNSECONDS_T_TYPE): Likewise.
61659 2012-04-10  Andreas Jaeger  <aj@suse.de>
61661         [BZ #2636]
61662         * manual/time.texi (Processor Time): Return type of times is
61663         elapsed real time since an arbitrary point in the past.
61664         (CPU Time): Move CLK_TCK from here...
61665         (Processor Time): ...to here.  Correct description.
61666         * manual/conf.texi (Constants for Sysconf): Correct description of
61667         _SC_CLK_TCK.
61669 2012-04-10  David S. Miller  <davem@davemloft.net>
61671         [BZ #13967]
61672         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61673         where the is a gap between DT_REL(A) and DT_JMPREL.
61675 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61677         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61678         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61679         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61681 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61683         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61684         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61685         (dl_main): Handle --inhibit-cache.
61686         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61687         _dl_inhibit_cache.
61688         * elf/dl-load.c (_dl_map_object): Use it.
61689         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61691 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61693         [BZ #13872]
61694         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61695         (__ieee754_powl): Saturate large exponents rather than testing for
61696         overflow of y*log2(x).
61697         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61698         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61699         exceptions.
61701         [BZ #11521]
61702         * math/s_ctan.c: Include <float.h>.
61703         (__ctan): Avoid internal overflow or cancellation in calculating
61704         denominator.
61705         * math/s_ctanf.c: Likewise.
61706         * math/s_ctanl.c: Likewise.
61707         * math/s_ctanh.c: Likewise.
61708         * math/s_ctanhf.c: Likewise.
61709         * math/s_ctanhl.c: Likewise.
61710         * math/libm-test.inc (ctan_test): Add more tests.
61711         (ctanh_test): Likewise.
61712         * sysdeps/i386/fpu/libm-test-ulps: Update.
61713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61715 2012-04-09  Andreas Jaeger  <aj@suse.de>
61717         [BZ #6894]
61718         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61719         is an optional BSD extension.
61721         [BZ #10254]
61722         * manual/stdio.texi (Opening Streams): Document additional fopen
61723         parameters.
61725 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61727         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61728         %eax without telling the compiler.
61730 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61732         [BZ # 13963]
61733         * manual/install.texi: Use sourceware.org.
61735 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61737         [BZ #13873]
61738         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61739         (__ieee754_pow): Generate overflow and underflow using huge*huge
61740         and tiny*tiny rather than just returning constant infinity or zero
61741         for large exponents.
61742         * math/libm-test.inc (pow_test): Require overflow exceptions for
61743         applicable cases of large exponents.
61745         [BZ #706]
61746         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61747         (__ieee754_pow): Use iterative multiplication algorithm only for
61748         integer exponents with absolute value below 1024.  Check for odd
61749         integer exponents when using algorithm for real exponents.
61750         * math/libm-test.inc (pow_test): Add more tests.
61751         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61753 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61755         [BZ #13705]
61756         * math/libm-test.inc (exp_test): Do not allow overflow exception
61757         on underflow test.
61759 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61761         [BZ #13705]
61762         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61763         instead of __kernel_standard_f.
61765 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
61767         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61768         * sysdeps/x86_64/memset_chk.S: Likewise.
61770 2012-04-08  Andreas Jaeger  <aj@suse.de>
61772         [BZ #10153]
61773         * manual/startup.texi (Environment Access): Describe return value
61774         for putenv and setenv.
61776         [BZ #6895]
61777         * manual/filesys.texi (Directory Entries): Add description for
61778         DT_LNK.
61780         [BZ #6890]
61781         * manual/filesys.texi (Directory Entries): Clarify that it's file
61782         system not operating system in the description of DT_UNKNOWN.
61784         [BZ #6578]
61785         * manual/syslog.texi (closelog): Fix reference, it's openlog.
61787 2012-04-08  Stephen Compall  <s11@member.fsf.org>
61789         [BZ #6649]
61790         * manual/llio.texi (Opening and Closing Files): Add cross
61791         reference to explain mode argument.
61793 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61795         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61796         * sysdeps/x86_64/memset_chk.S: Likewise.
61798 2012-04-07  David S. Miller  <davem@davemloft.net>
61800         * elf/elf.h (R_SPARC_WDISP10): Define.
61801         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61802         R_SPARC_SIZE32.
61803         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61804         R_SPARC_SIZE64 and R_SPARC_H34.
61806 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61808         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61809         conditions and remove no longer applicable assertion.
61811 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61813         * bits/byteswap.h: Include <features.h>.
61814         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61815         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61817 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61819         * bits/byteswap.h (__bswap_16): Removed.
61820         Include <bits/byteswap-16.h> to get __bswap_16.
61821         * sysdeps/i386/bits/byteswap.h: Likewise.
61822         * sysdeps/s390/bits/byteswap.h: Likewise.
61823         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61824         * bits/byteswap-16.h: New file.
61825         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61826         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61827         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61828         * string/Makefile (headers): Add bits/byteswap-16.h.
61830 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61832         [BZ #13895]
61833         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61834         extra indirection.
61835         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61836         * nss/tst-nss-static.c: New.
61838 2012-04-06  Robert Millan  <rmh@gnu.org>
61840         [BZ #6486]
61841         * manual/llio.texi (File Position Primitive): lseek
61842         refers to WHENCE when it really means OFFSET.
61844 2012-04-06  Andreas Jaeger  <aj@suse.de>
61846         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61847         strncmp declarations.
61849         * abilist/libc.abilist: Add __poll and __ppoll.
61851 2012-04-05  David S. Miller  <davem@davemloft.net>
61853         * scripts/check-local-headers.sh: Accept a host triplet in the
61854         path matched by the exclude regexp.
61856         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61857         definition.
61858         * sysdeps/powerpc/powerpc32/dl-machine.h
61859         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61860         * sysdeps/s390/s390-32/dl-machine.h
61861         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61862         * sysdeps/sparc/sparc32/dl-machine.h
61863         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61864         * sysdeps/sparc/sparc64/dl-machine.h
61865         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61867         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61868         lazy binding.
61869         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61870         undefined symbol errors.
61872         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61873         DT_NEEDED entries.
61875 2012-04-05  Michael Matz  <matz@suse.de>
61877         [BZ #13592]
61878         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61880 2012-04-05  Andreas Jaeger  <aj@suse.de>
61882         [BZ #13908]
61883         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61884         comment.
61886 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61888         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61889         which ROUND is no valid rounding mode.
61891 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61893         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61894         read again.
61895         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61897 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61899         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61900         an exception using FPU order intentionally.
61902 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61904         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61905         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61906         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61907         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61909 2012-04-05  Simon Josefsson  <simon@josefsson.org>
61911         [BZ #12340]
61912         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61913         EINVAL when BUFLEN is too smal.
61915 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61917         [BZ #13553]
61918         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61919         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61921 2012-04-03  Andreas Jaeger  <aj@suse.de>
61923         [BZ #13938]
61924         * manual/setjmp.texi (System V contexts): Fix sentence.
61926         [BZ #13926]
61927         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61928         New macro for this case.
61929         [!__GNUC__] (__bswap_64): New inline function for this case.
61930         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61931         * bits/byteswap.h: Likewise.
61932         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61933         ull, guard with __GLIBC_HAVE_LONG_LONG.
61935         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61936         __GLIBC_HAVE_LONG_LONG.
61938         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61939         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61941 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61943         [BZ #13691]
61944         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61945         inptr and inend, rather than using last_ch.
61947 2012-04-02  David S. Miller  <davem@davemloft.net>
61949         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61950         * stdio-common/printf-parse.h (read_int): Change return type to
61951         'int', return -1 on INT_MAX overflow.
61952         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61953         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
61954         overflows INT_MAX.  Check for overflow of in-format-string precision
61955         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
61956         SIZE_MAX not INT_MAX for integer overflow test.
61957         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61958         skip the construct in the format string but do not record anything.
61959         * stdio-common/bug22.c: Adjust to test both width/prevision
61960         INT_MAX overflow as well as total length INT_MAX overflow.  Check
61961         explicitly for proper errno values.
61963 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61965         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61966         CHAR_MAX.
61967         * string/test-strcmp.c [! WIDE]: Likewise.
61968         * time/tst-mktime2.c: Likewise for INT_MAX.
61969         * string/test-string.h: #include <sys/param.h> for MIN.
61971         * csu/init-first.c (__libc_init_first): Call __ctype_init.
61972         * sysdeps/i386/init-first.c (init): Likewise.
61973         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61974         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61975         * sysdeps/sh/init-first.c (init): Likewise.
61977 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
61979         * po/ru.po: Update from translation team.
61980         * po/vi.po: Likewise.
61982 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61984         * resolv/nss_dns/dns-host.c: Merge copyright years.
61986 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61988         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61989         Optimize memcpy with prefetch if
61990         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61991         src, dst pointers have unequal 16 byte alignments.
61993 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61995         [BZ #13928]
61996         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61997         from a CNAME entry and return the minimum ttl for the query.
61998         (gaih_getanswer_slice): Likewise.
62000 2012-03-30  Jeff Law  <law@redhat.com>
62002         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62003         due to long keys.
62004         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62005         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62007         * resolv/nss_dns/dns-host.c: Update copyright year.
62009 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
62011         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62012         requests to save a system call.  Fix check that all bytes are sent.
62014         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62015         comments for sendmmsg.
62017 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62019         [BZ #13691]
62020         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62021         with only 1 character between 0x0041 and 0x01b0.
62022         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62023         * wcsmbs/tst-mbsnrtowcs.c: New file.
62025 2012-03-29  David S. Miller  <davem@davemloft.net>
62027         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62028         small copies by hand.
62030 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62032         [BZ #13761]
62033         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62034         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62035         group memberships.
62037 2012-03-28  David S. Miller  <davem@davemloft.net>
62039         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62040         that branches into memcpy.
62041         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62042         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62043         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62044         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62045         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62046         bits.
62047         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62048         implementation too.
62049         * sysdeps/sparc/mempcpy.S: New file.
62051         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62052         the IFUNC routine in the libc case.
62053         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62055         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62056         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62057         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62058         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62059         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62060         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62061         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62062         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62064         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62065         loop to 256 bytes instead of 64 bytes and fix test signedness.
62067         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62068         * sysdeps/sparc/sparc32/Makefile: rather than here...
62069         * sysdeps/sparc/sparc64/Makefile: and here.
62071 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
62073         * malloc/mallocbug.c: Avoid warnings about unused variables.
62075 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62077         [BZ #13760]
62078         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62079         in the right place. Discard and retry query if response is
62080         larger than input buffer size.
62082 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
62084         [BZ #369]
62085         [BZ #2678]
62086         [BZ #3866]
62087         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62088         x for large integer exponent.
62089         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62090         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
62091         sign of result as needed afterwards.
62092         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62093         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62094         result for underflowing pow the same as for overflow.
62095         (__kernel_standard_l): Handle powl overflow and underflow here
62096         rather than calling __kernel_standard.
62097         * math/libm-test.inc (pow_test): Add more tests.
62099         [BZ #3868]
62100         [BZ #13879]
62101         [BZ #13910]
62102         [BZ #13911]
62103         [BZ #13912]
62104         [BZ #13913]
62105         [BZ #13915]
62106         [BZ #13916]
62107         [BZ #13917]
62108         [BZ #13918]
62109         [BZ #13919]
62110         [BZ #13920]
62111         [BZ #13921]
62112         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62113         * sysdeps/ieee754/k_standard.c: Include <float.h>.
62114         (__kernel_standard_l): New function.
62115         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62116         __kernel_standard.
62117         * math/w_acosl.c (__acosl): Likewise.
62118         * math/w_asinl.c (__asinl): Likewise.
62119         * math/w_atan2l.c (__atan2l): Likewise.
62120         * math/w_atanhl.c (__atanhl): Likewise.
62121         * math/w_coshl.c (__coshl): Likewise.
62122         * math/w_exp10l.c (__exp10l): Likewise.
62123         * math/w_exp2l.c (__exp2l): Likewise.
62124         * math/w_fmodl.c (__fmodl): Likewise.
62125         * math/w_hypotl.c (__hypotl): Likewise.
62126         * math/w_j0l.c (__j0l, __y0l): Likewise.
62127         * math/w_j1l.c (__j1l, __y1l): Likewise.
62128         * math/w_jnl.c (__jnl, __ynl): Likewise.
62129         * math/w_lgammal.c (__lgammal): Likewise.
62130         * math/w_log10l.c (__log10l): Likewise.
62131         * math/w_log2l.c (__log2l): Likewise.
62132         * math/w_logl.c (__logl): Likewise.
62133         * math/w_powl.c (__powl): Likewise.
62134         * math/w_remainderl.c (__remainderl): Likewise.
62135         * math/w_scalbl.c (sysv_scalbl): Likewise.
62136         * math/w_sinhl.c (__sinhl): Likewise.
62137         * math/w_sqrtl.c (__sqrtl): Likewise.
62138         * math/w_tgammal.c (__tgammal): Likewise.
62139         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62140         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62141         * math/libm-test.inc (acos_test): Add more tests.
62142         (acosh_test): Likewise.
62143         (asin_test): Likewise.
62144         (atanh_test): Likewise.
62145         (exp_test): Likewise.
62146         (exp10_test): Likewise.
62147         (exp2_test): Likewise.
62148         (expm1_test): Likewise.
62149         (lgamma_test): Likewise.
62150         (log_test): Likewise.
62151         (log10_test): Likewise.
62152         (log1p_test): Likewise.
62153         (log2_test): Likewise.
62154         (pow_test): Do not allow some spurious overflow exceptions.
62155         (sqrt_test): Add more tests.
62156         (tgamma_test): Likewise.
62157         (y0_test): Likewise.
62158         (y1_test): Likewise.
62159         (yn_test): Likewise.
62161 2012-03-27  Anton Blanchard  <anton@samba.org>
62163         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62164         MAP_HUGETLB.
62165         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62166         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62167         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62169 2012-03-27  David S. Miller  <davem@davemloft.net>
62171         * conform/Makefile: Run run-conformtest.sh using $(BASH).
62173         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62174         have-as-vis3 check.
62176 2012-03-27  Andreas Jaeger  <aj@suse.de>
62178         * sysdeps/x86_64/elf/configure.in: Moved to ...
62179         * sysdeps/x86_64/configure.in: ... here.
62180         * sysdeps/x86_64/elf/start.S: Moved to ...
62181         * sysdeps/x86_64/start.S: ... here.
62182         * sysdeps/x86_64/elf/configure: Delete.
62184         * sysdeps/x86_64/configure.in: Merge contents from
62185         sysdeps/i386/configure.in (without i686 check).
62187         * sysdeps/i386/elf/Versions: Merge into ...
62188         * sysdeps/i386/Versions: ... this.
62189         * sysdeps/i386/elf/Versions: Delete file.
62190         * sysdeps/i386/elf/start.S: Moved to ...
62191         * sysdeps/i386/start.S: ...here.
62192         * sysdeps/i386/elf/configure.in: Merge into...
62193         * sysdeps/i386/configure.in: ...here.
62194         * sysdeps/i386/elf/configure.in: Delete file.
62195         * sysdeps/i386/elf/configure: Delete file.
62197         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62198         * debug/backtracesyms.c: ... here.
62199         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62200         * debug/backtracesymsfd.c: ... here.
62201         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62202         * sysdeps/generic/ifunc-sel.h: ... here.
62204         * sysdeps/unix/i386/start.c: Delete file.
62205         * sysdeps/unix/sparc/start.c: Delete file.
62206         * sysdeps/unix/start.c: Delete file.
62208         * sysdeps/sh/elf/configure.in: Moved to ...
62209         * sysdeps/sh/configure.in: ... here.
62210         * sysdeps/sh/elf/start.S: Moved to ...
62211         * sysdeps/sh/start.S: ... here.
62212         * sysdeps/sh/elf/configure: Delete file.
62214         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62215         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62216         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62217         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62218         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62219         * sysdeps/powerpc/powerpc64/start.S: here.
62220         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62221         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62222         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62223         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62224         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62226         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62227         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62228         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62229         * sysdeps/powerpc/powerpc32/start.S: ... here.
62230         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62231         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62232         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62234         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62235         * sysdeps/powerpc/ifunc-sel.h: ... here.
62236         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62237         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62239         * sysdeps/sparc/elf/configure.in: Moved to ...
62240         * sysdeps/sparc/configure.in: ... here.
62241         * sysdeps/sparc/elf/configure: Delete file.
62242         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62243         * sysdeps/sparc/sparc32/start.S: ... here.
62244         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62245         * sysdeps/sparc/sparc64/start.S: ... here.
62246         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62247         * sysdeps/sparc/sparc32/Makefile: ... this.
62248         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62249         * sysdeps/sparc/sparc64/Makefile: ... this.
62251         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62252         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62253         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62254         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62255         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62256         * sysdeps/s390/s390-32/setjmp.S: ... here.
62257         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62258         * sysdeps/s390/s390-32/configure.in: ... here.
62259         * sysdeps/s390/s390-32/elf/configure: Delete file.
62260         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62261         * sysdeps/s390/s390-32/start.S: ... here.
62263         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62264         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62265         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62266         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62267         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62268         * sysdeps/s390/s390-64/setjmp.S: ... here.
62269         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62270         * sysdeps/s390/s390-64/configure.in: ... here
62271         * sysdeps/s390/s390-64/elf/configure: Delete file.
62272         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62273         * sysdeps/s390/s390-64/start.S: ... here.
62274         * sysdeps/s390/s390-64/elf/configure: Delete.
62276         * configure.in: Remove support for elf directories in sysdeps.
62278         * configure: Regenerated.
62279         * sysdeps/i386/configure: Regenerated.
62280         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62281         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62282         * sysdeps/s390/s390-32/configure: Regenerated.
62283         * sysdeps/s390/s390-64/configure: Regenerated.
62284         * sysdeps/sh/configure: Regenerated.
62285         * sysdeps/sparc/configure: Regenerated.
62286         * sysdeps/x86_64/configure: Regenerated.
62288 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62292         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62293         denormal result into account.
62295 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62297         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62298         Reported by Allan McRae <allan@archlinux.org>.
62300 2012-03-23  Jeff Law  <law@redhat.com>
62302         * nss/getnssent.c (__nss_getent): Fix typo.
62304 2012-03-23  David S. Miller  <davem@davemloft.net>
62306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62308 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
62310         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62311         to pad to uint64_t for each field.
62312         (dl_tls_index): Replace unsigned long with uint64_t.
62314 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
62315         Paul Pluzhnikov  <ppluzhnikov@google.com>
62317         [BZ #6528]
62318         * grp/Makefile (otherlibs): Don't set it.
62319         * inet/Makefile (otherlibs): Likewise.
62320         * login/Makefile (otherlibs): Likewise.
62321         * nscd/Makefile (otherlibs): Likewise.
62322         * posix/Makefile (otherlibs): Likewise.
62323         * pwd/Makefile (otherlibs): Likewise.
62324         * rt/Makefile (otherlibs): Likewise.
62325         * sunrpc/Makefile (otherlibs): Likewise.
62326         * nss/Makefile (otherlibs): Likewise.
62327         Add libnss_files to routines and static-only-routines.
62328         ($(objpfx)getent): Remove rule.
62329         * resolv/Makefile: Add libnss_dns and libresolv to routines and
62330         static-only-routines.
62332 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62334         [BZ #13892]
62335         * math/s_cexp.c: Include <float.h>.
62336         (__cexp): Handle exp result overflowing not necessarily
62337         overflowing both real and imaginary parts of result.
62338         * math/s_cexpf.c: Likewise.
62339         * math/s_cexpl.c: Likewise.
62340         * math/libm-test.inc (cexp_test): Add more tests.
62341         * sysdeps/i386/fpu/libm-test-ulps: Update.
62342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62344 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62346         * include/link.h (ELFW): New macro.
62347         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62348         Replace ELF64_R_TYPE with ELFW(R_TYPE).
62350 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62352         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62353         with uint64_t.
62355 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62357         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62358         declaration.
62359         (struct La_x32_retval): Likewise.
62361 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62363         * sysdeps/x86_64/preconfigure.in: New file.
62364         * sysdeps/x86_64/preconfigure: New generated file.
62366 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62368         [BZ #13824]
62369         * math/e_exp2l.c: Include <float.h>.
62370         (__ieee754_exp2l): Handle overflow and underflow cases
62371         separately.  Only pass fractional part of argument to
62372         __ieee754_expl.
62373         * math/libm-test.inc (exp2_test): Add more tests.
62375         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62376         negating x to take absolute value.
62377         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62378         Likewise.
62379         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62380         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62381         Likewise.
62382         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62383         computing low part if x was negated.
62384         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62386 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62388         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62389         la_x32_gnu_pltexit.
62390         (pltexit): Cast int_retval to ptrdiff_t.
62391         * elf/tst-auditmod3b.c: Likewise.
62392         * elf/tst-auditmod4b.c: Likewise.
62393         * elf/tst-auditmod5b.c: Likewise.
62394         * elf/tst-auditmod6b.c: Likewise.
62395         * elf/tst-auditmod6c.c: Likewise.
62396         * elf/tst-auditmod7b.c: Likewise.
62398         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62399         and x32_gnu_pltexit.
62401         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62402         __ELF_NATIVE_CLASS.
62403         (La_x32_regs): New macro.
62404         (La_x32_retval): Likewise.
62405         (la_x32_gnu_pltenter): New function prototype.
62406         (la_x32_gnu_pltexit): Likewise.
62408 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62410         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62411         exponent.
62413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62415         * configure.in (libc_cv_cc_nofma): Check for option to disable
62416         generation of FMA instructions.
62417         * configure: Regenerate.
62418         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62419         * sysdeps/ieee754/dbl-64/Makefile: New file.
62420         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62421         Remove brandred-fma4.
62422         (CFLAGS-brandred-fma4.c): Remove.
62423         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62424         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62425         define.
62426         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62427         define.
62429 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62431         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62432         LLONG_MAX != LONG_MAX.
62433         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62434         (_fitoa_word): Likewise.
62435         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62436         LLONG_MAX != LONG_MAX.
62437         * stdio-common/_itowa.h: Include <_itoa.h>.
62438         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62439         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62440         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62441         only if not defined.
62442         (_ITOA_WORD_TYPE): Likewise.
62443         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62444         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62446 2012-03-21  David S. Miller  <davem@davemloft.net>
62448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62450 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62452         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62453         of x86_64 when setting libc_cv_slibdir, libdir and
62454         libc_cv_localedir.
62455         * sysdeps/unix/sysv/linux/configure: Regenerated.
62457 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62459         * manual/lang.texi (Old Varargs): Remove section.
62460         (How Variadic): Update menu.
62461         (va_start): Do not mention varargs.h.
62463 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62464             Joseph Myers  <joseph@codesourcery.com>
62466         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62467         link test.
62468         * configure: Regenerated.
62470 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62472         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62473         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62474         conformtest.pl
62476 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62478         * NOTES: Remove.
62479         * Makefile (files-for-dist): Remove NOTES.
62480         (NOTES): Remove rule.
62481         * README: Don't refer to NOTES.
62482         * manual/creature.texi: Don't include macros.texi.
62483         * manual/intro.texi (creature.texi): Remove comment referring to
62484         NOTES.
62486         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62487         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62488         * configure: Regenerated.
62489         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62490         LIBC_TRY_CC_OPTION.
62491         (libc_cv_as_i686): Likewise.
62492         (libc_cv_cc_avx): Likewise.
62493         (libc_cv_cc_sse2avx): Likewise.
62494         (libc_cv_cc_fma4): Likewise.
62495         (libc_cv_cc_novzeroupper): Likewise.
62496         * sysdeps/i386/configure: Regenerated.
62498         [BZ #13883]
62499         * sysdeps/i386/fpu/s_cexp.S: Remove.
62500         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62501         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62502         * math/libm-test.inc (cexp_test): Add more tests.
62503         * sysdeps/i386/fpu/libm-test-ulps: Update.
62504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62506 2012-03-21  Allan McRae  <allan@archlinux.org>
62508         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62510 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62512         [BZ #13871]
62513         * math/w_exp2.c: Do not include <float.h>.
62514         (o_threshold, u_threshold): Remove.
62515         (__exp2): Calculate result before checking finiteness and calling
62516         __kernel_standard.
62517         * math/w_exp2f.c: Likewise.
62518         * math/w_exp2l.c: Likewise.
62519         * math/libm-test.inc (exp2_test): Require overflow exception for
62520         1e6 input.
62522         [BZ #3866]
62523         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62524         range of signed 64-bit integers before using fistpll.  Remove
62525         checks for whether integers fit in mantissa bits.
62526         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62527         the range of signed 32-bit integers before using fistpl.  Remove
62528         checks for whether integers fit in mantissa bits.
62529         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62530         (__ieee754_powl): Test for y outside the range of signed 64-bit
62531         integers before using fistpll.  Reduce 64-bit values to 63-bit
62532         ones as needed.
62533         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62534         divide-by-zero is raised for zero to large negative powers.
62535         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62536         (__ieee754_powl): Test for y outside the range of signed 64-bit
62537         integers before using fistpll.  Reduce 64-bit values to 63-bit
62538         ones as needed.
62539         * math/libm-test.inc (pow_test): Add more tests.
62541 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62543         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62544         <stdio-common/_itoa.h>.
62545         * debug/segfault.c: Likewise.
62546         * elf/dl-cache.c: Likewise.
62547         * elf/dl-minimal.c: Likewise.
62548         * elf/dl-misc.c: Likewise.
62549         * elf/dl-sysdep.c: Likewise.
62550         * elf/dl-version.c: Likewise.
62551         * elf/rtld.c: Likewise.
62552         * hurd/hurdsock.c: Likewise.
62553         * hurd/lookup-retry.c: Likewise.
62554         * malloc/malloc.c: Likewise.
62555         * malloc/mtrace.c: Likewise.
62556         * nscd/nscd_getgr_r.c: Likewise.
62557         * nscd/nscd_getpw_r.c: Likewise.
62558         * nscd/nscd_getserv_r.c: Likewise.
62559         * posix/getopt_init.c: Likewise.
62560         * posix/wordexp.c: Likewise.
62561         * stdio-common/_itoa.c: Likewise.
62562         * stdio-common/printf_fphex.c: Likewise.
62563         * stdio-common/vfprintf.c: Likewise.
62564         * string/_strerror.c: Likewise.
62565         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62566         * sysdeps/i386/i686/hp-timing.h: Likewise.
62567         * sysdeps/mach/_strerror.c: Likewise.
62568         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62569         * sysdeps/mach/hurd/sethostid.c: Likewise.
62570         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62571         * sysdeps/mach/xpg-strerror.c: Likewise.
62572         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62573         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62574         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62575         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62576         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62577         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62578         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62579         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62580         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62581         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62582         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62583         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62584         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62585         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62586         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62587         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62588         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62589         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62590         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62591         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62592         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62594         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62596         * stdio-common/_itoa.h: Moved to ...
62597         * sysdeps/generic/_itoa.h: Here.
62599         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62601         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62602         instead of "_itoa.h" and "_itowa.h".
62603         * stdio-common/vfprintf.: Likewise.
62605 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62607         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62608         <bits/wordsize.h>.
62609         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62610         (__signbit): Likwise.
62611         (llrintf): Likwise.
62612         (llrint): Likwise.
62614 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62616         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62617         __WORDSIZE != 64.
62619 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62621         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62622         OVERFLOW_EXCEPTION_OK.
62623         * math/libm-test.inc ("Philosophy"): Update comment about
62624         exception testing.
62625         (OVERFLOW_EXCEPTION): Define.
62626         (OVERFLOW_EXCEPTION_OK): Likewise.
62627         (INVALID_EXCEPTION_OK): Renumber.
62628         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62629         (IGNORE_ZERO_INF_SIGN): Likewise.
62630         (test_exceptions): Handle FE_OVERFLOW.
62631         (exp10_test): Expect overflow exceptions.
62632         (exp2_test): Likewise.
62633         (expm1_test): Likewise.
62634         (nextafter_test): Likewise.
62635         (pow_test): Likewise.
62636         (scalbn_test): Likewise.
62637         (scalbln_test): Likewise.
62639 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62641         * sysdeps/x86_64/bits/atomic.h
62642         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62643         64bit integer.
62644         (atomic_exchange_acq): Likewise.
62645         (__arch_exchange_and_add_body): Likewise.
62646         (__arch_add_body): Likewise.
62647         (atomic_add_negative): Likewise.
62648         (atomic_add_zero): Likewise.
62650 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62652         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62653         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62655 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62657         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62658         Check __x86_64__ instead of __WORDSIZE.
62660 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62662         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62664 2012-03-19  David S. Miller  <davem@davemloft.net>
62666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62668         * sysdeps/sparc/fpu/fenv_private.h: New file.
62669         * sysdeps/sparc/fpu/math_private.h: Use it.
62670         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62671         Remove.
62672         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62673         (libc_feholdexcept_setroundl): Remove.
62674         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62675         Remove.
62676         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62677         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62679 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62681         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62682         int64_t instead of long int.
62683         (INSERT_WORDS64): Likwise.
62685 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62687         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62688         _Unwind_GetCFA return to _Unwind_Ptr first.
62690 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62692         [BZ #13629]
62693         * math/s_clog.c: Include <float.h>.
62694         (__clog): Scale large or subnormal inputs.
62695         * math/s_clogf.c: Likewise.
62696         * math/s_clogl.c: Likewise.
62697         * math/s_clog10.c: Include <float.h>.
62698         (M_LOG10_2): Define.
62699         (__clog10): Scale large or subnormal inputs.
62700         * math/s_clog10f.c: Likewise.
62701         * math/s_clog10l.c: Likewise.
62702         * math/libm-test.inc (clog_test): Add more tests.
62703         (clog10_test): Likewise.
62704         * sysdeps/i386/fpu/libm-test-ulps: Update.
62705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62707         [BZ #11451]
62708         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62709         x and y.
62710         * math/libm-test.inc (atan2_test): Add another test.
62712         * Makerules (common-objdir-compile): Remove.
62713         * sysdeps/unix/Makefile (config-generated): Do not add
62714         $(unix-generated) to variable.
62715         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62716         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62717         Remove rule.
62718         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62719         Likewise.
62720         [generic bits/local_lim.h] (before-compile): Do not append to
62721         variable.
62722         [generic bits/local_lim.h] (common-generated): Likewise.
62723         [generic sys/param.h] (before-compile): Do not append to variable.
62724         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62725         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62726         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62727         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62728         include.
62729         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62730         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62731         [generic sys/param.h] ($(addprefix
62732         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62733         [generic sys/param.h] (common-generated): Do not append to
62734         variable.
62735         [generic sys/param.h] (sysdep_headers): Likewise.
62736         [generic bits/errno.h] (before-compile): Do not append to
62737         variable.
62738         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62739         rule.
62740         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62741         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62742         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62743         [generic bits/errno.h] (common-generated): Do not append to
62744         variable.
62745         [generic bits/ioctls.h] (before-compile): Do not append to
62746         variable.
62747         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62748         rule.
62749         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62750         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62751         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62752         rule.
62753         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62754         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62755         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62756         [generic bits/ioctls.h] (common-generated): Do not append to
62757         variable.
62758         [generic sys/syscall.h] (syscall.h): Remove variable.
62759         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62760         rule.
62761         [generic sys/syscall.h] (before-compile): Do not append to
62762         variable.
62763         [generic sys/syscall.h] (common-generated): Likewise.
62764         * sysdeps/unix/errnos-tmpl.c: Remove file.
62765         * sysdeps/unix/errnos.awk: Likewise.
62766         * sysdeps/unix/ioctls-tmpl.c: Likewise.
62767         * sysdeps/unix/ioctls.awk: Likewise.
62768         * sysdeps/unix/mk-local_lim.c: Likewise.
62769         * sysdeps/unix/snarf-ioctls: Likewise.
62771 2012-03-19  Richard Henderson  <rth@twiddle.net>
62773         * sysdeps/i386/fpu/fenv_private.h: New file.
62774         * sysdeps/i386/fpu/math_private.h: Use it.
62775         (math_opt_barrier, math_force_eval): Remove.
62776         (libc_feholdexcept_setround_53bit): Remove.
62777         (libc_feupdateenv_53bit): Remove.
62778         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62779         (math_opt_barrier, math_force_eval): Remove.
62780         (libc_feholdexcept): Remove.
62781         (libc_feholdexcept_setround): Remove.
62782         (libc_fetestexcept, libc_fesetenv): Remove.
62783         (libc_feupdateenv_test): Remove.
62784         (libc_feupdateenv, libc_feholdsetround): Remove.
62785         (libc_feresetround): Remove.
62787         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62788         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62790         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62791         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62792         (libc_feupdateenv_testl): New.
62793         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62794         (libc_feupdateenv_testf): New.
62795         (libc_feupdateenv): Use libc_feupdateenv_test.
62796         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62797         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62799         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62800         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62801         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62802         (libc_feresetround_noex): New.
62803         (libc_feresetround_noexf): New.
62804         (libc_feresetround_noexl): New.
62805         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62806         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62807         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62808         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62809         SET_RESTORE_ROUND.
62810         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62811         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62812         (__cos): Likewise.
62813         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62814         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62815         SET_RESTORE_ROUND_NOEX.
62816         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62817         SET_RESTORE_ROUND_NOEXF.
62818         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62819         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62820         (libc_feholdsetroundf): New.
62821         (libc_feresetround, libc_feresetroundf): New.
62823         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62824         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62825         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62827         * sysdeps/generic/math_private.h: Include <fenv.h>.
62828         (default_libc_feholdexcept): New.
62829         (default_libc_feholdexcept_setround): New.
62830         (default_libc_fesetenv, default_libc_feupdateenv): New.
62831         (libc_feholdexcept): Only define if undefined.
62832         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62833         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62834         (libc_feholdexcept_setroundl): Likewise.
62835         (libc_feholdexcept_setround_53bit): Likewise.
62836         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62837         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62838         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62839         (libc_feupdateenv_53bit): Likewise.
62840         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62841         (libc_feholdexcept): Convert from macro to inline function.
62842         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62843         (libc_fesetenv, libc_feupdateenv): Likewise.
62845         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62846         not previously defined.
62847         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62848         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62849         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62850         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62851         * sysdeps/ieee754/flt-32/math_private.h: New file.
62852         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62853         math_private.h below SET_FLOAT_WORD.
62854         (__isnan, __isinf_ns, __finite): Remove.
62855         (__isnanf, __isinf_nsf, __finitef): Remove.
62857 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
62859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62861 2012-03-17  David S. Miller  <davem@davemloft.net>
62863         [BZ #6471]
62864         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62865         for 2.16.
62867 2012-03-16  David S. Miller  <davem@davemloft.net>
62869         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62870         warnings.
62872         [BZ #6471]
62873         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62874         properly.
62875         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62876         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62877         sysdep_routines when subdir is sysvipc.
62878         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62879         __getshmlba helper.
62881         * sysdeps/sparc/fpu/libm-test/ulps: Update.
62883 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62885         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62886         [__LP64__].
62888 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62890         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62891         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62892         (__lround): Renamed to ...
62893         (__llround): This.  Replace long int with long long int.
62894         Define lround functions as aliases of llround functions.
62895         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62897 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62899         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62900         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
62901         adresses to uintptr_t.  Replace "long int" and "unsigned long
62902         int" with "greg_t" on va_arg.
62904 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62906         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62907         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62909         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62910         Move e_machine check before EI_CLASS check.  Handle x32
62911         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62912         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62913         SKIP_EM_IA_64 and include
62914         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62916         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62917         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62918         (add_system_dir): New macro.
62920         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62921         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62923 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62925         [BZ #2551]
62926         [BZ #2552]
62927         [BZ #2553]
62928         [BZ #2554]
62929         [BZ #2562]
62930         [BZ #2563]
62931         [BZ #2565]
62932         [BZ #2566]
62933         [BZ #2576]
62934         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62935         (y0): Likewise.
62936         * math/w_j0f.c (j0f): Likewise.
62937         (y0f): Likewise.
62938         * math/w_j0l.c (__j0l): Likewise.
62939         (__y0l): Likewise.
62940         * math/w_j1.c (j1): Likewise.
62941         (y1): Likewise.
62942         * math/w_j1f.c (j1f): Likewise.
62943         (y1f): Likewise.
62944         * math/w_j1l.c (__j1l): Likewise.
62945         (__y1l): Likewise.
62946         * math/w_jn.c (jn): Likewise.
62947         (yn): Likewise.
62948         * math/w_jnf.c (jnf): Likewise.
62949         (ynf): Likewise.
62950         * math/w_jnl.c (__jnl): Likewise.
62951         (__ynl): Likewise.
62952         * math/libm-test.inc (j0_test): Add more tests.
62953         (j1_test): Likewise.
62954         (jn_test): Likewise.  Add trailing semicolon to existing test.
62955         (y0_test): Likewise.
62956         (y1_test): Likewise.
62957         * sysdeps/i386/fpu/libm-test-ulps: Update.
62958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62960         [BZ #13851]
62961         [BZ #13854]
62962         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62963         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62964         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62965         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62966         (__tanl): Set errno for infinite argument.
62967         * sysdeps/i386/fpu/mptan.c: Remove.
62968         * sysdeps/i386/fpu/s_tan.S: Likewise.
62969         * sysdeps/i386/fpu/s_tanl.S: Likewise.
62970         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62971         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62972         * math/libm-test.inc (tan_test): Add more tests and enable more
62973         tests for double and long double.
62974         * sysdeps/i386/fpu/libm-test-ulps: Update.
62975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62977 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
62979         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62980         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62982 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62984         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62985         * configure.in: Use it for both main tree and add-ons.
62986         * configure: Regenerated.
62988 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62990         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62992 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62994         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62995         in comment.
62997         [BZ #13851]
62998         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62999         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63000         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63001         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63002         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63003         infinite argument.
63004         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63005         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63006         != 0 for prec == 2.
63007         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63008         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63009         * sysdeps/i386/fpu/s_cosl.S: Likewise.
63010         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63011         * sysdeps/i386/fpu/s_sinl.S: Likewise.
63012         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63013         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63014         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63015         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63016         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63017         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63018         * math/libm-test.inc (cos_test): Add more tests and enable more
63019         tests for long double.
63020         (sin_test): Likewise.
63021         (sincos_test): Likewise.
63022         * sysdeps/i386/fpu/libm-test-ulps: Update.
63023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63025 2012-03-16  David S. Miller  <davem@davemloft.net>
63027         * sysdeps/sparc/fpu/math_private.h: New file.
63029 2012-03-15  David S. Miller  <davem@davemloft.net>
63031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63032         file.
63033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63035         file.
63036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63040         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63041         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63042         sysdep routines.
63043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63045         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63046         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63048         * sysdeps/sparc/sparc-ifunc.h: New file.
63049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63050         sparc-ifunc.h
63051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63053         Likewise.
63054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63055         Likewise.
63056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63060         Likewise.
63061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63066         Likewise.
63067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63068         Likewise.
63069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63073         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63074         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63075         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63076         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63081         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63082         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63083         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63084         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63085         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63086         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63087         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63088         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63089         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63090         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63091         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63092         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63094 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63096         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63097         scaling.
63098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63100 2012-03-15  Andreas Jaeger  <aj@suse.de>
63102         [BZ #13852]
63103         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63104         ieee754/flt-32 implementation for sin, cos and sincos.
63105         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63106         * sysdeps/i386/fpu/s_cosf.S: Likewise.
63107         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63108         * sysdeps/i386/fpu/s_sinf.S: Likewise.
63109         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63110         ieee754/flt-32 implementation for tan.
63112         * math/libm-test.inc (cos_test): Enable some large input tests for
63113         float as well
63114         (sin_test): Likewise.
63115         (sincos_test): Likewise.
63116         (tan_test): Add tests for large input.
63118         * sysdeps/i386/fpu/libm-test-ulps: Update.
63120 2012-03-15  Andreas Jaeger  <aj@suse.de>
63122         [BZ #13658]
63123         * math/libm-test.inc (cos_test): Add more test cases.
63124         (sin_test): Likewise.
63125         (sincos_test): Likewise.
63127 2012-03-15  Andreas Jaeger  <aj@suse.de>
63129         [BZ #13837]
63130         * math/libm-test.inc (cos_test): Add a test case for large input
63131         value.
63132         (sin_test): Likewise.
63133         (sincos_test): Likewise.
63135 2012-03-15  Andreas Jaeger  <aj@suse.de>
63136             Joseph Myers  <joseph@codesourcery.com>
63138         [BZ #13658]
63139         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63140         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63141         * sysdeps/i386/fpu/branred.c: Likewise.
63142         * sysdeps/i386/fpu/dosincos.c: Likewise.
63143         * sysdeps/i386/fpu/mpa.c: Likewise.
63144         * sysdeps/i386/fpu/s_cos.S: Likewise.
63145         * sysdeps/i386/fpu/s_sin.S: Likewise.
63146         * sysdeps/i386/fpu/s_sincos.S: Likewise.
63147         * sysdeps/i386/fpu/sincos32.c: Likewise.
63149         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63150         Define.
63151         (libc_feupdateenv_53bit): Define.
63152         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63153         Define.
63154         (libc_feupdateenv_53bit): Define.
63156         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63157         53 bit (without extend i386 double precision).
63159         * math/libm-test.inc (sincos_test): Add tests for large input.
63160         (sin): Likewise.
63161         (cos): Likewise.
63163         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63165 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63169 2012-03-15  David S. Miller  <davem@davemloft.net>
63171         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63172         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63173         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63174         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63183         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63184         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63185         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63187         file.
63188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63190         file.
63191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63193         file.
63194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63196         file.
63197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63198         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63199         fmin/fmax sysdep routines.
63200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63202 2012-03-14  David S. Miller  <davem@davemloft.net>
63204         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63205         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63206         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63208         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63209         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63210         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63211         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63212         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63213         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63214         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63215         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63216         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63217         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63218         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63219         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63220         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63221         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63222         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63223         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63224         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63225         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63226         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63227         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63228         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63229         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63230         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63231         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63232         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63233         routines.
63234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63235         file.
63236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63238         file.
63239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63241         file.
63242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63244         file.
63245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63247         file.
63248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63250         file.
63251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63252         file.
63253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63254         file.
63255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63256         file.
63257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63258         New file.
63259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63260         file.
63261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63262         file.
63263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63265         file.
63266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63268         file.
63269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63271         file.
63272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63274         VIS3 routines.
63276         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63277         New file.
63279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63281         * sysdeps/sparc/configure.in: New file.
63282         * sysdeps/sparc/configure: Generate.
63283         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63284         * configure: Regenerate.
63285         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63286         * config.make.in (have-as-vis3): New.
63287         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63288         available use -Av9d instead of -Av9a.
63289         * sysdeps/sparc/sparc64/Makefile: Likewise.
63290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63292         New file.
63293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63294         file.
63295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63296         New file.
63297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63298         file.
63299         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63300         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63301         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63302         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63303         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63305         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63306         fzeros/fnegs to load 0x80000000 into a float register instead of
63307         using the stack.
63308         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63310 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63312         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63313         bits/syscall.h.
63314         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63315         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63316         ($(inst_includedir)/bits/syscall.h): Remove rule.
63317         ($(objpfx)bits/syscall.d): Include instead of
63318         $(objpfx)syscall-list.d.
63319         (generated): Change syscall-list.h and syscall-list.d to
63320         bits/syscall.h and bits/syscall.d.
63322 2012-03-14  Roland McGrath  <roland@hack.frob.com>
63324         [BZ #13846]
63325         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63327 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63329         [BZ #13841]
63330         * math/s_csqrt.c: Include <float.h>.
63331         (__csqrt): Scale large or subnormal inputs.
63332         * math/s_csqrtf.c: Likewise.
63333         * math/s_csqrtl.c: Likewise.
63334         * math/libm-test.inc (csqrt_test): Add more tests.
63335         * sysdeps/i386/fpu/libm-test-ulps: Update.
63336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63338         [BZ #13840]
63339         * math/libm-test.inc (hypot_test): Add more tests.
63341 2012-03-13  David S. Miller  <davem@davemloft.net>
63343         [BZ #13840]
63344         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63345         double-precision for the calculation instead of scaling.
63347 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
63349         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63350         manipulate bits before adding and subtracting TWO52[sx].
63351         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63352         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63353         Likewise.
63354         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63356 2012-03-13  David S. Miller  <davem@davemloft.net>
63358         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63359         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63360         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63361         rtld-global-offsets.h
63362         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63364         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63365         large parameters.
63367         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63369         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63370         'err' in the ifdef scope in which it is actually used.
63372         * nss/nss_db/db-init.c: Include string.h
63374 2012-03-12  David S. Miller  <davem@davemloft.net>
63376         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63377         masking out of the most significant byte of random value used.
63378         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63379         Fix coding style in previous change.
63381         * sysdeps/unix/sysv/linux/kernel-features.h
63382         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63383         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63384         expression.
63385         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63386         later.
63388 2012-03-11  David S. Miller  <davem@davemloft.net>
63390         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63391         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63392         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63393         for 'resultvar' otherwise things get truncated on 64-bit.
63395         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63396         Fix masking out of the most significant byte of random value used.
63398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63400 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63404 2012-03-09  David S. Miller  <davem@davemloft.net>
63406         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63407         variables with appropriate CPP guards.
63408         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63409         from the frame pointer, not the stack pointer.  Correct layout
63410         comments.  Fix test on resulting framesize and the management of
63411         the outregs buffer for pltexit.  Preserve floating point return
63412         values across _dl_call_pltexit call.
63413         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63414         framesize and the management of the outregs buffer for pltexit.
63415         Preserve floating point return values across _dl_call_pltexit
63416         call.
63417         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63418         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63419         (la_sparc64_gnu_pltexit): New functions.
63420         (print_exit): Fix format string for return register value.
63422 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63424         * sunrpc/Makefile (others): Add rpcgen.
63425         ($(objpfx)rpcgen): Remove special build rule and dependency on
63426         libc.
63427         * sunrpc/rpcgen.c: New file.
63429 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63431         [BZ #13673]
63432         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63433         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63434         * sysdeps/i386/crti.S: Likewise.
63435         * sysdeps/i386/crtn.S: Likewise.
63436         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63437         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63438         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63439         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63440         * sysdeps/sh/crti.S: Likewise.
63441         * sysdeps/sh/crtn.S: Likewise.
63442         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63444         [BZ #13673]
63445         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63446         with URL.
63447         * locale/programs/locfile-kw.gperf: Likewise.
63448         * locale/programs/charmap-kw.h: Regenerated.
63449         * locale/programs/locfile-kw.h: Likewise.
63451         [BZ #13673]
63452         * intl/plural.y: Replace FSF snail mail address with URL.
63453         * intl/plural.c: Regenerated.
63455 2012-03-09  Richard Henderson  <rth@twiddle.net>
63457         * include/math_private.h: Remove file.
63458         * math/math_private.h: Move file ...
63459         * sysdeps/generic/math_private.h: ... here.
63461         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63462         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63463         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63465         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63466         and <math_private.h>.
63467         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63468         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63469         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63470         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63471         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63472         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63473         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63474         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63475         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63476         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63477         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63478         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63479         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63480         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63481         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63482         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63483         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63484         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63485         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63486         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63487         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63488         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63489         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63490         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63491         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63492         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63493         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63494         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63495         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63496         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63497         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63498         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63499         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63500         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63501         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63502         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63503         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63504         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63505         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63506         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63507         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63508         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63509         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63510         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63511         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63512         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63513         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63514         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63515         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63516         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63517         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63518         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63519         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63520         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63521         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63522         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63523         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63524         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63525         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63526         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63527         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63528         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63529         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63530         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63531         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63532         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63533         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63534         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63535         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63536         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63537         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63538         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63539         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63540         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63541         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63542         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63543         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63544         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63545         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63546         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63547         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63548         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63549         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63550         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63551         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63552         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63553         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63554         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63555         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63556         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63557         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63558         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63559         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63560         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63561         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63562         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63563         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63564         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63565         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63566         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63567         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63568         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63569         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63570         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63571         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63572         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63573         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63574         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63575         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63576         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63577         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63578         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63579         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63580         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63581         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63582         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63583         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63584         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63585         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63586         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63587         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63588         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63589         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63590         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63591         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63592         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63593         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63594         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63595         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63596         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63597         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63598         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63599         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63600         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63601         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63602         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63603         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63604         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63605         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63606         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63607         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63608         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63609         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63610         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63611         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63612         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63613         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63614         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63615         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63616         * sysdeps/ieee754/k_standard.c: Likewise.
63617         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63618         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63619         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63620         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63621         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63622         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63623         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63624         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63625         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63626         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63627         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63628         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63629         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63630         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63631         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63632         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63633         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63634         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63635         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63636         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63637         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63638         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63639         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63640         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63641         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63642         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63643         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63644         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63645         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63646         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63647         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63648         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63649         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63650         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63651         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63652         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63653         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63654         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63655         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63656         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63657         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63658         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63659         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63660         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63661         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63662         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63663         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63664         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63665         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63666         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63667         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63668         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63669         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63670         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63671         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63672         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63673         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63674         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63675         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63676         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63677         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63678         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63679         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63680         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63681         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63682         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63683         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63684         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63685         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63686         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63687         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63688         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63689         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63690         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63691         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63692         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63693         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63694         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63695         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63696         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63697         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63698         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63699         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63700         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63701         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63702         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63703         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63704         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63705         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63706         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63707         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63708         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63709         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63710         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63711         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63712         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63713         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63714         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63715         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63716         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63717         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63718         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63719         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63720         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63721         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63722         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63723         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63724         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63725         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63726         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63727         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63728         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63729         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63730         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63731         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63732         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63733         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63734         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63735         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63736         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63737         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63738         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63739         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63740         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63741         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63742         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63743         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63744         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63745         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63746         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63747         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63748         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63749         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63750         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63751         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63752         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63753         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63754         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63755         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63756         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63757         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63758         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63759         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63760         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63761         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63762         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63763         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63764         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63765         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63766         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63767         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63768         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63769         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63770         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63771         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63772         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63773         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63774         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63775         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63776         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63777         * sysdeps/ieee754/s_lib_version.c: Likewise.
63778         * sysdeps/ieee754/s_matherr.c: Likewise.
63779         * sysdeps/ieee754/s_signgam.c: Likewise.
63780         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63781         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63782         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63783         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63784         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63785         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63786         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63787         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63788         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63789         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63790         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63791         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63792         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63793         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63794         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63795         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63796         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63797         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63798         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63799         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63800         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63802 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63804         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63805         * sunrpc/rpc_main.c: Likewise.
63806         * sunrpc/rpc_svcout.c: Likewise.
63808 2012-03-09  David S. Miller  <davem@davemloft.net>
63810         * include/math_private.h: New file.
63812 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63814         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63815         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63816         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63817         from <bits/socket_type.h>.
63818         (enum __socket_type): Don't define here.
63819         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63821         bits/socket_type.h.
63823         [BZ #13566]
63824         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63825         checking __USE_GNU.
63827         * Makerules ($(inst_includedir)/%.h): New rule.
63828         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63829         (install-others): Remove variable setting.
63830         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63832 2012-03-08  Richard Henderson  <rth@twiddle.net>
63834         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63835         from macro to inline function; merge with the
63836         !__LIBC_INTERNAL_MATH_INLINES version.
63837         (__ieee754_sqrtf): Likewise.
63839         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63840         to inline function.
63841         (__rintf, __floor, __floorf): Likewise.
63843         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63844         macro to inline function.
63845         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63847         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63848         not <math/math_private.h>.
63850 2012-03-08  David S. Miller  <davem@davemloft.net>
63852         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63853         copyright year.
63854         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63856 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
63858         * resolv/gai_misc.c (handle_requests): Fix struct timespec
63859         normalization.
63860         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63861         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63863 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
63865         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
63866         be defined individually, they must be defined as a block.  Define
63867         S for printing a string instead of hidint the different by using a
63868         macro for adding the 'l'.
63869         * stdio-common/tst-fphex-wide.c: Adjust.
63871 2012-03-07  Marek Polacek  <polacek@redhat.com>
63873         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63875 2012-03-08  Marek Polacek  <polacek@redhat.com>
63877         [BZ #13806]
63878         * stdio-common/Makefile (tests): Add tst-fphex-wide.
63879         * stdio-common/tst-fphex.c: Define a few macros to make the
63880         test reusable.  Use them.
63881         * stdio-common/tst-fphex-wide.c: New file.
63883 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
63885         [BZ #6911]
63886         * manual/macros.texi (gnusystems): New macro.
63887         (nongnusystems): Likewise.
63888         (gnulinuxhurdsystems): Likewise.
63889         (gnuhurdsystems): Likewise..
63890         (gnulinuxsystems): Likewise.
63891         * manual/charset.texi: Use new macros or @theglibc{} to refer to
63892         variants of the GNU system, not "GNU system".
63893         * manual/conf.texi: Likewise.
63894         * manual/errno.texi: Likewise.  Update example of errno macro
63895         expansion.
63896         * manual/filesys.texi: Likewise.
63897         (getumask): Document as specific to GNU/Hurd.
63898         * manual/install.texi: Likewise.  Reword some references to
63899         GNU/Linux.
63900         * manual/intro.texi: Likewise.
63901         * manual/io.texi: Likewise.
63902         (File Name Portability): Detail which constraints are inapplicable
63903         to all GNU systems and which are only inapplicable to GNU/Hurd.
63904         * manual/job.texi: Likewise.
63905         * manual/llio.texi: Likewise.
63906         (O_NOCTTY): Document as present on GNU/Linux.
63907         * manual/maint.texi: Likewise.
63908         * manual/memory.texi: Likewise.
63909         * manual/pattern.texi: Likewise.
63910         * manual/pipe.texi: Likewise.
63911         * manual/process.texi: Likewise.
63912         * manual/resource.texi: Likewise.
63913         (RUSAGE_CHILDREN): Remove statement about specifying a particular
63914         child on GNU/Hurd.
63915         * manual/setjmp.texi: Likewise.
63916         * manual/signal.texi: Likewise.
63917         * manual/startup.texi: Likewise.
63918         * manual/stdio.texi: Likewise.
63919         * manual/terminal.texi: Likewise.
63920         (ONLCR): Document as POSIX.
63921         (OXTABS): Document availability on GNU/Linux as XTABS.
63922         (ONOEOT): Document availability separately from other bits.
63923         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63924         * manual/time.texi: Likewise.
63925         * manual/users.texi: Likewise.
63926         * INSTALL: Regenerated.
63927         * sysdeps/gnu/errlist.c: Regenerated.
63929         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63930         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63931         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
63932         puts.
63933         * configure: Regenerated.
63935 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
63937         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63938         default includes instead of AC_HEADER_CHECK.
63939         * sysdeps/i386/configure: Regenerated.
63941         [BZ #10716]
63942         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63943         * math/s_cacoshf.c (__cacoshf): Likewise.
63944         * math/s_cacoshl.c (__cacoshl): Likewise.
63945         * math/s_casinh.c (__casinh): Set signs of result from argument.
63946         * math/s_casinhf.c (__casinhf): Likewise.
63947         * math/s_casinhl.c (__casinhl): Likewise.
63948         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63949         (casinh_test): Add more tests.
63950         * sysdeps/i386/fpu/libm-test-ulps: Update.
63951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63953 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
63955         * po/zh_TW.po: Update from translation team.
63957         * login/Makefile (distribute): Remove variable.
63958         * catgets/Makefile: Likewise.
63959         * mach/Makefile: Likewise.
63960         * malloc/Makefile: Likewise.
63961         * misc/Makefile: Likewise.
63962         * iconv/Makefile: Likewise.
63963         * nscd/Makefile: Likewise.
63964         * hurd/Makefile: Likewise.
63965         * manual/Makefile: Likewise.
63966         * locale/Makefile: Likewise.
63967         * intl/Makefile: Likewise.
63968         * conform/Makefile: Likewise.
63969         * nss/Makefile: Likewise.
63970         * time/Makefile: Likewise.
63971         * soft-fp/Makefile: Likewise.
63972         * dirent/Makefile: Likewise.
63973         * gmon/Makefile: Likewise.
63974         * po/Makefile: Likewise.
63975         * rt/Makefile: Likewise.
63976         * socket/Makefile: Likewise.
63977         * math/Makefile: Likewise.
63978         * signal/Makefile: Likewise.
63979         * debug/Makefile: Likewise.
63980         * elf/Makefile: Likewise.
63981         * timezone/Makefile: Likewise.
63982         * stdlib/Makefile: Likewise.
63983         * iconvdata/Makefile: Likewise.
63984         * sunrpc/Makefile: Likewise.
63985         * io/Makefile: Likewise.
63986         * argp/Makefile: Likewise.
63987         * inet/Makefile: Likewise.
63988         * hesiod/Makefile: Likewise.
63989         * grp/Makefile: Likewise.
63990         * csu/Makefile: Likewise.
63991         * wctype/Makefile: Likewise.
63992         * crypt/Makefile: Likewise.
63993         * libio/Makefile: Likewise.
63994         * string/Makefile: Likewise.
63995         * nis/Makefile: Likewise.
63996         * resolv/Makefile: Likewise.
63997         * stdio-common/Makefile: Likewise.
63998         * wcsmbs/Makefile: Likewise.
63999         * dlfcn/Makefile: Likewise.
64000         * posix/Makefile: Likewise.
64002         [BZ #6959]
64003         * timezone/Makefile: Don't install timezone files, just the programs
64004         and scripts.
64006 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
64008         * nss/databases.def: Add missing gshadow entry.
64010         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
64012 2012-03-06  Marek Polacek  <polacek@redhat.com>
64014         [BZ #13726]
64015         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64016         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64017         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64018         * stdio-common/tst-long-dbl-fphex.c: New file.
64020 2012-03-06  David S. Miller  <davem@davemloft.net>
64022         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64023         (set_obp_int): New function.
64024         (get_obp_int): New function.
64025         (__get_clockfreq_via_dev_openprom): Likewise.
64026         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64027         Avoid unused variable warnings on 'val' and use builtin_expect.
64028         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64029         __builtin_expect.
64030         (INLINE_CLONE_SYSCALL): Likewise.
64032 2012-03-05  David S. Miller  <davem@davemloft.net>
64034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64036 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64040         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64041         only for |x| >= 40.
64042         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64044 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
64046         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64047         Replace gettimeofday with __vdso_gettimeofday.
64049         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64050         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64051         __vdso_clock_gettime and __vdso_getcpu.
64053         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64054         time with __vdso_time.
64056 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64058         * manual/lang.texi (size_t): Note types to which size_t may be
64059         equivalent with the GNU C Library, but do not describe when
64060         differences between them are significant.
64062 2012-03-05  Andreas Jaeger  <aj@suse.de>
64064         * sysdeps/i386/fpu/libm-test-ulps: Update.
64066 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64068         [BZ #3976]
64069         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64070         (__ieee754_pow): Save and restore rounding mode and use
64071         round-to-nearest for main computations.
64072         * math/libm-test.inc (pow_test_tonearest): New function.
64073         (pow_test_towardzero): Likewise.
64074         (pow_test_downward): Likewise.
64075         (pow_test_upward): Likewise.
64076         (main): Call the new functions.
64077         * sysdeps/i386/fpu/libm-test-ulps: Update.
64078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64080         [BZ #3976]
64081         * math/libm-test.inc (cosh_test_tonearest): New function.
64082         (cosh_test_towardzero): Likewise.
64083         (cosh_test_downward): Likewise.
64084         (cosh_test_upward): Likewise.
64085         (sinh_test_tonearest): Likewise.
64086         (sinh_test_towardzero): Likewise.
64087         (sinh_test_downward): Likewise.
64088         (sinh_test_upward): Likewise.
64089         (main): Call the new functions.
64090         * sysdeps/i386/fpu/libm-test-ulps: Update.
64091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64093 2012-03-05  Tom de Vries  <tom@codesourcery.com>
64095         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64096         default stack guard is set in last bytes.
64097         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64099 2012-03-05  Kees Cook  <keescook@chromium.org>
64101         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64103         [BZ #13656]
64104         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64105         possibly allocate from heap instead of stack.
64106         * stdio-common/bug-vfprintf-nargs.c: New file.
64107         * stdio-common/Makefile (tests): Add nargs overflow test.
64109 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
64111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64113 2012-03-03  Marek Polacek  <polacek@redhat.com>
64115         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64116         * math/math_private.h: Likewise.
64117         * stdlib/tst-strtod.c: Likewise.
64118         * sysdeps/i386/i486/bits/atomic.h: Likewise.
64119         * sysdeps/x86_64/bits/atomic.h: Likewise.
64121 2012-03-02  David S. Miller  <davem@davemloft.net>
64123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64127         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64128         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64129         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64130         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64132 2012-03-02  Roland McGrath  <roland@hack.frob.com>
64134         [BZ #13792]
64135         * manual/examples/README: New file, says the example source files
64136         can be used under GPL>=2.
64137         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64138         line containing just "*/".
64139         * manual/examples/add.c: Add copyright header (GPL>=2).
64140         * manual/examples/argp-ex1.c: Likewise.
64141         * manual/examples/argp-ex2.c: Likewise.
64142         * manual/examples/argp-ex3.c: Likewise.
64143         * manual/examples/argp-ex4.c: Likewise.
64144         * manual/examples/atexit.c: Likewise.
64145         * manual/examples/db.c: Likewise.
64146         * manual/examples/dir.c: Likewise.
64147         * manual/examples/dir2.c: Likewise.
64148         * manual/examples/execinfo.c: Likewise.
64149         * manual/examples/filecli.c: Likewise.
64150         * manual/examples/filesrv.c: Likewise.
64151         * manual/examples/fmtmsgexpl.c: Likewise.
64152         * manual/examples/genpass.c: Likewise.
64153         * manual/examples/inetcli.c: Likewise.
64154         * manual/examples/inetsrv.c: Likewise.
64155         * manual/examples/isockad.c: Likewise.
64156         * manual/examples/longopt.c: Likewise.
64157         * manual/examples/memopen.c: Likewise.
64158         * manual/examples/memstrm.c: Likewise.
64159         * manual/examples/mkfsock.c: Likewise.
64160         * manual/examples/mkisock.c: Likewise.
64161         * manual/examples/mygetpass.c: Likewise.
64162         * manual/examples/pipe.c: Likewise.
64163         * manual/examples/popen.c: Likewise.
64164         * manual/examples/rprintf.c: Likewise.
64165         * manual/examples/search.c: Likewise.
64166         * manual/examples/select.c: Likewise.
64167         * manual/examples/setjmp.c: Likewise.
64168         * manual/examples/sigh1.c: Likewise.
64169         * manual/examples/sigusr.c: Likewise.
64170         * manual/examples/stpcpy.c: Likewise.
64171         * manual/examples/strdupa.c: Likewise.
64172         * manual/examples/strftim.c: Likewise.
64173         * manual/examples/strncat.c: Likewise.
64174         * manual/examples/subopt.c: Likewise.
64175         * manual/examples/swapcontext.c: Likewise.
64176         * manual/examples/termios.c: Likewise.
64177         * manual/examples/testopt.c: Likewise.
64178         * manual/examples/testpass.c: Likewise.
64179         * manual/examples/timeval_subtract.c: Likewise.
64181         [BZ #13792]
64182         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64183         function to ...
64184         * manual/timeval_subtract.c.texi: ... here, new file.
64186 2012-03-02  David S. Miller  <davem@davemloft.net>
64188         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64190 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64192         [BZ #3976]
64193         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64194         (__sin): Save and restore rounding mode and use round-to-nearest
64195         for all computations.
64196         (__cos): Save and restore rounding mode and use round-to-nearest
64197         for all computations.
64198         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64199         <fenv.h>.
64200         (tan): Save and restore rounding mode and use round-to-nearest for
64201         all computations.
64202         * math/libm-test.inc (cos_test_tonearest): New function.
64203         (cos_test_towardzero): Likewise.
64204         (cos_test_downward): Likewise.
64205         (cos_test_upward): Likewise.
64206         (sin_test_tonearest): Likewise.
64207         (sin_test_towardzero): Likewise.
64208         (sin_test_downward): Likewise.
64209         (sin_test_upward): Likewise.
64210         (tan_test_tonearest): Likewise.
64211         (tan_test_towardzero): Likewise.
64212         (tan_test_downward): Likewise.
64213         (tan_test_upward): Likewise.
64214         (main): Call the new functions.
64215         * sysdeps/i386/fpu/libm-test-ulps: Update.
64216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64218         [BZ #10135]
64219         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64220         small n, then large n, before computing and testing k+n.
64221         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64222         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64223         Likewise.
64224         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64225         Likewise.
64226         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64227         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64228         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64229         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64230         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64231         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64232         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64233         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64234         * math/libm-test.inc (scalbn_test): Add more tests.
64235         (scalbln_test): Likewise.
64237         * manual/filesys.texi (mode_t): Describe constraints on size and
64238         signedness, not exact equivalence to a particular type.
64239         (ino_t): Likewise.
64240         (ino64_t): Likewise.
64241         (dev_t): Likewise.
64242         (nlink_t): Likewise.
64243         (blkcnt_t): Likewise.
64244         (blkcnt64_t): Likewise.
64245         * manual/llio.texi (off_t): Likewise.
64247         [BZ #3976]
64248         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64249         (__ieee754_exp): Save and restore rounding mode and use
64250         round-to-nearest for all computations.
64251         * math/libm-test.inc (exp_test_tonearest): New function.
64252         (exp_test_towardzero): Likewise.
64253         (exp_test_downward): Likewise.
64254         (exp_test_upward): Likewise.
64255         (main): Call the new functions.
64256         * sysdeps/i386/fpu/libm-test-ulps: Update.
64257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64259 2012-03-01  Chris Demetriou  <cgd@google.com>
64261         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64262         have predictable order.
64264 2012-03-01  David S. Miller  <davem@davemloft.net>
64266         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64268         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64269         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64270         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64271         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64273         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64274         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64275         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64277         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64278         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64279         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64280         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64281         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64285         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64286         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64287         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64289         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64290         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64291         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64292         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64293         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64294         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64295         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64296         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64297         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64298         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64299         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64300         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64301         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64302         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64303         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64304         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64305         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64306         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64307         * sysdeps/sparc/elf/configure: Regenerated.
64309 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
64311         * configure.in (AS, LD): Require binutils 2.20 or later.
64312         * configure: Regenerated.
64313         * manual/install.texi (Tools for Compilation): Give binutils 2.20
64314         as required minimum version.
64315         * INSTALL: Regenerated.
64317         [BZ #2541]
64318         [BZ #4108]
64319         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64320         before squaring exponent.
64321         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64322         bottom long double and 27 bits of top long double before squaring
64323         exponent.
64324         * math/libm-test.inc (erfc_test): Add more tests.
64325         * sysdeps/i386/fpu/libm-test-ulps: Update.
64326         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64329 2012-03-01  Kai Tietz  <ktietz@redhat.com>
64331         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64332         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64333         containing bit-fields.
64334         * soft-fp/extended.h (_FP_UNION_E): Likewise.
64335         * soft-fp/single.h (_FP_UNION_S): Likewise.
64336         * soft-fp/double.h (_FP_UNION_D): Likewise.
64338 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64340         [BZ #13786]
64341         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64342         not include ../strcmp.S.
64343         [USE_AS_STRNCASECMP_L]: Likewise.
64344         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64345         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64346         * sysdeps/i386/i686/multiarch/strncase_l-c.c
64347         (__strncasecmp_l_ia32): Define as alias to
64348         __strncasecmp_l_nonascii.
64350         [BZ #5794]
64351         * math/libm-test.inc (expm1_test): Add test for bug 5794.
64352         * sysdeps/i386/fpu/libm-test-ulps: Update.
64353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64355         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64358 2012-02-29  Jeff Law  <law@redhat.com>
64360         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64361         out of bounds read.
64363 2012-02-29  Marek Polacek  <polacek@redhat.com>
64365         [BZ #13706]
64366         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64367         * elf/Makefile: Add rules to run tst-unused-dep.out.
64369 2012-02-28  David S. Miller  <davem@davemloft.net>
64371         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64372         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64373         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64374         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64375         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64376         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64378 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64380         * math/libm-test.inc (llround_test): Move one test from
64381         lround_test.  Use TEST_f_L in moved test.
64382         (lround_test): Move misplaced test to llround_test.  Add testcase
64383         from bug 2561.
64385 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64387         * sysdeps/x86_64/fpu/e_expf.S: New file.
64388         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64390 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64392         [BZ #13637]
64393         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64394         of remain_len that may cause incomplete multi-byte character and
64395         false match.
64396         * posix/bug-regex33.c: New file.
64397         * posix/Makefile (tests): Add bug-regex33.
64399 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64401         * manual/macros.texi: New file.
64402         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64403         * manual/libc.texinfo: Include macros.texi.
64404         * manual/creatute.texi: Likewise.
64405         * manual/install.texi: Likewise.
64406         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64407         @glibcadj{} in references to the GNU C Library.
64408         * manual/charset.texi: Likewise.
64409         * manual/conf.texi: Likewise.
64410         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64411         when not using those macros.
64412         * manual/creature.texi: Likewise.
64413         * manual/crypt.texi: Likewise.
64414         * manual/errno.texi: Likewise.
64415         * manual/filesys.texi: Likewise.
64416         * manual/header.texi: Likewise.
64417         * manual/install.texi: Likewise.
64418         * manual/intro.texi: Likewise.
64419         * manual/io.texi: Likewise.
64420         * manual/job.texi: Likewise.
64421         * manual/lang.texi: Likewise.
64422         * manual/libc.texiinfo: Likewise.
64423         * manual/llio.texi: Likewise.
64424         * manual/locale.texi: Likewise.
64425         * manual/maint.texi: Likewise.
64426         * manual/math.texi: Likewise.
64427         * manual/memory.texi: Likewise.
64428         * manual/message.texi: Likewise.
64429         * manual/nss.texi: Likewise.
64430         * manual/pattern.texi: Likewise.
64431         * manual/process.texi: Likewise.
64432         * manual/resource.texi: Likewise.
64433         * manual/search.texi: Likewise.
64434         * manual/setjmp.texi: Likewise.
64435         * manual/signal.texi: Likewise.
64436         * manual/socket.texi: Likewise.
64437         * manual/startup.texi: Likewise.
64438         * manual/stdio.texi: Likewise.
64439         * manual/string.texi: Likewise.
64440         * manual/sysinfo.texi: Likewise.
64441         * manual/syslog.texi: Likewise.
64442         * manual/terminal.texi: Likewise.
64443         * manual/time.texi: Likewise.
64444         * manual/users.texi: Likewise.
64445         * INSTALL: Regenerated.
64446         * NOTES: Regenerated.
64447         * sysdeps/gnu/errlist.c: Regenerated.
64449 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64451         * include/dirent.h: Include <dirstream.h> before
64452         <dirent/dirent.h>.
64454 2012-02-28  David S. Miller  <davem@davemloft.net>
64456         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64457         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64458         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64459         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64461 2012-02-27  David S. Miller  <davem@davemloft.net>
64463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64465         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64466         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64469         frame pointer instead of stack pointer relative arg slot.
64470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64471         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64472         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64474 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64476         [BZ #3992]
64477         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64479 2012-02-27  David S. Miller  <davem@davemloft.net>
64481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64485         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64486         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64487         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64488         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64490 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64492         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64493         later.  Allow versions 5-9.
64494         * configure: Regenerated.
64495         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64496         required minimum version and 4.6 as recommended version.  Do not
64497         mention bugs in GCC 2.7 and 2.8.
64498         * INSTALL: Regenerated.
64500 2012-02-27  David S. Miller  <davem@davemloft.net>
64502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64506         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64507         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64508         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64509         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64511         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64512         manipulate bits before adding and subtracting TWO112[sx].
64513         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64515 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64517         [BZ #13775]
64518         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64519         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64520         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64521         being in POSIX, because they are in 1003.1-2008.
64523         * rt/tst-aio.c: Include <fcntl.h>.
64524         * rt/tst-aio7.c: Likewise.
64525         * rt/tst-aio64.c: Likewise.
64527         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64529 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64531         * manual/install.texi (--with-headers): Describe headers as
64532         interface headers, not private headers.
64533         (Specific advice for GNU/Linux systems): Describe use of headers
64534         from "make headers_install", not private headers from older
64535         kernels.
64536         * INSTALL: Regenerated.
64537         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64538         Change to 2.6.19.
64539         * sysdeps/unix/sysv/linux/configure: Regenerated.
64541         * manual/llio.texi (fclean): Remove documentation.
64543         * manual/Makefile (libc-texi-generated): New variable.  Include
64544         version.texi.
64545         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64546         $(libc-texi-generated), not duplicated list of files.
64547         (version.texi, stamp-version): New rules.
64548         (realclean): Remove $(libc-texi-generated), not individual files
64549         from that list.  Do not remove dir-add.texinfo.
64550         * manual/libc.texinfo: Comment out uses of edition numbers and
64551         references to printed manual.  Remove last-updated dates.
64552         (EDITION): Comment out.
64553         (ISBN): Likewise.
64554         (VERSION, UPDATED): Remove.
64555         (version.texi): Include.
64557 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64559         * sysdeps/posix/spawni.c: Include <signal.h>.
64560         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64561         * sysdeps/pthread/aio_fsync.c: Likewise.
64563 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64565         * conform/Makefile (tests): Run only when not cross-compiling and
64566         when fast-check is not defined.
64568         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64569         * conform/data/limits.h-data: Fixes for POSIX2008.
64570         * conform/run-conformtest.sh: Run all tests.
64571         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64572         headers.
64573         * include/bits/dlfcn.h: Likewise.
64574         * include/langinfo.h: Likewise.
64575         * include/monetary.h: Likewise.
64576         * include/sys/poll.h: Likewise.
64578         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64579         for __USE_GNU.
64580         * posix/spawn.h: Define __need_sigset_t.
64581         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64582         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64583         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64584         to get sigevent_t only.
64585         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64586         only for __USE_GNU.
64587         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64588         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64589         process_vm_writev only for __USE_GNU.
64590         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64592         * conform/Makefile: For now ignore errors from run-conformtest.
64593         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64594         POSIX to avoid namespace pollution.  Don't prepend headers.
64595         * conform/data/aio.h-data: Fixes for POSIX testing.
64596         * conform/data/fcntl.h-data: Likewise.
64597         * conform/data/glob.h-data: Likewise.
64598         * conform/data/grp.h-data: Likewise.
64599         * conform/data/pthread.h-data: Likewise.
64600         * conform/data/pwd.h-data: Likewise.
64601         * conform/data/signal.h-data: Likewise.
64602         * conform/data/spawn.h-data: Likewise.
64603         * conform/data/stdio.h-data: Likewise.
64604         * conform/data/stdlib.h-data: Likewise.
64605         * conform/data/stropts.h-data: Likewise.
64606         * conform/data/sys/mman.h-data: Likewise.
64607         * conform/data/sys/stat.h-data: Likewise.
64608         * conform/data/sys/types.h-data: Likewise.
64609         * conform/data/sys/wait.h-data: Likewise.
64610         * conform/data/time.h-data: Likewise.
64611         * conform/data/unistd.h-data: Likewise.
64612         * conform/data/utime.h-data: Likewise.
64614         * io/sys/stat.h: fchmod was always in POSIX.
64615         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64616         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64617         * rt/aio.h: Define __need_timespec before including <time.h>.
64618         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64619         struct.  Add forward declaration of pthread_attr_t and use it in
64620         sigevent.
64621         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64622         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64623         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64624         always remove CLK_TCK definition.
64626 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64628         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64630 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64632         * conform/run-conformtest.sh: New file.
64633         * conform/Makefile: Run run-conformtest for tests.
64634         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64635         support.
64637         * conform/data/uchar.h-data: New file.
64638         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64639         * conform/data/arpa/inet.h-data: Likewise.
64640         * conform/data/assert.h-data: Likewise.
64641         * conform/data/complex.h-data: Likewise.
64642         * conform/data/cpio.h-data: Likewise.
64643         * conform/data/ctype.h-data: Likewise.
64644         * conform/data/dirent.h-data: Likewise.
64645         * conform/data/dlfcn.h-data: Likewise.
64646         * conform/data/errno.h-data: Likewise.
64647         * conform/data/fcntl.h-data: Likewise.
64648         * conform/data/float.h-data: Likewise.
64649         * conform/data/fmtmsg.h-data: Likewise.
64650         * conform/data/fnmatch.h-data: Likewise.
64651         * conform/data/ftw.h-data: Likewise.
64652         * conform/data/glob.h-data: Likewise.
64653         * conform/data/grp.h-data: Likewise.
64654         * conform/data/iconv.h-data: Likewise.
64655         * conform/data/inttypes.h-data: Likewise.
64656         * conform/data/langinfo.h-data: Likewise.
64657         * conform/data/libgen.h-data: Likewise.
64658         * conform/data/limits.h-data: Likewise.
64659         * conform/data/locale.h-data: Likewise.
64660         * conform/data/math.h-data: Likewise.
64661         * conform/data/monetary.h-data: Likewise.
64662         * conform/data/mqueue.h-data: Likewise.
64663         * conform/data/ndbm.h-data: Likewise.
64664         * conform/data/net/if.h-data: Likewise.
64665         * conform/data/netdb.h-data: Likewise.
64666         * conform/data/netinet/in.h-data: Likewise.
64667         * conform/data/nl_types.h-data: Likewise.
64668         * conform/data/poll.h-data: Likewise.
64669         * conform/data/pthread.h-data: Likewise.
64670         * conform/data/pwd.h-data: Likewise.
64671         * conform/data/regex.h-data: Likewise.
64672         * conform/data/sched.h-data: Likewise.
64673         * conform/data/search.h-data: Likewise.
64674         * conform/data/semaphore.h-data: Likewise.
64675         * conform/data/setjmp.h-data: Likewise.
64676         * conform/data/signal.h-data: Likewise.
64677         * conform/data/spawn.h-data: Likewise.
64678         * conform/data/stdarg.h-data: Likewise.
64679         * conform/data/stdio.h-data: Likewise.
64680         * conform/data/stdlib.h-data: Likewise.
64681         * conform/data/string.h-data: Likewise.
64682         * conform/data/strings.h-data: Likewise.
64683         * conform/data/stropts.h-data: Likewise.
64684         * conform/data/sys/ipc.h-data: Likewise.
64685         * conform/data/sys/mman.h-data: Likewise.
64686         * conform/data/sys/msg.h-data: Likewise.
64687         * conform/data/sys/resource.h-data: Likewise.
64688         * conform/data/sys/select.h-data: Likewise.
64689         * conform/data/sys/sem.h-data: Likewise.
64690         * conform/data/sys/shm.h-data: Likewise.
64691         * conform/data/sys/socket.h-data: Likewise.
64692         * conform/data/sys/stat.h-data: Likewise.
64693         * conform/data/sys/statvfs.h-data: Likewise.
64694         * conform/data/sys/time.h-data: Likewise.
64695         * conform/data/sys/timeb.h-data: Likewise.
64696         * conform/data/sys/times.h-data: Likewise.
64697         * conform/data/sys/types.h-data: Likewise.
64698         * conform/data/sys/uio.h-data: Likewise.
64699         * conform/data/sys/un.h-data: Likewise.
64700         * conform/data/sys/utsname.h-data: Likewise.
64701         * conform/data/sys/wait.h-data: Likewise.
64702         * conform/data/syslog.h-data: Likewise.
64703         * conform/data/tar.h-data: Likewise.
64704         * conform/data/termios.h-data: Likewise.
64705         * conform/data/utime.h-data: Likewise.
64706         * conform/data/utmpx.h-data: Likewise.
64707         * conform/data/varargs.h-data: Likewise.
64708         * conform/data/wchar.h-data: Likewise.
64709         * conform/data/wctype.h-data: Likewise.
64710         * conform/data/wordexp.h-data: Likewise.
64712         * include/stropts.h: New file.
64713         * include/uchar.h: New file.
64714         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64715         * include/assert.h: Likewise.
64716         * include/ctype.h: Likewise.
64717         * include/dirent.h: Likewise.
64718         * include/dlfcn.h: Likewise.
64719         * include/fcntl.h: Likewise.
64720         * include/fnmatch.h: Likewise.
64721         * include/glob.h: Likewise.
64722         * include/grp.h: Likewise.
64723         * include/libio.h: Likewise.
64724         * include/locale.h: Likewise.
64725         * include/math.h: Likewise.
64726         * include/net/if.h: Likewise.
64727         * include/netdb.h: Likewise.
64728         * include/netinet/in.h: Likewise.
64729         * include/pthread.h: Likewise.
64730         * include/pwd.h: Likewise.
64731         * include/regex.h: Likewise.
64732         * include/sched.h: Likewise.
64733         * include/search.h: Likewise.
64734         * include/setjmp.h: Likewise.
64735         * include/signal.h: Likewise.
64736         * include/stdio.h: Likewise.
64737         * include/stdlib.h: Likewise.
64738         * include/string.h: Likewise.
64739         * include/sys/cdefs.h: Likewise.
64740         * include/sys/mman.h: Likewise.
64741         * include/sys/msg.h: Likewise.
64742         * include/sys/resource.h: Likewise.
64743         * include/sys/select.h: Likewise.
64744         * include/sys/socket.h: Likewise.
64745         * include/sys/stat.h: Likewise.
64746         * include/sys/statvfs.h: Likewise.
64747         * include/sys/time.h: Likewise.
64748         * include/sys/times.h: Likewise.
64749         * include/sys/uio.h: Likewise.
64750         * include/sys/utsname.h: Likewise.
64751         * include/sys/wait.h: Likewise.
64752         * include/termios.h: Likewise.
64753         * include/time.h: Likewise.
64754         * include/ulimit.h: Likewise.
64755         * include/unistd.h: Likewise.
64756         * include/utime.h: Likewise.
64757         * include/wchar.h: Likewise.
64758         * include/wctype.h: Likewise.
64759         * include/wordexp.h: Likewise.
64761         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64763         * time/time.h: TIME_UTC must be a macro.
64764         Make timespec_get available for ISO C11 only as well.
64766 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
64768         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64769         Reported by Peng Haitao <penght@cn.fujitsu.com>.
64771 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64773         * configure.in: Use -o not -a in test for unsupported multi-arch.
64775 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64777         * manual/texinfo.tex: Update to version 2012-01-19.16.
64779 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64781         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64783 2012-02-24  Roland McGrath  <roland@hack.frob.com>
64785         [BZ #13738]
64786         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64787         * manual/fdl-1.3.texi: New file.
64788         * manual/fdl-1.1.texi: File removed.
64790         [BZ #13738]
64791         * manual/libc.texinfo (FDL_VERSION): New @set.
64792         Use it for mention of FDL in cover text.
64793         (Documentation License): Use it in @include file name.
64795 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64796             Roland McGrath  <roland@hack.frob.com>
64798         [BZ #5461]
64799         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64800         (not LONG_LONG_MAX and LONG_LONG_MIN.
64801         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64802         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64803         name.
64804         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64806 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64808         [BZ #2547]
64809         [BZ #11365]
64810         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64811         manipulate bits before adding and subtracting TWO23[sx].
64812         * math/libm-test.inc (nearbyint_test): Add more tests.
64814 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64816         [BZ #2548]
64817         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64818         bits before adding and subtracting TWO23[sx].
64819         * math/libm-test.inc (rint_test): Add more tests.
64820         (rint_test_tonearest): Likewise.
64821         (rint_test_towardzero): Likewise.
64822         (rint_test_downward): Likewise.
64823         (rint_test_upward: Likewise.
64825 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64827         [BZ #10110]
64828         * include/stdc-predef.h: New file.  Extracted from features.h.
64829         * include/features.h: Include stdc-predef.h.
64830         * Makefile (headers): Add stdc-predef.h.
64831         * CONFORMANCE (Compiler limitations): Update.
64833 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64835         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64837 2012-02-21  David S. Miller  <davem@davemloft.net>
64839         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64840         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64842 2012-02-20  David S. Miller  <davem@davemloft.net>
64844         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64845         using a normal save/restore sequence, rather than allocating a
64846         dummy stack frame just to store a frame pointer and restore.
64847         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64849 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64851         * manual/install.texi: Fix stray word in line-wrapped comment.
64853 2012-02-20  David S. Miller  <davem@davemloft.net>
64855         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64856         both binutils and gcc support GOTDATA.
64858         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64859         "rd %pc" in the PIC register setup sequences.
64861         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64862         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64863         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64864         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64865         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64866         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64867         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64868         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64869         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64870         (SYSCALL_ERROR_HANDLER): Likewise.
64871         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64872         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64873         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64874         (SYSCALL_ERROR_HANDLER): Likewise.
64876         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64877         (HAVE_GCC_GOTDATA): New.
64878         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64879         relocation support in both binutils and gcc.
64880         * sysdeps/sparc/elf/configure: Regenerate.
64882         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64883         * sysdeps/sparc/sparc32/elf/configure: Delete.
64884         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64885         * sysdeps/sparc/sparc64/elf/configure: Delete.
64886         * sysdeps/sparc/elf/configure.in: New file.
64887         * sysdeps/sparc/elf/configure: Generate.
64889         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64890         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64891         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64892         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64893         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64895 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64897         * manual/install.texi: Do not mention specific glibc version
64898         numbers.
64899         * manual/libc.texinfo (VERSION, UPDATED): Update.
64900         (@copying): Use @copyright{} and range of years.
64902 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64904         [BZ #13695]
64905         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64906         [crti.S not in sysdirs] (generated): Do not append.
64907         [crti.S not in sysdirs] (omit-deps): Likewise.
64908         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64909         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64910         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64911         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64912         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64913         Likewise.
64914         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64915         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64916         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64917         * csu/defs.awk: Remove file.
64918         * sysdeps/generic/initfini.c: Likewise.
64919         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64920         variable.
64921         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64922         Likewise.
64924 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64926         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64927         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64928         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64929         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64930         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64931         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64932         <bits/epoll.h>.
64933         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64934         (__EPOLL_PACKED): Define to empty if not defined by
64935         <bits/epoll.h>.
64936         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64937         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64938         bits/epoll.h.
64940 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64942         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64943         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64944         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64945         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64946         <bits/timerfd.h>.
64947         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64948         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64949         bits/timerfd.h.
64951 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64953         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64954         in C locale.
64955         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64956         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64957         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64960 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
64962         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64963         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64965 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
64967         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64968         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64969         defined.
64970         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64971         Likewise.
64972         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64973         entry for 2.16.
64975 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
64977         * math/w_acos.c: Use non-signaling floating-point comparisons.
64978         * math/w_acosf.c: Likewise.
64979         * math/w_acosh.c: Likewise.
64980         * math/w_acoshf.c: Likewise.
64981         * math/w_acoshl.c: Likewise.
64982         * math/w_acosl.c: Likewise.
64983         * math/w_asin.c: Likewise.
64984         * math/w_asinf.c: Likewise.
64985         * math/w_asinl.c: Likewise.
64986         * math/w_atanh.c: Likewise.
64987         * math/w_atanhf.c: Likewise.
64988         * math/w_atanhl.c: Likewise.
64989         * math/w_exp2.c: Likewise.
64990         * math/w_exp2f.c: Likewise.
64991         * math/w_exp2l.c: Likewise.
64992         * math/w_j0.c: Likewise.
64993         * math/w_j0f.c: Likewise.
64994         * math/w_j0l.c: Likewise.
64995         * math/w_j1.c: Likewise.
64996         * math/w_j1f.c: Likewise.
64997         * math/w_j1l.c: Likewise.
64998         * math/w_jn.c: Likewise.
64999         * math/w_jnf.c: Likewise.
65000         * math/w_log.c: Likewise.
65001         * math/w_log10.c: Likewise.
65002         * math/w_log10f.c: Likewise.
65003         * math/w_log10l.c: Likewise.
65004         * math/w_log2.c: Likewise.
65005         * math/w_log2f.c: Likewise.
65006         * math/w_log2l.c: Likewise.
65007         * math/w_logf.c: Likewise.
65008         * math/w_logl.c: Likewise.
65009         * math/w_sqrt.c: Likewise.
65010         * math/w_sqrtf.c: Likewise.
65011         * math/w_sqrtl.c: Likewise.
65012         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65013         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65014         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65015         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65016         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65018 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65020         [BZ #9739]
65021         * manual/string.texi (strnlen): Use correct parameter name in
65022         equivalent expression.
65024 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65026         [BZ #11174]
65027         * manual/users.texi (seteuid): Consistently use neweuid for
65028         argument name.
65030 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65032         [BZ #13704]
65033         * manual/nss.texi (Services in the NSS configuration): Correct
65034         list of services in example configuration file.
65036 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65038         [BZ #11322]
65039         * manual/arith.texi: Remove statements about negative zero
65040         behaving identically to zero.
65042 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65044         [BZ #5993]
65045         * manual/install.texi: Do not document upgrading from libc5.
65047 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65049         [BZ #4596]
65050         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65052 2012-02-18  David S. Miller  <davem@davemloft.net>
65054         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65055         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65056         %o7 across the call.
65057         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65058         instead.
65059         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65060         SETUP_PIC_REG_LEAF.
65061         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65062         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65063         * sysdeps/sparc/crtn.S: Likewise.
65065 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
65067         * aout/Makefile: Remove.
65069 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
65071         [BZ #13058]
65072         * manual/examples/argp-ex1.c (main): Format definition in GNU
65073         style.
65074         * manual/examples/argp-ex2.c (main): Likewise.
65075         * manual/examples/argp-ex3.c (main): Likewise.
65076         * manual/examples/argp-ex4.c (main): Likewise.
65077         * manual/examples/longopt.c (main): Use new-style prototype
65078         definition.
65079         * manual/examples/strncat.c (main): Specify return type and use
65080         (void) for arguments.
65081         * manual/examples/subopt.c (main): Use char **argv argument.
65083 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65085         [BZ #5077]
65086         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65087         rounding modes.
65089 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
65091         [BZ #6907]
65092         * manual/string.texi (strchr): Change when strchrnul is
65093         recommended.
65095 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
65097         [BZ #174]
65098         * manual/locale.texi (setlocale): Document LOCPATH.
65100 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65102         [BZ #10210]
65103         * manual/process.texi (execle): Move @dots{} before last argument.
65105 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
65107         [BZ #12047]
65108         * manual/charset.texi (Generic Charset Conversion): Fix typo
65109         (LC_TYPE -> LC_CTYPE).
65111 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
65113         [BZ #5805]
65114         * manual/arith.texi (scalbn): Use @var{} on parameter names.
65115         (scalbnf): Likewise.
65116         (scalbnl): Likewise.
65117         (scalbln): Likewise.
65118         (scalblnf): Likewise.
65119         (scalblnl): Likewise.
65120         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65121         (vwarnx): Likewise.
65122         (verr): Likewise.
65123         (verrx): Likewise.
65124         * manual/filesys.texi (telldir): Use braces around return type.
65125         * manual/llio.texi (mmap): Add space after comma.
65126         (mmap64): Likewise.
65127         * manual/math.texi (jn): Use @var{} on parameter names.
65128         (jnf): Likewise.
65129         (jnl): Likewise.
65130         (yn): Likewise.
65131         (ynf): Likewise.
65132         (ynl): Likewise.
65133         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65134         line.
65135         * manual/resource.texi (ulimit): Use @dots{} instead of literal
65136         "...".
65137         (sched_get_priority_min): Remove semicolon on @deftypefun line.
65138         (sched_get_priority_max): Likewise.
65139         * manual/signal.texi (sigvec): Add space after comma.
65140         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65141         names.
65142         (if_indextoname): Likewise.
65143         (if_freenameindex): Likewise.
65144         (sendto): Use ',' instead of '.' in prototype.
65145         * manual/startup.texi (syscall): Use @dots{} instead of literal
65146         "...".
65147         * manual/stdio.texi (__fpending): Separate initial words of
65148         paragraph from @deftypefun line.
65149         * manual/syslog.texi (syslog): Use @dots{} instead of literal
65150         "...".
65151         (vsyslog): Use @var{} on parameter names.
65152         * manual/terminal.texi (stty): Use @var{} on parameter names.
65153         * manual/users.texi (getutmp): Use @var{} on parameter names.
65154         (getutmpx): Likewise.
65156 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65158         [BZ #6884]
65159         * manual/stdio.texi (fopen): Fix typos in description of
65160         ",ccs=STRING".
65162 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
65164         [BZ #4026]
65165         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65166         get clock_id definition.
65168 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
65170         [BZ #4822]
65171         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65172         (madvise): Cast every argument to void on its own.
65174 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65176         [BZ #9902]
65177         * manual/startup.texi (Exit Status): Fix typo.
65179 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65181         [BZ #10140]
65182         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65183         * manual/examples/argp-ex2.c: Likewise.
65184         * manual/examples/argp-ex3.c: Likewise.
65186 2012-02-16  Richard Henderson  <rth@redhat.com>
65188         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65189         * sysdeps/s390/s390-32/initfini.c: Remove.
65190         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65191         * sysdeps/s390/s390-64/initfini.c: Remove.
65193 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65195         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65196         compiler output for sysdeps/generic/initfini.c.
65197         * sysdeps/sh/elf/initfini.c: Remove file.
65199 2012-02-16  David S. Miller  <davem@davemloft.net>
65201         [BZ #11494]
65202         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65204         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65205         * sysdeps/sparc/crti.S: New file.
65206         * sysdeps/sparc/crtn.S: New file.
65207         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65208         * sysdeps/sparc/sparc64/Makefile: Likewise.
65210 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65212         [BZ #3335]
65213         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65215 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65217         [BZ #4822]
65218         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65220         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65221         (write, read, close): Likewise.
65222         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65224 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65226         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65227         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65228         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65229         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65230         <bits/signalfd.h>.
65231         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65233         bits/signalfd.h.
65235 2012-02-14  Marek Polacek  <polacek@redhat.com>
65237         * sysdeps/x86_64/crti.S: New file.
65238         * sysdeps/x86_64/crtn.S: New file.
65239         * sysdeps/x86_64/elf/initfini.c: Remove file.
65241 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65243         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65244         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65245         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65246         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65247         <bits/inotify.h>.
65248         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65250         bits/inotify.h.
65252 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65254         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65255         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65256         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65257         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65258         <bits/eventfd.h>.
65259         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65261         bits/eventfd.h.
65263 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65265         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65266         __feraiseexcept instead of feraiseexcept.
65268         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65269         nanosleep invocations.
65270         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65271         strings, and add error checking for a nanosleep invocations.
65273 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65275         Replace FSF snail mail address with URLs, as per GNU coding standards.
65276         Most of the snail mail addresses were wrong anyway, and omitting
65277         them makes the source code easier to maintain.  Almost all of the
65278         changes are to license notices and to locale LC_IDENTIFICATION
65279         addresses, except for this one:
65280         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65281         not its snail mail address.
65283 2012-02-09  Richard Henderson  <rth@twiddle.net>
65285         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65286         of kernel-features.h.
65288         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65290 2012-02-08  Marek Polacek  <polacek@redhat.com>
65292         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65293         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65294         * sysdeps/gnu/_G_config.h: Likewise.
65295         * sysdeps/generic/_G_config.h: Likewise.
65297 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65299         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65300         tests.
65301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65303         * sysdeps/powerpc/powerpc32/crti.S: New file.
65304         * sysdeps/powerpc/powerpc32/crtn.S: New file.
65305         * sysdeps/powerpc/powerpc64/crti.S: New file.
65306         * sysdeps/powerpc/powerpc64/crtn.S: New file.
65308         * Makeconfig (have-initfini): Don't set.
65309         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65310         * configure.in (nopic_initfini): Don't substitute.
65311         * config.h.in (HAVE_INITFINI): Don't #undef.
65312         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65313         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65315 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
65317         Support crti.S and crtn.S provided directly by architectures.
65318         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65319         [crti.S in sysdirs] (omit-deps): Likewise.
65320         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65321         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65322         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65323         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65324         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65325         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65326         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65327         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65328         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65329         compiler output for sysdeps/generic/initfini.c.
65330         * sysdeps/i386/elf/Makefile: Remove file.
65331         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65333 2012-02-07  Marek Polacek  <polacek@redhat.com>
65335         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65336         * sysdeps/gnu/_G_config.h: Likewise.
65337         * sysdeps/mach/hurd/_G_config.h: Likewise.
65339 2012-02-07  Marek Polacek  <polacek@redhat.com>
65341         * math/Makefile (tests): Add tst-CMPLX2.
65342         * math/tst-CMPLX2.c: New file.
65344 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
65346         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65348         * math/libm-test.inc (jn_test): Add missing L suffix.
65350 2012-02-06  Marek Polacek  <polacek@redhat.com>
65352         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65353         * sysdeps/i386/fpu/e_powf.S: Likewise.
65354         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65355         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65356         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65357         * sysdeps/i386/fpu/e_pow.S: Likewise.
65358         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65359         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65360         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65361         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65362         * sysdeps/i386/fpu/e_log2.S: Likewise.
65363         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65364         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65365         * sysdeps/i386/fpu/e_powl.S: Likewise.
65366         * sysdeps/i386/fpu/s_log1p.S: Likewise.
65367         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65368         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65369         * sysdeps/i386/fpu/e_logl.S: Likewise.
65370         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65371         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65372         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65373         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65374         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65375         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65376         * sysdeps/i386/fpu/e_log.S: Likewise.
65377         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65378         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65379         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65380         * sysdeps/i386/fpu/e_logf.S: Likewise.
65381         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65382         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65383         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65384         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65385         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65386         * sysdeps/i386/fpu/e_log10.S: Likewise.
65387         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65388         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65389         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65390         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65391         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65392         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65393         * sysdeps/i386/asm-syntax.h: Likewise.
65394         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65395         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65396         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65397         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65398         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65399         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65400         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65401         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65402         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65403         * sysdeps/powerpc/sysdep.h: Likewise.
65404         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65405         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65407 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65409         [BZ #411]
65410         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65412 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65414         * sysdeps/i386/sysdep.h: Include <features.h>.
65415         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65416         version.
65418 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65420         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65421         Define.
65422         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65423         LOAD_PIC_REG_STR.
65425 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65427         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65428         (SETUP_PIC_REG): Use GET_PC_THUNK.
65429         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65430         macro.
65432 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65434         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65435         for non-PIC compilation.
65436         (SETUP_PIC_REG): Add .p2align directive.
65437         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65438         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65439         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65440         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65441         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65442         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65443         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65444         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65445         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65446         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65447         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65448         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65449         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65450         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65451         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65452         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65453         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65454         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65455         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65456         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65457         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65458         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65459         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65460         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65461         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65463         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65464         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65465         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65466         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65467         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65468         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65469         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65470         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65471         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65472         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65473         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65474         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65475         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65476         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65477         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65479 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65481         * math/tst-CMPLX.c: Include <stdio.h>.
65483 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65485         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65486         float.
65487         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65488         * sysdeps/sparc/bits/mathdef.h: Likewise.
65490 2012-01-31  Marek Polacek  <polacek@redhat.com>
65492         * libio/libio.h: Don't define _PARAMS.
65493         * locale/programs/config.h: Don't define PARAMS.
65494         * stdlib/strtol_l.c: Likewise.
65495         (__strtol_l): Remove PARAMS from the prototype.
65497 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65499         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65500         names.  Just use the correct names.  Remove unnecessary wrapper
65501         functions.
65502         * malloc/arena.c: Likewise.
65503         * malloc/hooks.c: Likewise.
65505         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65506         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65507         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65509 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65511         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65512         into tail calls.
65513         (update_get_addr): New function.
65514         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65515         GET_ADDR_MODULE parameter.
65517 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65519         * crypt/cert.c: Remove __STDC__ conditionals.
65520         * crypt/crypt-entry.c: Likewise.
65521         * crypt/crypt_util.c: Likewise.
65522         * libio/filedoalloc.c: Likewise.
65523         * libio/fileops.c: Likewise.
65524         * libio/genops.c: Likewise.
65525         * libio/iofclose.c: Likewise.
65526         * libio/iofdopen.c: Likewise.
65527         * libio/iofopen.c: Likewise.
65528         * libio/iofopen64.c: Likewise.
65529         * libio/iogetdelim.c: Likewise.
65530         * libio/iopopen.c: Likewise.
65531         * libio/obprintf.c: Likewise.
65532         * libio/oldfileops.c: Likewise.
65533         * libio/oldiofclose.c: Likewise.
65534         * libio/oldiofdopen.c: Likewise.
65535         * libio/oldiofopen.c: Likewise.
65536         * libio/oldiopopen.c: Likewise.
65537         * libio/wfiledoalloc.c: Likewise.
65538         * libio/wgenops.c: Likewise.
65539         * locale/programs/xmalloc.c: Likewise.
65540         * misc/syslog.c: Likewise.
65541         * stdio-common/xbug.c: Likewise.
65542         * string/memchr.c: Likewise.
65543         * string/memcmp.c: Likewise.
65544         * string/memrchr.c: Likewise.
65545         * string/rawmemchr.c: Likewise.
65546         * sysdeps/posix/getcwd.c: Likewise.
65547         * time/strftime_l.c: Likewise.
65549 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65551         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65552         * config.make.in (config-cflags-sse2avx): Define.
65553         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65554         Fix typo.
65556 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65558         * scripts/config.guess: Update from upstream config git repository.
65559         * scripts/config.sub: Likewise.
65561 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65563         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65564         (EM_NUM): Update.
65565         (R_TILEPRO_*, R_TILEGX_*): New macros.
65567         * scripts/firstversions.awk: Fix bug in version range handling.
65569         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65571         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65573         * include/sys/epoll.h: New file.
65574         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65575         libc_hidden_def.
65577 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65579         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65580         Avoid unnecessary __WORDSIZE == 64 test.
65581         (fmaxf): Use VEX format if possible.
65582         (fmax): Likewise.
65583         (fminf): Likewise.
65584         (fmin): Likewise.
65586         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65587         * math/math_private.h: Remove libc_fegetround* and
65588         libc_fesetround*.
65589         * sysdeps/i386/configure.in: Check for -msse2avx.
65590         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65591         also if SSE2AVX is defined.
65592         Remove libc_fegetround* and libc_fesetround*.
65593         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65594         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65595         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65596         of HAS_YMM_USABLE.
65597         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65598         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65599         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65600         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65601         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65603         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65605 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65607         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65608         size is not set.
65609         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65611 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65613         [BZ #13618]
65614         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65615         relocation.
65616         * Makeconfig (libm): Define.
65617         * elf/Makefile: Add rules to build and run tst-relsort1.
65618         * elf/tst-relsort1.c: New file.
65619         * elf/tst-relsort1mod1.c: New file.
65620         * elf/tst-relsort1mod2.c: New file.
65622 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65624         * math/s_ldexp.c: Remove __STDC__ conditionals.
65625         * math/s_ldexpf.c: Likewise.
65626         * math/s_ldexpl.c: Likewise.
65627         * math/s_nextafter.c: Likewise.
65628         * math/s_nexttowardf.c: Likewise.
65629         * math/s_significand.c: Likewise.
65630         * math/s_significandf.c: Likewise.
65631         * math/s_significandl.c: Likewise.
65632         * math/w_jnl.c: Likewise.
65633         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65634         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65635         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65636         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65637         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65638         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65639         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65640         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65641         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65642         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65643         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65644         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65645         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65646         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65647         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65648         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65649         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65650         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65651         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65652         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65653         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65654         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65655         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65656         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65657         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65658         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65659         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65660         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65661         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65662         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65663         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65664         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65665         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65666         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65667         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65668         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65669         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65670         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65671         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65672         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65673         * sysdeps/ieee754/k_standard.c: Likewise.
65674         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65675         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65676         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65677         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65678         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65679         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65680         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65681         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65682         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65683         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65684         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65685         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65686         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65687         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65688         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65689         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65690         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65691         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65692         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65693         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65694         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65695         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65696         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65697         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65698         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65699         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65700         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65701         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65702         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65703         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65704         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65705         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65706         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65707         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65708         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65709         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65710         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65711         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65712         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65713         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65714         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65715         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65716         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65717         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65718         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65719         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65720         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65721         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65722         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65723         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65724         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65725         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65726         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65727         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65728         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65729         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65730         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65731         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65732         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65733         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65734         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65735         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65736         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65737         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65738         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65739         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65740         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65741         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65742         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65743         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65744         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65745         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65746         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65747         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65748         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65749         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65750         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65751         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65752         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65753         * sysdeps/ieee754/s_matherr.c: Likewise.
65754         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65755         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65756         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65757         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65759 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65761         * crypt/md5.h: Remove __STDC__ conditionals.
65762         * libio/libioP.h: Likewise.
65763         * locale/programs/config.h: Likewise.
65764         * sysdeps/generic/sysdep.h: Likewise.
65765         * sysdeps/i386/asm-syntax.h: Likewise.
65766         * sysdeps/s390/asm-syntax.h: Likewise.
65767         * sysdeps/unix/sysdep.h: Likewise.
65768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65771 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65773         * libio/libio.h: Remove __STDC__ conditionals.
65774         * malloc/obstack.h: Likewise.
65775         * math/complex.h: Likewise.
65776         * math/math.h: Likewise.
65777         * sysdeps/generic/_G_config.h: Likewise.
65778         * sysdeps/gnu/_G_config.h: Likewise.
65779         * sysdeps/mach/hurd/_G_config.h: Likewise.
65780         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65781         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65782         * sysdeps/sparc/bits/mathdef.h: Likewise.
65784 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
65786         [BZ #13583]
65787         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65788         Clean up HAS_* macros.
65789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65790         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65791         possible.
65792         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65793         HAS_AVX.
65794         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65795         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65796         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65797         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65798         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65800 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65802         * elf/tst-unique3.cc (gets): Remove declaration.
65803         * elf/tst-unique3lib.cc (gets): Likewise.
65804         * elf/tst-unique3lib2.cc (gets): Likewise.
65805         * elf/tst-unique4.cc (gets): Likewise.
65807 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65809         * include/stdio.h: Add C++ protection.  Add gets declarations and
65810         definitions.
65811         * debug/tst-chk1.c: Don't declare gets here.
65812         * stdio-common/tst-gets.c: Likewise.
65814 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65816         * posix/glob: Remove directory.
65818 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65820         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65822 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65824         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65825         of the non-standard EPFNOSUPPORT.
65827 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65829         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65830         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65831         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65833 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65835         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65837 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65839         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65840         transient errors.
65841         * nscd/grpcache.c (cache_addgr): Likewise.
65842         * nscd/hstcache.c (cache_addhst): Likewise.
65843         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65844         * nscd/pwdcache.c (cache_addpw): Likewise.
65845         * nscd/servicescache.c (cache_addserv): Likewise.
65847 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65849         * malloc/malloc.c: Various cleanups.
65850         * malloc/hooks.c: Likewise.
65852         * stdlib/Makefile (tests): Add bug-fmtmsg1.
65853         * stdlib/bug-fmtmsg1.c: New file.
65855         * stdlib/fmtmsg.c (init): Add missing unlock.
65856         Patch by Peng Haitao <penght@cn.fujitsu.com>.
65858 2012-01-12  Marek Polacek  <polacek@redhat.com>
65860         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65861         and _GNU_SOURCE.
65863 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65865         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65866         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65867         macro to ensure uniqueness of label name.
65868         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65869         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65871 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
65873         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65875         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65876         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65877         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65878         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65880 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
65882         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65884         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65885         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65886         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65888         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65890         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65891         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65892         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65893         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65895         * math/bits/math-finite.h: Add ldexp support.
65897 2012-01-10  Marek Polacek  <polacek@redhat.com>
65899         * locale/programs/localedef.h (show_archive_content): Add noreturn
65900         attribute.
65902 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
65904         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65906 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65908         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65910         * io/Makefile (headers): Add bits/poll2.h.
65912 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
65914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65915         typo #include statement.
65917 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65919         * include/sys/cdefs.h: Define __attribute_alloc_size.
65920         * catgets/gencat.c: Add alloc_size attribute and apply consistently
65921         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65922         * elf/pldd.c: Likewise.
65923         * iconv/iconv_charmap.c: Likewise.
65924         * iconv/iconvconfig.c: Likewise.
65925         * iconv/strtab.c: Likewise.
65926         * locale/programs/locale.c: Likewise.
65927         * locale/programs/localedef.h: Likewise.
65928         * locale/programs/simple-hash.c: Likewise.
65929         * nscd/nscd.h: Likewise.
65930         * nss/makedb.c: Likewise.
65931         * sysdeps/generic/ldconfig.h: Likewise.
65932         * locale/programs/localedef.c: Remove xmalloc prototype.
65933         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65935 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65937         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65938         appropriate.
65940 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65942         * math/Makefile (tests): Add tst-CMPLX.
65943         * math/tst-CMPLX.c: New file.
65945         * math/complex.h (CMPLXL): Fix typo.
65947         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65948         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65949         GLIBC_2.16.
65950         * debug/tst-chk1.c: Add poll and ppoll tests.
65951         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65952         * include/sys/poll.h: Add hidden proto for ppoll.
65953         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65954         * sysdeps/mach/hurd/ppoll.c: Likewise.
65955         * io/ppoll.c: Likewise.
65956         * debug/poll_chk.c: New file.
65957         * debug/ppoll_chk.c: New file.
65958         * include/bits/poll2.h: New file.
65959         * io/bits/poll2.h: New file.
65961         [BZ #1350]
65962         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65964         * configure.in: static is always set to yes.  Remove.
65965         * config.make.in: Don't set build-static.
65966         * Makeconfig: Remove use of build-static.
65967         * dlfcn/Makefile: Likewise.
65968         * elf/Makefile: Likewise.
65969         * math/Makefile: Likewise.
65970         * misc/Makefile: Likewise.
65971         * nptl/Makefile: Likewise.
65972         * sysdeps/mach/hurd/Makefile: Likewise.
65974         * configure.in: PWD_P is not used anymore.
65975         * config.make.in: Remove PWD_P entry.
65977         * configure.in: Remove last remnants of RANLIB.
65978         No need to check for signed size_t anymore.
65979         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65980         and IA-64.
65981         Remove __builtin_expect test because we require at least gcc 3.4.
65982         * aclocal.m4: Likewise.
65984         * wcsmbs/mbrtoc16.c: Implement using towc function.
65985         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65986         * wcsmbs/wcsmbsload.c: Likewise.
65987         * iconv/gconv_simple.c: Likewise.
65988         * iconv/gconv_int.h: Likewise.
65989         * iconv/gconv_builtin.h: Likewise.
65990         * iconv/iconv_prog.c: Remove CHAR16 handling.
65992         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65994         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65996         * configure.in: Remove --with-elf and --enable-bounded options.
65997         Dont set base_machine for ia64.  More non-ELF conditions removed.
65998         Remove testing and setting of leading underscore information.
65999         * config.make.in (build-bounded): Set to no.
66000         * config.h.in: Remove NO_UNDERSCORES entry.
66001         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66002         them.
66003         * csu/start.c: Remove !NO_UNDERSCORE code.
66004         * locale/localeinfo.h: Likewise.
66005         * sysdeps/generic/machine-gmon.h: Likewise.
66006         * sysdeps/generic/sysdep.h: Likewise.
66007         * sysdeps/i386/sysdep.h: Likewise.
66008         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66009         * sysdeps/mach/sysdep.h: Likewise.
66010         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66011         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66012         * sysdeps/sh/sysdep.h: Likewise.
66013         * sysdeps/sparc/sparc32/alloca.S: Likewise.
66014         * sysdeps/unix/i386/sysdep.S: Likewise.
66015         * sysdeps/unix/sparc/start.c: Likewise.
66016         * sysdeps/unix/sparc/sysdep.S: Likewise.
66017         * sysdeps/unix/sparc/sysdep.h: Likewise.
66018         * sysdeps/unix/start.c: Likewise.
66019         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66020         * sysdeps/x86_64/sysdep.h: Likewise.
66022 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
66024         [BZ #13553]
66025         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66026         for non-gcc.
66027         * argp/argp-fmtstream.h: Use const instead __const.
66028         * argp/argp.h: Likewise.
66029         * assert/assert.h: Likewise.
66030         * bits/fenv.h: Likewise.
66031         * bits/sched.h: Likewise.
66032         * bits/sigset.h: Likewise.
66033         * bits/sigthread.h: Likewise.
66034         * catgets/nl_types.h: Likewise.
66035         * conform/data/pthread.h-data: Likewise.
66036         * crypt/crypt-private.h: Likewise.
66037         * crypt/crypt.h: Likewise.
66038         * crypt/crypt_util.c: Likewise.
66039         * ctype/ctype.h: Likewise.
66040         * debug/execinfo.h: Likewise.
66041         * debug/mbsnrtowcs_chk.c: Likewise.
66042         * debug/mbsrtowcs_chk.c: Likewise.
66043         * debug/wcsnrtombs_chk.c: Likewise.
66044         * debug/wcsrtombs_chk.c: Likewise.
66045         * debug/wcstombs_chk.c: Likewise.
66046         * dirent/dirent.h: Likewise.
66047         * dlfcn/dlfcn.h: Likewise.
66048         * elf/neededtest4.c: Likewise.
66049         * grp/grp.h: Likewise.
66050         * gshadow/gshadow.h: Likewise.
66051         * iconv/gconv.h: Likewise.
66052         * iconv/gconv_int.h: Likewise.
66053         * iconv/gconv_simple.c: Likewise.
66054         * iconv/iconv.h: Likewise.
66055         * iconv/loop.c: Likewise.
66056         * iconv/skeleton.c: Likewise.
66057         * include/aio.h: Likewise.
66058         * include/aliases.h: Likewise.
66059         * include/argz.h: Likewise.
66060         * include/arpa/inet.h: Likewise.
66061         * include/assert.h: Likewise.
66062         * include/dirent.h: Likewise.
66063         * include/dlfcn.h: Likewise.
66064         * include/execinfo.h: Likewise.
66065         * include/fcntl.h: Likewise.
66066         * include/fenv.h: Likewise.
66067         * include/glob.h: Likewise.
66068         * include/grp.h: Likewise.
66069         * include/libintl.h: Likewise.
66070         * include/mntent.h: Likewise.
66071         * include/netdb.h: Likewise.
66072         * include/pwd.h: Likewise.
66073         * include/rpc/netdb.h: Likewise.
66074         * include/sched.h: Likewise.
66075         * include/search.h: Likewise.
66076         * include/shadow.h: Likewise.
66077         * include/signal.h: Likewise.
66078         * include/stdio.h: Likewise.
66079         * include/stdlib.h: Likewise.
66080         * include/string.h: Likewise.
66081         * include/sys/socket.h: Likewise.
66082         * include/sys/stat.h: Likewise.
66083         * include/sys/statfs.h: Likewise.
66084         * include/sys/statvfs.h: Likewise.
66085         * include/sys/syslog.h: Likewise.
66086         * include/sys/time.h: Likewise.
66087         * include/sys/uio.h: Likewise.
66088         * include/time.h: Likewise.
66089         * include/unistd.h: Likewise.
66090         * include/utmp.h: Likewise.
66091         * include/wchar.h: Likewise.
66092         * include/wctype.h: Likewise.
66093         * inet/aliases.h: Likewise.
66094         * inet/arpa/inet.h: Likewise.
66095         * inet/netinet/ether.h: Likewise.
66096         * inet/netinet/in.h: Likewise.
66097         * intl/libintl.h: Likewise.
66098         * io/bits/fcntl2.h: Likewise.
66099         * io/fcntl.h: Likewise.
66100         * io/ftw.h: Likewise.
66101         * io/sys/poll.h: Likewise.
66102         * io/sys/stat.h: Likewise.
66103         * io/sys/statfs.h: Likewise.
66104         * io/sys/statvfs.h: Likewise.
66105         * io/utime.h: Likewise.
66106         * libio/bits/stdio.h: Likewise.
66107         * libio/bits/stdio2.h: Likewise.
66108         * libio/libio.h: Likewise.
66109         * libio/libioP.h: Likewise.
66110         * libio/stdio.h: Likewise.
66111         * locale/lc-ctype.c: Likewise.
66112         * locale/locale.h: Likewise.
66113         * login/utmp.h: Likewise.
66114         * malloc/arena.c: Likewise.
66115         * malloc/malloc.c: Likewise.
66116         * malloc/malloc.h: Likewise.
66117         * malloc/mcheck.c: Likewise.
66118         * malloc/mtrace.c: Likewise.
66119         * math/bits/mathcalls.h: Likewise.
66120         * math/fenv.h: Likewise.
66121         * math/math_private.h: Likewise.
66122         * misc/bits/error.h: Likewise.
66123         * misc/bits/syslog.h: Likewise.
66124         * misc/err.h: Likewise.
66125         * misc/error.h: Likewise.
66126         * misc/fstab.h: Likewise.
66127         * misc/mntent.h: Likewise.
66128         * misc/regexp.h: Likewise.
66129         * misc/search.h: Likewise.
66130         * misc/sgtty.h: Likewise.
66131         * misc/sys/mman.h: Likewise.
66132         * misc/sys/syslog.h: Likewise.
66133         * misc/sys/uio.h: Likewise.
66134         * misc/sys/xattr.h: Likewise.
66135         * misc/ttyent.h: Likewise.
66136         * nis/rpcsvc/ypclnt.h: Likewise.
66137         * nss/nss.h: Likewise.
66138         * posix/bits/unistd.h: Likewise.
66139         * posix/fnmatch.h: Likewise.
66140         * posix/glob.h: Likewise.
66141         * posix/sched.h: Likewise.
66142         * posix/spawn.h: Likewise.
66143         * posix/sys/wait.h: Likewise.
66144         * posix/unistd.h: Likewise.
66145         * posix/wordexp.h: Likewise.
66146         * pwd/pwd.h: Likewise.
66147         * resolv/netdb.h: Likewise.
66148         * resource/sys/resource.h: Likewise.
66149         * rt/aio.h: Likewise.
66150         * rt/bits/mqueue2.h: Likewise.
66151         * rt/mqueue.h: Likewise.
66152         * shadow/shadow.h: Likewise.
66153         * signal/signal.h: Likewise.
66154         * socket/send.c: Likewise.
66155         * socket/sendto.c: Likewise.
66156         * socket/sys/socket.h: Likewise.
66157         * stdio-common/printf.h: Likewise.
66158         * stdlib/bits/stdlib.h: Likewise.
66159         * stdlib/fmtmsg.h: Likewise.
66160         * stdlib/monetary.h: Likewise.
66161         * stdlib/stdlib.h: Likewise.
66162         * stdlib/ucontext.h: Likewise.
66163         * streams/stropts.h: Likewise.
66164         * string/argz.h: Likewise.
66165         * string/bits/string2.h: Likewise.
66166         * string/string.h: Likewise.
66167         * string/strings.h: Likewise.
66168         * sunrpc/rpc/auth.h: Likewise.
66169         * sunrpc/rpc/auth_des.h: Likewise.
66170         * sunrpc/rpc/clnt.h: Likewise.
66171         * sunrpc/rpc/netdb.h: Likewise.
66172         * sunrpc/rpc/pmap_clnt.h: Likewise.
66173         * sunrpc/rpc/xdr.h: Likewise.
66174         * sysdeps/generic/inttypes.h: Likewise.
66175         * sysdeps/generic/net/if.h: Likewise.
66176         * sysdeps/generic/sys/swap.h: Likewise.
66177         * sysdeps/gnu/net/if.h: Likewise.
66178         * sysdeps/gnu/utmpx.h: Likewise.
66179         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66180         * sysdeps/i386/i486/bits/string.h: Likewise.
66181         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66182         * sysdeps/s390/bits/string.h: Likewise.
66183         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66184         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66185         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66186         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66187         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66188         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66189         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66190         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66191         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66192         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66193         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66194         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66195         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66196         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66197         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66198         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66199         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66200         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66201         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66202         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66203         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66204         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66205         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66206         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66207         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66208         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66209         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66210         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66211         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66212         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66213         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66214         * sysvipc/sys/ipc.h: Likewise.
66215         * sysvipc/sys/msg.h: Likewise.
66216         * sysvipc/sys/sem.h: Likewise.
66217         * sysvipc/sys/shm.h: Likewise.
66218         * termios/termios.h: Likewise.
66219         * time/sys/time.h: Likewise.
66220         * time/time.h: Likewise.
66221         * wcsmbs/bits/wchar2.h: Likewise.
66222         * wcsmbs/uchar.h: Likewise.
66223         * wcsmbs/wchar.h: Likewise.
66224         * wctype/wctype.h: Likewise.
66226         [BZ #13551]
66227         * Makeconfig: Remove all but ELF support including AIX support.
66228         * Makerules: Likewise.
66229         * config.h.in: Likewise.
66230         * config.make.in: Likewise.
66231         * configure: Likewise.
66232         * configure.in: Likewise.
66233         * csu/Makefile: Likewise.
66234         * csu/version.c: Likewise.
66235         * debug/Makefile: Likewise.
66236         * dlfcn/Makefile: Likewise.
66237         * elf/Makefile: Likewise.
66238         * extra-lib.mk: Likewise.
66239         * iconv/Makefile: Likewise.
66240         * include/libc-symbols.h: Likewise.
66241         * include/shlib-compat.h: Likewise.
66242         * resolv/Makefile: Likewise.
66243         * resolv/res_libc.c: Likewise.
66244         * rt/Makefile: Likewise.
66245         * sysdeps/i386/asm-syntax.h: Likewise.
66246         * sysdeps/i386/sysdep.h: Likewise.
66247         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66248         * sysdeps/mach/sysdep.h: Likewise.
66249         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66250         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66251         * sysdeps/s390/asm-syntax.h: Likewise.
66252         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66253         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66254         * sysdeps/sh/sysdep.h: Likewise.
66255         * sysdeps/unix/sparc/sysdep.h: Likewise.
66256         * sysdeps/wordsize-32/divdi3.c: Likewise.
66257         * sysdeps/x86_64/sysdep.h: Likewise.
66259         * argp/Versions: Remove _argp_unlock_xxx.
66261         [BZ #13559]
66262         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66263         * abilist/libBrokenLocale.abilist: Likewise.
66264         * abilist/libanl.abilist: Likewise.
66265         * abilist/libc.abilist: Likewise.
66266         * abilist/libcrypt.abilist: Likewise.
66267         * abilist/libdl.abilist: Likewise.
66268         * abilist/libm.abilist: Likewise.
66269         * abilist/libnsl.abilist: Likewise.
66270         * abilist/libpthread.abilist: Likewise.
66271         * abilist/libresolv.abilist: Likewise.
66272         * abilist/librt.abilist: Likewise.
66273         * abilist/libthread_db.abilist: Likewise.
66274         * abilist/libutil.abilist: Likewise.
66275         * abilist/libnss_db.abilist: New file.
66277         * scripts/abilist.awk: Add support for indirect functions.
66279         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66281         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66283         * shlib-versions: Remove entries for ports architectures.
66285         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66286         files in ports.
66287         * elf/stackguard-macros.h: Remove support for IA-64.
66288         * elf/tst-auditmod1.c: Likewise.
66289         * sysdeps/generic/ldsodefs.h: Likewise.
66291         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66292         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66293         configure files.
66295         [BZ #13552]
66296         * configure.in: Remove --enable-omitfp support.
66297         * FAQ.in: Adjust.
66298         * config.make.in: Likewise.
66299         * Makeconfig: Likewise.
66300         * manual/install.texi: Likewise.
66302         In case anyone cares, the IA-64 architecture could move to ports.
66303         * sysdeps/ia64/*: Removed.
66304         * sysdeps/unix/sysv/linux/ia64/*: Removed.
66305         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66307         [BZ #13555]
66308         * configure.in: Remove entries for unsupported architectures.
66310         [BZ #13533]
66311         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66312         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
66313         routines.
66314         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66315         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66316         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
66317         fall back to using wcrtomb.
66318         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66319         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
66320         renaming.
66321         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66322         * wcsmbs/tst-c16c32-1.c: New file.
66324         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66325         local variable.
66327         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66329         * elf/tst-unique3.cc: Add explicit declaration of gets.
66330         * elf/tst-unique3lib.cc: Likewise.
66331         * elf/tst-unique3lib2.cc: Likewise.
66332         * elf/tst-unique4.cc: Likewise.
66334         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66336 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
66338         [BZ #13566]
66339         * assert/assert.h (static_assert): Don't define for C++.
66340         * libio/stdio.h (gets): Do declare for C++ <= C++11.
66341         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66343 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
66345         * iconv/loop.c (single loop): Fix assertion in storing of
66346         remaining bytes.
66348         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66350 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
66352         * posix/getconf.c: Update copyright year.
66353         * nss/getent.c: Likewise.
66354         * nss/makedb.c: Likewise.
66355         * iconv/iconvconfig.c: Likewise.
66356         * iconv/iconv_prog.c: Likewise.
66357         * elf/ldconfig.c: Likewise.
66358         * elf/pldd.c: Likewise.
66359         * elf/sotruss.ksh: Likewise.
66360         * catgets/gencat.c: Likewise.
66361         * csu/version.c: Likewise.
66362         * elf/ldd.bash.in: Likewise.
66363         * elf/sprof.c (print_version): Likewise.
66364         * locale/programs/locale.c: Likewise.
66365         * locale/programs/localedef.c: Likewise.
66366         * login/programs/pt_chown.c: Likewise.
66367         * nscd/nscd.c (print_version): Likewise.
66368         * debug/xtrace.sh: Likewise.
66369         * malloc/memusage.sh: Likewise.
66370         * malloc/mtrace.pl: Likewise.
66371         * debug/catchsegv.sh: Likewise.
66373 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
66375         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66376         pure attribute.
66378 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66380         [BZ #13533]
66381         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66382         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66383         transformations.
66384         * iconv/gconv_int.h: Likewise.
66385         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66386         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66387         from libc for GLIBC_2.16.
66388         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66389         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66390         * wcsmbs/uchar.h: Really define mbstate_t.
66391         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66392         * wcsmbs/c16rtomb.c: New file.
66393         * wcsmbs/mbrtoc16.c: New file.
66394         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66395         for C/POSIX locale.
66396         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66397         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66399         * wcsmbs/wchar.h: Add missing __restrict.
66401 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66403         [BZ #13532]
66404         * time/Makefile (routines): Add timespec_get.
66405         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66406         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66407         timespec for ISO C11.
66408         * time/timespec_get.c: New file.
66409         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66410         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66412         [BZ #13531]
66413         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66414         * stdlib/stdlib.h: Declare aligned_alloc.
66415         * Versions.def: Add GLIBC_2.16 for libc.
66416         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66418         [BZ 13527]
66419         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66420         ISO C11.
66422         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66423         code.
66425         [BZ #13528]
66426         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66428         [BZ #13529]
66429         * assert/assert.h (static_assert): Define.
66431         * version.h: Update for 2.16 development version.
66433         [BZ #13526]
66434         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66435         _ISOC11_SOURCE.
66437         * version.h (RELEASE): Bump for 2.15 release.
66438         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66440         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66441         Patch by Marek Polacek <mpolacek@redhat.com>.
66443         * bits/byteswap.h: Protect long long constants with __extension__.
66444         * sysdeps/i386/bits/byteswap.h: Likewise.
66445         * sysdeps/ia64/bits/byteswap.h: Likewise.
66446         * sysdeps/s390/bits/byteswap.h: Likewise.
66447         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66449 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66451         [BZ #13540]
66452         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66453         destination buffer.
66454         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66456 2011-12-23  Marek Polacek  <polacek@redhat.com>
66458         * elf/dl-addr.c (determine_info): Add inline keyword.
66459         * elf/tst-auditmod4b.c (check_avx): Likewise.
66460         * elf/tst-auditmod6b.c (check_avx): Likewise.
66461         * elf/tst-auditmod6c.c (check_avx): Likewise.
66462         * elf/tst-auditmod7b.c (check_avx): Likewise.
66464 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66466         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66467         !__SSE_MATH__.
66469 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66471         [BZ #13540]
66472         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66473         processing for last bytes.
66475 2011-08-06  Bruno Haible  <bruno@clisp.org>
66477         [BZ #13061]
66478         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66479         U+0385, not to U+1FEE.
66481         [BZ #13062]
66482         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66483         entry for U+00A5 U+0301.
66485 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66487         [BZ #13166]
66488         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66489         buffer for the output is too small.
66491         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66492         optimization.
66494         [BZ #13185]
66495         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66496         SSE flags if possible.
66498 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66500         [BZ #13540]
66501         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66502         processing for last bytes.
66504 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66506         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66507         (syscall-list-default-options, syscall-list-default-condition)
66508         (syscall-list-includes): Define.
66509         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66510         list of ABIs and options and #if conditions for each ABI.  Do not
66511         handle common syscalls between ABIs specially.
66512         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66513         Remove.
66514         (syscall-list-variants, syscall-list-32bit-options)
66515         (syscall-list-32bit-condition, syscall-list-64bit-options)
66516         (syscall-list-64bit-condition): Define.
66517         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66518         (syscall-list-variants, syscall-list-32bit-options)
66519         (syscall-list-32bit-condition, syscall-list-64bit-options)
66520         (syscall-list-64bit-condition): Define.
66521         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66522         Remove.
66523         (syscall-list-variants, syscall-list-32bit-options)
66524         (syscall-list-32bit-condition, syscall-list-64bit-options)
66525         (syscall-list-64bit-condition): Define.
66526         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66527         Remove.
66528         (syscall-list-variants, syscall-list-32bit-options)
66529         (syscall-list-32bit-condition, syscall-list-64bit-options)
66530         (syscall-list-64bit-condition): Define.
66532 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66534         * locale/iso-639.def: Add brx entry.
66536         [BZ #13328]
66537         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66538         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66540         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66541         __feraiseexcept_renamed.
66543 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66545         [BZ #13538]
66546         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66547         EPOLLET with unsigned values.
66548         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66549         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66551         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66552         to large cancellation.
66553         * math/s_cacoshf.c: Likewise.
66554         * math/s_cacoshl.c: Likewise.
66556 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66558         [BZ #13305]
66559         [BZ #12786]
66560         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66561         * math/s_cacoshf.c: Likewise.
66562         * math/s_cacoshl.c: Likewise.
66564 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66566         [BZ #13439]
66567         * iconv/gconv.h: Define __GCONV_SWAP.
66568         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66569         * iconvdata/utf-16.c: Likewise.
66570         * iconvdata/utf-32.c: Likewise.
66572 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66574         [BZ #13524]
66575         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66576         numerator after shifting it by one limb.
66578 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66580         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66581         under [__USE_EXTERN_INLINES].
66583 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66585         [BZ #13446]
66586         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66588 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66590         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66591         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66592         optimized code.
66593         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66594         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66595         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66596         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66597         for strncasecmp/strncasecmp_l compilation.
66598         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66599         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66601 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66603         [BZ #13484]
66604         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66605         of __asm__.
66607 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66609         [BZ #13506]
66610         * time/tzfile.c (__tzfile_read): Check values from file header.
66612 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66614         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66615         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66616         * powerpc/powerpc32/dl-start.S: Likewise.
66617         * powerpc/powerpc32/elf/start.S: Likewise.
66618         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66619         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66620         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66621         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66622         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66623         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66624         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66625         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66626         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66627         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66628         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66629         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66630         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66631         * powerpc/powerpc32/memset.S: Likewise.
66632         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66633         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66634         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66635         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66636         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66637         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66638         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66639         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66640         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66641         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66642         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66643         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66644         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66646 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66648         * math/libm-test.inc: Added more nearbyint tests.
66649         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66650         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66651         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66652         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66654 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66656         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66657         FD_CLOEXEC.
66659 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66661         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66662         Add wcscpy-ssse3 wcscpy-c.
66663         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66664         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66665         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66666         * sysdeps/x86_64/wcschr.S: New file.
66667         * sysdeps/x86_64/wcsrchr.S: New file.
66668         * string/test-strcmp.c: Remove checking of wcscmp function for
66669         wrong alignments.
66670         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66671         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66672         wcsrchr-sse2 wcsrchr-c.
66673         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66674         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66675         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66676         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66677         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66678         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66679         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66680         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66681         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66682         * wcsmbc/wcschr.c (WCSCHR): New macro.
66684 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66686         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66687         * wcsmbs/test-wcsrchr.c: New file.
66688         * string/test-strrchr.c: Add wcsrchr support.
66689         (WIDE): New macro.
66690         * wcsmbs/test-wcscpy.c: New file.
66691         * string/test-strcpy.c: Add wcscpy support.
66692         (WIDE): New macro.
66694 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66696         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66697         the inner loop.
66699 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66701         [BZ #13472]
66702         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66704 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66706         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66707         Minor optimizations.
66709         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66710         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66711         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66713 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66715         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66716         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66717         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66718         for gcc to avoid warnings.
66719         * inet/Makefile (tests): Add tst-checks.
66720         * inet/tst-checks.c: New file.
66722         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66723         warning.
66725         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66726         __wmemcmp_sse2.
66728         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66729         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66731         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66733 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66735         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66736         problem.
66738         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66740 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66742         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66743         conditional on GCC version.
66744         (__arch_compare_and_exchange_val_8_acq)
66745         (__arch_compare_and_exchange_val_16_acq)
66746         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66747         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66748         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66750 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66752         * sysdeps/sh/backtrace.c: New file.
66754 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66756         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66757         parenthesis.
66759 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66761         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66762         falling back to utime.
66764 2011-11-30  Andreas Schwab  <schwab@redhat.com>
66766         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66767         expectations for float.
66769 2011-11-29  Andreas Schwab  <schwab@redhat.com>
66771         * locale/weight.h (findidx): Add parameter len.
66772         * locale/weightwc.h (findidx): Likewise.
66773         * posix/fnmatch_loop.c (FCT): Adjust caller.
66774         * posix/regcomp.c (build_equiv_class): Likewise.
66775         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66776         * posix/regexec.c (check_node_accept_bytes): Likewise.
66777         * string/strcoll_l.c (STRCOLL): Likewise.
66778         * string/strxfrm_l.c (STRXFRM): Likewise.
66780 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
66782         * Makefile.in: Remove CVSOPT handling.
66783         * configure.in: Remove use of AC_REVISION.
66784         * iconvdata/Makefile (distribute): No need to filter out CVS.
66785         * scripts/list-sources.sh: Remove CVS, subversion and monotone
66786         handling.
66788 2011-11-16  Andreas Schwab  <schwab@redhat.com>
66790         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66791         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66792         [USE_AS_STRNCASECMP_L]: Likewise.
66793         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66794         NO_TLS_DIRECT_SEG_REFS.
66795         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66796         Fix argument offsets for non-PIC.
66797         [USE_AS_STRNCASECMP_L]: Likewise.
66798         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66799         NO_TLS_DIRECT_SEG_REFS.
66801 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66803         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66804         O_CLOEXEC.
66805         * locale/loadlocale.c (_nl_load_locale): Likewise.
66807 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66809         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66810         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66811         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66812         (SYSCALL_GETTIME): Set errno on error.
66814         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66815         count references to noai6ai_cached.
66817 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66819         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66821         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66822         FD_CLOEXEC for /proc/self/maps.
66824         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66825         FD_CLOEXEC for /proc/meminfo.
66827         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66828         gai.conf.
66830         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66831         FD_CLOEXEC for given file.
66833         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66835         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66836         FD_CLOEXEC for /etc/hosts.
66837         (_gethtent): Likewise.
66839         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66841         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66842         cancellation and set FD_CLOEXEC for /etc/netgroup.
66844         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66845         reading /etc/publickey.
66847         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66848         allow cancellation when reading /etc/group.
66850         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66851         cancellation.
66852         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
66854         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66855         when using data file.
66857         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66859         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66860         (write_nis_obj): Use "c" and "e" in fopen.
66862         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66864         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66866         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66868         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66870         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66871         locale.alias.
66873         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66875         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66877         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66879         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66880         file parsing and set FD_CLOEXEC.
66882 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66884         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66886 2011-11-14  Andreas Schwab  <schwab@redhat.com>
66888         * malloc/arena.c (arena_get2): Don't call reused_arena when
66889         _int_new_arena failed.
66891 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66893         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66894         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66895         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66896         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66897         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66898         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66899         to compile strcasecmp and strncasecmp.
66900         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66901         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66903         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66905 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
66907         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66908         locale-defines.sym to gen-as-const-headers.
66909         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66910         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66911         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66912         to compile strcasecmp and strncasecmp.
66913         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66914         strcasecmp_l and strncasecmp_l.
66915         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66916         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66917         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66918         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66919         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66920         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66921         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66922         * sysdeps/i386/i686/multiarch/strncase.S: New file.
66923         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66924         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66925         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66927 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
66929         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66930         result of SYSDEP_GETTIME_CPU to retval.
66931         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66932         parameter list to macro.  Remove trailing semicolon.  Adjust users.
66934         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66935         variable.
66937         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66938         mantissa words.
66939         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66941         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66942         from unused variable.
66944         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66945         DWARF definitions.
66946         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66947         for assembling.
66949         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66950         over namespaces.
66952         * sunrpc/rpc_prot.c (rejected): Fix case value.
66954         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66955         unsigned long long int to avoid warnings in shift.
66957         * posix/regex_internal.c (re_string_reconstruct): Actually use result
66958         of use of trans.
66959         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66960         variable tmp.
66962         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66963         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66964         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66966         * nis/nis_table.c (nis_list): Use variable of correct type for
66967         result of __follow_path call.
66969 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66971         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66972         of math functions ceil, trunc, floor, round, and sqrt, when
66973         avaliable on the platform.
66974         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66975         name clash.
66976         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66977         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66978         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66980 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66982         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66983         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66985 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66987         * include/unistd.h: Fix __readlink return type.
66988         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66990 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66992         * stdlib/ucontext.h: Undo last change for makecontext.
66994 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66996         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66998         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66999         * setjmp/setjmp.h: Mark functions as non-leaf.
67000         * setjmp/bits/setjmp2.h: Likewise.
67001         * stdlib/ucontext.h: Likewise.
67003 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67005         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67006         (reused_arena): Don't check arena limit.
67007         (arena_get2): Atomically check arena limit.
67009 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
67011         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67012         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67014         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67015         instructions.
67017 2011-11-07  Andreas Schwab  <schwab@redhat.com>
67019         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67020         handler when locking.
67022         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67023         Fix size of allocated buffer.
67025 2011-11-04  Andreas Schwab  <schwab@redhat.com>
67027         [BZ #10103]
67028         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67029         declarations for long double functions.
67030         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67032         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67034 2011-11-03  Andreas Schwab  <schwab@redhat.com>
67036         * nscd/nscd.c (main): Don't start AVC thread until credentials are
67037         installed.
67039         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67040         is disabled.
67042 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67044         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67046 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67048         * include/alloca.h (stackinfo_alloca_round): Define.
67049         (extend_alloca): Use it.
67050         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67051         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67052         here.
67054         * scripts/check-local-headers.sh: Ignore libaudit.h.
67056         * nscd/Makefile (extra-objs): Make recursively expanded.
67058 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
67060         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67061         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67063         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67064         * posix/tst-rfc3484-2.c: Likewise.
67065         * posix/tst-rfc3484-3.c: Likewise.
67067         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67068         process_vm_writev.
67069         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67070         process_vm_writev.
67071         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67072         process_vm_writev from libc using GLIBC_2.15 version.
67074         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67076 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
67078         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67079         stack usage.
67081 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
67083         [BZ #13367]
67084         * nss/getent.c (initgroups_keys): Show error message in case no group
67085         names are given.
67087         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67088         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67089         __bump_nl_timestamp.
67090         * nscd/connections (nscd_init): When host database is served open
67091         netlink socket and request notification about configuration changes.
67092         (main_loop_poll): Track netlink file descriptor and bump timestamp
67093         in case data becomes available.
67094         (main_loop_epoll): Likewise.
67095         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67096         (database_pers_head): Add extra_data fileds.
67097         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67098         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67099         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67100         Adjust caller.
67101         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67102         in6ai data, call __free_in6ai.
67103         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67104         Add -DHAVE_NETLINK.
67105         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
67106         interface information.  Reuse previous data if netlink timestamp
67107         is not changed.
67108         (__bump_nl_timestamp): New function.
67109         (__free_in6ai): New function.
67111 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
67113         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67114         close_not_cancel_no_status here.
67115         (__check_pf): Reorganize code a bit to not call close twice if OOM.
67117 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67119         [BZ #13276]
67120         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67121         return value.
67123         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67124         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67125         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67127 2011-07-03  Andreas Jaeger  <aj@suse.de>
67129         [BZ #10709]
67130         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67131         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67132         * math/libm-test.inc (sin_test): Add test case.
67134 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67136         [BZ #13337]
67137         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67138         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67140         * elf/chroot_canon.c (chroot_canon): Cleanups.
67142         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67144         [BZ #13335]
67145         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67146         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67148         * string/test-strchr.c: Make usable for strchrnul testing.
67149         * string/test-strchrnul.c: New file.
67150         * string/Makefile (strop-tests): Add strchrnul.
67152         * po/it.po: Update from translation team.
67153         * po/es.po: Likewise.
67155 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
67157         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67158         the three constants needed as parameters.  Drop the others.
67159         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67160         __m128i_strloadu_tolower.
67161         Create and initialize variable zero and use it in all the places
67162         where _mm_setzero_si128 was used.
67164         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67165         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67166         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67167         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67168         anymore.
67169         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67170         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67171         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67172         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67173         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67174         __mpranred, __mptan.
67175         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67176         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67177         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67178         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67179         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67180         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67181         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67182         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67183         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67185 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67187         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67188         redefine if SHARED.
67189         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67191         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67192         wide char related routines to wcsmbs subdir.
67194 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67196         [BZ #13344]
67197         * misc/sys/cdefs.h (__THROWNL): Define.
67198         * posix/unistd.h: Use __THREADNL instead of __THREAD
67199         for memory synchronization functions.
67201 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67203         [BZ #13349]
67204         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67205         doesn't exist.
67206         * manual/stdio.texi (Obstack Streams): Node removed.
67208 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67210         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67211         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67212         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67214         * math/math_private.h (math_force_eval): Allow non-addressable
67215         arguments.
67216         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67218 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67220         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67221         file is not needed.
67223         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67224         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67225         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67226         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67227         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67228         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67229         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67230         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67231         Add AVX variants.
67232         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67233         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67234         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67235         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67236         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67237         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67238         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67239         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67240         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67241         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67242         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67243         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67244         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67245         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67246         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67247         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67248         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67249         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67250         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67252         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67253         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67255         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67256         place.  Use VEX encoding when compiling for AVX.
67258 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67260         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67261         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67263         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67265 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67267         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67268         useless if() expression.
67269         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67270         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67271         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67272         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67273         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67274         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67275         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67276         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67277         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67278         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67279         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67280         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67281         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67282         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67283         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67284         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67285         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67286         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67287         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67289         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67291 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67293         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67294         condition.
67295         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67297 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67299         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67300         .text section.  Avoid duplicate constants.
67301         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67302         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67303         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67304         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67305         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67306         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67307         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67308         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67309         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67310         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67311         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67312         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67313         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67314         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67315         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67316         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67317         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67318         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67319         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67320         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67321         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67322         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67323         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67324         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67325         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67326         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67327         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67328         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67329         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67330         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67331         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67332         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67333         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67334         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67335         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67336         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67337         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67338         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67339         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67340         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67341         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67342         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67343         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67344         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67345         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67347 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
67349         * sysdeps/x86_64/dla.h: Move to ...
67350         * sysdeps/x86_64/fpu/dla.h: ...here.
67351         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67352         situations.  Use __builtin_fma only for gcc 4.6 and up.
67354         * config.make.in: Add have-mfma4 entry.
67355         * configure.in: Substitute libc_cv_cc_fma4.
67356         * math/Makefile (dbl-only-routines): Add sincostab.
67357         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67358         Use __sincostab not sincos.
67359         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67360         name is a macro.
67361         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67362         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67363         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67364         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
67365         using __copysign.
67366         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
67367         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
67368         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67369         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67370         and __inv.
67371         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67372         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67373         __copysign.
67374         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
67375         define aliases when function name is a macro.
67376         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67377         sysdeps/ieee754/dbl-64/sincos.tbl.
67378         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67379         fma4-enabled routines.
67380         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67381         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67382         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67383         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67384         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67385         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67386         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67387         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67388         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67389         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67390         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67391         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67392         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67393         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67394         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67395         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67396         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67397         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67398         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67399         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67400         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67401         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67402         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67403         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67404         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67405         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67406         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67407         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67408         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67409         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67411         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67412         rename.
67413         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67414         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67415         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67418         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67419         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67420         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67422 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67424         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67426 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67428         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67430         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67431         prediction.
67432         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67434         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67435         Remove unused variable magic_bits.
67436         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67438         * string/strnlen.c: Define and use STRNLEN macro.
67439         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67440         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67441         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67442         * wcsmbs/wcslen.c: Define and use WCSLEN.
67443         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67444         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67445         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67446         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67447         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67448         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67449         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67451 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67454         strnlen-sse2-no-bsf.
67455         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67456         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67457         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67458         Add strnlen support.
67459         (USE_AS_STRNLEN): New macro.
67460         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67461         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67462         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67463         * sysdeps/x86_64/wcslen.S: New file.
67465 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67467         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67468         XMM-moves are used for copying on small sizes.
67470 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67472         * wcsmbs/Makefile (strop-tests): Add wcschr.
67473         * wcsmbs/test-wcschr.c: New file.
67474         * string/test-strchr.c: Update.
67475         Add wcschr support.
67476         (WIDE): New macro.
67478 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67480         * wcsmbs/Makefile (strop-tests): Add wcslen.
67481         * wcsmbs/test-wcslen.c: New file.
67482         * string/test-strlen.c: Update.
67483         Add wcslen support.
67484         (WIDE): New macro.
67486 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67488         * po/it.po: Update from translation team.
67490 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67492         * sysdeps/x86_64/wcscmp.S: Update.
67493         Fix wrong comparison semantics.
67494         wcscmp shall use signed comparison not unsigned.
67495         Don't use substraction to avoid overflow bug.
67496         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67497         * wcsmbc/wcscmp.c: Likewise.
67498         * string/test-strcmp.c: Likewise.
67499         Add new tests to check cases with negative values.
67501 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67503         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67504         * sysdeps/x86_64/dla.h: ...here.  New file.
67505         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67506         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67507         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67508         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67509         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67510         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67511         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67512         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67513         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67515 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67517         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67518         __ynl_finite aliases.
67520 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67524         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67525         define DLA_FMA.
67526         [DLA_FMA] (EMULV): Use DLA_FMA.
67527         [DLA_FMA] (MUL12): Use EMULV.
67528         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67529         that are not needed.
67530         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67531         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67532         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67533         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67534         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67535         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67536         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67538 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67540         * math/s_nan.c: Undef __nan.
67541         * math/s_nanf.c: Undef __nanf.
67542         * math/s_nanl.c: Undef __nanl.
67543         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67544         "math_private.h".
67546 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67548         * math/s_catan.c: Add branch predictions.
67549         * math/s_catanf.c: Likewise.
67550         * math/s_catanh.c: Likewise.
67551         * math/s_catanhf.c: Likewise.
67552         * math/s_catanhl.c: Likewise.
67553         * math/s_catanl.c: Likewise.
67554         * math/s_cexp.c: Likewise.
67555         * math/s_cexpf.c: Likewise.
67556         * math/s_cexpl.c: Likewise.
67557         * math/s_clog.c: Likewise.
67558         * math/s_clog10.c: Likewise.
67559         * math/s_clog10f.c: Likewise.
67560         * math/s_clog10l.c: Likewise.
67561         * math/s_clogf.c: Likewise.
67562         * math/s_clogl.c: Likewise.
67563         * math/s_csqrt.c: Likewise.
67564         * math/s_csqrtf.c: Likewise.
67565         * math/s_csqrtl.c: Likewise.
67566         * math/s_ctanf.c: Likewise.
67567         * math/s_ctanh.c: Likewise.
67568         * math/s_ctanhf.c: Likewise.
67569         * math/s_ctanhl.c: Likewise.
67570         * math/s_ctanl.c: Likewise.
67572         * math/math_private.h: Define __nan, __nanf, __nanl.
67573         * math/s_cacosh.c: Include <math_private.h>.
67574         * math/s_cacoshl.c: Likewise.
67575         * math/s_casinh.c: Likewise.
67576         * math/s_casinhf.c: Likewise.
67577         * math/s_casinhl.c: Likewise.
67578         * math/s_ccos.c: Rely entire on ccosh.
67579         * math/s_ccosf.c: Rely entire on ccoshf.
67580         * math/s_ccosl.c: Rely entirely on ccoshl.
67581         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67582         Remove tests for FE_INVALID.
67583         * math/s_ccoshf.c: Likewise.
67584         * math/s_ccoshl.c: Likewise.
67585         * math/s_csin.c: Likewise.
67586         * math/s_csinf.c: Likewise.
67587         * math/s_csinh.c Likewise.
67588         * math/s_csinhf.c: Likewise.
67589         * math/s_csinhl.c: Likewise.
67590         * math/s_csinl.c: Likewise.
67591         * math/s_ctan.c: Likewise.
67592         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67593         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67594         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67596 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67599         compilation problems.
67601         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67602         __builtin_expect.
67604 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67606         * sysdeps/i386/configure.in: Test for -mfma4 option.
67607         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67608         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67609         COMMON_CPUID_INDEX_80000001.
67610         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67611         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67612         use it if FMA3 is not supported.
67613         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67615         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67616         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67618 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67620         [BZ #12892]
67621         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67622         it would create a cycle with a link time dependency.
67624 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67626         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67627         instruction.
67628         * string/Makefile (strop-tests): Add rawmemchr.
67629         * string/test-rawmemchr.c: New file.
67631         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67632         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67633         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67634         when compiling str{,n}casecmp and when AVX is available.  Hook up
67635         new optimized code in initializers.
67637 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67639         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67640         __feraiseexcept instead of feraiseexcept.
67642 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67644         * math/math_private.h: Define defaults for libc_fetestexcept and
67645         libc_feupdateenv.
67646         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67647         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67648         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67649         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67650         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67651         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67652         libc_fetestexcept and libc_feupdateenv.
67654         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67655         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67656         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67657         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67658         libc_feholdexcept_setround.
67660         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67661         Add s_nearbyint-c and s_nearbyintf-c.
67662         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67663         nearbyintf inlines.
67664         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67665         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67666         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67667         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67669         * math/math_private.h: Define defaults for libc_fegetround,
67670         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67671         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67672         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67673         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67674         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67675         standard functions.
67676         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67677         Remove comments and hacks for old compiler versions.
67678         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67679         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67680         libc_feholdexceptl.
67682 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67684         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67685         (__feraiseexcept_renamed): Add __NTH.
67686         (feraiseexcept): Add __NTH.  Rename local variables to fix
67687         namespace violations.
67689 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67691         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67693         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67695         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67696         recently added interfaces.
67697         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67699         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67700         about macro parameter expansion.
67702         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67703         __NO_MATH_INLINES is defined.  Cleanups.
67705         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67706         and __floorf is target has SSE4.1.
67707         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67708         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67709         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67710         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67712         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67713         name.
67714         (floorf): Likewise.
67716         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67718 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67720         * misc/sys/cdefs.h: Fix last change.
67722         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67723         database lookup.
67725 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67727         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67729         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67730         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67731         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67732         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67733         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67734         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67735         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67736         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67737         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67738         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67739         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67740         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67741         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67742         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67743         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67744         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67745         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67746         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67747         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67748         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67749         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67750         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67752         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67753         ceil, ceilf, floor, floorf.
67755         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67756         Perform IRELATIVE relocations last.
67758         * elf/do-rel.h: Add another parameter nrelative, replacing the
67759         local variable with the same name.  Change name of the function
67760         to end in Rel or Rela (uppercase).
67761         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67762         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67763         elf_dynamic_do_##reloc function.
67765 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67767         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67768         is sufficient, at least on modern CPUs.
67770         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67772         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67773         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67775         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67776         __expl_finite.
67777         * math/bits/math-finite.h: Add entries for exp.
67778         * math/e_expl.c: Add __*_finite alias.
67779         * sysdeps/i386/fpu/e_exp.S: Likewise.
67780         * sysdeps/i386/fpu/e_expf.S: Likewise.
67781         * sysdeps/i386/fpu/e_expl.c: Likewise.
67782         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67783         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67784         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67785         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67786         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67787         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67788         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67790         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67791         is sufficient, at least on modern CPUs.
67793         * ctype/ctype-info.c (__ctype_init): Define.
67794         * include/ctype.h (__ctype_init): Declare.
67795         (__ctype_b_loc): The variable is always initialized.
67796         (__ctype_toupper_loc): Likewise.
67797         (__ctype_tolower_loc): Likewise.
67798         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67799         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67801 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67803         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67805         * configure.in: Also look in $cxxmachine/include for C++ system
67806         headers.
67808 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67810         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67811         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67812         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67813         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67814         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67815         (USE_AS_WMEMCMP): New macro.
67816         Fixing indents.
67817         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67818         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67819         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67820         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67821         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67822         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67823         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67824         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67825         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67826         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67827         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67828         (USE_AS_WMEMCMP): New macro.
67829         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67830         * sysdeps/string/test-memcmp.c: Update.
67831         Fix simple_wmemcmp.
67832         Add new tests.
67833         * wcsmbs/wmemcmp.c: Update.
67834         (WMEMCMP): New macro.
67835         Fix overflow bug.
67837 2011-10-12  Andreas Jaeger  <aj@suse.de>
67839         [BZ #13268]
67840         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67842 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67844         * libio/iofwide.c (do_length): Avoid warning.
67846         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67848 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67850         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67852         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67853         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67854         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67855         * sysdeps/i386/i686/fpu/e_log.S: New file.
67856         * sysdeps/i386/i686/fpu/e_logf.S: New file.
67857         * sysdeps/i386/i686/fpu/e_logl.S: New file.
67859         * ctype/ctype.h: Add support for inlined isXXX functions when
67860         compiling C++ code.
67862 2011-10-14  Andreas Schwab  <schwab@redhat.com>
67864         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67866         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67868 2011-10-13  Roland McGrath  <roland@hack.frob.com>
67870         [BZ #13291]
67871         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67873 2011-10-13  Andreas Schwab  <schwab@redhat.com>
67875         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67876         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67877         feraiseexcept.
67879         * sysdeps/x86_64/memrchr.S: Check for zero size.
67881         * string/stratcliff.c: Add memrchr tests.
67883 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67885         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67886         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67887         rawmemchr-sse2 rawmemchr-sse2-bsf.
67888         * sysdeps/i386/i686/multiarch/memchr.S: New file.
67889         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67890         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67891         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67892         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67893         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67894         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67895         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67896         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67897         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67898         * string/memrchr.c (MEMRCHR): New macro.
67900 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
67902         Add integration with gcc's -ffinite-math-only and optimize wrapper
67903         functions in libm.
67904         * Versions.def: Define GLIBC_2.15 version for libm.
67905         * math/Makefile (headers): Add bits/math-finite.h.
67906         * math/bits/math-finite.h: New file.
67907         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67908         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67909         * math/e_acoshl.c: Add __*_finite alias.
67910         * math/e_acosl.c: Likewise.
67911         * math/e_asinl.c: Likewise.
67912         * math/e_atan2l.c: Likewise.
67913         * math/e_atanhl.c: Likewise.
67914         * math/e_coshl.c: Likewise.
67915         * math/e_exp10.c: Likewise.
67916         * math/e_exp10f.c: Likewise.
67917         * math/e_exp10l.c: Likewise.
67918         * math/e_exp2l.c: Likewise.
67919         * math/e_fmodl.c: Likewise.
67920         * math/e_gammal_r.c: Likewise.
67921         * math/e_hypotl.c: Likewise.
67922         * math/e_j0l.c: Likewise.
67923         * math/e_j1l.c: Likewise.
67924         * math/e_jnl.c: Likewise.
67925         * math/e_lgammal_r.c: Likewise.
67926         * math/e_log10l.c: Likewise.
67927         * math/e_log2l.c: Likewise.
67928         * math/e_logl.c: Likewise.
67929         * math/e_powl.c: Likewise.
67930         * math/e_sinhl.c: Likewise.
67931         * math/e_sqrtl.c: Likewise.
67932         * math/e_scalb.c: Completely rewritten and optimized.
67933         * math/e_scalbf.c: Likewise.
67934         * math/e_scalbl.c: Likewise.
67935         * math/w_acos.c: Likewise.
67936         * math/w_acosf.c: Likewise.
67937         * math/w_acosl.c: Likewise.
67938         * math/w_acosh.c: Likewise.
67939         * math/w_acoshf.c: Likewise.
67940         * math/w_acoshl.c: Likewise.
67941         * math/w_asin.c: Likewise.
67942         * math/w_asinf.c: Likewise.
67943         * math/w_asinl.c: Likewise.
67944         * math/w_atan2.c: Likewise.
67945         * math/w_atan2f.c: Likewise.
67946         * math/w_atan2l.c: Likewise.
67947         * math/w_atanh.c: Likewise.
67948         * math/w_atanhf.c: Likewise.
67949         * math/w_atanhl.c: Likewise.
67950         * math/w_exp10.c: Likewise.
67951         * math/w_exp10f.c: Likewise.
67952         * math/w_exp10l.c: Likewise.
67953         * math/w_fmod.c: Likewise.
67954         * math/w_fmodf.c: Likewise.
67955         * math/w_fmodl.c: Likewise.
67956         * math/w_j0.c: Likewise.
67957         * math/w_j0f.c: Likewise.
67958         * math/w_j0l.c: Likewise.
67959         * math/w_j1.c: Likewise.
67960         * math/w_j1f.c: Likewise.
67961         * math/w_j1l.c: Likewise.
67962         * math/w_jn.c: Likewise.
67963         * math/w_jnf.c: Likewise.
67964         * math/w_log.c: Likewise.
67965         * math/w_logf.c: Likewise.
67966         * math/w_logl.c: Likewise.
67967         * math/w_log10.c: Likewise.
67968         * math/w_log10f.c: Likewise.
67969         * math/w_log10l.c: Likewise.
67970         * math/w_log2.c: Likewise.
67971         * math/w_log2f.c: Likewise.
67972         * math/w_log2l.c: Likewise.
67973         * math/w_pow.c: Likewise.
67974         * math/w_powf.c: Likewise.
67975         * math/w_powl.c: Likewise.
67976         * math/w_remainder.c: Likewise.
67977         * math/w_remainderf.c: Likewise.
67978         * math/w_remainderl.c: Likewise.
67979         * math/w_scalb.c: Likewise.
67980         * math/w_scalbf.c: Likewise.
67981         * math/w_scalbl.c: Likewise.
67982         * math/w_sqrt.c: Likewise.
67983         * math/w_sqrtf.c: Likewise.
67984         * math/w_sqrtl.c: Likewise.
67985         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67986         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67987         used.
67988         * math/math_private.h: Declare __kernel_standard_f.
67989         * math/w_cosh.c: Remove cruft and optimize a bit.
67990         * math/w_coshf.c: Likewise.
67991         * math/w_coshl.c: Likewise.
67992         * math/w_exp2.c: Likewise.
67993         * math/w_exp2f.c: Likewise.
67994         * math/w_exp2l.c: Likewise.
67995         * math/w_hypot.c: Likewise.
67996         * math/w_hypotf.c: Likewise.
67997         * math/w_hypotl.c: Likewise.
67998         * math/w_lgamma.c: Likewise.
67999         * math/w_lgamma_r.c: Likewise.
68000         * math/w_lgammaf.c: Likewise.
68001         * math/w_lgammaf_r.c: Likewise.
68002         * math/w_lgammal.c: Likewise.
68003         * math/w_lgammal_r.c: Likewise.
68004         * math/w_sinh.c: Likewise.
68005         * math/w_sinhf.c: Likewise.
68006         * math/w_sinhl.c: Likewise.
68007         * math/w_tgamma.c: Likewise.
68008         * math/w_tgammaf.c: Likewise.
68009         * math/w_tgammal.c: Likewise.
68010         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68011         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68012         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68013         Minor optimizations.  Pretty printing.  Remove cruft.
68014         * sysdeps/i386/fpu/e_acosf.S: Likewise.
68015         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68016         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68017         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68018         * sysdeps/i386/fpu/e_acosl.c: Likewise.
68019         * sysdeps/i386/fpu/e_asin.S: Likewise.
68020         * sysdeps/i386/fpu/e_asinf.S: Likewise.
68021         * sysdeps/i386/fpu/e_atan2.S: Likewise.
68022         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68023         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68024         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68025         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68026         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68027         * sysdeps/i386/fpu/e_exp10.S: Likewise.
68028         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68029         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68030         * sysdeps/i386/fpu/e_exp2.S: Likewise.
68031         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68032         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68033         * sysdeps/i386/fpu/e_fmod.S: Likewise.
68034         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68035         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68036         * sysdeps/i386/fpu/e_hypot.S: Likewise.
68037         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68038         * sysdeps/i386/fpu/e_log.S: Likewise.
68039         * sysdeps/i386/fpu/e_log10.S: Likewise.
68040         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68041         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68042         * sysdeps/i386/fpu/e_log2.S: Likewise.
68043         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68044         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68045         * sysdeps/i386/fpu/e_logf.S: Likewise.
68046         * sysdeps/i386/fpu/e_logl.S: Likewise.
68047         * sysdeps/i386/fpu/e_pow.S: Likewise.
68048         * sysdeps/i386/fpu/e_powf.S: Likewise.
68049         * sysdeps/i386/fpu/e_powl.S: Likewise.
68050         * sysdeps/i386/fpu/e_remainder.S: Likewise.
68051         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68052         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68053         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68054         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68055         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68056         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68057         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68058         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68059         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68060         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68061         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68062         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68063         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68064         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68065         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68066         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68067         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68068         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68069         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68070         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68071         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68072         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68073         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68074         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68075         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68076         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68077         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68078         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68079         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68080         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68081         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68082         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68083         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68084         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68085         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68086         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68087         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68088         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68089         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68090         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68091         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68092         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68093         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68094         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68095         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68096         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68097         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68098         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68099         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68100         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68101         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68102         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68103         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68104         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68105         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68106         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68107         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68108         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68109         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68110         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68111         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68112         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68113         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68114         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68115         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68116         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68117         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68118         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68119         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68120         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68121         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68122         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68123         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68124         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68125         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68126         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68127         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68128         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68129         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68130         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68131         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68132         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68133         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68134         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68135         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68136         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68137         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68138         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68139         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68140         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68141         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68142         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68143         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68144         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68145         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68146         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68147         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68148         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68149         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68150         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68151         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68152         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68153         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68154         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68155         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68156         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68157         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68158         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68159         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68160         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68161         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68162         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68163         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68164         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68165         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68166         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68167         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68168         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68169         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
68170         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68171         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68172         (__isnanf): Likewise.
68173         (__isinf_ns): Likewise.
68174         (__isinf_nsf): Likewise.
68175         (__finite): Likewise.
68176         (__finitef): Likewise.
68177         (__ieee754_sqrt): Define as macro.
68178         (__ieee754_sqrtf): Define as macro.
68179         (__ieee754_sqrtl): Define as macro.
68180         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68181         inlined copy.
68182         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68183         __FINITE_MATH_ONLY__ consistent.
68184         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68186 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68188         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68189         of rawmemchr.
68191         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68193 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68195         * po/ja.po: Update from translation team.
68197 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68199         * locale/programs/locarchive.c (prepare_address_space): New function.
68200         (create_archive, enlarge_archive, open_archive): Use it.
68202         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68203         inside [SHARED], where it is used.
68205         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68207         * nss/getent.c (netgroup_keys): Remove unused variable.
68208         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68210 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68212         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68213         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68214         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68215         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68216         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68217         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68218         * math/Makefile (libm-calls): Add s_isinf_ns.
68219         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68220         * math/multc3.c: Likewise.
68221         * math/s_casin.c: Likewise.
68222         * math/s_casinf.c: Likewise.
68223         * math/s_casinl.c: Likewise.
68224         * math/s_ccos.c: Likewise.
68225         * math/s_ccosf.c: Likewise.
68226         * math/s_ccosl.c: Likewise.
68227         * math/s_ctan.c: Likewise.
68228         * math/s_ctanf.c: Likewise.
68229         * math/s_ctanh.c: Likewise.
68230         * math/s_ctanhf.c: Likewise.
68231         * math/s_ctanhl.c: Likewise.
68232         * math/s_ctanl.c: Likewise.
68233         * math/w_fmod.c: Likewise.
68234         * math/w_fmodf.c: Likewise.
68235         * math/w_fmodl.c: Likewise.
68236         * math/w_remainder.c: Likewise.
68237         * math/w_remainderf.c: Likewise.
68238         * math/w_remainderl.c: Likewise.
68239         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68240         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68241         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68242         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68243         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68244         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68245         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68246         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68248         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68249         of the number.
68250         * stdio-common/printf_fphex.c: Likewise.
68251         * stdio-common/printf_size.c: Likewise.
68253         * math/e_exp10.c: Include math_private.h using <...> not "...".
68254         * math/e_exp10f.c: Likewise.
68255         * math/e_exp10l.c: Likewise.
68256         * math/e_exp2l.c: Likewise.
68257         * math/e_j0l.c: Likewise.
68258         * math/e_j1l.c: Likewise.
68259         * math/e_jnl.c: Likewise.
68260         * math/e_lgammal_r.c: Likewise.
68261         * math/e_rem_pio2l.c: Likewise.
68262         * math/e_scalb.c: Likewise.
68263         * math/e_scalbf.c: Likewise.
68264         * math/e_scalbl.c: Likewise.
68265         * math/k_cosl.c: Likewise.
68266         * math/k_sinl.c: Likewise.
68267         * math/k_tanl.c: Likewise.
68268         * math/s_cacoshf.c: Likewise.
68269         * math/s_catan.c: Likewise.
68270         * math/s_catanf.c: Likewise.
68271         * math/s_catanh.c: Likewise.
68272         * math/s_catanhf.c: Likewise.
68273         * math/s_catanhl.c: Likewise.
68274         * math/s_catanl.c: Likewise.
68275         * math/s_ccosh.c: Likewise.
68276         * math/s_ccoshf.c: Likewise.
68277         * math/s_ccoshl.c: Likewise.
68278         * math/s_cexp.c: Likewise.
68279         * math/s_cexpf.c: Likewise.
68280         * math/s_cexpl.c: Likewise.
68281         * math/s_clog.c: Likewise.
68282         * math/s_clog10.c: Likewise.
68283         * math/s_clog10f.c: Likewise.
68284         * math/s_clog10l.c: Likewise.
68285         * math/s_clogf.c: Likewise.
68286         * math/s_clogl.c: Likewise.
68287         * math/s_csin.c: Likewise.
68288         * math/s_csinf.c: Likewise.
68289         * math/s_csinh.c: Likewise.
68290         * math/s_csinhf.c: Likewise.
68291         * math/s_csinhl.c: Likewise.
68292         * math/s_csinl.c: Likewise.
68293         * math/s_csqrt.c: Likewise.
68294         * math/s_csqrtf.c: Likewise.
68295         * math/s_csqrtl.c: Likewise.
68296         * math/s_ctan.c: Likewise.
68297         * math/s_ctanf.c: Likewise.
68298         * math/s_ctanh.c: Likewise.
68299         * math/s_ctanhf.c: Likewise.
68300         * math/s_ctanhl.c: Likewise.
68301         * math/s_ctanl.c: Likewise.
68302         * math/s_ldexp.c: Likewise.
68303         * math/s_ldexpf.c: Likewise.
68304         * math/s_ldexpl.c: Likewise.
68305         * math/s_significand.c: Likewise.
68306         * math/s_significandf.c: Likewise.
68307         * math/s_significandl.c: Likewise.
68308         * math/w_acos.c: Likewise.
68309         * math/w_acosf.c: Likewise.
68310         * math/w_acosh.c: Likewise.
68311         * math/w_acoshf.c: Likewise.
68312         * math/w_acoshl.c: Likewise.
68313         * math/w_acosl.c: Likewise.
68314         * math/w_asin.c: Likewise.
68315         * math/w_asinf.c: Likewise.
68316         * math/w_asinl.c: Likewise.
68317         * math/w_atan2.c: Likewise.
68318         * math/w_atan2f.c: Likewise.
68319         * math/w_atan2l.c: Likewise.
68320         * math/w_atanh.c: Likewise.
68321         * math/w_atanhf.c: Likewise.
68322         * math/w_atanhl.c: Likewise.
68323         * math/w_cosh.c: Likewise.
68324         * math/w_coshf.c: Likewise.
68325         * math/w_coshl.c: Likewise.
68326         * math/w_dremf.c: Likewise.
68327         * math/w_exp10.c: Likewise.
68328         * math/w_exp10f.c: Likewise.
68329         * math/w_exp10l.c: Likewise.
68330         * math/w_exp2.c: Likewise.
68331         * math/w_exp2f.c: Likewise.
68332         * math/w_fmod.c: Likewise.
68333         * math/w_fmodf.c: Likewise.
68334         * math/w_fmodl.c: Likewise.
68335         * math/w_hypot.c: Likewise.
68336         * math/w_hypotf.c: Likewise.
68337         * math/w_hypotl.c: Likewise.
68338         * math/w_j0.c: Likewise.
68339         * math/w_j0f.c: Likewise.
68340         * math/w_j0l.c: Likewise.
68341         * math/w_j1.c: Likewise.
68342         * math/w_j1f.c: Likewise.
68343         * math/w_j1l.c: Likewise.
68344         * math/w_jn.c: Likewise.
68345         * math/w_jnf.c: Likewise.
68346         * math/w_jnl.c: Likewise.
68347         * math/w_lgamma.c: Likewise.
68348         * math/w_lgamma_r.c: Likewise.
68349         * math/w_lgammaf.c: Likewise.
68350         * math/w_lgammaf_r.c: Likewise.
68351         * math/w_lgammal.c: Likewise.
68352         * math/w_lgammal_r.c: Likewise.
68353         * math/w_log.c: Likewise.
68354         * math/w_log10.c: Likewise.
68355         * math/w_log10f.c: Likewise.
68356         * math/w_log10l.c: Likewise.
68357         * math/w_log2.c: Likewise.
68358         * math/w_log2f.c: Likewise.
68359         * math/w_log2l.c: Likewise.
68360         * math/w_logf.c: Likewise.
68361         * math/w_logl.c: Likewise.
68362         * math/w_pow.c: Likewise.
68363         * math/w_powf.c: Likewise.
68364         * math/w_powl.c: Likewise.
68365         * math/w_remainder.c: Likewise.
68366         * math/w_remainderf.c: Likewise.
68367         * math/w_remainderl.c: Likewise.
68368         * math/w_scalb.c: Likewise.
68369         * math/w_scalbf.c: Likewise.
68370         * math/w_scalbl.c: Likewise.
68371         * math/w_sinh.c: Likewise.
68372         * math/w_sinhf.c: Likewise.
68373         * math/w_sinhl.c: Likewise.
68374         * math/w_sqrt.c: Likewise.
68375         * math/w_sqrtf.c: Likewise.
68376         * math/w_sqrtl.c: Likewise.
68377         * math/w_tgamma.c: Likewise.
68378         * math/w_tgammaf.c: Likewise.
68379         * math/w_tgammal.c: Likewise.
68381         * po/ja.po: Update from translation team.
68383 2011-09-29  Andreas Jaeger  <aj@suse.de>
68385         [BZ #13179]
68386         * sunrpc/netname.c (netname2host): Fix logic.
68388         [BZ #6779]
68389         [BZ #6783]
68390         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68391         correctly.
68392         * math/w_remainder.c (__remainder): Likewise.
68393         * math/w_remainderf.c (__remainderf): Likewise.
68394         * math/libm-test.inc (remainder_test): Add test cases.
68396 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68398         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68399         sdiv_qrnnd.
68401 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68403         * string/test-memcmp.c: Avoid unncessary #defines.
68404         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68406 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68408         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68409         Use new sse2 version for core i3 - i7 as it's faster
68410         than sse42 version.
68411         (bit_Prefer_PMINUB_for_stringop): New.
68412         * sysdeps/x86_64/rawmemchr.S: Update.
68413         Replace with faster SSE2 version.
68414         * sysdeps/x86_64/memrchr.S: New file.
68415         * sysdeps/x86_64/memchr.S: Update.
68416         Replace with faster SSE2 version.
68418 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68420         * elf/dl-load.c (lose): Add cast to avoid warning.
68422 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68424         * po/ca.po: Update from translation team.
68426         * inet/getnetgrent_r.c: Hook up nscd.
68427         * nscd/Makefile (routines): Add nscd_netgroup.
68428         (nscd-modules): Add netgroupcache.
68429         (CFLAGS-netgroupcache.c): Define.
68430         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68431         (cache_search): Add const to second parameter.
68432         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68433         INNETGR.
68434         (dbs): Add netgrdb entry.
68435         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68436         (verify_persistent_db): Handle netgrdb.
68437         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68438         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68439         GETFDNETGR.
68440         (netgroup_response_header): Define.
68441         (innetgroup_response_header): Define.
68442         (datahead): Add netgroup_response_header and innetgroup_response_header
68443         elements.
68444         * nscd/nscd.conf: Add entries for netgroup cache.
68445         * nscd/nscd.h (dbtype): Add netgrdb.
68446         (_PATH_NSCD_NETGROUP_DB): Define.
68447         (netgroup_iov_disabled): Declare.
68448         (xmalloc, xcalloc, xrealloc): Move declarations here.
68449         (cache_search): Adjust prototype.
68450         Add netgroup-related prototypes.
68451         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68452         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68453         (__nscd_innetgr): Declare.
68454         * nscd/selinux.c (perms): Use access_vector_t as element type and
68455         add netgroup-related initializers.
68456         * nscd/netgroupcache.c: New file.
68457         * nscd/nscd_netgroup.c: New file.
68458         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68459         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68460         For four parameters use innetgr.
68461         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68462         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68463         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68464         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68466         * nscd/connections.c (register_traced_file): Don't register file
68467         for disabled databases.
68469 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68471         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68473         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68474         from tree and freeing node.
68476 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68478         * nss/nsswitch.c (__nss_database_lookup): Handle
68479         nss_parse_service_list out of memory case.
68481 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68483         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68484         out of memory case.
68486 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68488         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68489         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68490         pass it down.
68491         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68492         elf_machine_rela, elf_machine_lazy_rel.
68493         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68494         (ELF_DYNAMIC_DO_REL): Likewise.
68495         (ELF_DYNAMIC_DO_RELA): Likewise.
68496         (ELF_DYNAMIC_RELOCATE): Likewise.
68497         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68498         to ELF_DYNAMIC_DO_REL.
68499         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68500         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68501         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68502         elf_machine_rela.
68503         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68504         skip_ifunc, don't call ifunc function if non-zero.
68505         (elf_machine_rela): Likewise.
68506         (elf_machine_lazy_rel): Likewise.
68507         (elf_machine_lazy_rela): Likewise.
68508         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68509         (elf_machine_lazy_rel): Likewise.
68510         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68511         Likewise.
68512         (elf_machine_lazy_rel): Likewise.
68513         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68514         Likewise.
68515         (elf_machine_lazy_rel): Likewise.
68516         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68517         (elf_machine_lazy_rel): Likewise.
68518         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68519         (elf_machine_lazy_rel): Likewise.
68520         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68521         (elf_machine_lazy_rel): Likewise.
68522         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68523         (elf_machine_lazy_rel): Likewise.
68524         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68525         (elf_machine_lazy_rel): Likewise.
68526         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68527         (elf_machine_lazy_rel): Likewise.
68529 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68531         * nss/nss_files/files-init.c (_nss_files_init): Use static
68532         initialization for all the *_traced_file variables.
68534 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68536         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68538 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68540         [BZ #13226]
68541         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68543 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68545         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68546         Reread the line before reparsing it.
68548 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68550         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68552 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68553             Maxim Kuvyrkov  <maxim@codesourcery.com>
68554             Joseph Myers  <joseph@codesourcery.com>
68556         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68557         if needed for __stack_chk_guard.
68559 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68561         * sysdeps/posix/spawni.c (script_execute): Always define it.
68562         It will be optimized away if unused.
68563         (maybe_script_execute): New function.
68564         (__spawni): Call it.
68566         * Makerules: Don't include tls.make.
68567         (config-tls): Always set to thread.
68568         * tls.make.c: File removed.
68570 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68572         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68573         * config.make.in (CPPFLAGS-config): New substituted variable.
68575 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68577         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68579         [BZ #13192]
68580         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68581         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68583 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68585         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68586         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68587         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68588         (CALL_FAIL): Likewise.
68589         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68590         (CALL_FAIL): Macro removed.
68591         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68593 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68595         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68596         for __FINITE_MATH_ONLY__ == 1.
68598 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68600         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68601         __ieee754_sqrt instead of sqrt.
68602         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68603         __ieee754_sqrtf instead of sqrtf.
68604         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68605         __floorf instead of floorf.
68606         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68607         __floorf, __truncf instead of floorf, truncf.
68609 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68611         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68613         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68614         __extern_always_inline.
68615         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68616         32-bit.
68618 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68620         * elf/rtld.c (dl_main): Also relocate in dependency order when
68621         doing symbol dependency testing.
68623 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68625         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68626         Always define `refsym'.
68628 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68630         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68631         (__FD_ELT): Renamed from __FDELT.
68632         * misc/bits/select2.h (__FD_ELT): Likewise.
68633         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68634         __FD_MASK instead of __FDELT, __FDMASK.
68635         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68636         Likewise.
68637         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68638         Likewise.
68640         * elf/Makefile (gen-ldd): Fix pattern.
68642         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68643         (init_tls): Likewise.
68645 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68647         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68649 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68651         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68652         `struct cmsghdr *' instead of `void *'.
68653         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68654         Likewise.
68656 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68658         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68659         if non-absolute.
68660         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68661         ldd_rewrite_script.
68663 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68665         * configure.in: Remove --with-tls option.
68666         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68667         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68668         out in case it is missing.
68669         * sysdeps/ia64/elf/configure.in: Likewise.
68670         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68671         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68672         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68673         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68674         * sysdeps/sh/elf/configure.in: Likewise.
68675         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68676         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68677         * sysdeps/x86_64/elf/configure.in: Likewise.
68678         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68679         * sysdeps/mach/hurd/tls.h: Likewise.
68681         [BZ #13067]
68682         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68684         [BZ #13090]
68685         * configure.in: Fix use of AC_INIT.
68687         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68689 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68691         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68692         __set_errno.
68693         * malloc/hooks.c: Likewise.
68695         [BZ #11929]
68696         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68697         variables statically.
68698         (narenas): Initialize.
68699         (list_lock): Initialize.
68700         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68701         initializtion of main_arena and list_lock.  Small cleanups.
68702         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68703         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68704         Add initializers to main_arena and mp_.
68705         (malloc_state): Remove pagesize member.  Change all users to use
68706         GLRO(dl_pagesize).
68708         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68709         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68710         is always initialized.
68712         * malloc/malloc.c: Removed unused configurations and dead code.
68713         * malloc/arena.c: Likewise.
68714         * malloc/hooks.c: Likewise.
68715         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68717         * include/tls.h: Removed.  USE___THREAD must always be defined.
68718         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68719         * elf/dl-libc.c: Likewise.
68720         * elf/dl-tsd.c: Likewise.
68721         * include/errno.h: Likewise.
68722         * include/netdb.h: Likewise.
68723         * include/resolv.h: Likewise.
68724         * inet/herrno-loc.c: Likewise.
68725         * inet/herrno.c: Likewise.
68726         * malloc/arena.c: Likewise.
68727         * malloc/hooks.c: Likewise.
68728         * malloc/malloc.c: Likewise.
68729         * resolv/res-state.c: Likewise.
68730         * resolv/res_libc.c: Likewise.
68731         * sysdeps/i386/dl-machine.h: Likewise.
68732         * sysdeps/ia64/dl-machine.h: Likewise.
68733         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68734         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68735         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68736         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68737         * sysdeps/sh/dl-machine.h: Likewise.
68738         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68739         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68740         * sysdeps/unix/i386/sysdep.S: Likewise.
68741         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68742         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68743         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68744         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68745         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68746         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68747         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68748         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68749         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68750         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68751         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68752         * sysdeps/x86_64/dl-machine.h: Likewise.
68753         * tls.make.c: Likewise.
68755         * configure.in: Remove --with-__thread option.  Make tests for
68756         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68757         tls_model attribute fail if no support is available.  Remove
68758         USE_IN_LIBIO.
68759         * Makeconfig: Adjust for dropped configure option.  All features are
68760         now mandatory.
68761         * Makerules: Likewise.
68762         * Versions.def: Likewise.
68763         * argp/argp-fmtstream.c: Likewise.
68764         * argp/argp-fmtstream.h: Likewise.
68765         * argp/argp-help.c: Likewise.
68766         * assert/assert.c: Likewise.
68767         * config.h.in: Likewise.
68768         * config.make.in: Likewise.
68769         * configure: Likewise.
68770         * configure.in: Likewise.
68771         * csu/Versions: Likewise.
68772         * csu/init.c: Likewise.
68773         * elf/tst-audit2.c: Likewise.
68774         * elf/tst-tls10.c: Likewise.
68775         * elf/tst-tls10.h: Likewise.
68776         * elf/tst-tls11.c: Likewise.
68777         * elf/tst-tls12.c: Likewise.
68778         * elf/tst-tls14.c: Likewise.
68779         * elf/tst-tlsmod11.c: Likewise.
68780         * elf/tst-tlsmod12.c: Likewise.
68781         * elf/tst-tlsmod13.c: Likewise.
68782         * elf/tst-tlsmod13a.c: Likewise.
68783         * elf/tst-tlsmod14a.c: Likewise.
68784         * elf/tst-tlsmod15b.c: Likewise.
68785         * elf/tst-tlsmod16a.c: Likewise.
68786         * elf/tst-tlsmod16b.c: Likewise.
68787         * elf/tst-tlsmod7.c: Likewise.
68788         * elf/tst-tlsmod8.c: Likewise.
68789         * elf/tst-tlsmod9.c: Likewise.
68790         * gmon/gmon.c: Likewise.
68791         * grp/fgetgrent_r.c: Likewise.
68792         * grp/putgrent.c: Likewise.
68793         * hurd/fopenport.c: Likewise.
68794         * include/libc-symbols.h: Likewise.
68795         * include/tls.h: Likewise.
68796         * intl/gettextP.h: Likewise.
68797         * intl/loadinfo.h: Likewise.
68798         * locale/global-locale.c: Likewise.
68799         * locale/localeinfo.h: Likewise.
68800         * mach/devstream.c: Likewise.
68801         * malloc/arena.c: Likewise.
68802         * malloc/set-freeres.c: Likewise.
68803         * misc/err.c: Likewise.
68804         * misc/getttyent.c: Likewise.
68805         * misc/mntent_r.c: Likewise.
68806         * posix/getopt.c: Likewise.
68807         * posix/wordexp.c: Likewise.
68808         * pwd/fgetpwent_r.c: Likewise.
68809         * resolv/Versions: Likewise.
68810         * resolv/res_hconf.c: Likewise.
68811         * shadow/fgetspent_r.c: Likewise.
68812         * shadow/putspent.c: Likewise.
68813         * stdio-common/printf_fphex.c: Likewise.
68814         * stdio-common/tmpfile.c: Likewise.
68815         * stdlib/abort.c: Likewise.
68816         * stdlib/fmtmsg.c: Likewise.
68817         * sunrpc/auth_unix.c: Likewise.
68818         * sunrpc/clnt_perr.c: Likewise.
68819         * sunrpc/clnt_tcp.c: Likewise.
68820         * sunrpc/clnt_udp.c: Likewise.
68821         * sunrpc/clnt_unix.c: Likewise.
68822         * sunrpc/openchild.c: Likewise.
68823         * sunrpc/svc_simple.c: Likewise.
68824         * sunrpc/svc_tcp.c: Likewise.
68825         * sunrpc/svc_udp.c: Likewise.
68826         * sunrpc/svc_unix.c: Likewise.
68827         * sunrpc/xdr.c: Likewise.
68828         * sunrpc/xdr_array.c: Likewise.
68829         * sunrpc/xdr_rec.c: Likewise.
68830         * sunrpc/xdr_ref.c: Likewise.
68831         * sunrpc/xdr_stdio.c: Likewise.
68833 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68835         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68837 2011-07-03  Andreas Jaeger  <aj@suse.de>
68839         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68840         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68841         regenerate with gen-libm-tests.pl.
68843 2010-05-12  Petr Baudis  <pasky@suse.cz>
68845         [BZ #11589]
68846         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68847         around j0() zero points by switching to j1().
68848         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68849         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68851         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68853 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68855         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68856         instead of 0.
68857         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68858         instead of 0.
68859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68860         Patch in part by Pavel Roskin <proski@gnu.org>.
68862         [BZ #13138]
68863         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68864         realloc.
68865         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
68866         Free memory block if necessary.
68868         [BZ #12847]
68869         * libio/genops.c (INTDEF): For string streams the _lock pointer can
68870         be NULL.  Don't lock in this case.
68872 2011-09-09  Roland McGrath  <roland@hack.frob.com>
68874         * elf/elf.h (ELFOSABI_GNU): New macro.
68875         (ELFOSABI_LINUX): Define to that.
68877 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
68879         * string/strncat.c (strncat): Undef the symbol in case it has been
68880         defined in bits/string.h.
68882 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68884         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68886         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68887         link map.
68889 2011-08-17  Andreas Jaeger  <aj@suse.de>
68891         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68893 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
68894             Ian Lance Taylor  <iant@google.com>
68896         * math/libm-test.inc (lround_test): New testcase.
68897         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68899 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
68901         * Makefile: Remove support for automatic cvs check-ins.
68902         * Makerules: Likewise.
68903         * config.make.in: Likewise.
68904         * configure.in: Likewise.
68905         * intl/Makefile: Likewise.
68906         * locale/Makefile: Likewise.
68907         * po/Makefile: Likewise.
68908         * posix/Makefile: Likewise.
68909         * sysdeps/gnu/Makefile: Likewise.
68910         * sysdeps/mach/hurd/Makefile: Likewise.
68911         * sysdeps/sparc/sparc32/Makefile: Likewise.
68913         [BZ #13118]
68914         * posix/Makefile (bug-regex32-ENV): Define.
68915         Patch by John Stanley <jpsinthemix@verizon.net>.
68917         * misc/Makefile (headers): Add bits/select2.h.
68918         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68919         * misc/bits/select2.h: New file.
68920         * include/bits/select2.h: New file.
68921         * debug/Makefile (routines): Add fdelt_chk.
68922         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68923         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68924         FD_ISSET.
68925         * debug/fdelt_chk.c: New file.
68927         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
68928         * wcsmbs/test-wmemcmp.c: Likewise.
68929         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68930         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68932 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68934         * string/Makefile (strop-tests): Add memcmp.
68935         * string/test-wmemcmp.c: New file.
68936         * string/test-memcmp.c: Add wmemcmp support.
68938 2011-09-08  Roland McGrath  <roland@hack.frob.com>
68940         [BZ #13153]
68941         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68942         2011-07-19 change.
68944         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68945         garbage value in a __mach_port_mod_refs call in the cases of the
68946         task-self and thread-self ports.
68948 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68950         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68952 2011-09-08  Andreas Schwab  <schwab@redhat.com>
68954         * elf/dl-load.c (lose): Check for non-null L.
68956 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68958         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68960         * elf/dl-libc.c (dlerror_run): Pass back error code from
68961         dl_catch_error.
68963         [BZ #13123]
68964         * elf/dl-load.c (lose): Free l_origin if it is valid.
68966         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68967         names.
68968         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68969         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68970         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68971         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68972         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68973         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68975 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68977         * sysdeps/powerpc/fpu/e_hypot.c: New file.
68978         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68979         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68980         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68981         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68982         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68983         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68984         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68985         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68986         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68988 2011-08-15  Alan Modra  <amodra@gmail.com>
68990         [BZ #13092]
68991         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68992         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68993         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68994         ppc_mcount to static-only-routines.
68995         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68996         __mcount_internal.
68997         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68998         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69000 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69002         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69003         for finite and infinity parameters.
69005 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69007         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69008         and add nop instructions for throughput optimization.
69009         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69011 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
69013         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69014         aligned copy for power7 with vector-scalar instructions.
69015         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69017 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
69019         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69020         AVX check.
69022 2011-09-07  Andreas Schwab  <schwab@redhat.com>
69024         [BZ #13144]
69025         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69026         last change.
69028 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69030         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69031         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69032         syscall wrapper around clock_gettime in __vdso_clock_gettime.
69033         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69034         clock_gettime.
69036 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69038         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69039         Forgot to demangle the pointer.
69041         * sysdeps/i386/sysdep.h: Define atom_text_section.
69042         * sysdeps/x86_64/sysdep.h: Likewise.
69043         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69044         section with atom_text_section.
69045         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69046         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69047         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69048         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69049         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69051         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69052         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69053         already be defined.  Change to take two parameters and don't assign
69054         result to variable.  Adjust all users.
69055         Define INTERNAL_GETTIME if not already defined.
69056         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69057         call.
69058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69059         HAVE_CLOCK_GETTIME_VSYSCALL.
69060         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69062         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69063         gettimeofday vsyscall, just use time.
69065 2011-09-06  Andreas Schwab  <schwab@redhat.com>
69067         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69068         <errno.h>.
69070 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69072         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69073         syscall on x86-64.
69074         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69075         syscall.
69076         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69077         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69078         syscall if possible.
69080 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69082         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69083         e_ident.  Don't pass to find_mapsXX.
69084         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69086 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69089         strchr-sse2-no-bsf strrchr-sse2-no-bsf
69090         * sysdeps/x86_64/multiarch/strchr.S: Update.
69091         Check bit_slow_BSF bit.
69092         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69093         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69094         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69096 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69098         [BZ #13134]
69099         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69100         before glibc 2.15.
69101         (tryshell): Define.
69102         (__spawni): Change last parameter to be flag.  Test
69103         SPAWN_XFLAGS_USE_PATH flag to use path or not.
69104         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69105         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69106         * posix/spawni.c: Likewise.
69107         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69108         * posix/spawnp.c: Likewise.  Change normal version to use
69109         SPAWN_XFLAGS_USE_PATH.
69110         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69111         SPAWN_XFLAGS_TRY_SHELL.
69113         [BZ #13150]
69114         * posix/glob.h: Remove gcc 1.x support.
69116         [BZ #13068]
69117         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69119 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69121         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69122         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69123         strrchr-sse2-bsf
69124         * sysdeps/i386/i686/multiarch/strchr.S: New file.
69125         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69126         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69127         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69128         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69129         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69131 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69133         * sysdeps/x86_64/wcscmp.S: New file.
69135         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69136         wcscmp-c wcscmp-sse2
69137         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69138         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69139         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69140         * wcsmbs/wcscmp.c: Allow renaming.
69142 2011-09-05  David S. Miller  <davem@davemloft.net>
69144         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69145         stack slot, rather than the struct return pointer slot.
69146         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69147         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69149         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69151 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69153         * po/ja.po: Update from translation team.
69155         [BZ #13144]
69156         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69157         kernel in 64-bit binaries.
69159 2011-09-01  David S. Miller  <davem@davemloft.net>
69161         * elf/elf.h (HWCAP_SPARC_*): Move to..
69162         * sysdeps/sparc/sysdep.h: this new file and add new values.
69163         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69164         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69165         _DL_HWCAP_COUNT to 24.
69166         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69167         entries.
69168         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69169         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69170         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69171         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69172         instead of magic constants.
69173         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69175 2011-08-31  David S. Miller  <davem@davemloft.net>
69177         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69178         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69179         Reimplement to do errno handling inline.
69180         (SYSCALL_ERROR_HANDLER): New macro.
69181         (__SYSCALL_STRING): Do not do errno handling in asm.
69182         (__CLONE_SYSCALL_STRING): Delete.
69183         (__INTERNAL_SYSCALL_STRING): Delete.
69184         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69185         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69186         (PSEUDO): Reimplement to do errno handling inline.
69187         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69188         (SYSCALL_ERROR_HANDLER): New macro.
69189         (__SYSCALL_STRING): Do not do errno handling in asm.
69190         (__CLONE_SYSCALL_STRING): Delete.
69191         (__INTERNAL_SYSCALL_STRING): Delete.
69192         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69193         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69194         i386.
69195         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69196         (inline_syscall*): Add 'err' argument.
69197         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69198         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69199         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69200         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69202         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69203         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69205 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69207         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69209 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69211         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69212         directive.
69214 2011-08-24  David S. Miller  <davem@davemloft.net>
69216         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69218 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69220         * elf/Makefile: Add rules to build and run unload8 test.
69221         * elf/unload8.c: New file.
69222         * elf/unload8mod1.c: New file.
69223         * elf/unload8mod1x.c: New file.
69224         * elf/unload8mod2.c: New file.
69225         * elf/unload8mod3.c: New file.
69227         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69228         it wasn't used.
69230 2011-08-23  David S. Miller  <davem@davemloft.net>
69232         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69233         subtract stack bias.
69234         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69235         %sp not %fp in calculations.
69236         (_JMPBUF_UNWINDS_ADJ): Likewise.
69238         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69239         (aio_suspend): Call it to force an exception region around the
69240         AIO_MISC_WAIT() invocation.
69242 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69244         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69245         backslash.
69247 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69249         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69250         protection macro.
69251         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69252         and <dl-machine.h>.
69253         (Elf64_FuncDesc): Remove.
69255 2011-08-22  David S. Miller  <davem@davemloft.net>
69257         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69258         sigaltstack check, add missing cfi directives.
69259         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69260         missing cfi directives, and sigaltstack handling.
69262 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69264         [BZ #11724]
69265         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69266         object is seen twice.
69267         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69269         * elf/Makefile (distribute): Add tst-initorder2.c.
69270         (tests): Add tst-initorder2.
69271         (modules-names): Add tst-initorder2a tst-initorder2b
69272         tst-initorder2c tst-initorder2d.  Add rules to build them.
69273         ($(objpfx)tst-initorder2.out): New rule.
69274         * elf/tst-initorder2.c: New file.
69275         * elf/tst-initorder2.exp: New file.
69277 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69279         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69281         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69282         dependencies back to end of function.
69284         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69285         $(elfobjdir)/ld.so.
69287 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69289         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69290         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69291         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69292         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69293         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69294         of __vdso_gettimeofday.
69295         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69296         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69297         attribute_hidden.
69298         (_libc_vdso_platform_setup): Remove initialization of
69299         __vdso_gettimeofday and __vdso_time.
69301 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69303         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69304         and fgetc_unlocked.
69305         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69306         getc_unlocked.
69308         * elf/dl-open.c (add_to_global): Report additions to the global scope
69309         for LD_DEBUG=scopes.
69310         (dl_open_worker): Also print scope of newly loaded dependencies.
69311         (_dl_show_scope): Indicate if there is no scope.
69313         [BZ #13114]
69314         * stdio-common/Makefile (tests): Add bug24.
69315         * stdio-common/bug24.c: New file.
69317 2011-08-19  Andreas Jaeger  <aj@suse.de>
69319         [BZ #13114]
69320         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69321         non-existant file when using close-on-exec mode.
69323 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69325         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69326         the very first instruction.
69328         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69329         the CFI state in the end.
69330         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69331         inclusion of dl-trampoline.h.
69332         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69334 2011-08-19  Andreas Schwab  <schwab@redhat.com>
69336         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69337         expectations for long double.
69339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69340         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69342 2011-08-14  David S. Miller  <davem@davemloft.net>
69344         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69345         artificual limit depends upon the system page size.
69347 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69349         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69350         * resolv/Makefile: Define CFLAGS-libresolv.
69352 2011-08-17  Andreas Schwab  <schwab@redhat.com>
69354         * nss/makedb.c (compute_tables): Make variables used in nested
69355         function static.
69357 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69359         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69360         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69361         if buffer was too small.
69363         * elf/pldd.c (main): Attach to all threads in the process.
69364         Rewrite /proc handling to use *at functions.
69366 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
69368         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69369         specifies first scope to show.
69370         (dl_open_worker): Update callers.  Move printing scope of new
69371         object to before the relocation.
69372         * elf/rtld.c (dl_main): Update _dl_show_scope call.
69373         * sysdeps/generic/ldsodefs.h: Update declaration.
69375         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69376         string for the scope number.
69378 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69380         * nscd/servicescache.c (cache_addserv): Make sure written is always
69381         initialized.
69383 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69385         * sysdeps/i386/i486/bits/atomic.h
69386         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69387         statement expression, so as to suppress "set but not used" warning.
69388         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69390         * string/strncat.c (STRNCAT): Use prototype definition.
69392         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69393         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69394         -Iprograms here.
69395         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69396         (localedef-modules): Add localedef.
69397         (locale-modules): Add locale.
69399         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69400         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69401         to avoid a warning.
69403 2011-08-14  David S. Miller  <davem@davemloft.net>
69405         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69406         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69408 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69410         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69411         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69412         * elf/rtld.c (dl_main): Set l_name of vDSO.
69413         Call _dl_show_scope when DL_DEBUG_SCOPES.
69414         (process_dl_debug): Recognize scopes flag and also set it for all.
69415         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69416         Declare _dl_show_scope.
69418         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69419         (do_dlopen): Pass caller_dlopen to dl_open.
69420         (__libc_dlopen_mode): Initialize caller_dlopen.
69422         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69423         of libc.  Make tolower call locale-independent.  Optimize a bit by
69424         using isdigit instead of isalnum.
69425         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69427 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69429         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69430         was a dependency or dynamically loaded.
69432 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69434         * intl/l10nflist.c: Allow architecture-specific pop function.
69435         * sysdeps/x86_64/l10nflist.c: New file.
69437         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69438         classification.
69440 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69442         * include/dirent.h: Add libc_hidden_proto for scandirat and
69443         scandirat64.  Don't declare __scandirat64.
69444         * dirent/scandirat.c: Add libc_hidden_def.
69445         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69446         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69448 2011-08-10  David S. Miller  <davem@davemloft.net>
69450         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69451         enum.
69452         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69453         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69454         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69456 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69458         * Versions.def [libc]: Add GLIBC_2.15.
69459         * dirent/Makefile (routines): Add scandirat and scandirat64.
69460         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69461         GLIBC_2.15.
69462         * dirent/dirent.h: Declare scandirat and scandirat64.
69463         * dirent/scandirat.c: New file.
69464         * dirent/scandirat64.c: New file.
69465         * sysdeps/wordsize-64/scandirat.c: New file.
69466         * sysdeps/wordsize-64/scandirat64.c: New file.
69467         * dirent/opendir.c: Define opendirat.
69468         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69469         using scandirat.
69470         * dirent/scandir64.c: Adjust for scandir.c change.
69471         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69472         __scandirat64, and __scandir_cancel_handler.
69473         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69474         additional parameter and use openat instead of open (outside of ld.so).
69475         Add new __opendir as wrapper around __opendirat.
69476         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69477         here without requiring old scandirat implementation.
69479 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69481         * dirent/scandir.c (cancel_handler): Renamed to
69482         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69483         defined.  Adjust users.
69484         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69485         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69487 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69489         * string/test-string.h (IMPL): Use __STRING to expand name and then
69490         stringify it.
69492         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69493         of cleanups.
69495 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69497         * string/Makefile: Update.
69498         (strop-tests): Append strncat.
69499         * string/test-wcscmp.c: New file.
69500         New comprehensive test for wcscmp.
69501         * string/test-strcmp.c: Update.
69502         (WIDE): New define.
69504 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69506         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69507         line.
69509 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69512         encoding to ACE if AI_IDN.
69514 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69516         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69517         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69519 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69521         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69522         Fix overflow bug in strncat.
69523         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69525         * string/test-strncat.c: Update.
69526         Add new tests for checking overflow bugs.
69528 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69530         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69531         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69532         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69533         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69534         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69535         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69536         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69537         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69538         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69540         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69541         (USE_AS_STRCAT): Define.
69542         Add strcat and strncat support.
69543         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69545 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69547         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69548         __n bigger than INT_MAX+1.
69549         (__strncmp_g): Likewise.
69551 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69553         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69554         * libio/stido.h: Likewise.
69556         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69557         (AF_NFC): Define.
69558         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69559         (AF_NFC): Define.
69561         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69562         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69563         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69564         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69565         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69567         [BZ #13021]
69568         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69569         installed.
69571         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69572         typo.
69573         (_dl_x86_64_save_sse): Likewise.
69575 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69577         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69578         OSXSAVE.
69579         (_dl_x86_64_save_sse): Likewise.
69581         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69583         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69585 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69587         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69588         change.
69589         (_dl_x86_64_save_sse): Use correct AVX check.
69591 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69593         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69594         bug in strncpy/strncat.
69595         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69597 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69599         * string/tester.c (test_strcat): Add tests for different alignments
69600         of source and destination.
69601         (test_strncat): Likewise.
69603 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69605         [BZ #12852]
69606         * posix/glob.c (glob): Check passed in values before using them in
69607         expressions to avoid some overflows.
69608         (glob_in_dir): Likewise.
69610         [BZ #13007]
69611         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69612         check for AVX enablement so that we don't crash with old kernels and
69613         new hardware.
69614         * elf/tst-audit4.c: Add same checks here.
69615         * elf/tst-audit6.c: Likewise.
69617         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69619 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69621         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69623 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69625         * po/cs.po: Update from translation team.
69626         * po/bg.po: Likewise.
69628 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69630         * misc/sys/cdefs.h: Add support for const attribute.
69631         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69632         to gnu_dev_{major,minor,makedev} functions.
69634 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69636         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69638 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69640         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69641         strlen results.
69643 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69645         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69646         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69647         register in order to avoid conflicts with the soft frame pointer
69648         being held in r11 when necessary.
69649         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69650         (INTERNAL_VSYSCALL_NCS): Likewise.
69652 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69654         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69655         * elf/dl-fini.c (_dl_fini): Adjust caller.
69656         * elf/dl-close.c (_dl_close_worker): Likewise.
69657         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69659 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69661         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69662         "aux_cache->nlibs < 0".
69664         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69665         in the reload-count case.
69667 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69670         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69671         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69672         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69673         * sysdeps/x86_64/multiarch/strcat.S: New file.
69674         * sysdeps/x86_64/multiarch/strncat.S: New file.
69675         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69676         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69677         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69678         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69679         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69680         (USE_AS_STRCAT): Define.
69681         Add strcat and strncat support.
69682         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69683         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69684         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69685         * string/strncat.c: Update.
69686         (USE_AS_STRNCAT): Define.
69687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69688         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69689         and i7.
69690         * sysdeps/x86_64/multiarch/init-arch.h
69691         (bit_Prefer_PMINUB_for_stringop): New.
69692         (index_Prefer_PMINUB_for_stringop): Likewise.
69693         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69694         bit_Prefer_PMINUB_for_stringop.
69696 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69698         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69699         buffer64.
69700         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69701         of casting of buffer.
69702         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69703         buffer32 and buffer64.
69704         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69705         writes instead of casting of buffer.
69706         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69707         buffer32.
69708         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69709         casting of buffer.
69711 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69713         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69715 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69717         * nscd/nscd.c (termination_handler): Don't do anything for a database
69718         if it has not yet been initialized.
69720 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69722         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69724 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69726         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69728 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69730         * po/nl.po: Update from translation team.
69731         * po/sv.po: Likewise.
69733 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69735         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69736         now disallowed by GCC.
69738         * configure.in (use-default-link): Default to yes if a test -shared
69739         link meets our qualifications.
69740         * configure: Regenerated.
69742         * config.make.in (output-format): New variable.
69743         * configure.in: Check for ld --print-output-format support.
69744         * configure: Regenerated.
69745         * Makerules ($(common-objpfx)format.lds)
69746         [$(output-format) != unknown]: Just use $(output-format),
69747         instead of the linker-script munging.
69749 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69751         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69752         of $(common-objpfx)shlib.lds.
69753         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69755         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69756         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69758         * configure.in (-z relro check): Adjust test code to add a large
69759         writable data section after it.
69760         * configure: Regenerated.
69762 2011-07-11  Roland McGrath  <roland@hack.frob.com>
69764         * configure.in (-z relro check): Fix test code to make the variable
69765         truly const.
69766         * configure: Regenerated.
69768 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
69770         * nscd/nscd.h (struct traced_file): Define.
69771         (struct database_dyn): Remove inotify_descr, reset_res, and filename
69772         elements.  Add traced_files.
69773         (inotify_fd): Declare.
69774         (register_traced_file): Declare.
69775         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69776         (inotify_fd): Export.
69777         (resolv_conf_descr): Remove.
69778         (nscd_init): Move inotify descriptor creation to main.
69779         Don't register files for notification here.
69780         (register_traced_file): New function.
69781         (invalidate_cache): Don't use reset_res to determine whether to call
69782         res_init, go through the list of registered files.
69783         (main_loop_poll): The inotify descriptors are now stored in the
69784         structures for the traced files.
69785         (main_loop_epoll): Likewise.
69786         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
69787         to __nss_disable_nscd.
69788         * nscd/cache.c (prune_cache): There is no single inotify descriptor
69789         for a database anymore.  Check the records for all the registered
69790         files instead.
69791         * nss/Makefile (libnss_files-routines): Add files-init.
69792         (libnss_db-routines): Add db-init.
69793         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69794         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69795         * nss/nss_db/db-init.c: New file.
69796         * nss/nss_files/files-init.c: New file.
69797         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69798         __nss_lookup_function.
69799         (__nss_lookup_function): Call nss_load_library.
69800         (nss_load_all_libraries): New function.
69801         (__nss_disable_nscd): Take parameter with callback function for files
69802         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69803         used for the cached services.
69804         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69805         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69806         options for features to all the files in nscd.
69808         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69810 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69812         * csu/elf-init.c (__libc_csu_init): Comment typo.
69814 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69816         * po/pl.po: Update from translation team.
69817         * po/ja.po: Likewise.
69818         * po/ru.po: Likewise.
69819         * po/ko.po: Likewise.
69820         * po/fr.po: Likewise.
69822 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69824         * configure.in (.ctors/.dtors header and trailer check):
69825         Use an empirical test on a built program.
69826         * configure: Regenerated.
69828         * configure.in (-z relro check): Use an empirical test on a built DSO.
69829         Detect, but do not require, on ia64.
69830         * configure: Regenerated.
69832         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69833         Update tests that use readelf to use $READELF instead.
69834         * configure: Regenerated.
69836 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69838         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69839         if the result is not used.
69841 2011-07-05  Andreas Jaeger  <aj@suse.de>
69843         [BZ#9696]
69844         * stdlib/tst-strtod.c: Add testcase.
69846 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69848         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69849         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69850         The latter has a higher limit.  Take additional parameter to pass to
69851         the new function.
69852         (__pathconf): Pass file to __statfs_link_max.
69853         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69854         __statfs_link_max.
69855         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69856         __statfs_link_max.
69858         [BZ #12868]
69859         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69860         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69861         Handle Lustre.
69862         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69863         (__statfs_filesize_max): Likewise.
69864         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69866 2011-07-05  Andreas Jaeger  <aj@suse.de>
69868         * resolv/res_comp.c (dn_skipname): Remove unused variable.
69870 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
69872         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69873         `status' variable.
69874         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69875         Likewise.
69877 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
69879         * Makefile (strop-tests): Add strncat.
69880         * string/test-strncat.c: New file.
69882 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
69884         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69886 2011-06-21  Andreas Jaeger  <aj@suse.de>
69888         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69889         Copy rule from iconvdata/Makefile.
69891 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69893         [BZ #12922]
69894         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69895         but no long options are defined, just return 'W'.
69897 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
69899         [BZ #9696]
69900         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69902 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69904         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69905         netgroups to read.
69906         (innetgr): Likewise.
69908 2011-07-05  Roland McGrath  <roland@hack.frob.com>
69910         * config.make.in (install_root): Default to $(DESTDIR).
69912 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
69914         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69916 2011-07-02  Roland McGrath  <roland@hack.frob.com>
69918         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69920         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69921         containing directory rather than embedding absolute directory names.
69923         * scripts/check-local-headers.sh: Rewritten using awk.
69924         Match by word, not by line.  Print error messages for matches.
69925         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69927         * Makerules [shlib-lds-flags empty]:
69928         ($(common-objpfx)libc_pic.opts): New target.
69929         ($(common-objpfx)libc_pic.os.clean): New target.
69930         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69932         * config.make.in (OBJCOPY): New variable.
69933         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69934         * configure: Regenerated.
69936         * config.make.in (use-default-link): New variable.
69937         * configure.in (use_default_link): Grok --with-default-link to set it.
69938         * configure: Regenerated.
69939         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69940         (shlib-lds, shlib-lds-flags): Define to empty.
69942         * Makerules (shlib-lds): New variable.
69943         (shlib-lds-flags): New variable.
69944         (build-shlib, build-moduile, build-module-asneeded): Use it.
69945         ($(common-objpfx)libc.so): Use $(shlib-lds).
69946         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69947         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69949         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69950         DT_FLAGS/DT_FLAGS_1 with zero flags.
69952         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69953         linker script munging.
69955 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
69957         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69958         as 128-bit value.
69959         * crypt/sha512.c (sha512_process_block): Perform total addition using
69960         128-bit if possible.
69961         (__sha512_finish_ctx): Likewise.
69962         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69963         as 64-bit value.
69964         * crypt/sha256.c (SWAP64): Define.
69965         (sha256_process_block): Perform total addition using 64-bit if
69966         possible.
69967         (__sha256_finish_ctx): Likewise.
69969 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
69971         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
69972         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69973         * nscd/hstcache.c (cache_addhst): Likewise.
69974         * nscd/grpcache.c (cache_addgr): Likewise.
69975         * nscd/aicache.c (addhstaiX): Likewise.
69976         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69978 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69980         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69981         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69982         * nscd/hstcache.c (cache_addhst): Likewise.
69983         * nscd/grpcache.c (cache_addgr): Likewise.
69984         * nscd/aicache.c (addhstaiX): Likewise.
69986 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69988         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69989         domain only when needed.
69991 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69994         is always restored.
69996 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69998         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69999         are re-adding the entry.
70000         * nscd/servicescache.c (cache_addserv): Likewise.
70002 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70004         * sysdeps/generic/dl-irel.h: fix protection against multiple
70005         inclusions.
70006         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70008 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
70010         [BZ #12935]
70011         * malloc/memusage.sh: Fix quoting in message.
70012         * debug/xtrace.sh: Likewise.
70014         * configure.in: Remove support for --experimental-malloc option, make
70015         it the default.
70016         * config.make.in: Likewise.
70017         * malloc/Makefile: Likewise.
70019 2011-06-27  Andreas Schwab  <schwab@redhat.com>
70021         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70022         two-byte characters.
70024 2011-06-27  Roland McGrath  <roland@hack.frob.com>
70026         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70027         AC_CACHE_CHECK invocation.
70028         * configure: Regenerated.
70030         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70032 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
70034         [BZ #12350]
70035         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
70036         bit from old_res_options.
70038         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70040         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70041         value type for setfct.
70043 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
70045         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70046         __gettimeofday instead of gettimeofday.
70048 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
70050         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70052 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
70054         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70056         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70057         info.
70059 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70061         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70062         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70063         strcpy-sse2-unaligned strncpy-sse2-unaligned
70064         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70065         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70066         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70067         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70068         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70069         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70070         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70071         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70072         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70073         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70074         (STRCPY): Support SSE2 and SSSE3 versions.
70076 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
70078         [BZ #12874]
70079         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70080         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70081         kernels which artificially limit size of requests.
70083 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70085         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70086         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70087         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70088         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70089         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70090         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70091         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70092         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70093         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70094         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70095         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70096         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70097         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70098         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70099         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70100         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70101         Enable unaligned load optimization for Intel Core i3, i5 and i7
70102         processors.
70103         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70104         Define.
70105         (index_Fast_Unaligned_Load): Define.
70106         (HAS_FAST_UNALIGNED_LOAD): Define.
70108 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
70110         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70112 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70114         [BZ #12907]
70115         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70116         until it is clear that the information is realy needed.
70117         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70119 2011-06-22  Andreas Schwab  <schwab@redhat.com>
70121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70123 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70125         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70126         /sys/devices/system/cpu/online if it is usable.
70128         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70129         reading the information from the /proc filesystem to once a second.
70131 2011-06-21  Andreas Jaeger  <aj@suse.de>
70133         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70134         NULL after inclusion of kernel headers.
70136 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
70138         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70139         calls to internal_setent.
70141         [BZ #12885]
70142         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70143         addresses using gethostbyname4_r ignore IPv4 addresses.
70145         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70146         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
70148         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70150 2011-06-20  David S. Miller  <davem@davemloft.net>
70152         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70153         inclusions.
70154         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70156         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70157         (elf_irel): Use it.
70158         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70159         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70160         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70161         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70162         * sysdeps/x86_64/dl-irel.h: Likewise.
70164         * elf/dl-runtime.c: Use elf_ifunc_invoke.
70165         * elf/dl-sym.c: Likewise.
70167 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70169         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
70170         need to dereference resplen2.
70172 2011-06-14  Andreas Schwab  <schwab@redhat.com>
70174         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70176 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70178         * Makeconfig: Define vardbdir and inst_vardbdir.
70179         * nss/Makefile: Add rules to install db-Makefile.
70181         * nss/nss_db/db-XXX.c: Cleanup.
70183         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70184         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70185         GLIBC_PRIVATE.
70186         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70187         * nss/makedb.c: Implement -g option to specify that value strings
70188         are generated and should not be added to table iterated over for
70189         get*ent calls.
70190         * nss/nss_db/db-initgroups.c: New file.
70192         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70193         interface.
70195         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70196         (internal_getgrouplist): Adjust to name change.
70197         Update use_initgroups_entry if this is not the first call.
70198         * nss/databases.def: Add initgroups entry.
70200         * nss/makedb.c (compute_tables): Check result of multiple hash table
70201         sizes to minimize maximum chain length.
70203 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70205         * Versions.def: Add entry for libnss_db.
70206         * shlib-versions: Likewise.
70207         * nss/Makefile: Add rules to build libnss_db.
70208         * nss/Versions: Add libnss_db information.  Organize libnss_files
70209         entries better.
70210         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70211         makedb progra.  Some minor improvements to generate smaller files.
70212         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70213         here from...
70214         * nss/makedb.c: ...here.
70215         Improve database format to be smaller and require less memory at
70216         runtime.
70217         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70218         db anymore.
70219         * nss/nss_db/db-netgrp.c: Likewise.
70220         * nss/nss_db/db-open.c: Likewise.
70221         * nss/nss_files/flies-XXX.x: Adjust comments.
70222         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70223         * nss/nss_files/files-grp.c: Likewise.
70224         * nss/nss_files/files-hosts.c: Likewise.
70225         * nss/nss_files/files-network.c: Likewise.
70226         * nss/nss_files/files-proto.c: Likewise.
70227         * nss/nss_files/files-pwd.c: Likewise.
70228         * nss/nss_files/files-rpc.c: Likewise.
70229         * nss/nss_files/files-service.c: Likewise.
70230         * nss/nss_files/files-sgrp.c: Likewise.
70231         * nss/nss_files/files-spwd.c: Likewise.
70232         * nss/nss_db/db-alias.c: Removed.
70233         * nss/nss_db/dummy-db.h: Removed.
70235 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70237         * nss/makedb.c: Rewritten to not use database library.
70238         * nss/Makefile: Update to build new makedb program.
70240 2011-06-14  Andreas Jaeger  <aj@suse.de>
70242         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70243         memset declaration.
70245 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70248         tmpbuf.
70250 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70252         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70253         * elf/Makefile ($(objpfx)ld.so): Likewise.
70255         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70256         Don't list ld.so twice in dependencies.
70258         * posix/bug-regex31.c: Include <stdlib.h>.
70260         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70262         * nis/nss_compat/compat-spwd.c
70263         (getspent_next_nss_netgr): Remove unused variable.
70264         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70266         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70267         nonmembers" output to use the right array.
70269         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70271         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70273         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70274         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70275         * catgets/gencat.c (read_input_file): Likewise.
70276         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70278         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70279         variable definition inside #if's controlling its use.
70281         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70283         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70285         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70287         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70288         unreachable code.
70290         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70292         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70293         * configure: Regenerated.
70295         * Makerules: Revert last change.
70296         * elf/Makefile: Likewise.
70298 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70300         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70301         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70302         (reloc-link): Likewise.
70304 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
70306         * elf/Makefile: Add rules to build pldd.
70307         * elf/pldd.c: New file.
70308         * elf/pldd-xx.c: New file.
70310 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
70312         * version.h: Update for 2.15 development version.
70314 2011-06-07  David S. Miller  <davem@davemloft.net>
70316         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70317         ifuncs.
70318         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70319         elf_machine_lazy_rel): Likewise.
70320         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70321         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70322         elf_machine_lazy_rel): Likewise.
70323         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70324         dl_hwcap via passed in argument.
70325         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70326         Likewise.
70328 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70330         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
70332 2011-06-06  Roland McGrath  <roland@hack.frob.com>
70334         [BZ #12849]
70335         * manual/fdl-1.1.texi: New file, verbatim from:
70336         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70337         * manual/lgpl-2.1.texi: New file, verbatim from:
70338         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70339         * manual/Makefile (licenses): New variable, list those new file names.
70340         (texis): Use it.
70341         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70343         * manual/fdl.texi: File removed.
70344         * manual/lesser.texi: File removed.
70345         * manual/libc.texinfo (Copying, Documentation License):
70346         Use new @include file names, put @appendix directive before @include.
70348 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
70350         [BZ #12841]
70351         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70352         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70353         (mq_open): Add __NTH.
70355 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
70357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70358         Assume Intel Core i3/i5/i7 processor if AVX is available.
70360 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70362         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70363         typo.
70365 2011-05-31  Andreas Schwab  <schwab@redhat.com>
70367         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70368         memory.  Use alloca_account.  Fix memory leak when retrying.
70370 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70372         * version.h (RELEASE): Bump for 2.14 release.
70373         * include/features.h (__GLIBC_MINOR__): Bump to 14.
70375         * config.make.in (RANLIB): Remove entry.
70377 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70379         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70380         (libc.pot): Work around missing support for .ksh extension in xgettext.
70382         [BZ #12684]
70383         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70384         if both request failed.
70385         (send_dg): In case of server errors clear resplen or *resplen2.
70387         [BZ #12454]
70388         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70389         when there are multiple maps.
70390         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70391         (_dl_fini): Remove test here.
70393         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70395 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70397         [BZ #12350]
70398         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70399         bit from old_res_options.
70400         (gaih_inet): Likewise.
70402         [BZ #11099]
70403         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70404         as signed.
70406         * resolv/res_init.c (res_setoptions): Make the code more compact.
70408         [BZ #11558]
70409         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70410         set RES_USEVC.
70412         [BZ #11634]
70413         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70415         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70417         [BZ #11781]
70418         * malloc/malloc.h: Declare malloc hook variables as volatile.
70420         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70421         in last patch.
70423         [BZ #11799]
70424         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70425         raise in the comment.
70426         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70427         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70428         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70430 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70432         [BZ #12811]
70433         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70434         grow the buffers more if it already has to be sufficient.
70435         (build_wcs_upper_buffer): Likewise.
70436         * posix/regexec.c (check_matching): Likewise.
70437         (clean_state_log_if_needed): Likewise.
70438         (extend_buffers): Don't enlarge buffers beyond size of the input
70439         buffer.
70440         Patches mostly by Emil Wojak <emil@wojak.eu>.
70441         * posix/bug-regex32.c: New file.
70442         * posix/Makefile (tests): Add bug-regex32.
70444         * locale/findlocale.c (_nl_find_locale): Return right away if
70445         _nl_explode_name failed.
70446         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70448         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70450         * debug/xtrace.sh: Unify messages.
70451         * malloc/memusage.sh: Likewise.
70453         [BZ #12813]
70454         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70455         time symbol from vDSO.  Substitute with vsyscall if not available.
70456         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70457         __vdso_time.
70459         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70460         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70461         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70462         Add sendmmsg and internal_sendmmsg.
70463         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70464         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70465         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70467         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70468         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70469         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70471 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70473         [BZ #12813]
70474         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70475         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70476         available.
70477         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70478         __vdso_getcpu.
70480         [BZ #12814]
70481         * iconvdata/Makefile (tests): Add bug-iconv9.
70482         * iconvdata/bug-iconv9.c: New file.
70484 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70486         [BZ #12814]
70487         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70489 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70491         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70492         (struct user_regs_struct): Change intcs field back to cs.
70494 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70496         * po/ja.po: Update from translation team.
70498 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70500         [BZ #12795]
70501         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70502         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70504 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70506         * stdlib/longlong.h: Update from GCC.
70508 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70510         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70511         parameter name.
70512         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70513         Add parameter name.
70514         (__sysconf): Pass it down.
70516 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70518         [BZ #12671]
70519         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70520         some situations.
70521         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70522         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70523         add in in __libc_use_alloca calls.  Adjust callers.
70524         (glob): Use malloc in some situations.
70526         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70527         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70528         pltexit.
70530 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70532         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70533         and CLOCK_BOOTTIME_ALARM.
70535         [BZ #12782]
70536         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70537         is returned.
70539         * string/_strerror.c (__strerror_r): Print negative errors as signed
70540         numbers.
70542         [BZ #12777]
70543         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70544         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70545         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70547         * configure.in: Fix typo in redirection and correct removal of test
70548         files in two cases.
70550         [BZ #12788]
70551         * locale/setlocale.c (new_composite_name): Fix test to check for
70552         identical name of all categories.
70554         [BZ #12792]
70555         * libio/filedoalloc.c (local_isatty): New function.
70556         (_IO_file_doallocate): Use local_isatty.
70557         * stdio-common/perror.c (perror): In case a new stream is used
70558         forward the stream error.
70559         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70560         error flag.
70562 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70564         [BZ #11884]
70565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70566         alloca.
70567         * include/alloca.h (extend_alloca_account): Define.
70569         [BZ #11857]
70570         * posix/regex.h: Fix comments with documentation of user-accessible
70571         fields after compilation and describe correct free'ing of pattern
70572         after re_compile_pattern.
70573         Patch by Reuben Thomas <rrt@sc3d.org>.
70575 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70577         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70578         and -mno-altivec to prevent the compiler from using Altivec and/or
70579         VSX instructions when the corresponding registers are not available.
70581 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70583         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70585 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70587         * libio/freopen.c (freopen): Use __dup2, not dup2.
70588         * libio/freopen64.c (freopen64): Likewise.
70590 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70592         [BZ #12775]
70593         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70594         * math/Makefile (tests): Add test-powl.
70595         (CFLAGS-test-powl.c): Define.
70596         * math/test-powl.c: New file.
70598 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70600         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70602 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70604         [BZ #11837]
70605         * iconvdata/gb18030.c: Update to GB18020-2005.
70607 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70609         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70610         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70611         Patch by Aharon Robbins <arnold@skeeve.com>.
70613         [BZ #11892]
70614         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70615         on the stack.
70617         [BZ #11895]
70618         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70619         through underflows.
70621         [BZ #12766]
70622         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70623         point to strings before performing equality test for error_one_per_line
70624         mode.
70626         [BZ #11697]
70627         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70629         [BZ #11820]
70630         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70631         (struct user_fpregs_struct): Avoid __uint*_t types.
70633         [BZ #6420]
70634         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70635         symbol info.  Use it instead of calling _dl_addr locally.
70636         (lock_and_info): New function.
70637         (tr_freehook): Call lock_and_info and pass symbol info as additional
70638         parameter to tr_where.
70639         (tr_mallochook): Likewise.
70640         (tr_reallochook): Likewise.
70641         (tr_memalignhook): Likewise.
70643         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70644         used and couldn't be at all thread-safe.
70646 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70648         * libio/freopen.c (freopen): Don't close old file descriptor
70649         before the new one is opened.  Instead dup the new file descriptor
70650         to the old one after the new stream is created.
70651         * libio/freopen64.c (freopen64): Likewise.
70652         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70653         * libio/fileops.c (_IO_new_file_close_it): Handle new
70654         _IO_FLAGS2_NOCLOSE flag.
70655         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70656         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70657         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70658         _IO_FLAGS2_NOCLOSE flag.
70659         * include/unistd.h: Add hidden_proto for dup3.
70660         Define __have_dup3.
70661         * io/dup3.c: Define hidden symbol.
70662         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70664         [BZ #7101]
70665         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70666         when an incomplete long option is used.
70667         * posix/tst-getopt_long1.c: New file.
70668         * posix/Makefile (tests): Add tst-getopt_long1.
70670         [BZ #10138]
70671         * scripts/config.guess: Update from autoconf-2.68.
70672         * scripts/config.sub: Likewise.
70674         [BZ #10157]
70675         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70676         tests into ...
70677         (has_cpuclock): ...this.  New function.
70678         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70679         macro here based on has_cpuclock code.
70681         [BZ #10149]
70682         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70683         First byte (not low byte) is now always NUL.
70684         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70686         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70687         Use non-cancelable interfaces.
70689         [BZ #9809]
70690         * locale/iso-639.def: Add entry for Sorani.
70692         [BZ #11901]
70693         * include/stdlib.h: Move include protection to the right place.
70694         Define abort_msg_s.  Declare __abort_msg with it.
70695         * stdlib/abort.c (__abort_msg): Adjust type.
70696         * assert/assert.c (__assert_fail_base): New function.  Majority
70697         of code from __assert_fail.  Allocate memory for __abort_msg with
70698         mmap.
70699         (__assert_fail): Now call __assert_fail_base.
70700         * assert/assert-perr.c: Remove bulk of implementation.  Use
70701         __assert_fail_base.
70702         * include/assert.hL Declare __assert_fail_base.
70703         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70704         mmap.
70705         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70707 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70709         [BZ #11952]
70710         [BZ #12453]
70711         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70712         until all modules are registered in the DTV.
70713         * elf/Makefile: Add rules to build and run tst-tls19.
70714         * elf/tst-tls19.c: New file.
70715         * elf/tst-tls19mod1.c: New file.
70716         * elf/tst-tls19mod2.c: New file.
70717         * elf/tst-tls19mod3.c: New file.
70718         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70720         [BZ #12083]
70721         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70722         correctly.
70724         [BZ #12601]
70725         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70726         two-byte sequence errors.
70727         * iconvdata/Makefile (tests): Add bug-iconv8.
70728         * iconvdata/bug-iconv8.c: New file.
70730         [BZ #12626]
70731         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70732         buf2 definition.
70734         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70736         [BZ #12432]
70737         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70738         (dummy_getcfa): New function.
70739         (init): Get _Unwind_GetCFA address, use dummy if not found.
70740         (backtrace_helper): In recursion check, also check whether CFA changes.
70741         (__backtrace): Completely initialize arg.
70743         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70744         storing incomplete byte sequence in state object.  Avoid testing for
70745         guaranteed too small input if we know there is enough data available.
70747 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70749         * Makeconfig (+link-pie): Indent.
70750         * Rules (binaries-pie): Define if $(have-fpie) and
70751         $(build-shared).
70752         (binaries-shared): Also filter out $(binaries-pie).
70753         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70754         * nscd/Makefile (others-pie): Add nscd.
70755         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70756         ($(objpfx)nscd): Remove command override.
70757         * login/Makefile (others-pie): Add pt_chown.
70758         ($(objpfx)pt_chown): Remove command override.
70759         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70760         remove command overrides.
70762 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
70764         * libio/tst_putwc.c: Fix error messages.
70766         [BZ #12724]
70767         * libio/fileops.c (_IO_new_file_close_it): Always flush when
70768         currently writing and seek to current position when not.
70769         * libio/Makefile (tests): Add bug-fclose1.
70770         * libio/bug-fclose1.c: New file.
70772 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
70774         [BZ #12511]
70775         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70776         don't set DF_1_NODELETE here.
70777         (do_lookup_x): When entering new entry test for copy relocation
70778         and if necessary set DF_1_NODELETE flag.
70779         * elf/tst-unique4.cc: New file.
70780         * elf/tst-unique4.h: New file.
70781         * elf/tst-unique4lib.cc: New file.
70782         * elf/Makefile: Add rules to build and run tst-unique4.
70783         Patch by Piotr Bury <pbury@goahead.com>.
70785 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
70787         [BZ #12052]
70788         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70790         [BZ #12625]
70791         * misc/mntent_r.c (addmntent): Flush the stream after the output
70793         [BZ #12393]
70794         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70795         (is_trusted_path_normalize): Skip initial colon.  Append slash
70796         to empty buffer.  Duplicate is_trusted_path code but allow
70797         constructed patch to be prefix.
70798         (is_dst): Allow $ORIGIN followed by /.
70799         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70800         Correct testing of result of is_trusted_path_normalize
70801         (decompose_rpath): Fix warning.
70803 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70805         [BZ #11257]
70806         * grp/initgroups.c (internal_getgrouplist): When we found the service
70807         list through the initgroups entry in nsswitch.conf do not always
70808         continue on a successful lookup.  Don't always use the
70809         __nss_group_database value if it is set.
70810         * nss/nsswitch.conf (initgroups): Change action for successful db
70811         lookup to continue for compatibility.
70813 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70815         [BZ #11532]
70816         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70817         and CP774 modules.
70818         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70819         and CP774 modules.
70820         * iconvdata/tst-tables.sh: Likewise.
70821         * iconvdata/cp770.c: New file.
70822         * iconvdata/cp771.c: New file.
70823         * iconvdata/cp772.c: New file.
70824         * iconvdata/cp773.c: New file.
70825         * iconvdata/cp774.c: New file.
70826         * iconvdata/testdata/CP770: New file.
70827         * iconvdata/testdata/CP770..UTF8: New file.
70828         * iconvdata/testdata/CP771: New file.
70829         * iconvdata/testdata/CP771..UTF8: New file.
70830         * iconvdata/testdata/CP772: New file.
70831         * iconvdata/testdata/CP772..UTF8: New file.
70832         * iconvdata/testdata/CP773: New file.
70833         * iconvdata/testdata/CP773..UTF8: New file.
70834         * iconvdata/testdata/CP774: New file.
70835         * iconvdata/testdata/CP774..UTF8: New file.
70837         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70838         END CHARMAP line.
70839         * iconvdata/gen-8bit-gap.sh: Likewise.
70840         * iconvdata/gen-8bit.sh: Likewise.
70842         * locale/iso-639.def: Add ary entry.
70844         [BZ #11258]
70845         * locale/C-translit.h.in: Add U20A1 transliteration.
70847         [BZ #12178]
70848         * locale/iso-639.def: Add wae entry.
70849         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70851         [BZ #12545]
70852         * locale/programs/localedef.c (construct_output_path): Use ssize_t
70853         for n.
70855         [BZ #12711]
70856         * locale/C-translit.h.in: Add entry for U20B9.
70857         Patch by pravin.d.s@gmail.com.
70859 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
70861         [BZ #12713]
70862         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70863         ENAMETOOLONG use generic getcwd.
70864         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
70865         in rtld.  Use *stat64.
70866         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70867         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70868         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70869         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70870         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70871         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70872         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70873         __fstatat64 macros.
70874         * include/dirent.h: Add libc_hidden_proto for rewinddir.
70875         * dirent/rewinddir.c: Add libc_hidden_def.
70876         * sysdeps/mach/hurd/rewinddir.c: Likewise.
70877         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
70879         * include/dirent.h (__alloc_dir): Add flags parameter.
70880         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70881         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70882         __alloc_dir.
70883         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
70884         from fdopendir if O_CLOEXEC is already set.
70886 2011-03-15  Alan Modra  <amodra@gmail.com>
70888         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70889         l_tls_firstbyte_offset non-zero.  Save padding offset in
70890         l_tls_firstbyte_offset for later use.
70891         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70892         freeing static tls block.
70894 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
70896         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70897         where #ifdef was intended.  The intent is to prevent ARG_MAX from
70898         being defined by the kernel headers.
70900 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
70902         [BZ #12734]
70903         * resolv/resolv.h: Define RES_NOTLDQUERY.
70904         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70905         no-tld-query and set RES_NOTLDQUERY.
70906         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70907         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70908         modern BIND to search name as TLD unless forbidden.
70910 2011-05-07  Petr Baudis  <pasky@suse.cz>
70911             Ulrich Drepper  <drepper@gmail.com>
70913         [BZ #12393]
70914         * elf/dl-load.c (fillin_rpath): Move trusted path check...
70915         (is_trusted_path): ...to here.
70916         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70917         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70918         using is_trusted_path_normalize() in setuid scripts.
70920 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70922         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70923         __BEGIN/__END_DECLS.
70925 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
70927         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70928         NSS_STATUS_NOTFOUND if no record was found.
70930 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70932         * sunrpc/Makefile (headers): Add rpc/netdb.h.
70933         (headers-not-in-tirpc): Remove rpc/netdb.h
70934         * resolv/netdb.h: Revert last change.
70936 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70938         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70939         circular dependency between libgcc.a and libc.a.
70941 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70943         * resolv/netdb.h: Don't include <rpc/netdb.h>.
70944         * nis/Makefile: Don't install rpcsvc/*.
70945         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70946         instead of <rpc/types.h>.
70947         (MAXHOSTNAMELEN): Define.
70949 2011-05-03  Andreas Schwab  <schwab@redhat.com>
70951         * elf/ldconfig.c (add_dir): Don't crash on empty path.
70953 2011-04-28  Maciej Babinski  <mbabinski@google.com>
70955         [BZ #12714]
70956         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70957         gethostbyname4_r when IPv6 results are possible.
70959 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
70961         [BZ #12723]
70962         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70963         _PC_PIPE_BUF handling.
70965 2011-04-30  Bruno Haible  <bruno@clisp.org>
70967         [BZ #12717]
70968         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70969         * resolv/netdb.h (getnameinfo): Change type of flags parameter
70970         to 'int'.
70971         * inet/getnameinfo.c (getnameinfo): Likewise.
70973 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
70975         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70976         to groups setting in database lookup.
70977         * nss/nsswitch.conf: Add initgroups entry.
70979 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70981         [BZ #12685]
70982         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70983         mode string.
70984         Patch by Eric Blake <eblake@redhat.com>.
70986 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70988         * sunrpc/Makefile (need-export-routines): Add svc_run.
70989         (routines): Remove svc_run.
70990         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70991         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70992         * sunrpc/svc_run.c (svc_run): Likewise.
70993         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70995 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70997         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70998         problem in reallocation in last patch.
71000 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71002         * sunrpc/Makefile: Move inclusion of Rules.
71004 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71006         * nss/nss_files/files-initgroups.c: New file.
71007         * nss/Makefile (libnss_files-routines): Add files-initgroups.
71008         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71009         _nss_files_initgroups_dyn.
71011 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
71013         * elf/elf.h (R_ARM_IRELATIVE): Define.
71015 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71017         * po/ru.po: Update from translation team.
71019 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71021         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71022         dependencies.
71024 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
71026         [BZ #12653]
71027         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71028         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71029         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71030         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71031         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71033 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
71035         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71036         differing bytes.
71037         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71038         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71039         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71041 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71043         [BZ #12420]
71044         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71045         storing it.
71046         * stdlib/bug-getcontext.c: New file.
71047         * stdlib/Makefile: Add rules to build and run bug-getcontext.
71049 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71051         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71052         instructions into .machine "z9-109".
71053         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71054         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71056 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71058         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71059         between environment variables and auxiliary vector.
71061 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
71063         * Makefile: Add rules to build linkobj/libc.so.
71064         * include/libc-symbols.h: Define libc_hidden_nolink.
71065         * include/rpc/auth.h: Mark functions which are to be hidden.
71066         * include/rpc/auth_des.h: Likewise.
71067         * include/rpc/auth_unix.h: Likewise.
71068         * include/rpc/clnt.h: Likewise.
71069         * include/rpc/des_crypt.h: Likewise.
71070         * include/rpc/key_prot.h: Likewise.
71071         * include/rpc/pmap_clnt.h: Likewise.
71072         * include/rpc/pmap_prot.h: Likewise.
71073         * include/rpc/pmap_rmt.h: Likewise.
71074         * include/rpc/rpc_msg.h: Likewise.
71075         * include/rpc/svc.h: Likewise.
71076         * include/rpc/svc_auth.h: Likewise.
71077         * include/rpc/xdr.h: Likewise.
71078         * nis/Makefile: Link all DSOs against linkobj/libc.so.
71079         * nss/Makefile: Likewise.
71080         * sunrpc/Makefile: Don't install headers.  Build library with normal
71081         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
71082         * sunrpc/auth_des.c: Hide exported symbols by default, export some
71083         for the compat linking library.  Remove use of INTDEF/INTUSE.
71084         * sunrpc/auth_none.c: Likewise.
71085         * sunrpc/auth_unix.c: Likewise.
71086         * sunrpc/authdes_prot.c: Likewise.
71087         * sunrpc/authuxprot.c: Likewise.
71088         * sunrpc/clnt_gen.c: Likewise.
71089         * sunrpc/clnt_perr.c: Likewise.
71090         * sunrpc/clnt_raw.c: Likewise.
71091         * sunrpc/clnt_simp.c: Likewise.
71092         * sunrpc/clnt_tcp.c: Likewise.
71093         * sunrpc/clnt_udp.c: Likewise.
71094         * sunrpc/clnt_unix.c: Likewise.
71095         * sunrpc/des_crypt.c: Likewise.
71096         * sunrpc/des_soft.c: Likewise.
71097         * sunrpc/get_myaddr.c: Likewise.
71098         * sunrpc/key_call.c: Likewise.
71099         * sunrpc/key_prot.c: Likewise.
71100         * sunrpc/netname.c: Likewise.
71101         * sunrpc/pm_getmaps.c: Likewise.
71102         * sunrpc/pm_getport.c: Likewise.
71103         * sunrpc/pmap_clnt.c: Likewise.
71104         * sunrpc/pmap_prot.c: Likewise.
71105         * sunrpc/pmap_prot2.c: Likewise.
71106         * sunrpc/pmap_rmt.c: Likewise.
71107         * sunrpc/publickey.c: Likewise.
71108         * sunrpc/rpc_cmsg.c: Likewise.
71109         * sunrpc/rpc_common.c: Likewise.
71110         * sunrpc/rpc_dtable.c: Likewise.
71111         * sunrpc/rpc_prot.c: Likewise.
71112         * sunrpc/rpc_thread.c: Likewise.
71113         * sunrpc/rtime.c: Likewise.
71114         * sunrpc/svc.c: Likewise.
71115         * sunrpc/svc_auth.c: Likewise.
71116         * sunrpc/svc_authux.c: Likewise.
71117         * sunrpc/svc_raw.c: Likewise.
71118         * sunrpc/svc_run.c: Likewise.
71119         * sunrpc/svc_simple.c: Likewise.
71120         * sunrpc/svc_tcp.c: Likewise.
71121         * sunrpc/svc_udp.c: Likewise.
71122         * sunrpc/svc_unix.c: Likewise.
71123         * sunrpc/svcauth_des.c: Likewise.
71124         * sunrpc/xcrypt.c: Likewise.
71125         * sunrpc/xdr.c: Likewise.
71126         * sunrpc/xdr_array.c: Likewise.
71127         * sunrpc/xdr_float.c: Likewise.
71128         * sunrpc/xdr_intXX_t.c: Likewise.
71129         * sunrpc/xdr_mem.c: Likewise.
71130         * sunrpc/xdr_rec.c: Likewise.
71131         * sunrpc/xdr_ref.c: Likewise.
71132         * sunrpc/xdr_sizeof.c: Likewise.
71133         * sunrpc/xdr_stdio.c: Likewise.
71135 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
71137         [BZ #12650]
71138         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71139         * sysdeps/ia64/dl-tls.h: Likewise.
71140         * sysdeps/powerpc/dl-tls.h: Likewise.
71141         * sysdeps/s390/dl-tls.h: Likewise.
71142         * sysdeps/sh/dl-tls.h: Likewise.
71143         * sysdeps/sparc/dl-tls.h: Likewise.
71144         * sysdeps/x86_64/dl-tls.h: Likewise.
71145         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71147 2011-03-14  Andreas Schwab  <schwab@redhat.com>
71149         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71150         rpath element also skip the following colon.
71151         (expand_dynamic_string_token): Add is_path parameter and pass
71152         down to DL_DST_REQUIRED and _dl_dst_substitute.
71153         (decompose_rpath): Call expand_dynamic_string_token with
71154         non-zero is_path.  Ignore empty rpaths.
71155         (_dl_map_object_from_fd): Call expand_dynamic_string_token
71156         with zero is_path.
71158 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
71160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71161         Make cancelable.
71163 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
71165         [BZ #12655]
71166         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71167         Patch by Filipe David Manana <fdmanana@apache.org>.
71169 2011-04-07  Andreas Schwab  <schwab@redhat.com>
71171         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71172         Maintain aligned stack.
71173         (CHECK_RSP): Remove unused macro.
71175 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71177         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71178         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71180 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71182         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71184         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71186 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71188         [BZ #12518]
71189         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71190         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71191         * sysdeps/x86_64/memmove.c: New file.
71192         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71193         (memcpy): Renamed to ...
71194         (__new_memcpy): This.
71195         (memcpy): Provide GLIBC_2_14 memcpy.
71196         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71197         (memcpy): Provide GLIBC_2_2_5 memcpy.
71199 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71201         [BZ #12631]
71202         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71204 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71206         * misc/syncfs.c: New file.
71207         * misc/Makefile (routines): Add syncfs.
71208         * posix/unistd.h: Declare syncfs.
71209         * sysdeps/unix/syscalls.list: Add syncfs.
71211 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71213         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71214         open_by_handle_at.
71215         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71216         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71217         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71218         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71219         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71220         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71221         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71223 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71225         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71226         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71227         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71228         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71229         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71230         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71231         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71233         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71234         sync_file_range.c with -fexceptions.
71235         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71236         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71237         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71238         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71239         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71240         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71241         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71242         sync_file_range as cancellation point
71243         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71244         now a wrapper around __call_sync_file_range with cancellation handling.
71245         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71246         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71247         function name to __call_sync_file_range.
71248         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71249         Add call_sync_file_range.
71251 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71254         bits/timex.h.
71256 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71258         * iconv/iconv.h: Fix typo in comment.
71259         * io/fcntl.h: Likewise.
71260         * libio/stdio.h: Likewise.
71261         * posix/spawn.h: Likewise.
71262         * posix/unistd.h: Likewise.
71263         * stdlib/stdlib.h: Likewise.
71264         * time/time.h: Likewise.
71265         * wcsmbs/wchar.h: Likewise.
71267         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71268         open_by_handle): Add.
71269         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71270         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71271         Augment a few comments.
71272         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71273         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71274         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71275         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71276         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71277         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71278         open_by_handle.
71280         * io/fcntl.h (AT_EMPTY_PATH): Define.
71282 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71284         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71285         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71286         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71287         to...
71288         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71289         * Versions.def: Add GLIBC_2.14.
71290         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71291         Export.
71293 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71295         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71296         round counter.
71297         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71299 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71301         [BZ #12597]
71302         * string/test-strncmp.c (do_page_test): New function.
71303         (check2): Likewise.
71304         (test_main): Call check2.
71305         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71307 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
71309         [BZ #12587]
71310         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71311         Handle cache information in CPU leaf 4.
71312         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71314 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
71316         [BZ #12583]
71317         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71318         character representation.
71319         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71321 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
71323         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71324         END(__isnan) to END(__isnanf) to match function entry point/label
71325         EALIGN(__isnanf,...).
71327 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
71329         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71331 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
71333         [BZ #12510]
71334         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71335         copy from the symbol referenced in the relocation to initialize the
71336         used variable.
71337         Patch by Piotr Bury <pbury@goahead.com>.
71338         * elf/Makefile: Add rules to build and tst-unique3.
71339         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71340         * elf/tst-unique3.cc: New file.
71341         * elf/tst-unique3.h: New file.
71342         * elf/tst-unique3lib.cc: New file.
71343         * elf/tst-unique3lib2.cc: New file.
71345         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71347 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
71349         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71350         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
71351         to _start.
71353 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
71355         * elf/dl-load.c (_dl_map_object): If we are looking for the first
71356         to-be-loaded object along a path to loader is ld.so.
71358 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71359             Ulrich Drepper  <drepper@gmail.com>
71361         * sysdeps/x86_64/memset.S: After aligning destination, code
71362         branches to different locations depending on the value of
71363         misalignment, when multiarch is enabled. Fix this.
71365 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71367         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71368         Set _x86_64_preferred_memory_instruction for AMD processsors.
71369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71370         Set bit_Prefer_SSE_for_memop for AMD processors.
71372 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
71374         * libio/fmemopen.c (fmemopen): Optimize a bit.
71376 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71378         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71380 2011-03-03  Roland McGrath  <roland@redhat.com>
71382         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71384 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71386         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71387         __bzero_ultra1 instead of __memset_ultra1.
71389 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71390             Ulrich Drepper  <drepper@gmail.com>
71392         [BZ #12509]
71393         * include/link.h (struct link_map): Add l_orig_initfini.
71394         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71395         returning unsuccessfully.
71396         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71397         close of a file loaded at startup, restore the original l_initfini
71398         list.
71399         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71400         list, store the pointer.
71401         * elf/Makefile ($(objpfx)noload-mem): New rule.
71402         (noload-ENV): Define.
71403         (tests): Add $(objpfx)noload-mem.
71404         * elf/noload.c: Include <memcheck.h>.
71405         (main): Call mtrace.  Close all opened handles.
71407 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71409         [BZ #12454]
71410         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71411         dependencies are missing.
71413 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71415         Fix __if_freereq crash: Unlike the generic version which uses free,
71416         Hurd needs munmap.
71417         * sysdeps/mach/hurd/ifreq.h: New file.
71419 2011-01-27  Petr Baudis  <pasky@suse.cz>
71420             Ulrich Drepper  <drepper@gmail.com>
71422         [BZ 12445]#
71423         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71424         to extend_alloca().
71425         * stdio-common/bug23.c: New file.
71426         * stdio-common/Makefile (tests): Add bug23.
71428 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71429             Ulrich Drepper  <drepper@gmail.com>
71431         [BZ #12489]
71432         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71433         before performing relro protection.  At old place add assertion
71434         to make sure nothing changed.
71436 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71437             Glauber de Oliveira Costa  <glommer@gmail.com>
71439         * elf/elf.h: Add new ARM TLS relocs.
71441 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71444         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71445         cast from r3.
71446         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71447         'tests' variable.
71448         * sysdeps/wordsize-64/tst-writev.c: New file.
71450 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71452         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71453         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71454         insns in _dl_start to prevent a TOC reference before relocs are
71455         resolved.
71457 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71459         [BZ #12469]
71460         * Makeconfig: Remove RANLIB definition.
71461         * Makerules: Don't use RANLIB.
71462         * aclocal.m4: Remove ranlib test.
71463         * configure.in: No need to check for ranlib.
71464         * elf/rtld-Rules: Don't use RANLIB.
71466 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71468         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71469         protection macro.
71470         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71471         inclusion protection macro.
71473         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71474         SIGRTMIN and SIGRTMAX and print information in that case only when
71475         SIGRTMIN is defined.
71477 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71479         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71480         arginfo fn returning -1.
71482         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71483         and thousands string is zero terminated.
71485 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71487         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71488         sysdeps/unix/sysv/linux/bits/socket.h.
71490 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71492         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71493         (__CPU_COUNT): Remove old macros.
71494         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71495         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71496         (__CPU_ALLOC, __CPU_FREE): Add macros.
71497         (__sched_cpualloc, __sched_cpufree): Add declarations.
71499 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71501         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71502         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71503         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71504         (readdhstai): Return value of addhstaiX call.
71505         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71506         (addgrbyX): Return value returned by cache_addgr.
71507         (readdgrbyname): Return value returned by addgrbyX.
71508         (readdgrbygid): Likewise.
71509         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71510         (addpwbyX): Return value returned by cache_addpw.
71511         (readdpwbyname): Return value returned by addhstbyX.
71512         (readdpwbyuid): Likewise.
71513         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71514         (addservbyX): Return value returned by cache_addserv.
71515         (readdservbyname): Return value returned by addservbyX:
71516         (readdservbyport): Likewise.
71517         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71518         (addhstbyX): Return value returned by cache_addhst.
71519         (readdhstbyname): Return value returned by addhstbyX.
71520         (readdhstbyaddr): Likewise.
71521         (readdhstbynamev6): Likewise.
71522         (readdhstbyaddrv6): Likewise.
71523         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71524         (readdinitgroups): Return value returned by addinitgroupsX.
71525         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71526         (prune_cache): Keep track of timeout value of re-added entries.
71527         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71528         * nscd/nscd.h: Adjust prototypes of readd* functions.
71530 2011-02-04  Roland McGrath  <roland@redhat.com>
71532         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71533         (nis_stats): Likewise.
71534         * nis/nis_modify.c (nis_modify): Likewise.
71535         * nis/nis_remove.c (nis_remove): Likewise.
71536         * nis/nis_add.c (nis_add): Likewise.
71538         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71540         * posix/fnmatch_loop.c: Add some consts.
71542         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71544 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71546         [BZ #12460]
71547         * config.make.in (config-cflags-novzeroupper): Define.
71548         * configure.in: Substitute libc_cv_cc_novzeroupper.
71549         * elf/Makefile (AVX-CFLAGS): Define.
71550         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71551         (CFLAGS-tst-auditmod4a.c): Likewise.
71552         (CFLAGS-tst-auditmod4b.c): Likewise.
71553         (CFLAGS-tst-auditmod6b.c): Likewise.
71554         (CFLAGS-tst-auditmod6c.c): Likewise.
71555         (CFLAGS-tst-auditmod7b.c): Likewise.
71556         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71558 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71560         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71561         function to the callback.
71562         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71564 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71566         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71567         of errno.
71569 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71571         [BZ #11724]
71572         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71573         of constructors.
71574         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71575         of destructors.
71576         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71578         [BZ #11724]
71579         * elf/Makefile: Add rules to build and run new test.
71580         * elf/tst-initorder.c: New file.
71581         * elf/tst-initorder.exp: New file.
71582         * elf/tst-initordera1.c: New file.
71583         * elf/tst-initordera2.c: New file.
71584         * elf/tst-initordera3.c: New file.
71585         * elf/tst-initordera4.c: New file.
71586         * elf/tst-initorderb1.c: New file.
71587         * elf/tst-initorderb2.c: New file.
71588         * elf/tst-order-a1.c: New file.
71589         * elf/tst-order-a2.c: New file.
71590         * elf/tst-order-a3.c: New file.
71591         * elf/tst-order-a4.c: New file.
71592         * elf/tst-order-b1.c: New file.
71593         * elf/tst-order-b2.c: New file.
71594         * elf/tst-order-main.c: New file.
71595         New test case by George Gensure <werkt0@gmail.com>.
71597 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71599         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71600         decoding ACE if AI_CANONIDN.
71602 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71604         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71606 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71608         * version.h (RELEASE): Bump for 2.13 release.
71609         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71611         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71613         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71614         MADV_NOHUGEPAGE.
71615         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71616         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71617         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71618         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71619         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71620         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71622         * posix/getconf.c: Update copyright year.
71623         * catgets/gencat.c: Likewise.
71624         * csu/version.c: Likewise.
71625         * debug/catchsegv.sh: Likewise.
71626         * debug/xtrace.sh: Likewise.
71627         * elf/ldconfig.c: Likewise.
71628         * elf/ldd.bash.in: Likewise.
71629         * elf/sprof.c (print_version): Likewise.
71630         * iconv/iconv_prog.c: Likewise.
71631         * iconv/iconvconfig.c: Likewise.
71632         * locale/programs/locale.c: Likewise.
71633         * locale/programs/localedef.c: Likewise.
71634         * malloc/memusage.sh: Likewise.
71635         * malloc/mtrace.pl: Likewise.
71636         * nscd/nscd.c (print_version): Likewise.
71637         * nss/getent.c: Likewise.
71639         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71640         PF_CAIF, and PF_ALG.
71641         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71643 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71645         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71646         (modules-names): Use them.
71647         (ifunc-test-modules, ifunc-pie-tests): Define.
71648         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71649         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71650         (test-extras): Likewise.
71651         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71652         $(compile-command.c).
71653         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71654         (all-built-dso): Define.
71655         (check-textrel.out, check-execstack.out): Depend on it.
71657         * configure.in: Don't override --enable-multi-arch.
71659 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71661         [BZ #6812]
71662         * nscd/hstcache.c (tryagain): Define.
71663         (cache_addhst): Return tryagain not notfound for temporary errors.
71664         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71665         failed.
71667 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71669         [BZ #10563]
71670         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71671         to make the syscall.
71672         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71674         [BZ #12378]
71675         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71676         and fall back to matching as normal character if the string ends before
71677         the matching ']' is found.  This is what POSIX requires.
71678         * posix/testfnm.c: Adjust test result.
71679         * posix/globtest.sh: Adjust test result.  Add new test.
71680         * posix/tst-fnmatch.input: Likewise.
71681         * posix/tst-fnmatch2.c: Add new test.
71683 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71685         * elf/Makefile (check-execstack): Revert last change.  Depend on
71686         check-execstack.h.
71687         (check-execstack.h): New target.
71688         (generated): Add check-execstack.h.
71689         * elf/check-execstack.c: Include "check-execstack.h".
71690         (main): Revert last change.
71691         (handle_file): Return zero if GNU_STACK is absent and
71692         DEFAULT_STACK_PERMS doesn't include PF_X.
71694 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71696         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71697         in child fails because the descriptor is already closed.
71698         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71699         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71700         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71702         [BZ #12397]
71703         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71704         syscall.
71706         [BZ #10484]
71707         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71708         temporary buffer used to handle multi lookups locally.
71709         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71711 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71713         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71714         loader is ld.so.
71716 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71718         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71719         alignment for SSE2.
71721 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71723         [BZ #12394]
71724         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71725         characters.  When rounding increased number of integer digits recompute
71726         number of groups.
71727         * stdio-common/tst-grouping.c: New file.
71728         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71730 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71732         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71733         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71735         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71736         void.
71737         * bits/select.h: Likewise.
71739 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71741         * po/ja.po: Update from translation team.
71743 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71745         [BZ #11155]
71746         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71747         implementation just like for lxstat, fxstatat, et al.
71749 2010-12-27  Jim Meyering  <meyering@redhat.com>
71751         [BZ #12348]
71752         * posix/regexec.c (build_trtable): Return failure indication upon
71753         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71755 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71757         [BZ #12201]
71758         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71759         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71760         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71761         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71763         [BZ #12207]
71764         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71766         [BZ #12204]
71767         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71768         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71770 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
71772         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71773         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71774         script has SORT_BY_INIT_PRIORITY.
71775         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71776         NO_CTORS_DTORS_SECTIONS is defined.
71777         * elf/soinit.c: Likewise.
71778         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71779         NO_CTORS_DTORS_SECTIONS is defined.
71780         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71781         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71782         * sysdeps/sh/init-first.c: Likewise.
71783         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71785 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
71787         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71788         always use the slow path.
71790 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
71792         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71793         similar rule which adds the sysdep directories to the header search in
71794         order to pick up the correct platform stackinfo.h.
71795         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71796         perform test if it is, otherwise return successfully without testing.
71797         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71798         DEFAULT_STACK_PERMS define in stackinfo.h.
71799         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71800         defined in stackinfo.h.
71801         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71802         DEFAULT_STACK_PERMS defined in stackinfo.h.
71803         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71804         * sysdeps/ia64/stackinfo.h: Likewise.
71805         * sysdeps/s390/stackinfo.h: Likewise.
71806         * sysdeps/sh/stackinfo.h: Likewise.
71807         * sysdeps/sparc/stackinfo.h: Likewise.
71808         * sysdeps/x86_64/stackinfo.h: Likewise.
71809         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71810         PF_X for powerpc64.  Retain PF_X for powerpc32.
71812 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71814         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71815         accurately.
71816         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71817         GETDENTS_64BIT_ALIGNED.
71819 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71821         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71823 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71825         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71826         _GNU_SOURCE.
71828         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71829         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71830         Remove __restrict.
71831         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71832         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71834 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71836         [BZ #11655]
71837         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71838         are initialized.
71840 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71842         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71844 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71846         * po/it.po: Update from translation team.
71848 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71850         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71851         unused codes.
71853 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
71855         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71857 2010-11-24  Andreas Schwab  <schwab@redhat.com>
71859         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71860         specially.
71861         (gaih_getanswer_slice): Likewise.
71863 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
71865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71867 2010-05-31  Petr Baudis  <pasky@suse.cz>
71869         [BZ #11149]
71870         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71871         silently even in the chroot mode.
71873 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
71875         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71876         last patch a bit.  Pretty printing
71878 2010-05-31  Petr Baudis <pasky@suse.cz>
71880         [BZ #10085]
71881         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71882         initialization of skip_initgroups_dyn.
71884 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
71886         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71887         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71889 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
71891         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71893 2010-11-11  Andreas Schwab  <schwab@redhat.com>
71895         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71896         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71897         (tst-fnmatch-ENV): Set MALLOC_TRACE.
71898         ($(objpfx)tst-fnmatch-mem): New rule.
71899         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71900         * posix/tst-fnmatch.c (main): Call mtrace.
71902 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
71904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71905         Support Intel processor model 6 and model 0x2c.
71907 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
71909         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71910           signed comparison.
71912 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
71914         [BZ #12205]
71915         * string/test-strncasecmp.c (check_result): New function.
71916         (do_one_test): Use it.
71917         (check1): New function.
71918         (test_main): Use it.
71919         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71920         Support strcasecmp and strncasecmp.
71922 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
71924         [BZ #12194]
71925         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71926         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71928 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71930         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71931         IFUNC support.
71932         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71933         memset-x86-64.
71934         * sysdeps/x86_64/multiarch/bzero.S: New file.
71935         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71936         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71937         * sysdeps/x86_64/multiarch/memset.S: New file.
71938         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71940         Set bit_Prefer_SSE_for_memop for Intel processors.
71941         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71942         Define.
71943         (index_Prefer_SSE_for_memop): Define.
71944         (HAS_PREFER_SSE_FOR_MEMOP): Define.
71946 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
71948         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71949         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71951 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
71953         [BZ #12191]
71954         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71955         (__x86_64_raw_data_cache_size_half): Likewise.
71956         (__x86_64_raw_shared_cache_size): Likewise.
71957         (__x86_64_raw_shared_cache_size_half): Likewise.
71959         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71960         (__x86_64_raw_data_cache_size_half): Likewise.
71961         (__x86_64_raw_shared_cache_size): Likewise.
71962         (__x86_64_raw_shared_cache_size_half): Likewise.
71963         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71964         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71965         and __x86_64_raw_shared_cache_size_half.  Round
71966         __x86_64_data_cache_size_half, __x86_64_data_cache_size
71967         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71968         to multiple of 256 bytes.
71970 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
71972         [BZ #12167]
71973         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71974         of inacessible symlinks.  Verify result of symlink before returning it.
71975         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71976         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71978 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71980         * math/math.h (isinf): Fix typo in comment.
71982 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71984         * po/da.po: Update from translation team.
71986 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71988         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71989         is added to the list.
71991 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71992             Ulrich Drepper  <drepper@gmail.com>
71994         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71995         the global list here.  Move code to...
71996         (_dl_add_to_namespace_list): ...here.  New function.
71997         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71998         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71999         * elf/dl-load.c (lose): Don't remove the element from the list.
72000         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72001         (_dl_map_object): Likewise.
72003 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72005         [BZ #12159]
72006         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72007         into all bytes of SSE register.
72008         Patch by Richard Li <richardpku@gmail.com>.
72010 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
72012         [BZ #12140]
72013         * malloc/malloc.c (_int_free): Fill correct number of bytes when
72014         perturbing.
72016 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
72018         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72019         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72020         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72021         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72023         submachine.
72024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72026 2010-10-22  Andreas Schwab  <schwab@redhat.com>
72028         * include/dlfcn.h (__RTLD_SECURE): Define.
72029         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
72030         mode & __RTLD_SECURE instead.
72031         (open_path): Rename preloaded parameter to secure.
72032         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72033         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72034         * elf/dl-deps.c (openaux): Likewise.
72035         * elf/rtld.c (struct map_args): Remove is_preloaded.
72036         (map_doit): Don't use it.
72037         (dl_main): Likewise.
72038         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72039         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72041 2010-09-09  Andreas Schwab  <schwab@redhat.com>
72043         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72044         (sysd-rules-targets): Remove duplicates.
72045         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72046         rtld-%.$o dependency.
72048 2010-10-18  Andreas Schwab  <schwab@redhat.com>
72050         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72051         _dl_map_object do it.
72053 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
72055         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72056         fast fma builtins, define the macros in the C99 standard.
72057         (FP_FAST_FMAF): Likewise.
72058         (FP_FAST_FMAL): Likewise.
72059         * sysdeps/x86_64/bits/mathdef.h: Likewise.
72061         * bits/mathdef.h: Update copyright year.
72062         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72064 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
72066         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72067         builtins, define the macros in the C99 standard.
72068         (FP_FAST_FMAF): Likewise.
72069         (FP_FAST_FMAL): Likewise.
72070         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72071         multiply/add.
72072         (FP_FAST_FMAF): Likewise.
72074 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
72076         [BZ #3268]
72077         * math/libm-test.inc (fma_test): Some new testcases.
72078         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72079         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72080         y and infinite z.  Do multiplication by C already in long double.
72081         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72083         y and infinite z.  Do bitwise or of inexact bit into u.d.
72084         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72085         * sysdeps/i386/fpu/s_fmaf.S: Removed.
72086         * sysdeps/i386/fpu/s_fma.S: Removed.
72087         * sysdeps/i386/fpu/s_fmal.S: Removed.
72089 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
72091         [BZ #3268]
72092         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72094         computation is not scheduled after fetestexcept.  Fix value
72095         of minimum denormal long double.
72097 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
72099         [BZ #3268]
72100         * math/libm-test.inc (fma_test): Add some more tests.
72101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72102         correctly.
72104 2010-10-15  Andreas Schwab  <schwab@redhat.com>
72106         * scripts/data/localplt-s390-linux-gnu.data: New file.
72107         * scripts/data/localplt-s390x-linux-gnu.data: New file.
72109 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
72111         [BZ #3268]
72112         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72113         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72114         instead of dbl-64.
72115         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72116         inlines.
72117         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72118         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72119         if one of x and y is very large and the other is subnormal.
72120         * sysdeps/s390/fpu/s_fmaf.c: New file.
72121         * sysdeps/s390/fpu/s_fma.c: New file.
72122         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72123         * sysdeps/powerpc/fpu/s_fma.S: New file.
72124         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72125         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72126         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72128 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
72130         [BZ #3268]
72131         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72132         fma tests.
72133         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72134         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72135         * sysdeps/i386/i686/multiarch/s_fma.c: Include
72136         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72137         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72138         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72139         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72141 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
72143         [BZ #12078]
72144         * posix/regcomp.c (parse_branch): One more memory leak plugged.
72145         * posix/bug-regex31.input: Add test case.
72147 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72149         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72150         * posix/bug-regex31.input: New file.
72152         [BZ #12078]
72153         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72154         (parse_sub_exp): Fix last change, use postorder.
72156         * posix/bug-regex31.c: New file.
72157         * posix/Makefile: Add rules to build and run bug-regex31.
72159         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72161         [BZ #12078]
72162         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72164         [BZ #12108]
72165         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72166         to have entries in sys_siglist.
72168         [BZ #12093]
72169         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72170         be NULL.
72172 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
72174         [BZ #3268]
72175         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72176         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72177         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72178         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72179         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72180         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72181         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72182         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72183         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72184         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72185         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72186         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72187         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72188         * math/ftestexcept.c (fetestexcept): Likewise.
72189         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72190         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72191         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72192         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72193         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72194         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72195         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72197 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72199         [BZ #12107]
72200         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72201         newline.
72203 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72205         * string/bug-strstr1.c: New file.
72206         * string/Makefile: Add rules to build and run bug-strstr1.
72208 2010-10-05  Eric Blake  <eblake@redhat.com>
72210         [BZ #12092]
72211         * string/str-two-way.h (two_way_long_needle): Always clear memory
72212         when skipping input due to the shift table.
72214 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72216         [BZ #12005]
72217         * malloc/mcheck.c: Handle large requests.
72219         [BZ #12077]
72220         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72221         for strncmp and strncasecmp.
72222         * string/stratcliff.c: Add tests for strcmp and strncmp.
72223         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72225 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72227         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72228         __set_fpscr.
72230 2010-09-30  Andreas Jaeger  <aj@suse.de>
72232         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72233         (CGROUP_SUPER_MAGIC): Define.
72234         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72235         Handle btrfs and cgroup file systems.
72236         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72237         Likewise.
72239 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72241         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72242         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72244 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72246         [BZ #12067]
72247         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72248         trying to locate the ELF header.
72250 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72252         [BZ #11611]
72253         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72254         Mask out sign-bit copies when constructing f_fsid.
72256 2010-09-24  Petr Baudis <pasky@suse.cz>
72258         * debug/stack_chk_fail_local.c: Add missing licence exception.
72259         * debug/warning-nop.c: Likewise.
72261 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72263         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72264         implementing getdents64 using getdents syscall, set d_type if
72265         __ASSUME_GETDENTS32_D_TYPE.
72267 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72269         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72270         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72272 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72274         [BZ #12037]
72275         * posix/unistd.h: Undo change of feature selection for ftruncate from
72276         2010-01-11.
72278 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72280         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72281         detection.
72283 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72285         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72286         fanotify_mark.
72287         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72289 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72291         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72292         variables after CHECK_SP call.
72293         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72295 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72296             Ulrich Drepper  <drepper@redhat.com>
72298         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72299         re-relocationg ld.so.
72300         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72301         _dl_init_paths call.
72302         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72303         here anymore.
72305 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
72307         * resolv/res_init.c (__res_vinit): Count the default server we added.
72309 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
72310             Ulrich Drepper  <drepper@redhat.com>
72312         [BZ #11968]
72313         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72314         (____longjmp_chk): Use %ebx for saving value across system call.
72315         Add unwind info.
72317 2010-09-06  Andreas Schwab  <schwab@redhat.com>
72319         * manual/Makefile: Don't mix pattern rules with normal rules.
72321 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72323         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72324         operation.
72325         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72326         * libio/iofopncook.c (_IO_cookie_init): Likewise.
72327         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72328         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72329         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72330         Likewise.
72332 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
72334         [BZ #11979]
72335         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72336         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72338 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
72340         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72341         * sysdeps/x86_64/addmul_1.S: Likewise.
72342         * sysdeps/x86_64/lshift.S: Likewise.
72343         * sysdeps/x86_64/mul_1.S: Likewise.
72344         * sysdeps/x86_64/rshift.S: Likewise.
72345         * sysdeps/x86_64/sub_n.S: Likewise.
72346         * sysdeps/x86_64/submul_1.S: Likewise.
72348 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72350         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72351         Define __sched_param instead of SCHED_* and sched_param when
72352         <bits/sched.h> is included with __need_schedparam defined.
72353         * bits/sched.h [__need_schedparam]
72354         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72355         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72356         (__defined_schedparam): Define to 1.
72357         (__sched_param): New structure, identical to sched_param.
72358         (__need_schedparam): Undefine.
72360 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
72362         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72363         (epoll_create1): Declare.
72365         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72367 2010-08-31  Andreas Schwab  <schwab@redhat.com>
72369         [BZ #7066]
72370         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72371         shifting retval into place.
72373 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
72375         * nis/rpcsvc/nis.h: Update copyright notice.
72376         * nis/rpcsvc/nis.x: Likewise.
72377         * nis/rpcsvc/nis_callback.h: Likewise.
72378         * nis/rpcsvc/nis_callback.x: Likewise.
72379         * nis/rpcsvc/nis_object.x: Likewise.
72380         * nis/rpcsvc/nis_tags.h: Likewise.
72381         * nis/rpcsvc/yp.h: Likewise.
72382         * nis/rpcsvc/yp.x: Likewise.
72383         * nis/rpcsvc/ypupd.h: Likewise.
72384         * nis/yp_xdr.c: Likewise.
72385         * nis/ypupdate_xdr.c: Likewise.
72387         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72388         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72389         (pmap_getport): Use __libc_rpc_getport.
72390         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72391         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72392         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72394 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72397         fanotify_mark.
72399 2010-08-27  Roland McGrath  <roland@redhat.com>
72401         * sysdeps/i386/i686/multiarch/Makefile
72402         (CFLAGS-varshift.c): New variable.
72404 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72406         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72407         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72409         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72411         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72413 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72415         * sysdeps/x86_64/strlen.S: Unroll the loop.
72416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72417         strlen-sse2 strlen-sse2-bsf.
72418         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72419         __strlen_no_bsf if bit_Slow_BSF is set.
72420         (__strlen_sse42): Removed.
72421         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72422         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72424 2010-08-25  Roland McGrath  <roland@redhat.com>
72426         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72427         * sysdeps/x86_64/multiarch/varshift.c: New file.
72428         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72429         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72430         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72431         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72433 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72435         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72436         strlen-sse2 strlen-sse2-bsf.
72437         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72438         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72439         (__strlen_sse2): Removed.
72440         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72441         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72443         bit_Slow_BSF for Atom.
72444         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72445         (index_Slow_BSF): Define.
72446         (HAS_SLOW_BSF): Define.
72448 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72450         [BZ #10851]
72451         * resolv/res_init.c (__res_vinit): When no server address at all
72452         is given default to loopback.
72454 2010-08-24  Roland McGrath  <roland@redhat.com>
72456         * configure.in: Remove config-name.h generation.
72457         * configure: Regenerated.
72458         * config-name.in: File removed.
72459         * scripts/config-uname.sh: New file.
72460         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72461         ($(objdir)config-name.h): New target.
72463         * sunrpc/rpc_parse.h: Avoid nested comment.
72465 2010-08-24  Richard Henderson  <rth@redhat.com>
72466             Ulrich Drepper  <drepper@redhat.com>
72467             H.J. Lu  <hongjiu.lu@intel.com>
72469         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72471         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72472         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72473         _mm_alignr_epi8 with _mm_loadu_si128.
72474         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72475         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72476         (__m128i_shift_right): Removed.
72477         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72478         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72479         * sysdeps/x86_64/multiarch/varshift.h: New file.
72480         * sysdeps/x86_64/multiarch/varshift.S: New file.
72482 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72484         * configure.in: Move assembler checks to before sysdep dir checking.
72486 2010-08-20  Petr Baudis  <pasky@suse.cz>
72488         * LICENSES: Sync the sunrpc license.
72490 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72492         * sunrpc/auth_des.c: Update copyright notice once again.
72493         * sunrpc/auth_none.c: Likewise.
72494         * sunrpc/auth_unix.c: Likewise.
72495         * sunrpc/authdes_prot.c: Likewise.
72496         * sunrpc/authuxprot.c: Likewise.
72497         * sunrpc/bindrsvprt.c: Likewise.
72498         * sunrpc/clnt_gen.c: Likewise.
72499         * sunrpc/clnt_perr.c: Likewise.
72500         * sunrpc/clnt_raw.c: Likewise.
72501         * sunrpc/clnt_simp.c: Likewise.
72502         * sunrpc/clnt_tcp.c: Likewise.
72503         * sunrpc/clnt_udp.c: Likewise.
72504         * sunrpc/clnt_unix.c: Likewise.
72505         * sunrpc/des_crypt.c: Likewise.
72506         * sunrpc/des_soft.c: Likewise.
72507         * sunrpc/get_myaddr.c: Likewise.
72508         * sunrpc/getrpcport.c: Likewise.
72509         * sunrpc/key_call.c: Likewise.
72510         * sunrpc/key_prot.c: Likewise.
72511         * sunrpc/openchild.c: Likewise.
72512         * sunrpc/pm_getmaps.c: Likewise.
72513         * sunrpc/pm_getport.c: Likewise.
72514         * sunrpc/pmap_clnt.c: Likewise.
72515         * sunrpc/pmap_prot.c: Likewise.
72516         * sunrpc/pmap_prot2.c: Likewise.
72517         * sunrpc/pmap_rmt.c: Likewise.
72518         * sunrpc/rpc/auth.h: Likewise.
72519         * sunrpc/rpc/auth_unix.h: Likewise.
72520         * sunrpc/rpc/clnt.h: Likewise.
72521         * sunrpc/rpc/des_crypt.h: Likewise.
72522         * sunrpc/rpc/key_prot.h: Likewise.
72523         * sunrpc/rpc/netdb.h: Likewise.
72524         * sunrpc/rpc/pmap_clnt.h: Likewise.
72525         * sunrpc/rpc/pmap_prot.h: Likewise.
72526         * sunrpc/rpc/pmap_rmt.h: Likewise.
72527         * sunrpc/rpc/rpc.h: Likewise.
72528         * sunrpc/rpc/rpc_des.h: Likewise.
72529         * sunrpc/rpc/rpc_msg.h: Likewise.
72530         * sunrpc/rpc/svc.h: Likewise.
72531         * sunrpc/rpc/svc_auth.h: Likewise.
72532         * sunrpc/rpc/types.h: Likewise.
72533         * sunrpc/rpc/xdr.h: Likewise.
72534         * sunrpc/rpc_clntout.c: Likewise.
72535         * sunrpc/rpc_cmsg.c: Likewise.
72536         * sunrpc/rpc_common.c: Likewise.
72537         * sunrpc/rpc_cout.c: Likewise.
72538         * sunrpc/rpc_dtable.c: Likewise.
72539         * sunrpc/rpc_hout.c: Likewise.
72540         * sunrpc/rpc_main.c: Likewise.
72541         * sunrpc/rpc_parse.c: Likewise.
72542         * sunrpc/rpc_parse.h: Likewise.
72543         * sunrpc/rpc_prot.c: Likewise.
72544         * sunrpc/rpc_sample.c: Likewise.
72545         * sunrpc/rpc_scan.c: Likewise.
72546         * sunrpc/rpc_scan.h: Likewise.
72547         * sunrpc/rpc_svcout.c: Likewise.
72548         * sunrpc/rpc_tblout.c: Likewise.
72549         * sunrpc/rpc_util.c: Likewise.
72550         * sunrpc/rpc_util.h: Likewise.
72551         * sunrpc/rpcinfo.c: Likewise.
72552         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72553         * sunrpc/rpcsvc/key_prot.x: Likewise.
72554         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72555         * sunrpc/rpcsvc/mount.x: Likewise.
72556         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72557         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72558         * sunrpc/rpcsvc/rex.x: Likewise.
72559         * sunrpc/rpcsvc/rstat.x: Likewise.
72560         * sunrpc/rpcsvc/rusers.x: Likewise.
72561         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72562         * sunrpc/rpcsvc/spray.x: Likewise.
72563         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72564         * sunrpc/rtime.c: Likewise.
72565         * sunrpc/svc.c: Likewise.
72566         * sunrpc/svc_auth.c: Likewise.
72567         * sunrpc/svc_authux.c: Likewise.
72568         * sunrpc/svc_raw.c: Likewise.
72569         * sunrpc/svc_run.c: Likewise.
72570         * sunrpc/svc_simple.c: Likewise.
72571         * sunrpc/svc_tcp.c: Likewise.
72572         * sunrpc/svc_udp.c: Likewise.
72573         * sunrpc/svc_unix.c: Likewise.
72574         * sunrpc/svcauth_des.c: Likewise.
72575         * sunrpc/xcrypt.c: Likewise.
72576         * sunrpc/xdr.c: Likewise.
72577         * sunrpc/xdr_array.c: Likewise.
72578         * sunrpc/xdr_float.c: Likewise.
72579         * sunrpc/xdr_mem.c: Likewise.
72580         * sunrpc/xdr_rec.c: Likewise.
72581         * sunrpc/xdr_ref.c: Likewise.
72582         * sunrpc/xdr_sizeof.c: Likewise.
72583         * sunrpc/xdr_stdio.c: Likewise.
72585         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72586         handling.
72588 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72590         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72592 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72594         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72595         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72596         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72597         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72598         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72599         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72600         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72601         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72602         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72603         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72604         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72605         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72606         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72607         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72609 2010-07-26  Anton Blanchard  <anton@samba.org>
72611         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72612         * malloc/arena.c (heap_trim): Likewise.
72614 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72616         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72617         here.  Not...
72618         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72619         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72621 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72623         * sysdeps/i386/elf/Makefile: New file.
72625 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72627         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72628         from fanotify_init.
72629         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72630         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72632 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72634         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72635         of strncasecmp_l.
72636         * sysdeps/multiarch/strcmp.S: Likewise.
72638 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72640         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72641         strncase_l-nonascii.
72642         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72643         Add strncase_l-ssse3.
72644         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72645         * sysdeps/x86_64/strcmp.S: Likewise.
72646         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72647         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72648         * sysdeps/x86_64/strncase.S: New file.
72649         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72650         * sysdeps/x86_64/strncase_l.S: New file.
72651         * string/Makefile (strop-tests): Add strncasecmp.
72652         * string/test-strncasecmp.c: New file.
72654         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72655         warning.
72657         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72658         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72660 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72662         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72664 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72666         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72667         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72668         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72670 2010-05-01  Alan Modra  <amodra@gmail.com>
72672         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72673         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72674         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72675         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72676         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72677         tidying.  Don't tail-call __sigjmp_save for static lib.
72678         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72679         save location.
72680         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72681         (CALL_MCOUNT): Add eh info, and nop after bl.
72682         (TAIL_CALL_SYSCALL_ERROR): New macro.
72683         (PSEUDO_RET): Use it.
72684         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72685         Correct save location of integer regs and cr.
72686         (_dl_profile_resolve): Correct cr save location.  Delete nops
72687         after bl when SHARED.  Reduce cfi size a little by better
72688         placement of cfi directives.
72689         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72690         make a stack frame.  Instead use parm save area as a temp.
72691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72692         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72694         Don't make a stack frame for parent, use parm save area.
72695         Increase child stack frame to 112 bytes.  Don't save unused reg,
72696         and adjust reg usage.  Set up cfi on error recovery and
72697         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72699         (__makecontext): Add dummy nop after jump to exit.
72700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72701         Use correct parm save area and cr save, reduce stack frame.
72702         Correct cfi for possible PSEUDO_RET frame setup.
72703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72704         Branch to local label emitted by PSEUDO_RET rather than
72705         __syscall_error.
72707 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72709         [BZ #11904]
72710         * locale/programs/locale.c (print_assignment): New function.
72711         (show_locale_vars): Use it.
72713 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72715         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72716         field.
72717         (struct statfs64): Likewise.
72718         (_STATFS_F_FLAGS): Define.
72719         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72720         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72721         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72722         (ST_VALID): Define locally.
72723         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72724         __statvfs_getflags, use the provided value.
72725         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72726         __ASSUME_STATFS_F_FLAGS.
72728         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72730         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72731         Add sys/fanotify.h.
72732         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72733         fanotify_mask for GLIBC_2.13.
72734         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72735         fanotify_init and fanotify_mark.
72736         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72737         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72739         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72740         Add prlimit.
72741         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72742         prlimit64 for GLIBC_2.13.
72743         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72744         prlimit64.
72745         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72746         syscall.
72747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72748         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72749         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72750         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72751         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72752         add prlimit alias.
72753         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72755         [BZ #11903]
72756         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72757         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72759         * nss/Makefile: Add rules to build and run tst-nss-test1.
72760         * shlib-versions: Add entry for libnss_test1.
72761         * nss/nss_test1.c: New file.
72762         * nss/tst-nss-test1.c: New file.
72764         * nss/nsswitch.c (__nss_database_custom): Define new variable.
72765         (__nss_configure_lookup): Set appropriate entry in
72766         __nss_configure_lookup to true.
72767         * nss/nsswitch.h: Define enum with indeces of databases in
72768         databases and __nss_database_custom arrays.  Declare
72769         __nss_database_custom.
72770         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72771         to avoid using nscd when custom rules are installed.
72772         * nss/getXXbyYY_r.c: Likewise.
72773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72775         * nss/nss_files/files-parse.c: Whitespace fixes.
72777 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
72779         [BZ #11883]
72780         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72781         * posix/fnmatch_loop.c: Likewise.
72783 2010-07-17  Andi Kleen  <ak@linux.intel.com>
72785         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72786         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72787         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72788         * Versions.def [GLIBC_2.13]: Add.
72790 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
72792         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72793         Also fail if tpwd after pwuid call is NULL.
72795 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72797         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72798         when converting to ms.
72800 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72802         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72803         EOPNOTSUPP errors with ENOTTY.
72804         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72805         EOPNOTSUPP errors with ENOTTY.
72807 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72809         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72810         Add strcasecmp_l-ssse3.
72811         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72812         strcasecmp.
72813         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72814         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72815         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72817 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72819         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72821         * string/Makefile (strop-tests): Add strcasecmp.
72822         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72823         strcasecmp_l-nonascii.
72824         (gen-as-const-headers): Add locale-defines.sym.
72825         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72826         * sysdeps/x86_64/strcasecmp.S: New file.
72827         * sysdeps/x86_64/strcasecmp_l.S: New file.
72828         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72829         * sysdeps/x86_64/locale-defines.sym: New file.
72830         * string/test-strcasecmp.c: New file.
72832         * string/test-strcasestr.c: Test both ends of the range of characters.
72833         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72835 2010-07-29  Roland McGrath  <roland@redhat.com>
72837         [BZ #11856]
72838         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72840 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72842         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72843         for ld.so.
72845 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72847         * manual/memory.texi (Malloc Tunable Parameters): Document
72848         M_PERTURB.
72850 2010-07-26  Roland McGrath  <roland@redhat.com>
72852         [BZ #11840]
72853         * configure.in (-fgnu89-inline check): Set and substitute
72854         gnu89_inline, not libc_cv_gnu89_inline.
72855         * configure: Regenerated.
72856         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72858 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
72860         * string/test-strnlen.c: New file.
72861         * string/Makefile (strop-tests): Add strnlen.
72862         * string/tester.c (test_strnlen): Add a few more test cases.
72863         * string/tst-strlen.c: Better error reporting.
72865         * sysdeps/x86_64/strnlen.S: New file.
72867 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
72869         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72870         lower-latency instructions.
72872 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
72874         * string/test-strcasestr.c: New file.
72875         * string/test-strstr.c: New file.
72876         * string/Makefile (strop-tests): Add strstr and strcasestr.
72877         * string/str-two-way.h: Don't undefine MAX.
72878         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72880 2010-07-21  Andreas Schwab  <schwab@redhat.com>
72882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72883         strcasestr-nonascii.
72884         (CFLAGS-strcasestr-nonascii.c): Define.
72885         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72886         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72887         Remove unused attribute.
72889 2010-07-20  Roland McGrath  <roland@redhat.com>
72891         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72892         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
72893         ld.so.cache was broken.  With it, there is no way to disable dsocaps
72894         like LD_HWCAP_MASK can disable hwcaps.
72896 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72898         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72900 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
72902         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72903         call in strcasestr.
72904         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72905         __strcasestr_sse42_nonascii.
72906         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72907         strcasestr-nonascii.c.
72908         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72910 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
72912         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72913         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72914         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72915         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72917 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
72919         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72920         fcntl.
72922 2010-07-06  Andreas Schwab  <schwab@redhat.com>
72924         [BZ #11577]
72925         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72926         dl_signal_cerror.
72928 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
72930         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72931         _PC_PIPE_BUF using F_GETPIPE_SZ.
72933 2010-07-05  Roland McGrath  <roland@redhat.com>
72935         * manual/arith.texi (Rounding Functions): Fix rint description
72936         implicit in round description.
72938 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
72940         * elf/Makefile: Fix linking for a few tests to make recent linker
72941         happy.
72943 2010-06-30  Andreas Schwab  <schwab@redhat.com>
72945         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72946         $(common-objpfx)libc_nonshared.a.
72948 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
72950         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72951         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72952         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72953         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72954         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72955         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72956         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72957         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72972         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72973         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72974         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72975         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72976         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72977         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72978         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72979         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72980         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72981         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72982         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72983         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72999 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73001         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73002         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73003         * string/memmove.c (memmove): Renamed to ...
73004         (MEMMOVE): ...this.  Default to memmove.
73005         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73006         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73007         (END_CHK): Define.
73008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73009         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73010         mempcpy-ssse3-back memmove-ssse3-back.
73011         * sysdeps/x86_64/multiarch/bcopy.S: New file .
73012         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73013         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73014         * sysdeps/x86_64/multiarch/memcpy.S: New file.
73015         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73016         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73017         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73018         * sysdeps/x86_64/multiarch/memmove.c: New file.
73019         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73020         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73021         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73022         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73023         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73024         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73025         Define.
73026         (index_Fast_Copy_Backward): Define.
73027         (HAS_ARCH_FEATURE): Define.
73028         (HAS_FAST_REP_STRING): Define.
73029         (HAS_FAST_COPY_BACKWARD): Define.
73031 2010-06-21  Andreas Schwab  <schwab@redhat.com>
73033         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73034         Restore proper fallback handling.
73036 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73038         [BZ #11701]
73039         * posix/group_member.c (__group_member): Correct checking loop.
73041         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73042         OOM in getpwuid_r correctly.  Return error number when the caller
73043         should return, otherwise -1.
73044         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73045         call returning > 0 value.
73046         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73048 2010-06-07  Andreas Schwab  <schwab@redhat.com>
73050         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73051         libc_nonshared.a from targets in modules-names.
73053 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
73055         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73056         requires it.
73058 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
73060         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73061         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73062         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73063         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73065 2010-06-02  Andreas Schwab  <schwab@redhat.com>
73067         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73069 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
73071         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73072         and F_GETPIPE_SZ.
73073         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73074         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73075         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73076         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73077         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73078         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73080 2010-06-14  Roland McGrath  <roland@redhat.com>
73082         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73084 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
73086         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73087         __REDIRECT followed by __THROW.
73088         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73089         * posix/getopt.h (getopt): Likewise.
73091 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73093         * hurd/lookup-at.c (__file_name_lookup_at): Accept
73094         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
73095         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73096         in AT_FLAGS.
73097         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73098         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73100 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
73102         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73104 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
73106         [BZ #11640]
73107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73108         Properly check family and model.
73110 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
73112         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73114 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
73116         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73118 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
73120         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73121         symbol reference.
73123 2010-05-19  Andreas Schwab  <schwab@redhat.com>
73125         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73126         symbol reference.
73128 2010-05-21  Andreas Schwab  <schwab@redhat.com>
73130         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73131         and internal_recvmmsg.
73132         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73133         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73134         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73135         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73137         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73138         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73139         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73141 2010-05-20  Andreas Schwab  <schwab@redhat.com>
73143         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73145 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
73147         POWER7 optimizations.
73148         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73149         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73151 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
73153         * version.h: Update for 2.13 development version.
73155 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
73157         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73158         exceptions.  Return 0.
73160 2010-05-07  Roland McGrath  <roland@redhat.com>
73162         * elf/ldconfig.c (main): Add a const.
73164 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
73166         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73167         (args_options): Add no-idn option.
73168         (ahosts_keys_int): Add idn_flags to ai_flags.
73169         (parse_option): Handle 'i' option to clear idn_flags.
73171         * malloc/malloc.c (_int_free): Possible race in the most recently
73172         added check.  Only act on the data if no current modification
73173         happened.
73175 See ChangeLog.17 for earlier changes.