Synchronize <sys/personality.h> with kernel headers
[glibc.git] / ChangeLog
blob4c8a78807242d587d814392775704d2e89262ab8
1 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4         PER_LINUX_FDPIC): Add.
6 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9         memcpy-avx512-no-vzeroupper.
10         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
11         to ...
12         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
13         (MEMCPY): Don't define.
14         (MEMCPY_CHK): Likewise.
15         (MEMPCPY): Likewise.
16         (MEMPCPY_CHK): Likewise.
17         (MEMPCPY_CHK): Renamed to ...
18         (__mempcpy_chk_avx512_no_vzeroupper): This.
19         (MEMPCPY_CHK): Renamed to ...
20         (__mempcpy_chk_avx512_no_vzeroupper): This.
21         (MEMCPY_CHK): Renamed to ...
22         (__memmove_chk_avx512_no_vzeroupper): This.
23         (MEMCPY): Renamed to ...
24         (__memmove_avx512_no_vzeroupper): This.
25         (__memcpy_avx512_no_vzeroupper): New alias.
26         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
28 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
30         [BZ #18858]
31         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
33         and mempcpy-avx512-no-vzeroupper.
34         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
35         New.
36         (MEMPCPY): Likewise.
37         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
38         (MEMPCPY_CHK): New.
39         (MEMPCPY): Likewise.
40         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
41         (MEMPCPY): Likewise.
42         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
43         (MEMPCPY): Likewise.
44         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
45         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
46         Likewise.
47         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
48         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
50 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
51              Amit Pawar  <Amit.Pawar@amd.com>
53         [BZ #19583]
54         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
55         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
56         processors.  Set Fast_Copy_Backward for AMD Excavator
57         processors.
58         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
59         New.
60         (index_arch_Fast_Unaligned_Copy): Likewise.
61         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
62         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
64 2016-03-25  Florian Weimer  <fweimer@redhat.com>
66         [BZ #19791]
67         * resolv/res_send.c (close_and_return_error): New function.
68         (send_dg): Initialize *resplen2 after reopen failure.  Call
69         close_and_return_error for error returns.  On error paths without
70         __res_iclose, initialze *resplen2 explicitly.  Update comment for
71         successful return.
73 2016-03-25  Florian Weimer  <fweimer@redhat.com>
75         [BZ# 19860]
76         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
77         zero if the compiler does not provide the AVX512F bit.
79 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
81         [BZ #19848]
82         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
83         from 8 to 4.
84         (__ieee754_powl): Compare integer exponent against 4 not 8.
85         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
86         from 8 to 4.
87         (__ieee754_powl): Compare integer exponent against 4 not 8.
88         * math/auto-libm-test-in: Add more tests of pow.
89         * math/auto-libm-test-out: Regenerated.
90         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
91         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
93 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
95         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
96         Make code unconditional.
97         [!__NR_utimensat]: Remove conditional code.
98         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
99         Make code unconditional.
100         [!__NR_utimensat]: Remove conditional code.
101         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
102         Make code unconditional.
103         [!__NR_utimensat]: Remove conditional code.
105 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
107         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
108         Make code unconditional.
110 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
112         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
113         call-clobbered %eax on retry path.
114         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
116 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
118         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
119         Don't set %rcx twice before "rep movsb".
121 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
123         [BZ #19583]
124         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
125         inline.  Check family before setting family, model and
126         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
127         bits here.
128         (init_cpu_features): Replace HAS_CPU_FEATURE and
129         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
130         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
131         for Intel processors with usable AVX2.  Call get_common_indeces
132         for other processors with family == NULL.
133         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
134         (CPU_FEATURES_ARCH_P): Likewise.
135         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
136         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
138 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
140         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
141         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
142         $(shared-thread-library) instead of hardcoding the path to libpthread.
144 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
146         * sysdeps/unix/sysv/linux/kernel-features.h
147         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
148         * sysdeps/unix/sysv/linux/getdents.c
149         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
150         [!have_no_getdents64_defined]: Likewise.
151         (__GETDENTS): Remove __have_no_getdents64 conditional.
153 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
155         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
156         Remove macro.
157         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
158         <kernel-features.h>.
159         (signalfd) [__NR_signalfd4]: Make code unconditional.
160         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
162 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
164         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
165         style.
167 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
169         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
170         (__pthread_enable_asynccancel): Use JUMPTARGET to call
171         __pthread_unwind.
172         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
173         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
174         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
175         (__condvar_cleanup1): Likewise.
177 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
179         [BZ #19822]
180         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
181         move it to the final $@ location.
183 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
185         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
186         access where posix_spawn success and pid argument is null.
187         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
188         success case.
190 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
192         * sysdeps/mach/hurd/i386/c++-types.data: New file.
194         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
196         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
197         and __fcntl.
198         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
199         __fcntl only.
200         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
201         adding attribute_hidden to __open and __fcntl.
203         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
204         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
205         depend on libc-modules.h,
206         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
208 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
210         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
211         Remove macro.
212         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
213         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
214         entry.
216         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
217         Remove macro.
218         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
219         include <kernel-features.h>.
220         [!__ASSUME_FALLOCATE]: Remove conditional code.
221         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
223 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
225         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
226         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
228         (_ZGVdN4v_cos_avx2): Likewise.
229         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
230         (_ZGVdN4v_cos): Likewise.
231         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
232         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
233         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
234         (_ZGVdN4v_exp_avx2): Likewise.
235         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
236         (_ZGVdN4v_exp): Likewise.
237         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
238         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
239         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
240         (_ZGVdN4v_log_avx2): Likewise.
241         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
242         (_ZGVdN4v_log): Likewise.
243         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
244         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
245         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
246         (_ZGVdN4vv_pow_avx2): Likewise.
247         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
248         (_ZGVdN4vv_pow): Likewise.
249         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
250         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
251         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
252         (_ZGVdN4v_sin_avx2): Likewise.
253         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
254         (_ZGVdN4v_sin): Likewise.
255         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
256         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
257         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
258         (_ZGVdN4vvv_sincos_avx2): Likewise.
259         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
260         (_ZGVdN4vvv_sincos): Likewise.
261         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
262         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
263         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
264         (_ZGVbN4v_cosf_sse4): Likewise.
265         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
266         (_ZGVdN8v_cosf_avx2): Likewise.
267         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
268         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
269         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
270         (_ZGVbN4v_expf_sse4): Likewise.
271         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
272         (_ZGVdN8v_expf_avx2): Likewise.
273         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
274         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
275         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
276         (_ZGVbN4v_logf_sse4): Likewise.
277         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
278         (_ZGVdN8v_logf_avx2): Likewise.
279         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
280         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
281         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
282         (_ZGVbN4vv_powf_sse4): Likewise.
283         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
284         (_ZGVdN8vv_powf_avx2): Likewise.
285         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
286         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
287         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
288         (_ZGVbN4vvv_sincosf_sse4): Likewise.
289         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
290         (_ZGVdN8vvv_sincosf_avx2): Likewise.
291         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
292         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
293         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
294         (_ZGVbN4v_sinf_sse4): Likewise.
295         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
296         (_ZGVdN8v_sinf_avx2): Likewise.
297         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
298         Use JUMPTARGET to call callee.
299         (WRAPPER_IMPL_SSE2_ff): Likewise.
300         (WRAPPER_IMPL_SSE2_fFF): Likewise.
301         (WRAPPER_IMPL_AVX): Likewise.
302         (WRAPPER_IMPL_AVX_ff): Likewise.
303         (WRAPPER_IMPL_AVX_fFF): Likewise.
304         (WRAPPER_IMPL_AVX512): Likewise.
305         (WRAPPER_IMPL_AVX512_ff): Likewise.
306         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
307         Likewise.
308         (WRAPPER_IMPL_SSE2_ff): Likewise.
309         (WRAPPER_IMPL_SSE2_fFF): Likewise.
310         (WRAPPER_IMPL_AVX): Likewise.
311         (WRAPPER_IMPL_AVX_ff): Likewise.
312         (WRAPPER_IMPL_AVX_fFF): Likewise.
313         (WRAPPER_IMPL_AVX512): Likewise.
314         (WRAPPER_IMPL_AVX512_ff): Likewise.
315         (WRAPPER_IMPL_AVX512_fFF): Likewise.
317 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
319         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
320         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
321         qualifier.
322         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
323         internal_function qualifiers.
325 2016-03-15  Carlos O'Donell <carlos@redhat.com>
327         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
328         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
329         * math/atest-exp.c (exp_mpn): Mark chk unused.
330         * math/atest-exp2.c (exp_mpn): Likwise.
331         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
332         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
334 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
336         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
337         Remove macro.
338         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
339         <kernel-features.h>.
340         [__NR_ppoll]: Make code unconditional.
341         [!__ASSUME_PPOLL]: Remove conditional code.
343         * sysdeps/unix/sysv/linux/kernel-features.h
344         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
345         (__ASSUME_ACCEPT4): Likewise.
346         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
347         Define.
348         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
349         Likewise.
350         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
351         Likewise.
352         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
353         Likewise.
354         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
355         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
356         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
357         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
358         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
359         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
360         * sysdeps/unix/sysv/linux/arm/kernel-features.h
361         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
362         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
363         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
364         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
365         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
366         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
367         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
368         * sysdeps/unix/sysv/linux/i386/kernel-features.h
369         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
370         Likewise.
371         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
372         Likewise.
373         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
374         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
375         0x040300].
376         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
377         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
378         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
379         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
380         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
381         0x030300].
382         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
383         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
384         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
385         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
386         0x040300].
387         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
388         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
389         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
390         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
391         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
392         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
393         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
394         0x030300].
395         * sysdeps/unix/sysv/linux/mips/kernel-features.h
396         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
397         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
398         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
399         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
400         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
401         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
402         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
403         * sysdeps/unix/sysv/linux/s390/kernel-features.h
404         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
405         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
406         0x040300].
407         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
408         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
409         * sysdeps/unix/sysv/linux/sh/kernel-features.h
410         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
411         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
412         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
413         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
414         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
415         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
416         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
417         * sysdeps/unix/sysv/linux/tile/kernel-features.h
418         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
419         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
420         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
421         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
422         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
423         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
424         Likewise.
425         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
426         Likewise.
428 2016-03-15  Andreas Schwab  <schwab@suse.de>
430         [BZ #19257]
431         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
432         statp->_u._ext.nscount as loop count.
434 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
436         * math/test-signgam-finite-c99.c: Also #undef
437         __LIBC_INTERNAL_MATH_INLINES.
438         * math/test-signgam-main.c: Likewise.
440 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
442         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
443         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
444         (MADV_FREE): Likewise.
445         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
446         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
447         EPOLLEXCLUSIVE.
449 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
451         * timezone/README: Remove mention of checktab.awk. Mention wiki
452         SharedSourceFiles.
454 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
456         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
457         WUNTRACED.
459 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
461         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
462         order to match the type of p when calling atomic_exchange_acq().
464 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
466         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
467         cfi_offset calls.
468         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
469         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
470         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
471         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
472         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
474 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
476         * timezone/checktab.awk: Removed.
478 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
480         * manual/math.texi (Errors in Math Functions): Document relaxed
481         accuracy goals for IBM long double.
482         * math/libm-test.inc (test_exceptions): Always allow spurious
483         "underflow" and "inexact" exceptions for IBM long double.
485 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
487         [BZ #19762]
488         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
489         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
490         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
491         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
492         (bit_arch_*): This for feature array.
493         (bit_*): Renamed to ...
494         (bit_cpu_*): This for cpu array.
495         (index_*): Renamed to ...
496         (index_arch_*): This for feature array.
497         (index_*): Renamed to ...
498         (index_cpu_*): This for cpu array.
499         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
500         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
501         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
502         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
503         bit_##name with index_cpu_##name and bit_cpu_##name.
504         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
505         bit_##name with index_arch_##name and bit_arch_##name.
507 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
509         [BZ #19792]
510         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
511         Terminate FDE before return label.
513 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
515         [BZ #19790]
516         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
517         (rintl): Define as macro.
518         [USE_AS_NEARBYINTL] (__rintl): Likewise.
519         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
520         of fesetround.  Ensure results are evaluated before end of scope.
521         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
522         USE_AS_NEARBYINTL and include s_rintl.c.
523         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
524         Disable exception traps in new environment.
525         (libc_feholdsetround_ppc_ctx): Likewise.
527 2016-03-08  Roland McGrath  <roland@hack.frob.com>
529         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
530         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
531         (tst_audit10_aux) [__AVX512F__]: ... here.
533 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
535         * include/sys/auxv.h: New file.
537 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
539         [BZ #19759]
540         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
542 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
544         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
545         operand modifier.
546         (feclearexcept): Likewise.
548 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
550         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
551         to reflect the entire 32-bit HWCAP.
552         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
553         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
555 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
557         [BZ #19783]
558         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
559         $(test-via-rtld-prefix).
560         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
562 2016-03-08  Florian Weimer  <fweimer@redhat.com>
564         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
565         union wait.  Report any non-zero exit status as error.
567 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
569         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
570         configured with --enable-hardcoded-path-in-tests.
572 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
574         [BZ #19677]
575         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
576         (__ieee754_remainderl): Put zero low parts in canonical form.
577         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
578         file.  Based on
579         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
580         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
581         with wrapper round test-fmodrem-ldbl-128ibm.c.
582         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
583         file.
584         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
585         Likewise.
586         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
587         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
589 2016-03-07  Florian Weimer  <fweimer@redhat.com>
591         [BZ #19610]
592         * elf/ldconfig.c (opt_link): Update comment.
593         (options): Update help string for option -X.
594         (search_dir): Unlink stale symbolic link only if updating symbolic
595         links.
596         * elf/tst-ldconfig-X.sh: New file.
597         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
598         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
600 2016-03-07  Andreas Schwab  <schwab@suse.de>
602         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
603         needed arguments.
605 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
607         [BZ #15333]
608         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
609         to lstat64.
611 2016-03-07  Florian Weimer  <fweimer@redhat.com>
613         * libio/filedoalloc.c (isatty): Remove.
614         (local_isatty): Add comment.  Call __isatty directly.
615         (_IO_file_doallocate): Update comment.  Assume _LIBC.
616         * libio/wfiledoalloc.c (isatty): Remove.
617         (_IO_wfile_doallocate): Update comment.
619 2016-03-07  Florian Weimer  <fweimer@redhat.com>
621         [BZ #19269]
622         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
623         tst-audit4-aux.o.
624         (tst-audit10): Depend on tst-audit10-aux.o.
625         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
626         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
627         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
628         instead of inline AVX code.
629         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
630         instead of inline AVX512 code.
631         * sysdeps/x86_64/tst-audit4-aux.c: New file
632         * sysdeps/x86_64/tst-audit10-aux.c: New file
634         [BZ #19648]
635         * test-skeleton.c (main): Do not set RLIMIT_DATA.
637 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
639         [BZ #14750]
640         [BZ #10354]
641         [BZ #18433]
642         * include/sched.h (__clone): Add hidden prototype.
643         (__clone2): Likewise.
644         * include/unistd.h (__dup): Likewise.
645         * posix/Makefile (tests): Add tst-spawn2.
646         * posix/tst-spawn2.c: New file.
647         * sysdeps/posix/dup.c (__dup): Add hidden definition.
648         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
649         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
650         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
651         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
652         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
653         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
654         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
655         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
656         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
657         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
659         Likewise.
660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
661         Likewise.
662         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
663         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
664         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
665         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
666         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
667         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
668         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
669         * sysdeps/unix/sysv/linux/nptl-signals.h
670         (____nptl_is_internal_signal): New function.
671         * sysdeps/unix/sysv/linux/spawni.c: New file.
673         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
674         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
675         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
676         * posix/tst-execvp2.c (do_test): Likewise.
677         * posix/tst-execvp3.c (do_test): Likewise.
678         * posix/tst-execvp4.c (do_test): Likewise.
679         * posix/tst-execvpe1.c: New file.
680         * posix/tst-execvpe2.c: Likewise.
681         * posix/tst-execvpe3.c: Likewise.
682         * posix/tst-execvpe4.c: Likewise.
683         * posix/tst-execvpe5.c: Likewise.
684         * posix/tst-execvpe6.c: Likewise.
686         [BZ #19534]
687         * posix/execl.c (execl): Remove dynamic memory allocation.
688         * posix/execle.c (execle): Likewise.
689         * posix/execlp.c (execlp): Likewise.
691 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
693         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
694         Replace .text with .text.avx512.
695         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
696         Likewise.
698 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
700         * sysdeps/generic/libnsl.abilist: New file.
701         * sysdeps/generic/libutil.abilist: New file.
703 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
705         [BZ #19762]
706         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
707         HAS_ARCH_FEATURE with Fast_Rep_String.
708         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
709         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
710         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
711         Likewise.
712         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
713         Likewise.
714         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
715         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
716         Likewise.
717         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
718         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
719         Likewise.
721 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
723         [BZ #19745]
724         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
725         with *%rax in call.
727 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
729         [BZ #19745]
730         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
731         with *__libc_start_main@GOTPCREL(%rip) in call.
733 2016-03-04  Roland McGrath  <roland@hack.frob.com>
735         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
736         inside conditional for nonempty $(CXX).
738         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
739         nonempty.
741         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
742         to test for empty $(CXX) rather than $(CXX) of "no".
744 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
746         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
748 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
749             H.J. Lu  <hongjiu.lu@intel.com>
751         [BZ #18880]
752         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
753         instead of Slow_BSF, and also check for Fast_Copy_Backward to
754         enable __memcpy_ssse3_back.
756 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
758         [BZ #19758]
759         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
760         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
762 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
764         [BZ #19490]
765         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
766         (__fentry__): Likewise.
768 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
770         * gmon/Makefile (noprof): Add $(sysdep_noprof).
771         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
773 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
775         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
776         __mcount_internal directly.
777         (C_LABEL(__fentry__)): Likewise.
778         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
779         directly.
781 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
783         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
784         (__start_context): Call __setcontext directly.
786 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
788         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
789         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
790         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
791         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
792         * sysdeps/unix/sysv/linux/arm/kernel-features.h
793         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
794         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
795         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
796         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
797         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
798         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
799         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
800         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
801         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
802         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
803         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
804         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
805         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
806         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
807         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
808         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
810         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
811         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
812         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
813         Remove conditional code.
814         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
815         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
816         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
817         * sysdeps/unix/sysv/linux/sh/kernel-features.h
818         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
819         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
820         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
821         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
822         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
823         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
824         * sysdeps/unix/sysv/linux/tile/kernel-features.h
825         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
827 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
829         * NEWS (2.23): Fix typo in bug 19048 text.
831 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
833         [BZ #14259]
834         * Makeconfig: Rename msgcatdir to localedir.
835         Rename inst_msgcatdir to inst_localedir.
836         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
837         * config.make.in: Add localedir.
838         * elf/Makefile ($(objpfx)sotruss): Use localedir.
839         (ldd-rewrite): Likewise.
840         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
841         (install-others): Use inst_localedir.
842         (CPPFLAGS): Use localedir.
843         * locale/Makefile (locale-CPPFLAGS): Likewise.
844         * po/Makefile (mo-installed): Use inst_localedir.
846         [BZ #19575]
847         * localedata/charmaps/GB18030: Update comments regarding PAU to
848         non-PUA mappings.
850 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
852         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
853         test for header.
854         * sysdeps/unix/sysv/linux/configure: Regenerated.
855         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
856         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
857         Remove conditional code.
858         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
860         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
861         Define to 3.2.0.
862         (arch_minimum_kernel): Likewise.
863         * sysdeps/unix/sysv/linux/configure: Regenerated.
864         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
865         Define to 2.6.32.
866         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
867         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
868         (arch_minimum_kernel): Define to 2.6.32.
869         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
870         * README: Document Linux 3.2 requirement.
871         * manual/install.texi (Linux): Document Linux 3.2 headers
872         requirement.
873         * INSTALL: Regenerated.
875 2016-02-24  Andreas Schwab  <schwab@suse.de>
877         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
878         if !NO_LONG_DOUBLE.
880 2016-02-22  Roland McGrath  <roland@hack.frob.com>
882         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
883         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
885 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
887         [BZ #19512]
888         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
890 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
892         * posix/tst-dir.c: Include libc-internal.h.
894 2016-02-20  Florian Weimer  <fweimer@redhat.com>
896         [BZ #19056]
897         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
898         * manual/filesys.texi (Reading/Closing Directory): Mention
899         deprecaion.
900         * posix/tst-dir.c (main): Disable deprecation warning in test.
902 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
904         [BZ #19679]
905         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
906         Renamed to ...
907         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
908         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
909         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
910         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
911         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
912         * sysdeps/x86_64/dl-trampoline.h
913         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
914         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
916 2016-02-19  Mark Wielaard  <mjw@redhat.com>
918         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
920 2016-02-19  Mark Wielaard  <mjw@redhat.com>
922         * elf/elf.h (R_386_GOT32X): New.
923         (R_386_NUM): Update.
924         (R_X86_64_GOTPCRELX: New.
925         (R_X86_64_REX_GOTPCRELX): New.
926         (R_X86_64_NUM): Update.
928 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
930         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
932 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
934         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
935         assign attr->stackaddr to it, and adjust it down when
936         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
937         [_STACK_GROWS_UP]: Delete assert.
938         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
939         Implement stack grows up logic.
940         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
941         stack grows up logic.
943 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
945         * NEWS: Update with 2.24 template.
947 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
949         [BZ #19678]
950         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
951         Ensure +0.0 is returned when taking the next value below the least
952         positive value.
954 2016-02-19  Florian Weimer  <fweimer@redhat.com>
956         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
957         available.  Do not define NO_THREADS.
958         * malloc/malloc.c: Do not check NO_THREADS.
959         * malloc/arena.c: Likewise.
961 2016-02-19  Florian Weimer  <fweimer@redhat.com>
963         * malloc/malloc.c (__libc_mallinfo): Update comment.
964         (struct malloc_par): Remove max_total_mem member, it was always 0.
965         (int_mallinfo): Store 0 into usmblks (no functional change).
966         * malloc/hooks.c (struct malloc_state): Document that
967         max_total_mem is always 0.
968         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
969         always 0.
970         * manual/memory.texi (Statistics of Malloc): Likewise.
972 2016-02-19  Florian Weimer  <fweimer@redhat.com>
974         * malloc/malloc.c (sysmalloc): Do not update arena_max.
975         * malloc/arena.c (arena_max): Remove.
976         (heap_trim, _int_new_arena): Do not update arena_max.
978 2016-02-19  Florian Weimer  <fweimer@redhat.com>
980         * resolv/res_init.c (res_ninit): Update comment.
982 2016-02-19  Florian Weimer  <fweimer@redhat.com>
984         [BZ #19505]
985         * posix/spawn_int.h: Add headers and include guard.
986         (__spawn_valid_fd): New function.
987         * posix/spawn_faction_addopen.c
988         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
989         * posix/spawn_faction_addclose.c
990         (posix_spawn_file_actions_addclose): Likewise.
991         * posix/spawn_faction_adddup2.c
992         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
993         second file descriptor.
994         * posix/spawn_valid_fd.c: New file.
995         * posix/tst-posix_spawn-fd.c: New file.
996         * posix/Makefile (routines): Add spawn_valid_fd.
997         (tests): Add tst-posix_spawn-fd.
999 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1001         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1002         (do_test): Limit the number of arenas, so that we can use fewer
1003         outer threads.  Limit timeout to 3 seconds, in preparation for a
1004         larger TIMEOUT value.
1006 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1008         [BZ #19674]
1009         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1010         sign in overflowing and underflowing results when overflow or
1011         underflow is detected early.  Include sign in result before rather
1012         than after scaling.
1014         [BZ #19603]
1015         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1016         (__ieee754_remainderl): Adjust sign of integer version of low part
1017         when taking absolute value of high part.
1018         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1019         * math/libm-test.inc (remainder_test_data): Add another test.
1020         (remquo_test_data): Likewise.
1022 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
1024         [BZ #19602]
1025         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1026         equal high parts and both low parts zero specially.
1027         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1028         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1029         Add test-fmodl-ldbl-128ibm.
1031         [BZ #19595]
1032         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1033         common logic for all cases of shifting subnormal results.  Do not
1034         insert sign bit in shifted mantissa.  Always pass -1023 as biased
1035         exponent to ldbl_insert_mantissa in subnormal case.
1037         [BZ #19594]
1038         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1039         on high and low parts then adjust result and use
1040         ldbl_canonicalize_int if needed.
1042         [BZ #19593]
1043         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1044         on high part and __floor or __ceil on low part then use
1045         ldbl_canonicalize_int if needed.
1047         [BZ #19592]
1048         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1049         high and low parts then use ldbl_canonicalize_int if needed.
1051         [BZ #17899]
1052         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1053         New function.
1054         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1055         on high and low parts then use ldbl_canonicalize_int if needed.
1057 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1059         * configure: Regenerated.
1061         * po/libc.pot: Regenerated.
1063         * po/be.po: Updated translation.
1064         * po/bg.po: Likewise.
1065         * po/ca.po: Likewise.
1066         * po/cs.po: Likewise.
1067         * po/da.po: Likewise.
1068         * po/el.po: Likewise.
1069         * po/eo.po: Likewise.
1070         * po/es.po: Likewise.
1071         * po/fi.po: Likewise.
1072         * po/fr.po: Likewise.
1073         * po/gl.po: Likewise.
1074         * po/hr.po: Likewise.
1075         * po/hu.po: Likewise.
1076         * po/ia.po: Likewise.
1077         * po/id.po: Likewise.
1078         * po/it.po: Likewise.
1079         * po/ja.po: Likewise.
1080         * po/lt.po: Likewise.
1081         * po/nb.po: Likewise.
1082         * po/nl.po: Likewise.
1083         * po/pt_BR.po: Likewise.
1084         * po/rw.po: Likewise.
1085         * po/sk.po: Likewise.
1086         * po/sl.po: Likewise.
1087         * po/sv.po: Likewise.
1088         * po/tr.po: Likewise.
1089         * po/zh_CN.po: Likewise.
1090         * po/zh_TW.po: Likewise.
1092         * version.h (RELEAES): Set to "development".
1093         (VERSION): Set to 2.23.90.
1095         * version.h (RELEASE): Set to "stable".
1096         (VERSION): Set to 2.23.
1097         * include/feature.h (__GLIBC_MINOR__): Set to 23.
1099         * NEWS: Updated fixed bugs.
1101 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1102             Wilco Dijkstra  <wdijkstr@arm.com>
1104         [BZ #19462]
1105         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1106         (_STRING_INLINE_unaligned): This.
1107         * include/string.h: Include <string_private.h>.
1108         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1109         _STRING_INLINE_unaligned.
1110         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1111         (_STRING_INLINE_unaligned): New.
1112         * sysdeps/aarch64/string_private.h: New file.
1113         * sysdeps/generic/string_private.h: Likewise.
1114         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1115         * sysdeps/s390/string_private.h: Likewise.
1116         * sysdeps/x86/string_private.h: Likewise.
1117         * sysdeps/m68k/m680x0/m68020/bits/string.h
1118         (_STRING_ARCH_unaligned): Renamed to ...
1119         (_STRING_INLINE_unaligned): This.
1120         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1121         to ...
1122         (_STRING_INLINE_unaligned): This.
1123         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1124         to ...
1125         (_STRING_INLINE_unaligned): This.
1126         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1127         to ...
1128         (_STRING_INLINE_unaligned): This.
1130 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1131             H.J. Lu  <hongjiu.lu@intel.com>
1133         [BZ #19590]
1134         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1135         relocation.
1137 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1139         [BZ #18665]
1140         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1141         *herrno_p.
1142         (gaih_getanswer): Document functional behviour. Return tryagain
1143         if any result is tryagain.
1144         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1145         when freed.
1146         * resolv/res_send.c: Add copyright text.
1147         (__libc_res_nsend): Document that MAXPACKET is expected.
1148         (send_vc): Document. Remove buffer reuse.
1149         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1150         size of the buffer. Add Dprint for truncated UDP buffer.
1152 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1154         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1155         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1156         * INSTALL: Regenerate.
1158 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1159             Jonathan Wakely  <jwakely@redhat.com>
1160             Carlos O'Donell  <carlos@redhat.com>
1162         [BZ 19439]
1163         * math/Makefile (tests): Add test-math-isinff.
1164         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1165         * math/bits/mathcalls.h [__USE_MISC]: Use
1166         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1167         functions not in C++11 and which don't conflict e.g. isinff,
1168         isinfl etc.
1169         * math/test-math-isinff.cc: New file.
1171 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1173         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1175 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1177         [BZ #19529]
1178         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1180 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1182         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1184 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1186         [BZ #19550]
1187         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1188         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1189         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1190         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1191         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1192         New syscall entry.
1193         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1194         New syscall entry.
1195         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1196         syscall entry.
1198 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1200         [BZ #18240]
1201         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1202         unsigned int wraparound.
1204 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1206         [BZ #18240]
1207         * misc/bug18240.c: New test.
1208         * misc/Makefile (tests): Add it.
1210 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1211             Joseph Myers  <joseph@codesourcery.com>
1213         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1214         load in branch delay slot when less than a word of input left.
1216 2016-01-27  Andreas Schwab  <schwab@suse.de>
1218         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1219         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1220         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1221         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1223 2016-01-26  David S. Miller  <davem@davemloft.net>
1225         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1227 2016-01-25  David S. Miller  <davem@davemloft.net>
1229         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1230         __sqrtl_finite.
1231         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1232         instead using versioned_symbol.
1233         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1234         of entries.
1236         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1237         __sqrtl_finite to GLIBC_2.23
1239 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1241         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1243 2016-01-25  Andreas Schwab  <schwab@suse.de>
1245         [BZ #17514]
1246         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1247         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1248         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1249         * nptl/tst-mutex-errorcheck.c: New file.
1251 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1253         [BZ #18560]
1254         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1255         (IPCOP_semop): Likewise.
1256         (IPCOP_semget): Likewise.
1257         (IPCOP_semctl): Likewise.
1258         (IPCOP_msgsnd): Likewise.
1259         (IPCOP_msgrcv): Likewise.
1260         (IPCOP_msgget): Likewise.
1261         (IPCOP_msgctl): Likewise.
1262         (IPCOP_shmat): Likewise.
1263         (IPCOP_shmdt): Likewise.
1264         (IPCOP_shmget): Likewise.
1265         (IPCOP_shmctl): Likewise.
1267 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1269         * string/tst-endian.c: Include <libc-internal.h>.
1270         (do_test): Ignore tautological-compare warnings around
1271         "htobeXX (beXXtoh (i)) != i" and
1272         "htoleXX (leXXtoh (i)) != i" if-statements.
1274 2016-01-24  David S. Miller  <davem@davemloft.net>
1276         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1277         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1278         alias.
1279         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1280         __sqrtl_finite.
1282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1284 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
1286         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1287         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1288         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1290 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1292         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1293         (thread_func): Use new function to simplify barrier check.
1294         (do_test): Use new function to simplify checking barrier exit
1295         code, and actually join the child thread.
1297 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1299         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1300         semicolon.
1301         (__libc_tend): Likewise.
1302         (__libc_tabort): Likewise.
1304 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
1306         * sysdeps/nios2/libm-test-ulps: Update.
1307         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1308         (__gtsf2): Likewise.
1309         (__unorddf2): Likewise.
1310         (__unordsf2): Likewise.
1311         (__ledf2): Likewise.
1313 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
1315         * nis/nis_table.c (__follow_path): Disable diagnostic for
1316         uninitialized variable that is a false positive for gcc 4.7.
1317         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1319 2016-01-20  Roland McGrath  <roland@hack.frob.com>
1321         * sysdeps/nacl/lowlevellock-futex.h
1322         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1323         Always evaluate PRIVATE argument.
1325 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
1327         [BZ #19490]
1328         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1329         (pthread_cond_broadcast): Use ENTRY/END
1330         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1331         (pthread_cond_signal): Likewise.
1332         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1333         Likewise.
1334         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1335         Likewise.
1336         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1337         Likewise.
1339 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1341         * sysdeps/ieee754/dbl-64/s_finite.c
1342         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1343         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1344         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1345         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1346         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1349         (__gtsf2): Add as optional for libc.so.
1350         (__unordsf2): Likewise.
1351         (__signbit): Remove for libc.so.
1352         (__signbitl): Likewise.
1354 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1356         * iconvdata/bug-iconv11.c (test_ibm93x):
1357         Use %zu printf format specifier for size_t argument.
1359 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1361         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1362         already-recorded ulps.
1363         * sysdeps/arm/libm-test-ulps: Regenerated.
1364         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1365         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1366         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1368 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1369             Paul Pluzhnikov  <ppluzhnikov@google.com>
1371         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1372         assembler not supporting AVX-512.
1374 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1376         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1378 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1380         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1381         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1383         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1385         * sysdeps/arm/libm-test-ulps: Regenerated.
1387 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1389         [BZ #19451]
1390         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1392 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1394         [BZ #19486]
1395         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1396         * sysdeps/generic/fix-fp-int-convert-overflow.h
1397         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1398         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1399         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1400         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1401         Likewise.
1402         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1403         Avoid conversions to long int where inexact exceptions
1404         could be raised.
1405         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1406         Likewise.
1407         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1408         Avoid conversions to long long int where inexact exceptions
1409         could be raised.
1410         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1411         Likewise.
1413 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1415         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1416         * configure: Regenerated.
1418 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1420         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1422 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1424         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1425         outside of comment.
1427 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1429         * nptl/tst-barrier1.c: Add description on first line.
1430         * nptl/tst-barrier2.c: Likewise.
1431         * nptl/tst-barrier3.c: Likewise.
1432         * nptl/tst-barrier4.c: Likewise.
1433         * nptl/tst-barrier5.c: Likewise.
1435 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1437         [BZ #18868]
1438         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1440 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1444         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1445         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1446         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1447         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1448         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1449         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1450         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1451         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1452         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1454 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1456         [BZ #13065]
1457         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1458         new implementation.
1459         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1460         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1461         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1462         (BARRIER_IN_THRESHOLD): New macro.
1463         * nptl/pthread_barrierattr_setpshared.c
1464         (pthread_barrierattr_setpshared): Clean up.
1465         * nptl/tst-barrier4.c: Correct comment.
1466         * nptl/tst-barrier5.c: New file.
1467         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1468         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1469         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1470         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1471         * nptl/lowlevelbarrier.sym: Remove.
1472         * nptl/DESIGN-barrier.txt: Remove.
1473         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1474         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1475         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1476         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1477         error.
1478         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1479         implementation.
1481 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1483         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1484         (do_child): Mask SIGRTMIN while thr is running.
1486 2016-01-15  Martin Sebor  <msebor@redhat.com>
1488         [BZ #19432]
1489         * iconvdata/Makefile: Add bug-iconv11.
1490         * iconvdata/bug-iconv11.c: New test.
1491         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1492         * iconvdata/ibm933.c: Same.
1493         * iconvdata/ibm935.c: Same.
1494         * iconvdata/ibm937.c: Same.
1495         * iconvdata/ibm939.c: Same.
1497 2016-01-15  Martin Sebor  <msebor@redhat.com>
1499         [BZ #19443]
1500         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1501         [DEBUG] (_ufc_set_bits): Declare used.
1502         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1503         [DEBUG] (print_all): Declare used.
1504         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1505         operands of the ternary ?: expression to target type.
1506         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1507         calling the undeclared abort.
1508         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1510 2016-01-15  Martin Sebor  <msebor@redhat.com>
1512         [BZ #18755]
1513         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1514         warnings.
1515         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1516         (__gai_create_helper_thread): Same.
1517         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1518         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1519         to suppress -Wmaybe-uninitialized warnings.
1521 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1523         [BZ #19465]
1524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1525         inside if.
1526         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1527         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1528         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1530 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1532         [BZ #19466]
1533         * time/tst-mktime2.c (time_t_max): Removed.
1534         (time_t_min): Likewise.
1535         (TYPE_SIGNED): New.
1536         (TYPE_MINIMUM): Likewise.
1537         (TYPE_MAXIMUM): Likewise.
1538         (TIME_T_MIN): Likewise.
1539         (TIME_T_MAX): Likewise.
1540         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1541         and TIME_T_MIN.
1542         (do_test): Likewise.
1544 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1546         [BZ #19467]
1547         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1548         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1550 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1552         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1554 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1556         * benchtests/Makefile (PYTHON): Define.
1557         (bench-func): Use $(PYTHON) to run python scripts.
1558         ($(objpfx)bench-%.c): Likewise.
1560 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1562         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1563         leading slash when `file_name' is "/".
1565 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1567         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1568         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1569         Likewise.
1570         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1571         Likewise.
1572         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1573         Likewise.
1574         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1575         enum constant and macro.
1576         (PTRACE_SETSIGMASK): Likewise.
1577         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1578         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1579         (PTRACE_GETSIGMASK): Likewise.
1580         (PTRACE_SETSIGMASK): Likewise.
1581         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1582         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1583         Likewise.
1584         (PTRACE_SETSIGMASK): Likewise.
1585         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1586         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1587         (PTRACE_GETSIGMASK): Likewise.
1588         (PTRACE_SETSIGMASK): Likewise.
1589         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1590         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1591         Likewise.
1592         (PTRACE_SETSIGMASK): Likewise.
1593         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1594         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1595         Likewise.
1596         (PTRACE_SETSIGMASK): Likewise.
1597         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1598         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1599         Likewise.
1600         (PTRACE_SETSIGMASK): Likewise.
1601         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1603 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1604             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1606         [BZ #19439]
1607         * math/bits/mathcalls.h
1608         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1609         prototype.
1610         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1612 2016-01-11  Andreas Schwab  <schwab@suse.de>
1614         [BZ #19253]
1615         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1616         cache when TZDEFRULES was used.
1617         * time/tst-tzname.c: New file.
1618         * time/Makefile (test): Add tst-tzname.
1619         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1620         * timezone/Makefile (test-zones): Add $(posixrules-file).
1621         ($(testdata)/$(posixrules-file)): New rule.
1623 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1625         Fix doc quoting problems with Texinfo 5
1626         Without this change, in the info file output, Texinfo 5 quotes code
1627         in text with undirected single quotes 'like this' and generates
1628         code examples that with many PDF readers cannot be cut out of PDFs
1629         and pasted into code.
1630         * manual/libc.texinfo: Configure the libc manual like the GNU
1631         Emacs manual, by using @documentencoding and setting
1632         txicodequoteundirected and txicodequotebacktick.  This way,
1633         Texinfo 5 quotes code in text with directed single quotes ‘like
1634         this’ and produces examples that can be cut out of PDFs.  This
1635         change causes Texinfo 5 to generate info files that contain UTF-8
1636         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1637         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1639 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1641         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1642         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1643         barriers to their respective compiler built-ins.
1644         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1645         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1646         * sysdeps/powerpc/sysdep.h: Likewise.
1647         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1648         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1649         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1651 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1653         * scripts/config.guess: Revert previous shebang change.
1654         * scripts/config.sub: Likewise.
1655         * scripts/mkinstalldirs: Likewise.
1657 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1659         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1660         PPC_FEATURE2_HAS_IEEE128.
1661         * sysdeps/powerpc/dl-procinfo.c:
1662         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1664 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1666         [BZ #19415]
1667         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1668         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1669         (_dl_lookup_address): Rewrite using function resolver trampoline.
1670         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1671         two bits in address.
1673 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1675         * longlong.h: Change !__SHMEDIA__ to
1676         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1677         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1679 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1680             Joseph Myers  <joseph@codesourcery.com>
1681             Mark Shinwell  <shinwell@codesourcery.com>
1682             Andrew Stubbs  <ams@codesourcery.com>
1683             Rich Felker <dalias@libc.org>
1685         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1687 2016-01-07  Richard Henderson  <rth@redhat.com>
1689         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1691 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1693         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1694         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1695         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1696         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1697         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1699 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1700             Joseph Myers  <joseph@codesourcery.com>
1702         * timezone/private.h: Update from tzcode 2015g.
1703         * timezone/tzfile.h: Likewise.
1704         * timezone/tzselect.ksh: Likewise.
1705         * timezone/zdump.c: Likewise.
1706         * timezone/zic.c: Likewise.
1707         * timezone/ialloc.c: Remove file.
1708         * timezone/scheck.c: Likewise.
1709         * timezone/Makefile (extra-objs): Remove variable.
1710         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1711         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1712         -Wno-maybe-uninitialized.
1713         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1714         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1715         (CFLAGS-ialloc.c): Remove variable.
1716         (CFLAGS-scheck.c): Likewise.
1717         * timezone/README: Update list of files from tzcode.
1719 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1721         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1722         instead of __fxprintf when _LIBC is undefined.
1724 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
1726         * catgets/test-gencat.sh: Remove space after shebang.
1727         * conform/GlibcConform.pm: Likewise.
1728         * conform/check-header-lists.sh: Likewise.
1729         * conform/conformtest.pl: Likewise.
1730         * conform/linknamespace.pl: Likewise.
1731         * conform/list-header-symbols.pl: Likewise.
1732         * debug/catchsegv.sh: Likewise.
1733         * elf/genrtldtbl.awk: Likewise.
1734         * elf/tst-pathopt.sh: Likewise.
1735         * elf/tst-rtld-load-self.sh: Likewise.
1736         * grp/tst_fgetgrent.sh: Likewise.
1737         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1738         * iconvdata/gen-8bit-gap.sh: Likewise.
1739         * iconvdata/gen-8bit.sh: Likewise.
1740         * iconvdata/run-iconv-test.sh: Likewise.
1741         * intl/tst-gettext.sh: Likewise.
1742         * intl/tst-gettext2.sh: Likewise.
1743         * intl/tst-gettext4.sh: Likewise.
1744         * intl/tst-gettext6.sh: Likewise.
1745         * intl/tst-translit.sh: Likewise.
1746         * io/ftwtest-sh: Likewise.
1747         * libio/test-freopen.sh: Likewise.
1748         * locale/gen-translit.pl: Likewise.
1749         * malloc/tst-mtrace.sh: Likewise.
1750         * manual/check-safety.sh: Likewise.
1751         * manual/libc-texinfo.sh: Likewise.
1752         * manual/tsort.awk: Likewise.
1753         * manual/xtract-typefun.awk: Likewise.
1754         * nptl/tst-cancel-wrappers.sh: Likewise.
1755         * nptl/tst-tls6.sh: Likewise.
1756         * posix/globtest.sh: Likewise.
1757         * posix/tst-getconf.sh: Likewise.
1758         * posix/wordexp-tst.sh: Likewise.
1759         * scripts/check-c++-types.sh: Likewise.
1760         * scripts/check-local-headers.sh: Likewise.
1761         * scripts/config.guess: Likewise.
1762         * scripts/config.sub: Likewise.
1763         * scripts/cpp: Likewise.
1764         * scripts/cross-test-ssh.sh: Likewise.
1765         * scripts/documented.sh: Likewise.
1766         * scripts/evaluate-test.sh: Likewise.
1767         * scripts/gen-libc-abis: Likewise.
1768         * scripts/gen-sorted.awk: Likewise.
1769         * scripts/list-fixed-bugs.py: Likewise.
1770         * scripts/merge-test-results.sh: Likewise.
1771         * scripts/mkinstalldirs: Likewise.
1772         * scripts/rellns-sh: Likewise.
1773         * scripts/test-installation.pl: Likewise.
1774         * scripts/update-copyrights: Likewise.
1775         * stdio-common/tst-printf.sh: Likewise.
1776         * stdio-common/tst-unbputc.sh: Likewise.
1777         * stdlib/tst-fmtmsg.sh: Likewise.
1778         * stdlib/tst-setcontext3.sh: Likewise.
1779         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1780         * sysdeps/unix/make-syscalls.sh: Likewise.
1782 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1784         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1785         asm stw with atomic_exchange_rel.  Add explanatory comment.
1786         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1787         Likewise.
1789 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1791         [BZ #19122]
1792         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1793         * sysdeps/generic/dl-unistd.h: New file.
1794         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1796 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1798          [BZ #19122]
1799          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
1800          * sysdeps/generic/dl-mman.h: New file.
1801          * sysdeps/mach/hurd/dl-mman.h: Likewise.
1803 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
1805         * manual/texinfo.tex: Update to version 2016-01-04.21 with
1806         trailing whitespace removed.
1807         * scripts/config.guess: Update to version 2016-01-01.
1808         * scripts/config.sub: Update to version 2016-01-01.
1809         * scripts/move-if-change: Update from gnulib.
1811 2016-01-04  Anton Blanchard  <anton@samba.org>
1813         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
1814         for array indices.
1815         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
1817 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
1819         * NEWS: Update copyright dates.
1820         * catgets/gencat.c (print_version): Likewise.
1821         * csu/version.c (banner): Likewise.
1822         * debug/catchsegv.sh: Likewise.
1823         * debug/pcprofiledump.c (print_version): Likewise.
1824         * debug/xtrace.sh (do_version): Likewise.
1825         * elf/ldconfig.c (print_version): Likewise.
1826         * elf/ldd.bash.in: Likewise.
1827         * elf/pldd.c (print_version): Likewise.
1828         * elf/sotruss.sh: Likewise.
1829         * elf/sprof.c (print_version): Likewise.
1830         * iconv/iconv_prog.c (print_version): Likewise.
1831         * iconv/iconvconfig.c (print_version): Likewise.
1832         * locale/programs/locale.c (print_version): Likewise.
1833         * locale/programs/localedef.c (print_version): Likewise.
1834         * login/programs/pt_chown.c (print_version): Likewise.
1835         * malloc/memusage.sh (do_version): Likewise.
1836         * malloc/memusagestat.c (print_version): Likewise.
1837         * malloc/mtrace.pl: Likewise.
1838         * manual/libc.texinfo: Likewise.
1839         * nptl/version.c (banner): Likewise.
1840         * nscd/nscd.c (print_version): Likewise.
1841         * nss/getent.c (print_version): Likewise.
1842         * nss/makedb.c (print_version): Likewise.
1843         * posix/getconf.c (main): Likewise.
1844         * scripts/test-installation.pl: Likewise.
1845         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1847         * All files with FSF copyright notices: Update copyright dates
1848         using scripts/update-copyrights.
1849         * intl/plural.c: Regenerated.
1850         * locale/programs/charmap-kw.h: Likewise.
1851         * locale/programs/locfile-kw.h: Likewise.
1853 2016-01-02  Helge Deller  <deller@gmx.de>
1855         [BZ #19285]
1856         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
1857         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
1858         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
1859         (MADV_xxK_PAGES): Remove.
1861 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
1863         [BZ #15421]
1864         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
1865         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
1866         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
1867         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
1869 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
1871         [BZ #19408]
1872         * sysdeps/unix/sysv/linux/personality.c: New file.
1873         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
1874         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
1875         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1876         (sysdep_routines): Add personality.
1877         (tests): Add tst-personality.
1878         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
1879         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
1880         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
1881         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
1882         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
1883         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
1884         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
1885         Likewise.
1886         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
1887         Likewise.
1888         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
1889         Likewise.
1890         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
1891         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
1892         Likewise.
1894 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
1896         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
1897         (PATH_ARM_SYSTYPE): Remove.
1898         (PATH_CPUINFO): Likewise.
1899         (IO_BASE_FOOTBRIDGE): Likewise.
1900         (IO_SHIFT_FOOTBRIDGE): Likewise.
1901         (struct platform): Likewise.
1902         (init_iosys): Remove compatibility code for 2.4 kernels.
1903         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
1905 2015-12-29  Florian Weimer  <fweimer@redhat.com>
1907         * malloc/tst-malloc-thread-fail.c: New file.
1908         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
1909         (tst-malloc-thread-fail): Link against libpthread.
1911 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
1913         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
1914         (get_parser): New function.
1915         (main): New function.
1917 2015-12-29  Rob Wu  <rob@robwu.nl>
1919         [BZ #19369]
1920         * resolv/res_init.c (__res_vinit): Reset defdname before use.
1922 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
1924         [BZ #19270]
1925         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1927 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
1929         [BZ #15421]
1930         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
1932 2015-12-23  Torvald Riegel  <triegel@redhat.com>
1934         [BZ #13690]
1935         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
1936         after releasing it.
1937         (__lll_robust_unlock): Likewise.
1938         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1939         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
1940         (lll_robust_unlock): Likewise.
1941         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
1942         Prevent warnings in callers.
1944 2015-12-23  Florian Weimer  <fweimer@redhat.com>
1946         * malloc/arena.c (list_lock): Update comment.
1948 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1950         * sysdeps/powerpc/hwcapinfo.c: Export symbol
1951         __parse_hwcap_and_convert_at_platform to libc.a.
1953 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1955         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
1956         platform and feature support for POWER9.
1957         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1958         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
1959         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
1960         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
1961         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
1962         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
1963         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
1964         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
1966 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1968         Harmonize generic stdio-lock support with nptl
1970         This fixes build when _IO_funlockfile is a macro, fixes build where
1971         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
1972         stack unwind.
1974         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
1975         _IO_release_lock ): Use cleanup attribute on new
1976         _IO_acquire_lock_file variable instead of assuming that
1977         _IO_release_lock will be called.
1978         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
1979         _IO_acquire_lock_needs_exceptions_enabled.
1980         (_IO_acquire_lock_clear_flags2): New macro.
1982 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1984         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1986 2015-12-21  Florian Weimer  <fweimer@redhat.com>
1988         [BZ #19182]
1989         * malloc/arena.c (list_lock): Document lock ordering requirements.
1990         (free_list_lock): New lock.
1991         (ptmalloc_lock_all): Comment on free_list_lock.
1992         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
1993         (detach_arena): Update comment.  free_list_lock is now needed.
1994         (_int_new_arena): Use free_list_lock around detach_arena call.
1995         Acquire arena lock after list_lock.  Add comment, including FIXME
1996         about incorrect synchronization.
1997         (get_free_list): Switch to free_list_lock.
1998         (reused_arena): Acquire free_list_lock around detach_arena call
1999         and attached threads counter update.  Add two FIXMEs about
2000         incorrect synchronization.
2001         (arena_thread_freeres): Switch to free_list_lock.
2002         * malloc/malloc.c (struct malloc_state): Update comments to
2003         mention free_list_lock.
2005 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2007         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2008         Remove functions.
2009         (sloww, sloww1): Accept argument to offset quadrant.
2010         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2011         quadrant.
2012         (__sin, __cos): Consolidate common code into new functions.
2013         (reduce_sincos_1, do_sincos_1): New functions.
2014         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2016         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2017         code to new functions.
2018         (reduce_sincos_2, do_sincos_2): New functions.
2019         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2021         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2022         common code for sincos.
2023         (__cos) [!IN_SINCOS]: Likewise.
2024         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2025         New function.
2026         (__sincos): Use it.
2028 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
2030         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2031         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2032         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2034 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2036         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2039         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2040         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2041         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2042         index_Prefer_No_VZEROUPPER): New feature.
2043         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2044         Prefer_No_VZEROUPPER for Knights Landing.
2046 015-12-18  Torvald Riegel  <triegel@redhat.com>
2048         * math/atest-exp2.c (mp_exp_m1): Remove.
2050 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2052         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2053         syscalls.
2054         (__SYSCALL0): New macro.
2055         (__SYSCALL1): Likewise.
2056         (__SYSCALL2): Likewise.
2057         (__SYSCALL3): Likewise.
2058         (__SYSCALL4): Likewise.
2059         (__SYSCALL5): Likewise.
2060         (__SYSCALL6): Likewise.
2061         (__SYSCALL_CONCAT_X): Likewise.
2062         (__SYSCALL_CONCAT): Likewise.
2063         (__SYSCALL_DIST): Likewise.
2064         (__SYSCALL_CALL): Likewise.
2066 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
2068         [BZ #19363]
2069         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2071 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2073         [BZ #19375]
2074         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2075         negative subnormals.
2077 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
2079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2080         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2081         (INTERNAL_SYSCALL_NCS): Use it.
2082         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2084 2015-12-16  Florian Weimer  <fweimer@redhat.com>
2086         [BZ #19243]
2087         * malloc/arena.c (get_free_list): Remove assert and adjust
2088         reference count handling.  Add comment about reused_arena
2089         interaction.
2090         (reused_arena): Add comments abount get_free_list interaction.
2091         * malloc/tst-malloc-thread-exit.c: New file.
2092         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2093         (tst-malloc-thread-exit): Link against libpthread.
2095 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2097         [BZ #19367]
2098         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2099         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2100         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2101         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2102         (index_Prefer_MAP_32BIT_EXEC): Likewise.
2104 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2106         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2107         Silvermont optimizations for Knights Landing.
2109 2015-12-15  Andreas Schwab  <schwab@suse.de>
2111         [BZ #17197]
2112         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2113         immediately after emitting SI.
2114         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2115         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2116         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2117         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2118         * iconvdata/bug-iconv10.c: New file.
2119         * iconvdata/Makefile (tests): Add bug-iconv10.
2120         ($(objpfx)bug-iconv10.out): New rule.
2122 2015-12-15  Florian Weimer  <fweimer@redhat.com>
2124         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2125         aliasing violation.
2127 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
2129         [BZ #18472]
2130         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2131         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2132         conditionals for them.
2133         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2134         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2135         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2136         sys/kdaemon.h.
2137         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2138         compat-only syscall, obsoleted in glibc 2.23.
2139         (create_module): Likewise.
2140         (get_kernel_syms): Likewise.
2141         (query_module): Likewise.
2142         (uselib): Likewise.
2143         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2145 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2147         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2148         <linux/version.h>.
2149         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2150         conditional code.
2151         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2152         and ioshift_name initialization.
2154 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2156         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2157         Fix indentation.
2159 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2161         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2163 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2165         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2167 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2168             Jakub Wilk  <jwilk@debian.org>
2170         [BZ #19347]
2171         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2172         to change the group of the device to the tty group.
2174 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2176         Split large string section; add truncation advice
2177         * manual/examples/strncat.c: Remove.
2178         This example was misleading, as the code would have undefined
2179         behavior if "hello" was longer than SIZE.  Anyway, the manual
2180         shouldn't encourage strncpy+strncat for this sort of thing.
2181         * manual/string.texi (Copying Strings and Arrays): Split into
2182         three sections Copying Strings and Arrays, Concatenating Strings,
2183         and Truncating Strings, as this section was way too long.  All
2184         cross-referenced changed.  Add advice about string-truncation
2185         functions.  Remove misleading strncat example.
2187 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2189         * manual/nss.texi (NSS Modules Interface): Document
2190         NSS_STATUS_NOTFOUND and SUCCESS.
2192 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2194         [BZ 18568]
2195         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2196         201505L, for Unicode 8.
2198 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2200         * locale/C-translit.h: Regenerate.
2202 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2204         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2205         and U+0153.
2207 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2209         [BZ #19351]
2210         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2211         expanding log(1+z), compare z rather than its square with epsilon
2212         to determine when to avoid evaluating the expansion.
2214         [BZ #19350]
2215         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2216         Increase overflow threshold.
2218         [BZ #19349]
2219         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2220         when small.
2222         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2224         New macro.
2225         [__LINUX_KERNEL_VERSION >= 0x040300]
2226         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2227         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2228         Likewise.
2229         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2230         Likewise.
2231         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2232         Likewise.
2233         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2234         Likewise.
2235         [__LINUX_KERNEL_VERSION >= 0x040300]
2236         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2237         [__LINUX_KERNEL_VERSION >= 0x040300]
2238         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2239         [__LINUX_KERNEL_VERSION >= 0x040300]
2240         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2241         [__LINUX_KERNEL_VERSION >= 0x040300]
2242         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2243         [__LINUX_KERNEL_VERSION >= 0x040300]
2244         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2245         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2246         Likewise.
2247         [__LINUX_KERNEL_VERSION >= 0x040300]
2248         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2249         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2250         Likewise.
2251         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2252         Likewise.
2253         [__LINUX_KERNEL_VERSION >= 0x040300]
2254         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2255         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2256         Likewise.
2257         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2258         Likewise.
2259         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2261         Likewise.
2262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2263         Likewise.
2264         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2265         Likewise.
2266         [__LINUX_KERNEL_VERSION >= 0x040300]
2267         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2268         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2269         Likewise.
2270         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2271         Likewise.
2272         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2273         Likewise.
2274         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2275         Likewise.
2276         [__LINUX_KERNEL_VERSION >= 0x040300]
2277         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2278         [__LINUX_KERNEL_VERSION >= 0x040300]
2279         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2280         [__LINUX_KERNEL_VERSION >= 0x040300]
2281         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2282         [__LINUX_KERNEL_VERSION >= 0x040300]
2283         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2284         [__LINUX_KERNEL_VERSION >= 0x040300]
2285         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2286         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2287         Likewise.
2288         [__LINUX_KERNEL_VERSION >= 0x040300]
2289         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2290         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2291         Likewise.
2292         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2293         Likewise.
2294         [__LINUX_KERNEL_VERSION >= 0x040300]
2295         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2296         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2297         Likewise.
2298         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2299         Likewise.
2300         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2301         (__ASSUME_SOCKET_SYSCALL): Likewise.
2302         (__ASSUME_BIND_SYSCALL): Likewise.
2303         (__ASSUME_CONNECT_SYSCALL): Likewise.
2304         (__ASSUME_LISTEN_SYSCALL): Likewise.
2305         (__ASSUME_ACCEPT_SYSCALL): Likewise.
2306         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2307         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2308         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2309         (__ASSUME_SEND_SYSCALL): Likewise.
2310         (__ASSUME_SENDTO_SYSCALL): Likewise.
2311         (__ASSUME_RECV_SYSCALL): Likewise.
2312         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2313         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2314         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2315         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2316         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2317         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2318         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2319         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2320         Likewise.
2321         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2322         Likewise.
2323         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2324         Likewise.
2325         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2326         Likewise.
2327         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2328         Likewise.
2329         [__LINUX_KERNEL_VERSION >= 0x020625]
2330         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2331         [__LINUX_KERNEL_VERSION >= 0x020625]
2332         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2333         [__LINUX_KERNEL_VERSION >= 0x020625]
2334         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2335         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2336         Likewise.
2337         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2338         Likewise.
2339         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2340         Likewise.
2341         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2342         Likewise.
2343         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2344         Likewise.
2345         [__LINUX_KERNEL_VERSION >= 0x020625]
2346         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2347         [__LINUX_KERNEL_VERSION >= 0x020625]
2348         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2349         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2350         Likewise.
2351         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2352         Likewise.
2354 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2356         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2357         record the current if the current ABI and CPU support the FP64
2358         extension.
2359         (has-modd-spreg): Define to record the current if the current ABI and
2360         CPU support 32-bit floating point values in odd FPU registers.
2361         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2362         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2363         $(has-modd-spreg) equals yes.
2364         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2365         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2366         $(has-modd-spreg) equal yes.
2368 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2370         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2371         basename.
2373 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2375         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2376         (bench-string): ... here.
2377         (bench): Add bench-string.
2378         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2379         to *-benchset to reflect what they are.
2380         (benchset): Adjust.
2382         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2383         cos-inputs.
2385 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2387         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2388         __attribute__ ((__simd__)) for vector math function declarations.
2390 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2392         Fix typo in strncat, wcsncat manual entries
2393         * manual/string.texi (Copying and Concatenation): Fix typos in
2394         sample implementations of strncat and wcsncat, by having them use
2395         the old value of the destination length, not the new one.
2397 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2399         [BZ #16961]
2400         [BZ #16962]
2401         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2402         string on the stack for strtod.
2403         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2404         a string on the stack for strtof.
2405         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2406         constructing a string on the stack for strtold.
2407         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2408         __strtold_nan to GLIBC_PRIVATE.
2409         * math/test-nan-overflow.c: New file.
2410         * math/test-nan-payload.c: Likewise.
2411         * math/Makefile (tests): Add test-nan-overflow and
2412         test-nan-payload.
2414 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2416         Consistency about byte vs character in string.texi
2417         * manual/string.texi (String and Array Utilities):
2418         Distinguish more carefully among bytes, multibyte characters,
2419         and wide characters.  Use "byte" when talking about C 'char',
2420         to distinguish it more clearly from multibyte characters.
2421         Say "wide character" or "multibyte character" instead of
2422         "character", when a wide or multibyte character is intended.
2423         Similarly for "multibyte string" versus "string".
2424         Define these terms more carefully.
2426 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2428         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2429         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2430         Likewise.
2431         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2432         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2433         * sysdeps/sh/math_private.h: New file.
2434         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2435         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2436         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2437         long double function name.
2438         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2439         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2440         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2441         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2442         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2444         Remove __finitel, __isinfl, and __isnanl.
2445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2446         Likewise.
2447         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2449         Remove __finitel.
2450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2451         Likewise.
2452         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2454 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2456         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2457         installed libmvec_nonshared.a.
2459 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2461         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2462         (sysdep_routines): Likewise.
2463         (sysdep-rtld-routines): Likewise.
2464         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2465         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2466         * sysdeps/powerpc/Versions: Added new
2467         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2468         * sysdeps/powerpc/hwcapinfo.c: New file.
2469         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2470         and parse hwcap, hwcap2 and platform number information.
2471         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2472         to store HWCAP+HWCAP2 and platform number.
2473         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2474         for HWCAP+HWCAP2 and platform number in the TCB.
2475         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2476         the HWCAP, HWCAP2 and platform number in the TCB.
2477         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2478         (TLS_INIT_TP): Included calls to add the hwcap and
2479         at_platform values in the TCB in TP initialization.
2480         (TLS_DEFINE_INIT_TP): Likewise.
2481         (THREAD_GET_HWCAP): New macro.
2482         (THREAD_SET_HWCAP): Likewise.
2483         (THREAD_GET_AT_PLATFORM): Likewise.
2484         (THREAD_SET_AT_PLATFORM): Likewise.
2485         * sysdeps/powerpc/powerpc32/dl-machine.h:
2486         (dl_platform_init): New function that calls
2487         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2488         powerpc32.
2489         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2490         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2491         this functionality, static linking case.
2492         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2493         linking case.
2494         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2495         __parse_hwcap_and_convert_at_platform for the static linking case.
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2497         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2498         ABI list for GLIBC 2.23.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2500         Likewise.
2501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2502         Likewise.
2504 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2506         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2507         * configure: Regenerate.
2508         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2509         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2511 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2513         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2514         * iconvdata/ibm933.c: Likewise.
2515         * iconvdata/ibm935.c: Likewise.
2516         * iconvdata/ibm937.c: Likewise.
2517         * iconvdata/ibm939.c: Likewise.
2519 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2521         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2522         pthread_join.
2523         * nptl/tst-cancel21.c (tf): Likewise.
2525 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2527         [BZ #19313]
2528         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2529         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2530         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2531         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2532         Likewise.
2533         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2534         Likewise.
2535         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2536         Likewise.
2537         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2538         Likewise.
2539         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2540         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2541         unsigned long int with __CPU_MASK_TYPE.
2543 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2545         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2547 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2549         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2550         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2551         t512.x.
2552         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2554 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2556         [BZ #19214]
2557         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2558         argument to return extended model.  Update family and model
2559         with extended family and model when family == 0x0f.
2560         (init_cpu_features): Updated.
2562 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2564         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2565         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2567         * sysdeps/mach/hurd/mmap64.c: New file.
2569 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2571         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2572         rights for its main user thread in NEWTASK.
2574 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2576         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2577         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2579 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2581         [BZ #14259]
2582         * Makeconfig: Rename localedir to complocaledir.
2583         Rename inst_localedir to inst_complocaledir.
2584         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2585         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2586         * configure.ac: Use libc_cv_complocaledir.
2587         * configure: Regenerate.
2588         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2589         -DCOMPLOCALEDIR.
2590         * locale/findlocale.c: Use COMPLOCALEDIR.
2591         * locale/loadarchive.c: Likewise.
2592         * locale/programs/locale.c: Likewise.
2593         * locale/programs/localedef.c: Likewise.
2594         * locale/programs/locarchive.c: Likewise.
2595         * localedata/Makefile: Use inst_complocaledir.
2596         * sysdeps/gnu/configure: Regenerate.
2597         * sysdeps/hppa/configure: Regenerate.
2598         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2599         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2601         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2602         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2603         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2604         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2606 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2608         [BZ #19058]
2609         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2610         AS_NEEDED.
2611         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2612         workaround.
2613         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2614         libmvec-static-only-routines): Added new file.
2615         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2617 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2619         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2620         of interrupted RPC instead of restoring it.
2622         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2623         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2624         libc_hidden_def.
2625         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2626         into initialized data instead of common. Define rtld_hidden_data_def.
2627         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2628         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2629         libc_hidden_def.
2630         (if_freenameindex): Add libc_hidden_weak.
2631         (if_nameindex): Add libc_hidden_weak.
2632         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2633         __open64.
2634         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2635         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2636         * sysdeps/mach/nanosleep.c: Include <time.h>
2637         (__nanosleep): Rename to __libc_nanosleep.
2638         (__nanosleep): Add weak_alias.
2639         (nanosleep): Update alias.
2641 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2643         * stdlib/strtod_nan.c: New file.
2644         * stdlib/strtod_nan_double.h: Likewise.
2645         * stdlib/strtod_nan_float.h: Likewise.
2646         * stdlib/strtod_nan_main.c: Likewise.
2647         * stdlib/strtod_nan_narrow.h: Likewise.
2648         * stdlib/strtod_nan_wide.h: Likewise.
2649         * stdlib/strtof_nan.c: Likewise.
2650         * stdlib/strtold_nan.c: Likewise.
2651         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2652         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2653         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2654         * wcsmbs/wcstod_nan.c: Likewise.
2655         * wcsmbs/wcstof_nan.c: Likewise.
2656         * wcsmbs/wcstold_nan.c: Likewise.
2657         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2658         strtold_nan.
2659         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2660         wcstof_nan.
2661         * include/stdlib.h (__strtof_nan): Declare and use
2662         libc_hidden_proto.
2663         (__strtod_nan): Likewise.
2664         (__strtold_nan): Likewise.
2665         (__wcstof_nan): Likewise.
2666         (__wcstod_nan): Likewise.
2667         (__wcstold_nan): Likewise.
2668         * include/wchar.h (____wcstoull_l_internal): Declare.
2669         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2670         (____strtoull_l_internal): Remove declaration.
2671         (STRTOF_NAN): Define macro.
2672         (SET_MANTISSA): Remove macro.
2673         (STRTOULL): Likewise.
2674         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2675         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2676         (STRTOF_NAN): Define macro.
2677         (SET_MANTISSA): Remove macro.
2678         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2679         (SET_MANTISSA): Remove macro.
2680         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2681         macro.
2682         (SET_MANTISSA): Remove macro.
2683         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2684         macro.
2685         (SET_MANTISSA): Remove macro.
2686         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2687         (SET_MANTISSA): Remove macro.
2688         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2689         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2690         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2692         [BZ #19266]
2693         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2694         upper case and lower case letters inside NAN(), not using TOLOWER.
2695         * stdlib/tst-strtod-nan-locale-main.c: New file.
2696         * stdlib/tst-strtod-nan-locale.c: Likewise.
2697         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2698         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2699         Depend on $(gen-locales).
2700         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2701         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2702         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2703         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2704         Depend on $(gen-locales).
2705         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2707 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2709         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2711         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2713         __finitel, __isinfl, and __isnanl.
2714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2715         Likewise.
2716         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2718         __finitel.
2719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2720         Likewise.
2721         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2723 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2725         * malloc/memusage.c (me): Remove redundant getenv call.
2727 2015-10-24  Florian Weimer  <fweimer@redhat.com>
2729         [BZ #19143]
2730         [BZ #19164]
2731         * nptl/check-cpuset.h: Remove.
2732         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2733         Remove CPU set size check.
2734         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2735         Likewise.
2736         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2737         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2738         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2739         (__pthread_setaffinity_new): Remove CPU set size check.
2740         * sysdeps/unix/sysv/linux/sched_setaffinity.c
2741         (__kernel_cpumask_size): Remove.
2742         (__sched_setaffinity_new): Remove CPU set size check.
2743         * manual/threads.texi (Default Thread Attributes): Remove stale
2744         reference to check_cpuset_attr, determine_cpumask_size in comment.
2745         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2746         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
2747         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2748         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2749         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2750         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2751         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2752         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2753         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2754         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2755         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2756         skeleton test file.
2757         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2758         tst-affinity-pid.
2760 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2762         * scripts/update-abilist.sh: New file.
2763         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2764         * Makerules (update-all-abi-%, update-all-abi)
2765         (subdir_update-all-abi): New targets.
2766         * elf/Makefile (update-all-abi): New target.
2768 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2770         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2771         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2772         (__libc_lock_define_initialized): Use it.
2773         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2774         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2775         * malloc/malloc.c (main_arena): Likewise.
2776         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2777         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2779 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2781         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2782         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2783         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2784         (PTRACE_O_MASK): Update value.
2785         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2786         New value in enum __ptrace_setoptions.
2787         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2788         (PTRACE_O_MASK): Update value.
2789         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2790         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2791         (PTRACE_O_MASK): Update value.
2792         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2793         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2794         (PTRACE_O_MASK): Update value.
2795         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2796         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2797         (PTRACE_O_MASK): Update value.
2798         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2799         New value in enum __ptrace_setoptions.
2800         (PTRACE_O_MASK): Update value.
2801         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
2802         New value in enum __ptrace_setoptions.
2803         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2804         (PTRACE_O_MASK): Update value.
2806         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
2807         New macro.
2808         (PACKET_AUXDATA): Likewise.
2809         (PACKET_ORIGDEV): Likewise.
2810         (PACKET_VERSION): Likewise.
2811         (PACKET_HDRLEN): Likewise.
2812         (PACKET_RESERVE): Likewise.
2813         (PACKET_TX_RING): Likewise.
2814         (PACKET_LOSS): Likewise.
2815         (PACKET_VNET_HDR): Likewise.
2816         (PACKET_TX_TIMESTAMP): Likewise.
2817         (PACKET_TIMESTAMP): Likewise.
2818         (PACKET_FANOUT): Likewise.
2819         (PACKET_TX_HAS_OFF): Likewise.
2820         (PACKET_QDISC_BYPASS): Likewise.
2821         (PACKET_ROLLOVER_STATS): Likewise.
2822         (PACKET_FANOUT_DATA): Likewise.
2823         (PACKET_MR_UNICAST): Likewise.
2825         [BZ #19242]
2826         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
2827         (TOUPPER): Likewise.
2828         * stdlib/tst-strtol-locale-main.c: New file.
2829         * stdlib/tst-strtol-locale.c: Likewise.
2830         * stdlib/Makefile (tests): Add tst-strtol-locale.
2831         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
2832         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
2833         Depend on $(gen-locales).
2834         * wcsmbs/tst-wcstol-locale.c: New file.
2835         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
2836         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
2837         tr_TR.ISO-8859-9.
2838         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
2839         Depend on $(gen-locales).
2841 2015-11-20  Roland McGrath  <roland@hack.frob.com>
2843         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
2844         __glibc_likely instead of __builtin_expect.  After falling back to
2845         dyncode_create in a non-ET_DYN case, use the allocate_code_data
2846         system interface to register the code pages as occupied.
2848 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
2850         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2851         [!ARM_MATH_PRIVATE_H].
2852         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
2853         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2854         [!HPPA_MATH_PRIVATE_H].
2855         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
2856         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
2857         to [!I386_MATH_PRIVATE_H].
2858         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
2859         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
2860         Change guard to [!M68K_MATH_PRIVATE_H].
2861         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
2862         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
2863         guard to [!MICROBLAZE_MATH_PRIVATE_H].
2864         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
2865         macro.
2866         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2867         [!MIPS_MATH_PRIVATE_H].
2868         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
2869         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2870         [!NIO2_MATH_PRIVATE_H].
2871         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
2872         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
2873         [!TILE_MATH_PRIVATE_H].
2874         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
2876         [BZ #15421]
2877         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
2878         initialize with 0 and define as weak alias of __signgam.
2879         * include/math.h [!_ISOMAC] (__signgam): Declare.
2880         * math/Makefile (libm-calls): Add w_lgamma_compat.
2881         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
2882         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
2883         test-signgam-ullong-init.
2884         (tests-static): Add test-signgam-uchar-static,
2885         test-signgam-uchar-init-static, test-signgam-uint-static,
2886         test-signgam-uint-init-static, test-signgam-ullong-static and
2887         test-signgam-ullong-init-static.
2888         (CFLAGS-test-signgam-uchar.c): New variable.
2889         (CFLAGS-test-signgam-uchar-init.c): Likewise.
2890         (CFLAGS-test-signgam-uchar-static.c): Likewise.
2891         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2892         (CFLAGS-test-signgam-uint.c): Likewise.
2893         (CFLAGS-test-signgam-uint-init.c): Likewise.
2894         (CFLAGS-test-signgam-uint-static.c): Likewise.
2895         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2896         (CFLAGS-test-signgam-ullong.c): Likewise.
2897         (CFLAGS-test-signgam-ullong-init.c): Likewise.
2898         (CFLAGS-test-signgam-ullong-static.c): Likewise.
2899         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2900         * math/Versions (libm): Add GLIBC_2.23.
2901         * math/lgamma-compat.h: New file.
2902         * math/test-signgam-main.c: Likewise.
2903         * math/test-signgam-uchar-init-static.c: Likewise.
2904         * math/test-signgam-uchar-init.c: Likewise.
2905         * math/test-signgam-uchar-static.c: Likewise.
2906         * math/test-signgam-uchar.c: Likewise.
2907         * math/test-signgam-uint-init-static.c: Likewise.
2908         * math/test-signgam-uint-init.c: Likewise.
2909         * math/test-signgam-uint-static.c: Likewise.
2910         * math/test-signgam-uint.c: Likewise.
2911         * math/test-signgam-ullong-init-static.c: Likewise.
2912         * math/test-signgam-ullong-init.c: Likewise.
2913         * math/test-signgam-ullong-static.c: Likewise.
2914         * math/test-signgam-ullong.c: Likewise.
2915         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
2916         wrapper of w_lgamma_main.c.
2917         * math/w_lgamma_compat.c: New file.
2918         * math/w_lgamma_compatf.c: Likewise.
2919         * math/w_lgamma_compatl.c: Likewise.
2920         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
2921         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2922         defining compatibility symbols.
2923         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
2924         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
2925         wrapper of w_lgammaf_main.c.
2926         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
2927         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2928         defining compatibility symbols.
2929         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
2930         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
2931         wrapper of w_lgammal_main.c.
2932         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
2933         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
2934         defining compatibility symbols.
2935         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
2936         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
2937         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
2938         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
2939         <lgamma-compat.h>.
2940         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
2941         (__ieee754_gamma): Define as alias.
2942         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
2943         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
2944         <lgamma-compat.h>.
2945         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
2946         (__ieee754_gammaf): Define as alias.
2947         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
2948         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
2949         <lgamma-compat.h>.
2950         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
2951         (__ieee754_gammal): Define as alias.
2952         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
2953         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
2954         <math/w_lgamma_compat.c>.
2955         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
2956         Define as alias of __lgamma_compat and use in defining lgammal.
2957         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
2958         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
2959         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
2960         (USE_AS_COMPAT): New macro.
2961         (LGAMMA_OLD_VER): Undefine and redefine.
2962         (lgammal): Do not define here.
2963         (gammal): Only define here if [GAMMA_ALIAS].
2964         * conform/linknamespace.pl (@whitelist): Remove signgam.
2965         * sysdeps/nacl/libm.abilist: Update.
2966         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2967         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2968         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2969         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2970         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2971         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2972         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2973         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2974         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2975         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2976         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2977         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2979         Likewise.
2980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2981         Likewise.
2982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2983         Likewise.
2984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2985         Likewise.
2986         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2987         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2988         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2989         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2990         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2992         Likewise.
2993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2994         Likewise.
2995         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2996         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2997         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2999 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3001         [BZ #16364]
3002         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3003         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3005 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3007         * sysdeps/s390/fpu/bits/mathinline.h:
3008         Use __asm__ [__volatile__] instead of asm [volatile].
3009         * sysdeps/s390/abort-instr.h: Likewise.
3010         * sysdeps/s390/atomic-machine.h: Likewise.
3011         * sysdeps/s390/bits/string.h: Likewise.
3012         * sysdeps/s390/dl-tls.h: Likewise.
3013         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3014         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3015         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3016         * sysdeps/s390/fpu/fesetround.c: Likewise.
3017         * sysdeps/s390/fpu/fpu_control.h: Likewise.
3018         * sysdeps/s390/fpu/s_fma.c: Likewise.
3019         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3020         * sysdeps/s390/memusage.h: Likewise.
3021         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3022         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3023         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3024         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3025         * sysdeps/s390/nptl/tls.h: Likewise.
3026         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3027         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3028         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3029         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3030         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3031         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3032         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3033         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3034         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3035         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3036         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3037         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3038         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3039         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3040         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3041         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3042         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3043         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3044         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3045         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3046         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3047         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3048         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3050 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3051             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3053         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3054         Add lwarx hint, and use macro for acquire instruction.
3055         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3056         Likewise.
3057         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3058         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3059         update to use new atomic macros.
3061 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3063         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3064         (__lll_trylock_elision): Fix setting of adapt_count.
3065         * sysdeps/unix/sysv/linux/powerpc/htm.h
3066         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3067         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3068         (_ABORT_SYSCALL): Renumber, and clarify definition.
3069         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3071 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3073         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3074         after system headers to prevent MIN/MAX redefinition.  Define
3075         HAVE_ALLOCA to preserve builtin alloca usage.
3077 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3079         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3080         static and don't set or restore rounding.
3081         (__cos)[IN_SINCOS]: Likewise.
3082         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3083         (__sincos): Set and restore rounding mode.  Remove check for infinite
3084         or NaN input.
3086         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3088         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3089         as used.
3091 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3093         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3095 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3097         * config.make.in (have-glob-dat-reloc): New.
3098         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
3099         target supports GLOB_DAT relocaton. AC_SUBST.
3100         * configure: Regenerated.
3101         * elf/Makefile (tests): Add tst-prelink.
3102         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3103         (tst-prelink-ENV): New.
3104         ($(objpfx)tst-prelink-conflict.out): Likewise.
3105         ($(objpfx)tst-prelink-cmp.out): Likewise.
3106         * sysdeps/x86/tst-prelink.c: Moved to ...
3107         * elf/tst-prelink.c: Here.
3108         * sysdeps/x86/tst-prelink.exp: Moved to ...
3109         * elf/tst-prelink.exp: Here.
3110         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3111         (tst-prelink-ENV): Removed.
3112         ($(objpfx)tst-prelink-conflict.out): Likewise.
3113         ($(objpfx)tst-prelink-cmp.out): Likewise.
3114         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3116 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
3118         [BZ #14551]
3119         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3120         (__mpn_construct_long_double): If high part overflows to infinity,
3121         set errno and recompute overflowed result of the correct sign.
3122         * sysdeps/ieee754/ldbl-128ibm/Makefile
3123         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3124         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3125         $(libm).
3126         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3128 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
3130         [BZ #15479]
3131         [BZ #19238]
3132         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3133         floating-point state after first operation on input.  Restore full
3134         state rather than just rounding mode.
3135         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3136         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3137         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3139         [BZ #19235]
3140         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3141         add 0.5 to integer arguments.
3142         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3143         Likewise.
3144         (.LC2): New object.
3146 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3148         * scripts/pylintrc (reports): Set to no.
3150 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3152         * elf/dl-load.c (open_verify): Take new argument FD.
3153         Skip __open call if passed FD is not -1.
3154         (_dl_map_object, open_path): Update callers.
3155         * elf/dl-sysdep-open.h: New file.
3156         * elf/dl-load.c: Include it.
3157         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3158         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3159         * sysdeps/nacl/dl-sysdep-open.h: New file.
3160         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3161         from libc to rtld.
3163 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3165         [BZ #19228]
3166         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3167         and restore full floating-point state.
3168         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3169         Likewise.
3170         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3171         Likewise.
3172         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3173         Likewise.
3174         * math/test-nearbyint-except-2.c: New file.
3175         * math/Makefile (tests): Add test-nearbyint-except-2.
3177 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3179         [BZ #19178]
3180         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3181         (tst-prelink-ENV): New.
3182         ($(objpfx)tst-prelink-conflict.out): Likewise.
3183         ($(objpfx)tst-prelink-cmp.out): Likewise.
3184         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3185         * sysdeps/x86/tst-prelink.c: New file.
3186         * sysdeps/x86/tst-prelink.exp: Likewise.
3188 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3190         * math/auto-libm-test-in: Add another test of pow.
3191         * math/auto-libm-test-out: Regenerated.
3192         * math/libm-test.inc (pow_test_data): Add another test.
3194 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3196         [BZ #19219]
3197         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3198         weak_alias to nearbyintl.
3200 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3202         * sysdeps/aarch64/bits/string.h: New file.
3203         (_STRING_ARCH_unaligned): Define.
3205 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3207         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3208         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3209         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3210         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3213 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3215         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3216         for original name of the DSO.  Add it to the name list of the DSO
3217         if it is actually given.
3218         (_dl_map_object): Keep track of whether an audit module rewrote
3219         the file name.  If yes, pass the original name to
3220         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3221         debugging is enabled, log the change of the file name.
3222         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3223         _dl_map_object_from_fd.
3224         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3225         * elf/tst-audit11.c: New file
3226         * elf/tst-auditmod11.c: New file.
3227         * elf/tst-audit11mod1.c: New file.
3228         * elf/tst-audit11mod2.c: New file.
3229         * elf/tst-audit11mod2.map: New file.
3230         * elf/tst-audit12.c: New file
3231         * elf/tst-auditmod12.c: New file.
3232         * elf/tst-audit12mod1.c: New file.
3233         * elf/tst-audit12mod2.c: New file.
3234         * elf/tst-audit12mod2.map: New file.
3235         * elf/tst-audit12mod3.c: New file.
3237 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3239         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3240         Don't create weak aliases,
3241         because versioned symbols are created later.
3242         * sysdeps/s390/s390-32/setjmp.S
3243         (setjmp, _setjmp): Remove weak and rename to an unique name
3244         in SHARED case due to existing versioned symbols.
3245         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3246         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3247         (getcontext): Create weak alias only in non SHARED case.
3248         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3250 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3252         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3253         (__ASSUME_*_SYSCALL) Define new macros.
3254         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3255         Remove socketcall syscalls.
3256         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3257         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3258         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3259         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3260         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3261         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3263 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3265         [BZ #12926]
3266         Terminate process on invalid netlink response.
3267         * sysdeps/unix/sysv/linux/netlinkaccess.h
3268         (__netlink_assert_response): Declare.
3269         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3270         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3271         (sysdep_routines): Add netlink_assert_response.
3272         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3273         __netlink_assert_response.
3274         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3275         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3276         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3277         __netlink_assert_response.
3279 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
3281         [BZ #19178]
3282         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3283         (RTYPE_CLASS_PLT): Likewise.
3284         (RTYPE_CLASS_COPY): Likewise.
3285         (RTYPE_CLASS_TLS): Likewise.
3286         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3287         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
3288         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3289         DL_DEBUG_PRELINK.
3291 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3293         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3294         calls with argument -0.5.
3295         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3297         * configure.ac (libc_cv_z_nodelete): Remove configure test.
3298         (libc_cv_z_nodlopen): Likewise.
3299         (libc_cv_z_initfirst): Likewise.
3300         * configure: Regenerated.
3302 2015-11-06  Florian Weimer  <fweimer@redhat.com>
3304         Simplify abilist format to be line-based.
3305         * scripts/abilist.awk: Collect descriptors in the descs variable.
3306         (emit): Write descs variable and sort it
3307         externally, with sort.
3308         * sysdeps/**/*.abilist: Convert to new format.
3310 2015-11-06  Mark Wielaard  <mjw@redhat.com>
3312         [BZ #11460]
3313         * io/Makefile (routines): Add fts64.
3314         (tests): Add tst-fts and tst-fts-lfs.
3315         (CFLAGS-fts64.c): New.
3316         * io/Versions (GLIBC_2.23): New.
3317         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3318         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3319         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3320         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3321         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3322         (FTSENT64): Likewise.
3323         (fts64_children): Likewise.
3324         (fts64_close): Likewise.
3325         (fts64_open): Likewise.
3326         (fts64_read): Likewise.
3327         (fts64_set): Likewise.
3328         * io/fts64.c: New file.
3329         * io/tst-fts.c: New test.
3330         * io/tst-fts-lfs.c: Likewise.
3331         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3332         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3333         fts64_set.
3334         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3335         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3336         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3337         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3338         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3339         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3340         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3341         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3342         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3343         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3344         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3346         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3348         Likewise.
3349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3350         Likewise.
3351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3353         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3354         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3355         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3356         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3357         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3360         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3361         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3362         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3363         * sysdeps/wordsize-64/fts.c: New file.
3364         * sysdeps/wordsize-64/fts64.c: Likewise.
3365         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3366         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3367         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3368         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3370 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3372         * math/libm-test.inc (NON_FINITE): New macro.
3373         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3374         * math/gen-libm-test.pl (show_exceptions): Add argument
3375         $non_finite.
3376         (parse_args): Update call to show_exceptions.
3377         * math/test-math-finite.h: New file.
3378         * math/test-math-no-finite.h: Likewise.
3379         * math/test-double-finite.c: Likewise.
3380         * math/test-float-finite.c: Likewise.
3381         * math/test-ldouble-finite.c: Likewise.
3382         * math/test-double.c: Include "test-math-no-finite.h".
3383         * math/test-float.c: Include "test-math-no-finite.h".
3384         * math/test-ldouble.c: Include "test-math-no-finite.h".
3385         * math/test-math-inline.h (TEST_FINITE): New macro.
3386         * math/test-math-vector.h (TEST_FINITE): Likewise.
3387         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3388         (libm-tests): Add test-float-finite and test-double-finite.
3389         ($(objpfx)test-float-finite.o): New dependency on
3390         $(objpfx)libm-test.stmp.
3391         ($(objpfx)test-double-finite.o): Likewise.
3392         ($(objpfx)test-ldouble-finite.o): Likewise.
3393         (libm-test-no-inline-cflags): New variable.
3394         (libm-test-finite-cflags): Likewise.
3395         (CFLAGS-test-float-finite.c): Likewise.
3396         (CFLAGS-test-double-finite.c): Likewise.
3397         (CFLAGS-test-ldouble-finite.c): Likewise.
3398         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3399         (CFLAGS-test-double.c): Likewise.
3400         (CFLAGS-test-ldouble.c): Likewise.
3402 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3404         * io/fcntl.c (__fcntl): Add ... to prototype.
3405         * misc/ioctl.c (__ioctl): Likewise.
3406         * misc/syscall.c (syscall): Likewise.
3408 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3410         * scripts/list-fixed-bugs.py: New file.
3412         [BZ #19213]
3413         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3414         returned for argument 1.
3415         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3416         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3417         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3418         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3419         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3420         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3422         [BZ #19211]
3423         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3424         __USE_XOPEN], not if [!__USE_ISOC99].
3425         (lgammaf): Likewise.
3426         (lgammal): Likewise.
3427         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3428         (gammaf): Likewise.
3429         (gammal): Likewise.
3430         * math/test-signgam-finite-c11.c: New file.
3431         * math/test-signgam-finite-c99.c: Likewise.
3432         * math/test-signgam-finite.c: Likewise.
3433         * math/Makefile (tests): Add test-signgam-finite,
3434         test-signgam-finite-c99 and test-signgam-finite-c11.
3435         (CFLAGS-test-signgam-finite.c): New variable.
3436         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3437         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3439         [BZ #19212]
3440         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3441         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3442         500].
3443         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3444         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3445         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3446         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3447         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3448         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3449         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3450         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3451         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3452         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3454         [BZ #19209]
3455         * math/bits/math-finite.h (ldexp): Remove declaration.
3456         (ldexpf): Likewise.
3457         (ldexpl): Likewise.
3459         [BZ #19205]
3460         * math/bits/math-finite.h (acosf): Condition declaration on
3461         [__USE_ISOC99].
3462         (acosl): Likewise.
3463         (acoshf): Likewise.
3464         (acoshl): Likewise.
3465         (asinf): Likewise.
3466         (asinl): Likewise.
3467         (atan2f): Likewise.
3468         (atan2l): Likewise.
3469         (atanhf): Likewise.
3470         (atanhl): Likewise.
3471         (coshf): Likewise.
3472         (coshl): Likewise.
3473         (expf): Likewise.
3474         (expl): Likewise.
3475         (fmodf): Likewise.
3476         (fmodl): Likewise.
3477         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3478         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3479         (j0l): Likewise.
3480         (y0f): Likewise.
3481         (y0l): Likewise.
3482         (j1f): Likewise.
3483         (j1l): Likewise.
3484         (y1f): Likewise.
3485         (y1l): Likewise.
3486         (jnf): Likewise.
3487         (jnl): Likewise.
3488         (ynf): Likewise.
3489         (ynl): Likewise.
3490         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3491         (lgammal_r): Likewise.
3492         (__lgamma_r_finite): New declaration.
3493         (__lgammaf_r_finite): Likewise.
3494         (__lgammal_r_finite): Likewise.
3495         (lgamma): Use __lgamma_r_finite.
3496         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3497         __lgammaf_r_finite.
3498         (lgammal): Condition definition on [__USE_ISOC99].  Use
3499         __lgammal_r_finite.
3500         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3501         __lgamma_r_finite.
3502         (gammaf): Condition definition on [__USE_ISOC99].  Use
3503         __lgammaf_r_finite.
3504         (gammal): Condition definition on [__USE_ISOC99].  Use
3505         __lgammal_r_finite.
3506         (logf): Condition declaration on [__USE_ISOC99].
3507         (logl): Likewise.
3508         (log10f): Likewise.
3509         (log10l): Likewise.
3510         (ldexpf): Likewise.
3511         (ldexpl): Likewise.
3512         (powf): Likewise.
3513         (powl): Likewise.
3514         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3515         __USE_ISOC99].
3516         (remainderf): Condition declaration on [__USE_ISOC99].
3517         (remainderl): Likewise.
3518         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3519         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3520         (scalbl): Likewise.
3521         (sinhf): Condition declaration on [__USE_ISOC99].
3522         (sinhl): Likewise.
3523         (sqrtf): Likewise.
3524         (sqrtl): Likewise.
3526 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3528         * sysdeps/arm/atomic-machine.h
3529         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3530         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3531         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3532         Remove conditional code.
3533         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3534         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3535         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3536         Change conditional to [__ASSEMBLER__].
3537         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3538         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3539         [!__ASSEMBLER__].
3540         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3541         code.
3542         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3543         conditional macro definitions.
3544         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3545         (__arch_compare_and_exchange_val_16_acq): Likewise.
3546         (__arch_compare_and_exchange_val_32_acq): Likewise.
3547         (atomic_exchange_and_add): Likewise.
3548         (atomic_add): Likewise.
3549         (atomic_add_negative): Likewise.
3550         (atomic_add_zero): Likewise.
3551         (atomic_bit_set): Likewise.
3552         (atomic_bit_test_set): Likewise.
3553         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3554         code unconditional.
3555         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3557         * math/test-math-errno.h: New file.
3558         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3559         empty.
3560         (TEST_ERRNO): New macro.
3561         (TEST_EXCEPTIONS): Likewise.
3562         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3563         (TEST_EXCEPTIONS): Likewise.
3564         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3565         * math/test-double.c: Include "test-math-errno.h".
3566         * math/test-float.c: Likewise.
3567         * math/test-ldouble.c: Likewise.
3568         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3569         code unconditional.
3570         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3571         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3572         unconditional.
3573         (test_errno): Only run code if TEST_ERRNO.
3574         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3576 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3578         * nptl/tst-once5.cc: Remove attribution.
3580 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3582         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3583         sqrt, tan, tanh, y0, y1 and yn.
3584         * math/auto-libm-test-out: Regenerated.
3585         * math/libm-test.inc (scalb_test_data): Add more tests.
3586         (scalbn_test_data): Likewise.
3587         (scalbln_test_data): Likewise.
3588         (signbit_test_data): Likewise.
3589         (sin_test_data): Likewise.
3590         (sincos_test_data): Likewise.
3591         (sinh_test_data): Likewise.
3592         (sqrt_test_data): Likewise.
3593         (tan_test_data): Likewise.
3594         (tanh_test_data): Likewise.
3595         (tgamma_test_data): Likewise.
3596         (y0_test_data): Likewise.
3597         (y1_test_data): Likewise.
3598         (yn_test_data): Likewise.
3599         (significand_test_data): Likewise.
3600         * sysdeps/i386/fpu/libm-test-ulps: Update.
3602 2015-11-03  David Kastrup  <dak@gnu.org>
3604         [BZ #18604]
3605         * assert/assert.h (assert): Don't macro-expand failed assertion
3606         expression in error message.
3607         * malloc/malloc.c (assert): Likewise.
3609 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3611         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3612         test.
3613         * configure: Regenerated.
3615 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3617         * math/libm-test.inc (modf_test_data): Add more tests.
3618         (nearbyint_test_data): Likewise.
3619         (nextafter_test_data): Likewise.
3620         (nexttoward_test_data): Likewise.
3621         (pow_test_data): Likewise.
3622         (remainder_test_data): Likewise.
3623         (remquo_test_data): Likewise.
3624         (rint_test_data): Likewise.
3626         [BZ #19201]
3627         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3628         Check for zero remainder in case of large exponents and ensure
3629         correct sign of result in that case.
3630         * math/libm-test.inc (remainder_test_data): Add more tests.
3632         [BZ #6799]
3633         * math/s_nextafter.c: Include <errno.h>.
3634         (__nextafter): Set errno on overflow and underflow.
3635         * math/s_nexttowardf.c: Include <errno.h>.
3636         (__nexttowardf): Set errno on overflow and underflow.
3637         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3638         (__nextafterl): Set errno on overflow and underflow.
3639         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3640         (__nexttoward): Set errno on overflow and underflow.
3641         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3642         (__nexttowardf): Set errno on overflow and underflow.
3643         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3644         (__nextafterf): Set errno on overflow and underflow.
3645         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3646         (__nextafterl): Set errno on overflow and underflow.
3647         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3648         (__nexttoward): Set errno on overflow and underflow.
3649         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3650         (__nexttowardf): Set errno on overflow and underflow.
3651         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3652         (__nextafterl): Set errno on overflow and underflow.
3653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3654         (__nexttoward): Set errno on overflow and underflow.
3655         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3656         (__nexttowardf): Set errno on overflow and underflow.
3657         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3658         (__nexttoward): Set errno on overflow and underflow.
3659         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3660         (__nexttowardf): Set errno on overflow and underflow.
3661         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3662         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3663         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3664         (__nextafterl): Set errno on overflow and underflow.
3665         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3666         setting to be missing on overflow.  Add more tests.
3667         (nexttoward_test_data): Likewise.
3669         * configure.ac (libc_cv_initfini_array): Remove configure test.
3670         * configure: Regenerated.
3672 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3674         [BZ #19189]
3675         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3676         non-finite argument handle arguments with negative sign.
3678         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3679         result from infinite argument.
3680         (j1_test_data): Likewise.
3681         (jn_test_data): Likewise.
3682         (y0_test_data): Likewise.
3683         (y1_test_data): Likewise.
3684         (yn_test_data): Likewise.
3686         [BZ #16171]
3687         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3688         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3689         * math/w_remainderf.c (dremf): Define as weak alias of
3690         __remainderf.
3691         * math/w_remainderl.c (dreml): Define as weak alias of
3692         __remainderl.
3693         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3694         __remainder.
3695         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3696         __remainderf.
3697         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3698         __remainderl.
3699         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3700         weak alias of remainderl.
3701         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3702         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3703         alias of __remainder.
3704         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3705         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3706         strong alias of __remainderl.
3707         (dreml): Use long_double_symbol.
3708         * math/Makefile (libm-calls): Remove w_drem.
3709         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3710         (CFLAGS-nldbl-drem.c): Remove variable.
3711         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3712         * math/w_drem.c: Remove file.
3713         * math/w_dremf.c: Likewise.
3714         * math/w_dreml.c: Likewise.
3715         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3716         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3717         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3719         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3720         * sysdeps/i386/configure: Regenerated.
3721         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3722         * sysdeps/x86_64/configure: Regenerated.
3724         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3725         test.
3726         (libc_cv_visibility_attribute): Likewise.
3727         (libc_cv_protected_data): Test unconditionally.
3728         (libc_cv_broken_visibility_attribute): Remove configure test.
3729         (libc_cv_have_sdata_section): Test unconditionally.
3730         * configure: Regenerated.
3732         * include/libc-internal.h (libc_max_align_t): Remove typedef.
3733         * include/scratch_buffer.h: Include <stddef.h> instead of
3734         <libc-internal.h>.
3735         (struct scratch_buffer): Use max_align_t instead of
3736         libc_max_align_t.
3738 2015-10-29  Florian Weimer  <fweimer@redhat.com>
3740         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3741         instead of extend_alloca.  Change control flow to avoid a goto.
3742         Remove assert which is trivially always true.
3744 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3746         [BZ #16068]
3747         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3748         (FE_ALL_EXCEPT_X86): New macro.
3749         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3750         FE_ALL_EXCEPT.  Ensure precision control is included in
3751         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3752         handle "denormal operand exception" and clear FZ and DAZ bits.
3753         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3754         (FE_ALL_EXCEPT_X86): New macro.
3755         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3756         FE_ALL_EXCEPT.  Ensure precision control is included in
3757         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3758         handle "denormal operand exception" and clear FZ and DAZ bits.
3759         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3760         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3761         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3762         test-fenv-x87 and test-fenv-sse-2.
3763         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3765         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3766         * math/test-double.h (BUILD_COMPLEX): New macro.
3767         * math/test-float.h (BUILD_COMPLEX): Likewise.
3768         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3770         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3771         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3772         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3774         instead of DBL_DENORM_MIN in comment.
3775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3776         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3777         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3778         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3779         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3780         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3782 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3784         [BZ# 19048]
3785         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3786         attached_threads member.
3787         (main_arena): Initialize attached_threads.
3788         * malloc/arena.c (list_lock): Update comment.
3789         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3790         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3791         (deattach_arena): New function.
3792         (_int_new_arena): Initialize arena reference count and deattach
3793         replaced arena.
3794         (get_free_list, reused_arena): Update reference count and deattach
3795         replaced arena.
3796         (arena_thread_freeres): Update arena reference count and only put
3797         unreferenced arenas on the free list.
3799 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3801         [BZ #19181]
3802         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
3803         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
3804         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
3805         * math/test-fenv-clear-main.c: New file.
3806         * math/test-fenv-clear.c: Likewise.
3807         * math/Makefile (tests): Add test-fenv-clear.
3808         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
3809         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3810         test-fenv-clear-sse.
3811         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
3813         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
3814         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
3815         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
3817 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3819         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
3820         static libc.
3822 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3824         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
3825         test.
3826         * sysdeps/i386/configure: Regenerated.
3827         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
3828         test.
3829         * sysdeps/x86_64/configure: Regenerated.
3830         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
3831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3832         memset-avx2 unconditionally instead of conditionally on
3833         [$(config-cflags-avx2) = yes].
3834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3835         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
3836         unconditional.
3837         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
3838         * sysdeps/x86_64/multiarch/memset_chk.S
3839         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
3840         to [IS_IN (libc) && SHARED].
3842 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3844         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
3845         configure test.
3846         * sysdeps/arm/configure: Regenerated.
3847         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
3848         Define variable if not already defined.
3850         [BZ #17404]
3851         * sysdeps/mips/atomic-machine.h
3852         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
3853         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
3854         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3856         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
3857         unconditional.
3858         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
3859         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3860         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
3861         unconditional.
3862         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3863         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
3864         unconditional.
3865         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3866         * stdlib/setenv.c
3867         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
3868         code unconditional.
3869         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
3870         Remove conditional code.
3871         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3872         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
3873         unconditional.
3874         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3875         code.
3876         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3877         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
3878         unconditional.
3879         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3880         code.
3881         * sysdeps/ieee754/ldbl-128/k_tanl.c
3882         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3883         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3884         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3885         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3886         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3887         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3888         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
3889         unconditional.
3890         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
3891         code.
3892         * sysdeps/ieee754/ldbl-96/k_tanl.c
3893         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
3894         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3896         * nptl/tst-initializers1-c11.c: New file.
3897         * nptl/tst-initializers1-gnu11.c: Likewise.
3898         * nptl/Makefile (tests): Add these new tests.
3899         (CFLAGS-tst-initializers1-c11.c): New variable.
3900         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
3902         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
3903         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
3904         instead of -std=gnu99.
3905         * configure.ac (systemtap): Test with -std=gnu11 instead of
3906         -std=gnu99.
3907         * configure: Regenerated.
3908         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
3909         in compilation command in comment.
3911         * sysdeps/nptl/configure.ac: Remove file.
3912         * sysdeps/nptl/configure: Remove generated file.
3913         * configure.ac (libc_cv_forced_unwind): Do not substitute.
3914         * configure: Regenerated.
3915         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
3916         * config.make.in (have-forced-unwind): Remove variable.
3917         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3918         unconditional.
3919         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
3920         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
3921         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
3922         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
3923         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
3924         unconditional.
3926 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3928         [BZ #19174]
3929         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
3930         .skip_lock_out_of_tbegin_retries.
3931         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3932         (__lll_lock_elision): Likewise, and respect a value of
3933         try_tbegin <= 0.
3935 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3937         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
3938         statement.
3940 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3942         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
3943         variable.
3944         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3945         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3947         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
3948         of -std=c1x -D_ISOC11_SOURCE.
3950         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
3951         * configure: Regenerated.
3952         * manual/install.texi (Tools for Compilation): Document
3953         requirement for GCC 4.7 or later.
3954         * INSTALL: Regenerated.
3956 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
3958         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
3959         on CNT to a conditional jump to 'puntdata'.
3961 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
3963         * configure.ac (libc_cv_gcc___thread): Remove configure test.
3964         (libc_cv_gcc_tls_model_attr): Likewise.
3965         * configure: Regenerated.
3967         * configure.ac (libc_cv_need_minus_P): Remove configure test.
3968         * configure: Regenerated.
3969         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
3971 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
3973         * configure.ac (old_glibc_headers): Remove configure test.
3974         * configure: Regenerated.
3975         * config.make.in (old-glibc-headers): Remove variable.
3976         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
3977         (install): Remove dependency on remove-old-headers.
3978         (headers2_0): Remove variable.
3979         (remove-old-headers): Remove rule.
3981         * configure.ac (libc_cv_dot_text): Remove configure test.
3982         (libc_cv_asm_set_directive): Use .text instead of
3983         ${libc_cv_dot_text} in configure test.
3984         * configure: Regenerated.
3986 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3988         [BZ #19168]
3989         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3991 2015-10-26  Florian Weimer  <fweimer@redhat.com>
3993         * configure.ac (CXX): Clear the variable if the C++ toolchain does
3994         not support static linking.
3995         * configure: Regenerate.
3997 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
3999         * math/libm-test.inc (check_float_internal): Do not special-case
4000         errors up to 0.5 ulp.
4002         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4003         log2.
4004         * math/auto-libm-test-out: Regenerated.
4005         * math/libm-test.inc (MAX_EXP): New macro.
4006         (ilogb_test_data): Add more tests.
4007         (isfinite_test_data): Likewise.
4008         (isgreater_test_data): Likewise.
4009         (isgreaterequal_test_data): Likewise.
4010         (isinf_test_data): Likewise.
4011         (isless_test_data): Likewise.
4012         (islessequal_test_data): Likewise.
4013         (islessgreater_test_data): Likewise.
4014         (isnan_test_data): Likewise.
4015         (isnormal_test_data): Likewise.
4016         (issignaling_test_data): Likewise.
4017         (isunordered_test_data): Likewise.
4018         (j0_test_data): Likewise.
4019         (j1_test_data): Likewise.
4020         (jn_test_data): Likewise.
4021         (lgamma_test_data): Likewise.
4022         (log_test_data): Likewise.
4023         (log10_test_data): Likewise.
4024         (log1p_test_data): Likewise.
4025         (log2_test_data): Likewise.
4026         (logb_test_data): Likewise.
4027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4029         [BZ #18611]
4030         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4031         avoid excess range and precision on underflow.
4032         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4033         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4034         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4035         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4036         underflow.
4037         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4038         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4039         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4040         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4041         * math/auto-libm-test-in: Do not allow missing errno setting for
4042         tests of j1 and jn.
4043         * math/auto-libm-test-out: Regenerated.
4045 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
4047         [BZ #15491]
4048         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4049         floating-point environment instead of clearing all exceptions.
4050         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4051         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4052         merging in "invalid" exceptions from frndint.
4053         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4054         * math/test-nearbyint-except.c: New file.
4055         * math/Makefile (tests): Add test-nearbyint-except.
4057 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
4059         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4061         * sysdeps/tile/libm-test-ulps: Regenerated.
4063 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4066         (__NR_sync_file_range2): Assume it is always defined.
4067         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4068         (__NR_sync_file_range): Assume it is always defined.
4070 2015-10-22  Andreas Schwab  <schwab@suse.de>
4072         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4073         INTERNAL_SYSCALL_ERRNO.
4074         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4075         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4076         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4077         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4078         Likewise.
4079         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4081 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4083         * io/tst-fcntl.c (fd): New static variable.
4084         (do_prepare): Open temporary file here....
4085         (do_test): ...not here.
4087         * io/ftwtest-sh: Also trap on exit to remove temporary files.
4089 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4091         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4092         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4093         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4094         Moved before "#ifdef __ASSEMBLER__".
4096 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4098         [BZ #19156]
4099         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4100         arguments very close to 0.
4102 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
4104         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4105         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4107 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4109         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4110         New.  Defined for GCC 5 and above when not compiling for
4111         profiling.
4112         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4114         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4115         Renamed to ...
4116         (CFLAGS-epoll_pwait.o): This.
4117         (CFLAGS-mmap.c): Renamed to ...
4118         (CFLAGS-mmap.o): This.
4119         (CFLAGS-mmap64.c): Renamed to ...
4120         (CFLAGS-mmap64.o): This.
4121         (CFLAGS-epoll_pwait.os): New.
4122         (CFLAGS-mmap.os): Likewise.
4123         (CFLAGS-mmap64.os): Likewise.
4124         (CFLAGS-semtimedop.os): Likewise.
4125         (CFLAGS-semtimedop.c): Renamed to ...
4126         (CFLAGS-semtimedop.o): This.
4128 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4130         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4131         warning message.
4133 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4135         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4136         * Makefile ($(objpfx)c++-types-check.out): Filter out
4137         $(+gccwarn-c) instead of -Wstrict-prototypes.
4139         * io/fts.c (fts_open): Convert to prototype-style function
4140         definition.
4141         * malloc/mcheck.c (mcheck): Likewise.
4142         (mcheck_pedantic): Likewise.
4143         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4144         internal_function.
4145         (re_search_internal): Likewise.
4146         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4147         prototype-style function definition.
4148         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4149         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4150         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4151         (xdr_utmpptr): Likewise.
4152         (xdr_utmparr): Likewise.
4153         (xdr_utmpidle): Likewise.
4154         (xdr_utmpidleptr): Likewise.
4155         (xdr_utmpidlearr): Likewise.
4157         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4158         log, log10 and log2.
4159         * math/auto-libm-test-out: Regenerated.
4160         * math/libm-test.inc (fmod_test_data): Add more tests.
4161         (fpclassify_test_data): Likewise.
4162         (frexp_test_data): Likewise.
4163         (hypot_test_data): Likewise.
4164         (ilogb_test_data): Likewise.
4166 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4168         * debug/fortify_fail.c (__fortify_fail): Convert to
4169         prototype-style function definition.  Use internal_function.
4170         * libio/genops.c (save_for_backup): Convert to prototype-style
4171         function definition.
4172         * libio/wgenops.c (save_for_wbackup): Likewise.
4173         * login/grantpt.c (grantpt): Likewise.
4174         * login/ptsname.c (ptsname): Likewise.
4175         (__ptsname_r): Likewise.
4176         * login/unlockpt.c (unlockpt): Likewise.
4177         * mach/msgserver.c (__mach_msg_server): Likewise.
4178         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4179         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4180         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4181         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4182         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4183         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4184         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4185         Likewise.
4186         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4187         internal_function.
4188         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4189         prototype-style function definition.
4190         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4191         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4192         (__pthread_create_2_0): Likewise.
4193         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4194         * nptl/register-atfork.c (__register_atfork): Likewise.
4195         * posix/glob.c (glob): Likewise.
4196         * posix/regcomp.c (re_comp): Likewise.
4197         * posix/regexec.c (re_exec): Likewise.
4198         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4199         [!__STDC__]: Remove conditional code.
4200         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4201         [!__STDC__]: Remove conditional code.
4202         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4203         [!__STDC__]: Remove conditional code.
4204         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4205         [!__STDC__]: Remove conditional code.
4206         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4207         [!__STDC__]: Remove conditional code.
4208         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4209         [!__STDC__]: Remove conditional code.
4210         * stdlib/mul.c [__STDC__]: Make code unconditional.
4211         [!__STDC__]: Remove conditional code.
4212         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4213         [!__STDC__]: Remove conditional code.
4214         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4215         [!__STDC__]: Remove conditional code.
4216         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4217         function definition.
4218         (STRTOF): Likewise.
4219         * stdlib/strtod_l.c (__STRTOF): Likewise.
4220         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4221         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4222         (__strtol_l): Likewise.
4223         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4224         [!__STDC__]: Remove conditional code.
4225         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4226         definition.
4227         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4228         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4229         type.
4230         (__strcasecmp): Convert to prototype-style function definition.
4231         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4232         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4233         type.
4234         (__strncasecmp): Convert to prototype-style function definition.
4235         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4236         * sunrpc/xdr.c (xdr_union): Likewise.
4237         * sunrpc/xdr_array.c (xdr_array): Likewise.
4238         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4239         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4240         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4241         Likewise.
4242         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4243         Likewise.
4244         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4245         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4246         Likewise.
4247         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4248         (LOCALE_PARAM_PROTO): Likewise.
4249         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4250         argument type.
4251         (ut_argument_spec): Remove macro.
4252         (ut_argument_spec_iso): Rename to ut_argument_spec.
4253         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4254         prototype-style function definition.
4255         (memcpy_uppcase): Likewise.
4256         (__strftime_internal): Likewise.
4257         (my_strftime): Likewise.
4258         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4259         (LOCALE_PARAM_DECL): Likewise.
4260         [_LIBC] (LOCALE_PARAM): Include argument type.
4261         (__strptime_internal): Convert to prototype-style function
4262         definition.
4263         (strptime): Likewise.
4264         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4265         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4266         type.
4267         (__wcscasecmp): Convert to prototype-style function definition.
4268         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4269         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4270         type.
4271         (__wcsncasecmp): Convert to prototype-style function definition.
4273         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4274         function definition.
4275         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4276         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4277         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4278         * elf/dl-minimal.c (_itoa): Likewise.
4279         * hurd/hurdmalloc.c (malloc): Likewise.
4280         (free): Likewise.
4281         (realloc): Likewise.
4282         * inet/inet6_option.c (inet6_option_space): Likewise.
4283         (inet6_option_init): Likewise.
4284         (inet6_option_append): Likewise.
4285         (inet6_option_alloc): Likewise.
4286         (inet6_option_next): Likewise.
4287         (inet6_option_find): Likewise.
4288         * io/ftw.c (FTW_NAME): Likewise.
4289         (NFTW_NAME): Likewise.
4290         (NFTW_NEW_NAME): Likewise.
4291         (NFTW_OLD_NAME): Likewise.
4292         * libio/iofwide.c (_IO_fwide): Likewise.
4293         * libio/strops.c (_IO_str_init_static_internal): Likewise.
4294         (_IO_str_init_static): Likewise.
4295         (_IO_str_init_readonly): Likewise.
4296         (_IO_str_overflow): Likewise.
4297         (_IO_str_underflow): Likewise.
4298         (_IO_str_count): Likewise.
4299         (_IO_str_seekoff): Likewise.
4300         (_IO_str_pbackfail): Likewise.
4301         (_IO_str_finish): Likewise.
4302         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4303         (_IO_wstr_overflow): Likewise.
4304         (_IO_wstr_underflow): Likewise.
4305         (_IO_wstr_count): Likewise.
4306         (_IO_wstr_seekoff): Likewise.
4307         (_IO_wstr_pbackfail): Likewise.
4308         (_IO_wstr_finish): Likewise.
4309         * locale/programs/localedef.c (normalize_codeset): Likewise.
4310         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4311         (add_locales_to_archive): Likewise.
4312         (delete_locales_from_archive): Likewise.
4313         * malloc/malloc.c (__libc_mallinfo): Likewise.
4314         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4315         * misc/tsearch.c (__tfind): Likewise.
4316         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4317         * nptl/pthread_attr_getdetachstate.c
4318         (__pthread_attr_getdetachstate): Likewise.
4319         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4320         Likewise.
4321         * nptl/pthread_attr_getinheritsched.c
4322         (__pthread_attr_getinheritsched): Likewise.
4323         * nptl/pthread_attr_getschedparam.c
4324         (__pthread_attr_getschedparam): Likewise.
4325         * nptl/pthread_attr_getschedpolicy.c
4326         (__pthread_attr_getschedpolicy): Likewise.
4327         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4328         Likewise.
4329         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4330         Likewise.
4331         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4332         Likewise.
4333         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4334         Likewise.
4335         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4336         (__pthread_attr_init_2_0): Likewise.
4337         * nptl/pthread_attr_setdetachstate.c
4338         (__pthread_attr_setdetachstate): Likewise.
4339         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4340         Likewise.
4341         * nptl/pthread_attr_setinheritsched.c
4342         (__pthread_attr_setinheritsched): Likewise.
4343         * nptl/pthread_attr_setschedparam.c
4344         (__pthread_attr_setschedparam): Likewise.
4345         * nptl/pthread_attr_setschedpolicy.c
4346         (__pthread_attr_setschedpolicy): Likewise.
4347         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4348         Likewise.
4349         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4350         Likewise.
4351         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4352         Likewise.
4353         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4354         Likewise.
4355         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4356         Likewise.
4357         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4358         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4359         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4360         use internal_function.
4361         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4362         prototype-style function definition.
4363         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4364         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4365         internal_function.
4366         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4367         Convert to prototype-style function definition.
4368         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4369         Likewise.
4370         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4371         Likewise.
4372         (__pthread_mutex_unlock): Likewise.
4373         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4374         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4375         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4376         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4377         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4378         * nss/makedb.c (process_input): Likewise.
4379         * posix/fnmatch.c (__strchrnul): Likewise.
4380         (__wcschrnul): Likewise.
4381         (fnmatch): Likewise.
4382         * posix/fnmatch_loop.c (FCT): Likewise.
4383         * posix/glob.c (globfree): Likewise.
4384         (__glob_pattern_type): Likewise.
4385         (__glob_pattern_p): Likewise.
4386         * posix/regcomp.c (re_compile_pattern): Likewise.
4387         (re_set_syntax): Likewise.
4388         (re_compile_fastmap): Likewise.
4389         (regcomp): Likewise.
4390         (regerror): Likewise.
4391         (regfree): Likewise.
4392         * posix/regexec.c (regexec): Likewise.
4393         (re_match): Likewise.
4394         (re_search): Likewise.
4395         (re_match_2): Likewise.
4396         (re_search_2): Likewise.
4397         (re_search_stub): Likewise.  Use internal_function
4398         (re_copy_regs): Likewise.
4399         (re_set_registers): Convert to prototype-style function
4400         definition.
4401         (prune_impossible_nodes): Likewise.  Use internal_function.
4402         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4403         prototype-style function definition.
4404         (inet_net_pton_ipv4): Likewise.
4405         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4406         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4407         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4408         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4409         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4410         Make variadic.
4411         * time/strptime_l.c (localtime_r): Convert to prototype-style
4412         function definition.
4413         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4414         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4415         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4416         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4418         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4419         definition.
4420         (_ufc_doit_r): Likewise.
4421         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4422         (_ufc_output_conversion_r): Likewise.
4423         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4424         * inet/rcmd.c (rcmd_af): Likewise.
4425         (rcmd): Likewise.
4426         (ruserok_af): Likewise.
4427         (ruserok): Likewise.
4428         (ruserok2_sa): Likewise.
4429         (ruserok_sa): Likewise.
4430         (iruserok_af): Likewise.
4431         (iruserok): Likewise.
4432         (__ivaliduser): Likewise.
4433         (__validuser2_sa): Likewise.
4434         * inet/rexec.c (rexec_af): Likewise.
4435         (rexec): Likewise.
4436         * inet/ruserpass.c (ruserpass): Likewise.
4437         * locale/programs/xmalloc.c (xcalloc): Likewise.
4438         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4439         * math/w_drem.c (__drem): Likewise.
4440         * math/w_dremf.c (__dremf): Likewise.
4441         * math/w_dreml.c (__dreml): Likewise.
4442         * misc/daemon.c (daemon): Likewise.
4443         * resolv/res_debug.c (p_fqnname): Likewise.
4444         * stdlib/div.c (div): Likewise.
4445         * string/memcmp.c (memcmp_bytes): Likewise.
4446         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4447         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4449         * crypt/cert.c (main): Convert to prototype-style function
4450         definition.
4451         * io/pipe.c (__pipe): Likewise.
4452         * io/pipe2.c (__pipe2): Likewise.
4453         * misc/futimesat.c (futimesat): Likewise.
4454         * misc/utimes.c (__utimes): Likewise.
4455         * posix/execve.c (__execve): Likewise.
4456         * posix/execvp.c (execvp): Likewise.
4457         * posix/execvpe.c (__execvpe): Likewise.
4458         * posix/fexecve.c (fexecve): Likewise.
4459         * socket/socketpair.c (socketpair): Likewise.
4460         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4461         * stdlib/erand48.c (erand48): Likewise.
4462         * stdlib/erand48_r.c (__erand48_r): Likewise.
4463         * stdlib/jrand48.c (jrand48): Likewise.
4464         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4465         * stdlib/lcong48.c (lcong48): Likewise.
4466         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4467         * stdlib/nrand48.c (nrand48): Likewise.
4468         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4469         * stdlib/seed48.c (seed48): Likewise.
4470         * stdlib/seed48_r.c (__seed48_r): Likewise.
4471         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4472         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4473         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4475 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4477         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4478         * configure: Regenerated.
4479         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4480         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4481         unconditional.
4482         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4483         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4484         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4485         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4486         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4487         unconditional.
4488         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4490         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4491         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4493         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4494         function definition.
4495         * crypt/crypt_util.c (__encrypt_r): Likewise.
4496         * libio/genops.c (_IO_no_init): Likewise.
4497         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4498         (_IO_old_fopencookie): Likewise.
4499         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4500         * libio/iogetline.c (_IO_getline): Likewise.
4501         (_IO_getline_info): Likewise.
4502         * libio/iogetwline.c (_IO_getwline): Likewise.
4503         (_IO_getwline_info): Likewise.
4504         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4505         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4506         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4507         (find_entry): Likewise.
4508         (iterate_table): Likewise.
4509         (lookup): Likewise.
4510         * login/forkpty.c (forkpty): Likewise.
4511         * misc/hsearch_r.c (__hsearch_r): Likewise.
4512         * misc/select.c (__select): Likewise.
4513         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4514         Likewise.
4515         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4516         Likewise.
4517         * nptl/old_pthread_cond_timedwait.c
4518         (__pthread_cond_timedwait_2_0): Likewise.
4519         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4520         * nptl/pthread_barrierattr_getpshared.c
4521         (pthread_barrierattr_getpshared): Likewise.
4522         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4523         Likewise.
4524         * nptl/pthread_mutex_setprioceiling.c
4525         (pthread_mutex_setprioceiling): Likewise.
4526         * nptl/pthread_mutexattr_getprioceiling.c
4527         (pthread_mutexattr_getprioceiling): Likewise.
4528         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4529         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4530         Likewise.
4531         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4532         Likewise.
4533         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4534         Likewise.
4535         * socket/recvfrom.c (__recvfrom): Likewise.
4536         * socket/sendto.c (__sendto): Likewise.
4537         * socket/setsockopt.c (__setsockopt): Likewise.
4538         * stdio-common/_itoa.c (_itoa): Likewise.
4539         * stdio-common/_itowa.c (_itowa): Likewise.
4540         * stdio-common/reg-printf.c (__register_printf_specifier):
4541         Likewise.
4542         (__register_printf_function): Likewise.
4543         * stdio-common/tempname.c (__path_search): Likewise.
4544         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4545         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4546         * stdlib/random_r.c (__initstate_r): Likewise.
4547         * stdlib/setenv.c (__add_to_environ): Likewise.
4548         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4549         * streams/getpmsg.c (getpmsg): Likewise.
4550         * streams/putmsg.c (putmsg): Likewise.
4551         * streams/putpmsg.c (putpmsg): Likewise.
4552         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4553         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4554         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4555         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4556         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4557         * sunrpc/svc_udp.c (cache_get): Likewise.
4558         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4559         * sysdeps/mach/hurd/getcwd.c
4560         (__canonicalize_directory_name_internal): Likewise.
4561         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4562         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4563         * sysdeps/mach/hurd/select.c (__select): Likewise.
4564         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4565         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4566         * sysdeps/sparc/nptl/pthread_barrier_init.c
4567         (__pthread_barrier_init): Likewise.
4568         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4569         (__pthread_cond_timedwait): Likewise.
4570         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4571         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4572         Likewise.
4573         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4574         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4575         Likewise.
4576         * sysvipc/semtimedop.c (semtimedop): Likewise.
4577         * time/setitimer.c (__setitimer): Likewise.
4578         * time/strftime_l.c (emacs_strftime): Likewise.
4580 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4582         * config.make.in (have-ssp): Delete.
4583         (stack-protector): New variable.
4584         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4585         cache test for -fstack-protector-strong.  Export stack_protector to
4586         the best ssp flag.
4587         * configure: Regenerated.
4588         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4589         * nscd/Makefile (CFLAGS-nscd): Likewise.
4590         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4592 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4594         [BZ #19122]
4595         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4596         attribute_hidden.
4598 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4600         [BZ #18743]
4601         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4602         code to...
4603         (ELIDE_LOCK): ...here.
4604         (__get_new_count): New function with part of the code from
4605         __elide_lock that updates the value of adapt_count after a
4606         transaction abort.
4607         (__elided_trylock): Moved this code to...
4608         (ELIDE_TRYLOCK): ...here.
4610 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4612         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4613         * configure: Regenerate.
4614         * INSTALL: Regenerate.
4615         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4616         and tweak grammar.
4618 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4620         * login/programs/pt_chown.c: Include signal.h
4621         (main): Clear any signal mask from the parent process.
4623 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4625         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4626         * configure: Regenerated.
4627         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4628         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4629         $(gnu89-inline-CFLAGS).
4631         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4632         test.
4633         (libc_cv_asm_weakext_directive): Likewise.
4634         * configure: Regenerated.
4635         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4636         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4637         * include/libc-symbols.h
4638         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4639         #error.
4640         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4641         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4643         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4644         prototype-style function definition.
4645         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4646         * sysdeps/i386/ffs.c (__ffs): Likewise.
4647         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4648         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4649         Likewise.
4650         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4651         Likewise.
4652         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4653         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4654         Likewise.
4655         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4656         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4657         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4658         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4659         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4660         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4661         * sysdeps/mach/hurd/access.c (__access): Likewise.
4662         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4663         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4664         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4665         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4666         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4667         (cthread_getspecific): Likewise.
4668         (cthread_setspecific): Likewise.
4669         (__libc_getspecific): Likewise.
4670         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4671         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4672         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4673         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4674         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4675         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4676         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4677         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4678         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4679         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4680         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4681         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4682         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4683         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4684         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4685         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4686         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4687         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4688         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4689         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4690         * sysdeps/mach/hurd/link.c (__link): Likewise.
4691         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4692         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4693         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4694         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4695         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4696         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4697         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4698         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4699         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4700         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4701         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4702         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4703         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4704         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4705         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4706         * sysdeps/mach/hurd/send.c (__send): Likewise.
4707         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4708         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4709         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4710         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4711         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4712         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4713         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4714         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4715         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4716         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4717         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4718         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4719         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4720         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4721         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4722         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4723         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4724         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4725         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4726         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4727         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4728         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4729         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4730         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4731         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4732         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4733         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4734         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4735         * sysdeps/posix/alarm.c (alarm): Likewise.
4736         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4737         * sysdeps/posix/dirfd.c (dirfd): Likewise.
4738         * sysdeps/posix/dup.c (__dup): Likewise.
4739         * sysdeps/posix/dup2.c (__dup2): Likewise.
4740         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4741         (main): Likewise.
4742         * sysdeps/posix/flock.c (__flock): Likewise.
4743         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4744         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4745         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4746         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4747         * sysdeps/posix/isatty.c (__isatty): Likewise.
4748         * sysdeps/posix/killpg.c (killpg): Likewise.
4749         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4750         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4751         * sysdeps/posix/raise.c (raise): Likewise.
4752         * sysdeps/posix/remove.c (remove): Likewise.
4753         * sysdeps/posix/rename.c (rename): Likewise.
4754         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4755         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4756         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4757         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4758         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4759         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4760         * sysdeps/posix/sigset.c (sigset): Likewise.
4761         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4762         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4763         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4764         * sysdeps/posix/time.c (time): Likewise.
4765         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4766         (ttyname): Likewise.
4767         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4768         * sysdeps/posix/utime.c (utime): Likewise.
4769         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4770         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4771         Likewise.
4772         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4773         (pthread_spin_trylock): Likewise.
4774         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4775         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4776         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4777         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4778         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4779         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4780         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4781         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4782         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4783         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4784         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4785         * sysdeps/s390/ffs.c (__ffs): Likewise.
4786         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4787         Likewise.
4788         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4789         Likewise.
4790         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4791         Likewise.
4792         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4793         (pthread_barrier_destroy): Likewise.
4794         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4795         (__pthread_barrier_wait): Likewise.
4796         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4797         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4798         (__pthread_barrier_wait): Likewise.
4799         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
4800         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
4801         (memcmp_not_common_alignment): Likewise.
4802         (MEMCMP): Likewise.
4803         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
4804         (_wordcopy_fwd_dest_aligned): Likewise.
4805         (_wordcopy_bwd_aligned): Likewise.
4806         (_wordcopy_bwd_dest_aligned): Likewise.
4807         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
4808         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
4809         * sysdeps/unix/bsd/stty.c (stty): Likewise.
4810         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
4811         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
4812         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
4813         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
4814         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
4815         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
4816         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
4817         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
4818         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4819         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
4820         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
4821         * sysdeps/unix/stime.c (stime): Likewise.
4822         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
4823         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
4824         Likewise.  Use internal_function.
4825         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
4826         Convert to prototype-style function definition.
4827         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4828         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4829         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
4830         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4831         Likewise.  Use internal_function.
4832         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
4833         prototype-style function definition
4834         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4835         Likewise.
4836         (__getlogin_r): Likewise.
4837         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
4838         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
4839         (__pthread_cond_broadcast): Likewise.
4840         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
4841         (__pthread_cond_destroy): Likewise.
4842         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
4843         (__pthread_cond_init): Likewise.
4844         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
4845         (__pthread_cond_signal): Likewise.
4846         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4847         (__pthread_cond_wait): Likewise.
4848         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
4849         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4850         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
4851         Likewise.
4852         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
4853         Likewise.
4854         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
4855         Likewise.
4856         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
4857         Likewise.
4858         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
4859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
4860         (__ftruncate64): Likewise.
4861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
4862         (truncate64): Likewise.
4863         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
4864         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
4865         (pthread_getcpuclockid): Likewise.
4866         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
4867         Likewise.
4868         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
4869         Likewise.
4870         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
4871         Likewise.
4872         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
4873         Likewise.
4874         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
4875         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
4876         (__libc_sigaction): Likewise.
4877         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
4878         Likewise.
4879         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
4880         (__sigprocmask): Likewise.
4881         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
4882         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
4883         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
4884         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4885         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4886         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
4887         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4888         Likewise.
4889         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4890         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4891         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4892         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
4893         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
4894         Likewise.
4895         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
4896         (__sigprocmask): Likewise.
4897         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
4898         (cfgetispeed): Likewise.
4899         (cfsetospeed): Likewise.
4900         (cfsetispeed): Likewise.
4901         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
4902         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
4903         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4904         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4905         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
4906         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
4907         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
4908         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
4909         Likewise.
4910         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
4911         Likewise.
4912         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
4913         Likewise.
4914         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
4915         Likewise.
4916         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
4918 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4920         sunrpc: Rewrite with explicit TLS access using __thread.
4921         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
4922         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
4923         directly.
4924         (__rpc_thread_variables): Access thread_rpc_vars directly.
4925         Eliminate redundant assignment of the tvp variable.
4927 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4929         malloc: Rewrite with explicit TLS access using __thread.
4930         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
4931         (tsd_setspecific, tsd_getspecific): Remove.
4932         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
4933         (tsd_setspecific, tsd_getspecific): Likewise.
4934         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
4935         (tsd_setspecific, tsd_getspecific): Likewise.
4936         * malloc/arena.c (thread_arena): New TLS variable.
4937         (arena_key): Remove variable.
4938         (arena_get): Use thread_arena.
4939         (arena_lookup): Remove macro.
4940         (malloc_atfork, free_atfork, ptmalloc_lock_all)
4941         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
4942         (_int_new_arena, get_free_list, reused_arena)
4943         (arena_thread_freeres): Use thread_arena.
4944         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
4945         tsd_getspecific, tsd_setspecific from safety annotations.
4946         (Allocating Cleared Space): Remove arena_lookup from safety
4947         annotations.
4949 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4951         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
4952         struct scratch_buffer instead of extend_alloca.
4954 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4956         * sysdeps/unix/sysv/linux/kernel-features.h
4957         (__ASSUME_SOCK_CLOEXEC): Remove.
4958         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
4959         (__have_paccept): Remove unused macro.
4960         * include/unistd.h (__have_sock_cloexec): Remove declaration.
4961         * misc/syslog.c (openlog_internal): Remove fallback code for
4962         !__ASSUME_SOCK_CLOEXEC.
4963         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
4964         missing SOCK_CLOEXEC.
4965         * nscd/connections.c (have_sock_cloexec): Remove definition.
4966         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4967         * nscd/nscd_helper.c (open_socket): Remove fallback code for
4968         !__ASSUME_SOCK_CLOEXEC.
4969         * resolv/res_send.c (__have_o_nonblock): Remove definition.
4970         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
4971         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
4972         definition.
4973         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
4974         code for !__ASSUME_SOCK_CLOEXEC.
4976 2015-10-17  Florian Weimer  <fweimer@redhat.com>
4978         [BZ #18982]
4979         * manual/stdio.texi (Variable Arguments Output): Add portability
4980         note, explaining that vfprintf clobbers the va_list pointer.
4982 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4984         * math/libm-test.inc (fabs_test_data): Add more tests.
4985         (fdim_test_data): Likewise.
4986         (fma_test_data): Likewise.
4987         (fmax_test_data): Likewise.
4988         (fmin_test_data): Likewise.
4989         (fmod_test_data): Likewise.
4991 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
4993         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
4994         data.
4996 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
4998         * math/libm-test.inc (ceil_test_data): Add more tests and more
4999         expectations for "inexact".
5000         (floor_test_data): Add more tests.
5001         (round_test_data): Likewise.
5002         (trunc_test_data): Likewise.
5004         * crypt/cert.c (good_bye): Convert to prototype-style function
5005         definition.
5006         (get8): Likewise.
5007         (put8): Likewise.
5008         * crypt/crypt-entry.c (crypt): Likewise.
5009         (__fcrypt): Likewise.
5010         * crypt/crypt_util.c (_ufc_prbits): Likewise.
5011         (_ufc_set_bits): Likewise.
5012         (_ufc_clearmem): Likewise.
5013         (__init_des_r): Likewise.
5014         (shuffle_sb): Likewise.
5015         (shuffle_sb): Likewise.
5016         (_ufc_setup_salt_r): Likewise.
5017         (_ufc_mk_keytab_r): Likewise.
5018         (_ufc_dofinalperm_r): Likewise.
5019         (encrypt): Likewise.
5020         (__setkey_r): Likewise.
5021         (setkey): Likewise.
5022         * crypt/md5.c (md5_init_ctx): Likewise.
5023         (md5_read_ctx): Likewise.
5024         (md5_finish_ctx): Likewise.
5025         (md5_stream): Likewise.
5026         (md5_buffer): Likewise.
5027         (md5_process_bytes): Likewise.
5028         * crypt/sha256.c (__sha256_init_ctx): Likewise.
5029         (__sha256_finish_ctx): Likewise.
5030         (__sha256_process_bytes): Likewise.
5031         * crypt/sha512.c (__sha512_init_ctx): Likewise.
5032         (__sha512_finish_ctx): Likewise.
5033         (__sha512_process_bytes): Likewise.
5034         * ctype/isctype.c (__isctype): Likewise.
5035         * debug/backtrace.c (__backtrace): Likewise.
5036         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5037         * debug/fgets_chk.c (__fgets_chk): Likewise.
5038         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5039         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5040         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5041         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5042         * debug/memset_chk.c (__memset_chk): Likewise.
5043         * debug/strcat_chk.c (__strcat_chk): Likewise.
5044         * debug/strncat_chk.c (__strncat_chk): Likewise.
5045         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5046         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5047         * dirent/dirfd.c (dirfd): Likewise.
5048         * dirent/getdents.c (__getdirentries): Likewise.
5049         * dirent/getdents64.c (getdirentries64): Likewise.
5050         * dirent/rewinddir.c (__rewinddir): Likewise.
5051         * dirent/seekdir.c (seekdir): Likewise.
5052         * dirent/telldir.c (telldir): Likewise.
5053         * elf/sln.c (makesymlinks): Likewise.
5054         (makesymlink): Likewise.
5055         * gmon/gmon.c (__moncontrol): Likewise.
5056         (__monstartup): Likewise.
5057         (write_hist): Likewise.
5058         (write_call_graph): Likewise.
5059         (write_bb_counts): Likewise.
5060         * grp/setgroups.c (setgroups): Likewise.
5061         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5062         * inet/inet_net.c (inet_network): Likewise.
5063         * inet/inet_netof.c (inet_netof): Likewise.
5064         * inet/rcmd.c (rresvport_af): Likewise.
5065         (rresvport): Likewise.
5066         * io/access.c (__access): Likewise.
5067         * io/chdir.c (__chdir): Likewise.
5068         * io/chmod.c (__chmod): Likewise.
5069         * io/chown.c (__chown): Likewise.
5070         * io/close.c (__close): Likewise.
5071         * io/creat.c (creat): Likewise.
5072         * io/creat64.c (creat64): Likewise.
5073         * io/dup.c (__dup): Likewise.
5074         * io/dup2.c (__dup2): Likewise.
5075         * io/dup3.c (__dup3): Likewise.
5076         * io/euidaccess.c (__euidaccess): Likewise.
5077         * io/faccessat.c (faccessat): Likewise.
5078         * io/fchmod.c (__fchmod): Likewise.
5079         * io/fchmodat.c (fchmodat): Likewise.
5080         * io/fchown.c (__fchown): Likewise.
5081         * io/fchownat.c (fchownat): Likewise.
5082         * io/fcntl.c (__fcntl): Likewise.
5083         * io/flock.c (__flock): Likewise.
5084         * io/fts.c (fts_load): Likewise.
5085         (fts_close): Likewise.
5086         (fts_read): Likewise.
5087         (fts_set): Likewise.
5088         (fts_children): Likewise.
5089         (fts_build): Likewise.
5090         (fts_stat): Likewise.
5091         (fts_sort): Likewise.
5092         (fts_alloc): Likewise.
5093         (fts_lfree): Likewise.
5094         (fts_palloc): Likewise.
5095         (fts_padjust): Likewise.
5096         (fts_maxarglen): Likewise.
5097         (fts_safe_changedir): Likewise.
5098         * io/getwd.c (getwd): Likewise.
5099         * io/isatty.c (__isatty): Likewise.
5100         * io/lchown.c (__lchown): Likewise.
5101         * io/link.c (__link): Likewise.
5102         * io/linkat.c (linkat): Likewise.
5103         * io/lseek.c (__libc_lseek): Likewise.
5104         * io/mkdir.c (__mkdir): Likewise.
5105         * io/mkdirat.c (mkdirat): Likewise.
5106         * io/mkfifo.c (mkfifo): Likewise.
5107         * io/mkfifoat.c (mkfifoat): Likewise.
5108         * io/open.c (__libc_open): Likewise.
5109         * io/open64.c (__libc_open64): Likewise.
5110         * io/readlink.c (__readlink): Likewise.
5111         * io/readlinkat.c (readlinkat): Likewise.
5112         * io/rmdir.c (__rmdir): Likewise.
5113         * io/symlink.c (__symlink): Likewise.
5114         * io/symlinkat.c (symlinkat): Likewise.
5115         * io/ttyname.c (ttyname): Likewise.
5116         * io/ttyname_r.c (__ttyname_r): Likewise.
5117         * io/umask.c (__umask): Likewise.
5118         * io/unlink.c (__unlink): Likewise.
5119         * io/unlinkat.c (unlinkat): Likewise.
5120         * io/utime.c (utime): Likewise.
5121         * libio/clearerr.c (clearerr): Likewise.
5122         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5123         * libio/feof.c (_IO_feof): Likewise.
5124         * libio/feof_u.c (feof_unlocked): Likewise.
5125         * libio/ferror.c (_IO_ferror): Likewise.
5126         * libio/ferror_u.c (ferror_unlocked): Likewise.
5127         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5128         * libio/fileno.c (__fileno): Likewise.
5129         * libio/fputc.c (fputc): Likewise.
5130         * libio/fputc_u.c (fputc_unlocked): Likewise.
5131         * libio/fputwc.c (fputwc): Likewise.
5132         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5133         * libio/freopen.c (freopen): Likewise.
5134         * libio/freopen64.c (freopen64): Likewise.
5135         * libio/fseek.c (fseek): Likewise.
5136         * libio/fseeko.c (fseeko): Likewise.
5137         * libio/fseeko64.c (fseeko64): Likewise.
5138         * libio/ftello.c (__ftello): Likewise.
5139         * libio/ftello64.c (ftello64): Likewise.
5140         * libio/fwide.c (fwide): Likewise.
5141         * libio/genops.c (_IO_un_link): Likewise.
5142         (_IO_link_in): Likewise.
5143         (_IO_least_marker): Likewise.
5144         (_IO_switch_to_main_get_area): Likewise.
5145         (_IO_switch_to_backup_area): Likewise.
5146         (_IO_switch_to_get_mode): Likewise.
5147         (_IO_free_backup_area): Likewise.
5148         (_IO_switch_to_put_mode): Likewise.
5149         (__overflow): Likewise.
5150         (__underflow): Likewise.
5151         (__uflow): Likewise.
5152         (_IO_setb): Likewise.
5153         (_IO_doallocbuf): Likewise.
5154         (_IO_default_underflow): Likewise.
5155         (_IO_default_uflow): Likewise.
5156         (_IO_default_xsputn): Likewise.
5157         (_IO_sgetn): Likewise.
5158         (_IO_default_xsgetn): Likewise.
5159         (_IO_sync): Likewise.
5160         (_IO_default_setbuf): Likewise.
5161         (_IO_default_seekpos): Likewise.
5162         (_IO_default_doallocate): Likewise.
5163         (_IO_init): Likewise.
5164         (_IO_old_init): Likewise.
5165         (_IO_default_sync): Likewise.
5166         (_IO_default_finish): Likewise.
5167         (_IO_default_seekoff): Likewise.
5168         (_IO_sputbackc): Likewise.
5169         (_IO_sungetc): Likewise.
5170         (_IO_set_column): Likewise.
5171         (_IO_set_column): Likewise.
5172         (_IO_adjust_column): Likewise.
5173         (_IO_get_column): Likewise.
5174         (_IO_init_marker): Likewise.
5175         (_IO_remove_marker): Likewise.
5176         (_IO_marker_difference): Likewise.
5177         (_IO_marker_delta): Likewise.
5178         (_IO_seekmark): Likewise.
5179         (_IO_unsave_markers): Likewise.
5180         (_IO_nobackup_pbackfail): Likewise.
5181         (_IO_default_pbackfail): Likewise.
5182         (_IO_default_seek): Likewise.
5183         (_IO_default_stat): Likewise.
5184         (_IO_default_read): Likewise.
5185         (_IO_default_write): Likewise.
5186         (_IO_default_showmanyc): Likewise.
5187         (_IO_default_imbue): Likewise.
5188         (_IO_iter_next): Likewise.
5189         (_IO_iter_file): Likewise.
5190         * libio/getc.c (_IO_getc): Likewise.
5191         * libio/getwc.c (_IO_getwc): Likewise.
5192         * libio/iofclose.c (_IO_new_fclose): Likewise.
5193         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5194         * libio/iofflush.c (_IO_fflush): Likewise.
5195         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5196         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5197         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5198         * libio/iofgets.c (_IO_fgets): Likewise.
5199         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5200         * libio/iofgetws.c (fgetws): Likewise.
5201         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5202         * libio/iofopen64.c (_IO_fopen64): Likewise.
5203         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5204         (_IO_cookie_write): Likewise.
5205         (_IO_cookie_seek): Likewise.
5206         (_IO_cookie_close): Likewise.
5207         (_IO_cookie_seekoff): Likewise.
5208         (_IO_old_cookie_seek): Likewise.
5209         * libio/iofputs.c (_IO_fputs): Likewise.
5210         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5211         * libio/iofputws.c (fputws): Likewise.
5212         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5213         * libio/iofread.c (_IO_fread): Likewise.
5214         * libio/iofread_u.c (__fread_unlocked): Likewise.
5215         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5216         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5217         * libio/ioftell.c (_IO_ftell): Likewise.
5218         * libio/iofwrite.c (_IO_fwrite): Likewise.
5219         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5220         * libio/iogets.c (_IO_gets): Likewise.
5221         * libio/iopadn.c (_IO_padn): Likewise.
5222         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5223         (_IO_new_popen): Likewise.
5224         (_IO_new_proc_close): Likewise.
5225         * libio/ioputs.c (_IO_puts): Likewise.
5226         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5227         (_IO_seekoff): Likewise.
5228         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5229         (_IO_seekpos): Likewise.
5230         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5231         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5232         * libio/ioungetc.c (_IO_ungetc): Likewise.
5233         * libio/ioungetwc.c (ungetwc): Likewise.
5234         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5235         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5236         * libio/iowpadn.c (_IO_wpadn): Likewise.
5237         * libio/libc_fatal.c (__libc_fatal): Likewise.
5238         * libio/memstream.c (__open_memstream): Likewise.
5239         (_IO_mem_sync): Likewise.
5240         (_IO_mem_finish): Likewise.
5241         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5242         (_IO_old_file_close_it): Likewise.
5243         (_IO_old_file_finish): Likewise.
5244         (_IO_old_file_fopen): Likewise.
5245         (_IO_old_file_attach): Likewise.
5246         (_IO_old_file_setbuf): Likewise.
5247         (_IO_old_do_write): Likewise.
5248         (old_do_write): Likewise.
5249         (_IO_old_file_underflow): Likewise.
5250         (_IO_old_file_overflow): Likewise.
5251         (_IO_old_file_sync): Likewise.
5252         (_IO_old_file_seekoff): Likewise.
5253         (_IO_old_file_write): Likewise.
5254         (_IO_old_file_xsputn): Likewise.
5255         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5256         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5257         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5258         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5259         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5260         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5261         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5262         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5263         (_IO_old_popen): Likewise.
5264         (_IO_old_proc_close): Likewise.
5265         * libio/oldpclose.c (__old_pclose): Likewise.
5266         * libio/pclose.c (__new_pclose): Likewise.
5267         * libio/peekc.c (_IO_peekc_locked): Likewise.
5268         * libio/putc.c (_IO_putc): Likewise.
5269         * libio/putc_u.c (putc_unlocked): Likewise.
5270         * libio/putchar.c (putchar): Likewise.
5271         * libio/putchar_u.c (putchar_unlocked): Likewise.
5272         * libio/putwc.c (putwc): Likewise.
5273         * libio/putwc_u.c (putwc_unlocked): Likewise.
5274         * libio/putwchar.c (putwchar): Likewise.
5275         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5276         * libio/rewind.c (rewind): Likewise.
5277         * libio/setbuf.c (setbuf): Likewise.
5278         * libio/setlinebuf.c (setlinebuf): Likewise.
5279         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5280         * libio/vscanf.c (_IO_vscanf): Likewise.
5281         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5282         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5283         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5284         * libio/wgenops.c (_IO_least_wmarker): Likewise.
5285         (_IO_switch_to_main_wget_area): Likewise.
5286         (_IO_switch_to_wbackup_area): Likewise.
5287         (_IO_wsetb): Likewise.
5288         (_IO_wdefault_pbackfail): Likewise.
5289         (_IO_wdefault_finish): Likewise.
5290         (_IO_wdefault_uflow): Likewise.
5291         (__woverflow): Likewise.
5292         (__wuflow): Likewise.
5293         (__wunderflow): Likewise.
5294         (_IO_wdefault_xsputn): Likewise.
5295         (_IO_wdefault_xsgetn): Likewise.
5296         (_IO_wdoallocbuf): Likewise.
5297         (_IO_wdefault_doallocate): Likewise.
5298         (_IO_switch_to_wget_mode): Likewise.
5299         (_IO_free_wbackup_area): Likewise.
5300         (_IO_switch_to_wput_mode): Likewise.
5301         (_IO_sputbackwc): Likewise.
5302         (_IO_sungetwc): Likewise.
5303         (_IO_adjust_wcolumn): Likewise.
5304         (_IO_init_wmarker): Likewise.
5305         (_IO_wmarker_delta): Likewise.
5306         (_IO_seekwmark): Likewise.
5307         (_IO_unsave_wmarkers): Likewise.
5308         * libio/wmemstream.c (open_wmemstream): Likewise.
5309         (_IO_wmem_sync): Likewise.
5310         (_IO_wmem_finish): Likewise.
5311         * locale/nl_langinfo.c (nl_langinfo): Likewise.
5312         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5313         * locale/programs/simple-hash.c (init_hash): Likewise.
5314         (delete_hash): Likewise.
5315         (insert_entry): Likewise.
5316         (set_entry): Likewise.
5317         (next_prime): Likewise.
5318         (is_prime): Likewise.
5319         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5320         (xmalloc): Likewise.
5321         (xrealloc): Likewise.
5322         * locale/programs/xstrdup.c (xstrdup): Likewise.
5323         * localedata/collate-test.c (xstrcoll): Likewise.
5324         * localedata/xfrm-test.c (xstrcmp): Likewise.
5325         * login/getlogin_r.c (__getlogin_r): Likewise.
5326         * login/getpt.c (__posix_openpt): Likewise.
5327         * login/login_tty.c (login_tty): Likewise.
5328         * login/setlogin.c (setlogin): Likewise.
5329         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5330         (mach_msg_destroy_port): Likewise.
5331         (mach_msg_destroy_memory): Likewise.
5332         * malloc/mcheck.c (flood): Likewise.
5333         * misc/acct.c (acct): Likewise.
5334         * misc/brk.c (__brk): Likewise.
5335         * misc/chflags.c (chflags): Likewise.
5336         * misc/chroot.c (chroot): Likewise.
5337         * misc/fchflags.c (fchflags): Likewise.
5338         * misc/fstab.c (getfsspec): Likewise.
5339         (getfsfile): Likewise.
5340         * misc/fsync.c (fsync): Likewise.
5341         * misc/ftruncate.c (__ftruncate): Likewise.
5342         * misc/ftruncate64.c (__ftruncate64): Likewise.
5343         * misc/getdomain.c (getdomainname): Likewise.
5344         (getdomainname): Likewise.
5345         * misc/gethostname.c (__gethostname): Likewise.
5346         * misc/getpass.c (getpass): Likewise.
5347         * misc/getttyent.c (skip): Likewise.
5348         (value): Likewise.
5349         * misc/gtty.c (gtty): Likewise.
5350         * misc/hsearch.c (hsearch): Likewise.
5351         (hcreate): Likewise.
5352         * misc/hsearch_r.c (__hcreate_r): Likewise.
5353         (__hdestroy_r): Likewise.
5354         * misc/ioctl.c (__ioctl): Likewise.
5355         * misc/mkdtemp.c (mkdtemp): Likewise.
5356         * misc/mkostemp.c (mkostemp): Likewise.
5357         * misc/mkostemp64.c (mkostemp64): Likewise.
5358         * misc/mkostemps.c (mkostemps): Likewise.
5359         * misc/mkostemps64.c (mkostemps64): Likewise.
5360         * misc/mkstemp.c (mkstemp): Likewise.
5361         * misc/mkstemp64.c (mkstemp64): Likewise.
5362         * misc/mkstemps.c (mkstemps): Likewise.
5363         * misc/mkstemps64.c (mkstemps64): Likewise.
5364         * misc/mktemp.c (__mktemp): Likewise.
5365         * misc/preadv.c (preadv): Likewise.
5366         * misc/preadv64.c (preadv64): Likewise.
5367         * misc/pwritev.c (pwritev): Likewise.
5368         * misc/pwritev64.c (pwritev64): Likewise.
5369         * misc/readv.c (__readv): Likewise.
5370         * misc/revoke.c (revoke): Likewise.
5371         * misc/setdomain.c (setdomainname): Likewise.
5372         * misc/setegid.c (setegid): Likewise.
5373         * misc/seteuid.c (seteuid): Likewise.
5374         * misc/sethostid.c (sethostid): Likewise.
5375         * misc/sethostname.c (sethostname): Likewise.
5376         * misc/setregid.c (__setregid): Likewise.
5377         * misc/setreuid.c (__setreuid): Likewise.
5378         * misc/sstk.c (sstk): Likewise.
5379         * misc/stty.c (stty): Likewise.
5380         * misc/syscall.c (syscall): Likewise.
5381         * misc/syslog.c (setlogmask): Likewise.
5382         * misc/truncate.c (__truncate): Likewise.
5383         * misc/truncate64.c (truncate64): Likewise.
5384         * misc/ualarm.c (ualarm): Likewise.
5385         * misc/usleep.c (usleep): Likewise.
5386         * misc/ustat.c (ustat): Likewise.
5387         * misc/writev.c (__writev): Likewise.
5388         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5389         * nptl/old_pthread_cond_broadcast.c
5390         (__pthread_cond_broadcast_2_0): Likewise.
5391         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5392         Likewise.
5393         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5394         Likewise.
5395         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5396         Likewise.
5397         * nptl/pt-raise.c (raise): Likewise.
5398         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5399         Likewise.
5400         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5401         * nptl/pthread_barrierattr_destroy.c
5402         (pthread_barrierattr_destroy): Likewise.
5403         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5404         Likewise.
5405         * nptl/pthread_barrierattr_setpshared.c
5406         (pthread_barrierattr_setpshared): Likewise.
5407         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5408         Likewise.
5409         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5410         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5411         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5412         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5413         Likewise.
5414         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5415         Likewise.
5416         * nptl/pthread_condattr_getpshared.c
5417         (pthread_condattr_getpshared): Likewise.
5418         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5419         Likewise.
5420         * nptl/pthread_condattr_setpshared.c
5421         (pthread_condattr_setpshared): Likewise.
5422         * nptl/pthread_detach.c (pthread_detach): Likewise.
5423         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5424         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5425         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5426         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5427         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5428         Likewise.
5429         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5430         Likewise.
5431         * nptl/pthread_mutex_getprioceiling.c
5432         (pthread_mutex_getprioceiling): Likewise.
5433         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5434         Likewise.
5435         * nptl/pthread_mutexattr_getprotocol.c
5436         (pthread_mutexattr_getprotocol): Likewise.
5437         * nptl/pthread_mutexattr_getpshared.c
5438         (pthread_mutexattr_getpshared): Likewise.
5439         * nptl/pthread_mutexattr_getrobust.c
5440         (pthread_mutexattr_getrobust): Likewise.
5441         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5442         Likewise.
5443         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5444         Likewise.
5445         * nptl/pthread_mutexattr_setprioceiling.c
5446         (pthread_mutexattr_setprioceiling): Likewise.
5447         * nptl/pthread_mutexattr_setprotocol.c
5448         (pthread_mutexattr_setprotocol): Likewise.
5449         * nptl/pthread_mutexattr_setpshared.c
5450         (pthread_mutexattr_setpshared): Likewise.
5451         * nptl/pthread_mutexattr_setrobust.c
5452         (pthread_mutexattr_setrobust): Likewise.
5453         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5454         Likewise.
5455         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5456         Likewise.
5457         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5458         Likewise.
5459         * nptl/pthread_rwlockattr_getkind_np.c
5460         (pthread_rwlockattr_getkind_np): Likewise.
5461         * nptl/pthread_rwlockattr_getpshared.c
5462         (pthread_rwlockattr_getpshared): Likewise.
5463         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5464         Likewise.
5465         * nptl/pthread_rwlockattr_setkind_np.c
5466         (pthread_rwlockattr_setkind_np): Likewise.
5467         * nptl/pthread_rwlockattr_setpshared.c
5468         (pthread_rwlockattr_setpshared): Likewise.
5469         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5470         Likewise.
5471         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5472         Likewise.
5473         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5474         Likewise.
5475         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5476         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5477         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5478         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5479         * nptl/sem_close.c (sem_close): Likewise.
5480         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5481         * nptl/sem_init.c (__old_sem_init): Likewise.
5482         * nptl/sigaction.c (__sigaction): Likewise.
5483         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5484         * posix/_exit.c (_exit): Likewise.
5485         * posix/alarm.c (alarm): Likewise.
5486         * posix/confstr.c (confstr): Likewise.
5487         * posix/fpathconf.c (__fpathconf): Likewise.
5488         * posix/getgroups.c (__getgroups): Likewise.
5489         * posix/getpgid.c (__getpgid): Likewise.
5490         * posix/group_member.c (__group_member): Likewise.
5491         * posix/pathconf.c (__pathconf): Likewise.
5492         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5493         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5494         * posix/setgid.c (__setgid): Likewise.
5495         * posix/setpgid.c (__setpgid): Likewise.
5496         * posix/setuid.c (__setuid): Likewise.
5497         * posix/sleep.c (__sleep): Likewise.
5498         * posix/sysconf.c (__sysconf): Likewise.
5499         * posix/times.c (__times): Likewise.
5500         * posix/uname.c (__uname): Likewise.
5501         * posix/waitid.c (__waitid): Likewise.
5502         * pwd/getpw.c (__getpw): Likewise.
5503         * resolv/base64.c (b64_pton): Likewise.
5504         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5505         * resolv/gethnamaddr.c (Dprintf): Likewise.
5506         (gethostbyname): Likewise.
5507         (gethostbyname2): Likewise.
5508         (gethostbyaddr): Likewise.
5509         (_sethtent): Likewise.
5510         (_gethtbyname): Likewise.
5511         (_gethtbyname2): Likewise.
5512         (_gethtbyaddr): Likewise.
5513         (map_v4v6_address): Likewise.
5514         (map_v4v6_hostent): Likewise.
5515         (addrsort): Likewise.
5516         (ht_sethostent): Likewise.
5517         (ht_gethostbyname): Likewise.
5518         (ht_gethostbyaddr): Likewise.
5519         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5520         (inet_net_ntop_ipv4): Likewise.
5521         * resolv/inet_neta.c (inet_neta): Likewise.
5522         * resolv/inet_ntop.c (inet_ntop): Likewise.
5523         (inet_ntop4): Likewise.
5524         (inet_ntop6): Likewise.
5525         * resolv/inet_pton.c (__inet_pton): Likewise.
5526         (inet_pton4): Likewise.
5527         (inet_pton6): Likewise.
5528         * resolv/res_debug.c (loc_aton): Likewise.
5529         (loc_ntoa): Likewise.
5530         * resource/getpriority.c (__getpriority): Likewise.
5531         * resource/getrusage.c (__getrusage): Likewise.
5532         * resource/nice.c (nice): Likewise.
5533         * resource/setpriority.c (__setpriority): Likewise.
5534         * resource/setrlimit64.c (setrlimit64): Likewise.
5535         * resource/vlimit.c (vlimit): Likewise.
5536         * resource/vtimes.c (vtimes): Likewise.
5537         * rt/aio_error.c (aio_error): Likewise.
5538         * rt/aio_return.c (aio_return): Likewise.
5539         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5540         * signal/kill.c (__kill): Likewise.
5541         * signal/killpg.c (killpg): Likewise.
5542         * signal/raise.c (raise): Likewise.
5543         * signal/sigaction.c (__sigaction): Likewise.
5544         * signal/sigaddset.c (sigaddset): Likewise.
5545         * signal/sigaltstack.c (sigaltstack): Likewise.
5546         * signal/sigandset.c (sigandset): Likewise.
5547         * signal/sigblock.c (__sigblock): Likewise.
5548         * signal/sigdelset.c (sigdelset): Likewise.
5549         * signal/sigempty.c (sigemptyset): Likewise.
5550         * signal/sigfillset.c (sigfillset): Likewise.
5551         * signal/sighold.c (sighold): Likewise.
5552         * signal/sigignore.c (sigignore): Likewise.
5553         * signal/sigintr.c (siginterrupt): Likewise.
5554         * signal/sigisempty.c (sigisemptyset): Likewise.
5555         * signal/sigismem.c (sigismember): Likewise.
5556         * signal/signal.c (signal): Likewise.
5557         * signal/sigorset.c (sigorset): Likewise.
5558         * signal/sigpause.c (__sigpause): Likewise.
5559         * signal/sigpending.c (sigpending): Likewise.
5560         * signal/sigprocmask.c (__sigprocmask): Likewise.
5561         * signal/sigrelse.c (sigrelse): Likewise.
5562         * signal/sigreturn.c (__sigreturn): Likewise.
5563         * signal/sigset.c (sigset): Likewise.
5564         * signal/sigsetmask.c (__sigsetmask): Likewise.
5565         * signal/sigstack.c (sigstack): Likewise.
5566         * signal/sigsuspend.c (__sigsuspend): Likewise.
5567         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5568         * signal/sysv_signal.c (__sysv_signal): Likewise.
5569         * socket/accept.c (accept): Likewise.
5570         * socket/accept4.c (__libc_accept4): Likewise.
5571         * socket/bind.c (__bind): Likewise.
5572         * socket/connect.c (__connect): Likewise.
5573         * socket/getpeername.c (getpeername): Likewise.
5574         * socket/getsockname.c (__getsockname): Likewise.
5575         * socket/getsockopt.c (getsockopt): Likewise.
5576         * socket/listen.c (__listen): Likewise.
5577         * socket/recv.c (__recv): Likewise.
5578         * socket/recvmsg.c (__recvmsg): Likewise.
5579         * socket/send.c (__send): Likewise.
5580         * socket/sendmsg.c (__sendmsg): Likewise.
5581         * socket/shutdown.c (shutdown): Likewise.
5582         * socket/sockatmark.c (sockatmark): Likewise.
5583         * socket/socket.c (__socket): Likewise.
5584         * stdio-common/ctermid.c (ctermid): Likewise.
5585         * stdio-common/cuserid.c (cuserid): Likewise.
5586         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5587         * stdio-common/remove.c (remove): Likewise.
5588         * stdio-common/rename.c (rename): Likewise.
5589         * stdio-common/renameat.c (renameat): Likewise.
5590         * stdio-common/tempname.c (__gen_tempname): Likewise.
5591         * stdio-common/xbug.c (InitBuffer): Likewise.
5592         (AppendToBuffer): Likewise.
5593         (ReadFile): Likewise.
5594         * stdlib/a64l.c (a64l): Likewise.
5595         * stdlib/drand48_r.c (drand48_r): Likewise.
5596         * stdlib/getcontext.c (getcontext): Likewise.
5597         * stdlib/getenv.c (getenv): Likewise.
5598         * stdlib/l64a.c (l64a): Likewise.
5599         * stdlib/llabs.c (llabs): Likewise.
5600         * stdlib/lldiv.c (lldiv): Likewise.
5601         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5602         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5603         * stdlib/putenv.c (putenv): Likewise.
5604         * stdlib/random.c (__srandom): Likewise.
5605         (__initstate): Likewise.
5606         (__setstate): Likewise.
5607         * stdlib/random_r.c (__srandom_r): Likewise.
5608         (__setstate_r): Likewise.
5609         (__random_r): Likewise.
5610         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5611         * stdlib/setcontext.c (setcontext): Likewise.
5612         * stdlib/setenv.c (setenv): Likewise.
5613         (unsetenv): Likewise.
5614         * stdlib/srand48.c (srand48): Likewise.
5615         * stdlib/srand48_r.c (__srand48_r): Likewise.
5616         * stdlib/swapcontext.c (swapcontext): Likewise.
5617         * stdlib/system.c (__libc_system): Likewise.
5618         * stdlib/tst-strtod.c (expand): Likewise.
5619         * stdlib/tst-strtol.c (expand): Likewise.
5620         * stdlib/tst-strtoll.c (expand): Likewise.
5621         * streams/fattach.c (fattach): Likewise.
5622         * streams/fdetach.c (fdetach): Likewise.
5623         * streams/getmsg.c (getmsg): Likewise.
5624         * streams/isastream.c (isastream): Likewise.
5625         * string/ffs.c (__ffs): Likewise.
5626         * string/ffsll.c (ffsll): Likewise.
5627         * string/memcmp.c (memcmp_common_alignment): Likewise.
5628         (memcmp_not_common_alignment): Likewise.
5629         (MEMCMP): Likewise.
5630         * string/memcpy.c (memcpy): Likewise.
5631         * string/memmove.c (MEMMOVE): Likewise.
5632         * string/memset.c (memset): Likewise.
5633         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5634         * string/strchrnul.c (STRCHRNUL): Likewise.
5635         * string/strerror.c (strerror): Likewise.
5636         * string/strndup.c (__strndup): Likewise.
5637         * string/strverscmp.c (__strverscmp): Likewise.
5638         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5639         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5640         (clnttcp_freeres): Likewise.
5641         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5642         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5643         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5644         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5645         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5646         (xdr_callhdr): Likewise.
5647         * sunrpc/rpcinfo.c (udpping): Likewise.
5648         (tcpping): Likewise.
5649         (pstatus): Likewise.
5650         (pmapdump): Likewise.
5651         (brdcst): Likewise.
5652         (deletereg): Likewise.
5653         (getprognum): Likewise.
5654         (getvers): Likewise.
5655         (get_inet_address): Likewise.
5656         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5657         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5658         (svcudp_stat): Likewise.
5659         (svcudp_recv): Likewise.
5660         (svcudp_reply): Likewise.
5661         (svcudp_getargs): Likewise.
5662         (svcudp_freeargs): Likewise.
5663         (svcudp_destroy): Likewise.
5664         * sunrpc/xdr.c (xdr_bytes): Likewise.
5665         (xdr_netobj): Likewise.
5666         (xdr_string): Likewise.
5667         (xdr_wrapstring): Likewise.
5668         * sunrpc/xdr_float.c (xdr_float): Likewise.
5669         (xdr_double): Likewise.
5670         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5671         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5672         * sysvipc/ftok.c (ftok): Likewise.
5673         * sysvipc/msgctl.c (msgctl): Likewise.
5674         * sysvipc/msgget.c (msgget): Likewise.
5675         * sysvipc/msgrcv.c (msgrcv): Likewise.
5676         * sysvipc/msgsnd.c (msgsnd): Likewise.
5677         * sysvipc/semget.c (semget): Likewise.
5678         * sysvipc/semop.c (semop): Likewise.
5679         * sysvipc/shmat.c (shmat): Likewise.
5680         * sysvipc/shmctl.c (shmctl): Likewise.
5681         * sysvipc/shmdt.c (shmdt): Likewise.
5682         * sysvipc/shmget.c (shmget): Likewise.
5683         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5684         * termios/speed.c (cfgetospeed): Likewise.
5685         (cfgetispeed): Likewise.
5686         (cfsetospeed): Likewise.
5687         (cfsetispeed): Likewise.
5688         * termios/tcflow.c (tcflow): Likewise.
5689         * termios/tcflush.c (tcflush): Likewise.
5690         * termios/tcgetattr.c (__tcgetattr): Likewise.
5691         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5692         * termios/tcgetsid.c (tcgetsid): Likewise.
5693         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5694         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5695         * time/adjtime.c (__adjtime): Likewise.
5696         * time/dysize.c (dysize): Likewise.
5697         * time/ftime.c (ftime): Likewise.
5698         * time/getitimer.c (__getitimer): Likewise.
5699         * time/gettimeofday.c (__gettimeofday): Likewise.
5700         * time/gmtime.c (__gmtime_r): Likewise.
5701         (gmtime): Likewise.
5702         * time/localtime.c (__localtime_r): Likewise.
5703         (localtime): Likewise.
5704         * time/offtime.c (__offtime): Likewise.
5705         * time/settimeofday.c (__settimeofday): Likewise.
5706         * time/stime.c (stime): Likewise.
5707         * time/strftime_l.c (tm_diff): Likewise.
5708         (iso_week_days): Likewise.
5709         * time/strptime.c (strptime): Likewise.
5710         * time/time.c (time): Likewise.
5711         * time/timespec_get.c (timespec_get): Likewise.
5712         * time/tzset.c (tzset_internal): Likewise.
5713         (compute_change): Likewise.
5714         (__tz_compute): Likewise.
5715         * wcsmbs/btowc.c (__btowc): Likewise.
5716         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5717         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5718         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5719         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5720         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5721         * wcsmbs/wcscat.c (__wcscat): Likewise.
5722         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5723         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5724         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5725         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5726         * wcsmbs/wcsdup.c (wcsdup): Likewise.
5727         * wcsmbs/wcslen.c (__wcslen): Likewise.
5728         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5729         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5730         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5731         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5732         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5733         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5734         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5735         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5736         * wcsmbs/wcstok.c (wcstok): Likewise.
5737         * wcsmbs/wctob.c (wctob): Likewise.
5738         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5739         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5740         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5741         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5742         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5743         * wcsmbs/wmemset.c (__wmemset): Likewise.
5744         * wctype/wcfuncs.c (__towlower): Likewise.
5745         (__towupper): Likewise.
5747         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5748         (lll_unlock_elision): Add adapt_count parameter.
5750 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5752         * sysdeps/nptl/configure.ac: Do not give errors based on the
5753         results of top-level configure tests.
5754         * sysdeps/nptl/configure: Regenerated.
5756         * configure.ac (libc_cv_Bgroup): Remove configure test.
5757         * configure: Regenerated.
5758         * config.make.in (have-Bgroup): Remove variable.
5760         * configure.ac (sizeof_long_double): Remove configure test.
5761         * configure: Regenerated.
5762         * config.make.in (sizeof-long-double): Remove variable.
5764         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5765         * configure: Regenerated.
5766         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5767         variable.
5768         (exceptions): Likewise.
5769         * sysdeps/arm/configure: Regenerated.
5770         * config.make.in (exceptions): Remove variable.
5771         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5772         $(exceptions).
5773         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5774         (CFLAGS-vdprintf_chk.c): Likewise.
5775         (CFLAGS-printf_chk.c): Likewise.
5776         (CFLAGS-fprintf_chk.c): Likewise.
5777         (CFLAGS-vprintf_chk.c): Likewise.
5778         (CFLAGS-vfprintf_chk.c): Likewise.
5779         (CFLAGS-gets_chk.c): Likewise.
5780         (CFLAGS-fgets_chk.c): Likewise.
5781         (CFLAGS-fgets_u_chk.c): Likewise.
5782         (CFLAGS-fread_chk.c): Likewise.
5783         (CFLAGS-fread_u_chk.c): Likewise.
5784         (CFLAGS-wprintf_chk.c): Likewise.
5785         (CFLAGS-fwprintf_chk.c): Likewise.
5786         (CFLAGS-vwprintf_chk.c): Likewise.
5787         (CFLAGS-vfwprintf_chk.c): Likewise.
5788         (CFLAGS-fgetws_chk.c): Likewise.
5789         (CFLAGS-fgetws_u_chk.c): Likewise.
5790         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5791         (CFLAGS-fputc.c): Likewise.
5792         (CFLAGS-fputwc.c): Likewise.
5793         (CFLAGS-freopen64.c): Likewise.
5794         (CFLAGS-freopen.c): Likewise.
5795         (CFLAGS-fseek.c): Likewise.
5796         (CFLAGS-fseeko64.c): Likewise.
5797         (CFLAGS-fseeko.c): Likewise.
5798         (CFLAGS-ftello64.c): Likewise.
5799         (CFLAGS-ftello.c): Likewise.
5800         (CFLAGS-fwide.c): Likewise.
5801         (CFLAGS-genops.c): Likewise.
5802         (CFLAGS-getc.c): Likewise.
5803         (CFLAGS-getchar.c): Likewise.
5804         (CFLAGS-getwc.c): Likewise.
5805         (CFLAGS-getwchar.c): Likewise.
5806         (CFLAGS-iofclose.c): Likewise.
5807         (CFLAGS-iofflush.c): Likewise.
5808         (CFLAGS-iofgetpos64.c): Likewise.
5809         (CFLAGS-iofgetpos.c): Likewise.
5810         (CFLAGS-iofgets.c): Likewise.
5811         (CFLAGS-iofgetws.c): Likewise.
5812         (CFLAGS-iofputs.c): Likewise.
5813         (CFLAGS-iofputws.c): Likewise.
5814         (CFLAGS-iofread.c): Likewise.
5815         (CFLAGS-iofsetpos64.c): Likewise.
5816         (CFLAGS-iofsetpos.c): Likewise.
5817         (CFLAGS-ioftell.c): Likewise.
5818         (CFLAGS-iofwrite.c): Likewise.
5819         (CFLAGS-iogetdelim.c): Likewise.
5820         (CFLAGS-iogetline.c): Likewise.
5821         (CFLAGS-iogets.c): Likewise.
5822         (CFLAGS-iogetwline.c): Likewise.
5823         (CFLAGS-ioputs.c): Likewise.
5824         (CFLAGS-ioseekoff.c): Likewise.
5825         (CFLAGS-ioseekpos.c): Likewise.
5826         (CFLAGS-iosetbuffer.c): Likewise.
5827         (CFLAGS-iosetvbuf.c): Likewise.
5828         (CFLAGS-ioungetc.c): Likewise.
5829         (CFLAGS-ioungetwc.c): Likewise.
5830         (CFLAGS-oldfileops.c): Likewise.
5831         (CFLAGS-oldiofclose.c): Likewise.
5832         (CFLAGS-oldiofgetpos64.c): Likewise.
5833         (CFLAGS-oldiofgetpos.c): Likewise.
5834         (CFLAGS-oldiofsetpos64.c): Likewise.
5835         (CFLAGS-oldiofsetpos.c): Likewise.
5836         (CFLAGS-peekc.c): Likewise.
5837         (CFLAGS-putc.c): Likewise.
5838         (CFLAGS-putchar.c): Likewise.
5839         (CFLAGS-putwc.c): Likewise.
5840         (CFLAGS-putwchar.c): Likewise.
5841         (CFLAGS-rewind.c): Likewise.
5842         (CFLAGS-wfileops.c): Likewise.
5843         (CFLAGS-wgenops.c): Likewise.
5844         (CFLAGS-oldiofopen.c): Likewise.
5845         (CFLAGS-iofopen.c): Likewise.
5846         (CFLAGS-iofopen64.c): Likewise.
5847         (CFLAGS-oldtmpfile.c): Likewise.
5848         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5849         (CFLAGS-fprintf.c): Likewise.
5850         (CFLAGS-printf.c): Likewise.
5851         (CFLAGS-vfwprintf.c): Likewise.
5852         (CFLAGS-vfscanf.c): Likewise.
5853         (CFLAGS-vfwscanf.c): Likewise.
5854         (CFLAGS-fscanf.c): Likewise.
5855         (CFLAGS-scanf.c): Likewise.
5856         (CFLAGS-isoc99_vfscanf.c): Likewise.
5857         (CFLAGS-isoc99_vscanf.c): Likewise.
5858         (CFLAGS-isoc99_fscanf.c): Likewise.
5859         (CFLAGS-isoc99_scanf.c): Likewise.
5860         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
5861         (CFLAGS-isoc99_fwscanf.c): Likewise.
5862         (CFLAGS-isoc99_vwscanf.c): Likewise.
5863         (CFLAGS-isoc99_vfwscanf.c): Likewise.
5865         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
5866         after mkstemp64.
5867         * login/tst-utmp.c (do_prepare): Likewise.
5868         * rt/tst-aio.c (do_prepare): Likewise.
5869         * rt/tst-aio64.c (do_prepare): Likewise.
5871 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5873         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5874         (__lll_lock_elision): Remove adapt_count decrement...
5875         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5876         (__lll_trylock_elision): Likewise.
5877         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5878         (__lll_unlock_elision): ... to here. And utilize
5879         new adapt_count parameter.
5880         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5881         (__lll_unlock_elision): Update to include adapt_count
5882         parameter.
5883         (lll_unlock_elision): Pass pointer to adapt_count
5884         variable.
5886 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5888         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
5889         Add elision adapt_count parameter to list of arguments.
5890         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
5891         (lll_unlock_elision): Update with new parameter list
5892         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5893         (lll_unlock_elision): Likewise.
5894         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
5895         (lll_unlock_elision): Likewise.
5897 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5899         [BZ #19122]
5900         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
5901         attribute_hidden.
5903         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
5904         attribute_hidden.
5905         [IS_IN (rtld)] (__strdup): Likewise.
5906         [IS_IN (rtld)] (__strerror_r): Likewise.
5907         [IS_IN (rtld)] (__strsep_g): Likewise.
5908         [IS_IN (rtld)] (memchr): Likewise.
5909         [IS_IN (rtld)] (memcmp): Likewise.
5910         [IS_IN (rtld)] (memcpy): Likewise.
5911         [IS_IN (rtld)] (memmove): Likewise.
5912         [IS_IN (rtld)] (memset): Likewise.
5913         [IS_IN (rtld)] (rawmemchr): Likewise.
5914         [IS_IN (rtld)] (stpcpy): Likewise.
5915         [IS_IN (rtld)] (strchr): Likewise.
5916         [IS_IN (rtld)] (strcmp): Likewise.
5917         [IS_IN (rtld)] (strlen): Likewise.
5918         [IS_IN (rtld)] (strnlen): Likewise.
5919         [IS_IN (rtld)] (strsep): Likewise.
5921         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
5922         attribute_hidden.
5923         [IS_IN (rtld)] (__strtoul_internal): Likewise.
5925         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
5926         attribute_hidden.
5927         [IS_IN (rtld)] (__libc_sigaction): Likewise.
5929         * include/setjmp.h (__longjmp): Add attribute_hidden.
5930         [IS_IN (rtld)] (__sigsetjmp): Likewise.
5932         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
5933         Add attribute_hidden.
5935         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
5936         [IS_IN (rtld)] (__open): Likewise.
5937         [IS_IN (rtld)] (__fcntl): Likewise.
5939         * include/dirent.h (__opendirat): Add attribute_hidden.
5940         (__getdents): Likewise.
5941         (__getdents64): Likewise.
5942         (__alloc_dir): Likewise.
5943         [IS_IN (rtld)] (__closedir): Likewise.
5944         [IS_IN (rtld)] (__fdopendir): Likewise.
5945         [IS_IN (rtld)] (__readdir): Likewise.
5946         [IS_IN (rtld)] (__readdir64): Likewise.
5947         [IS_IN (rtld)] (__rewinddir): Likewise.
5949         * include/dlfcn.h (_dl_catch_error): Moved to ...
5950         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
5951         attribute_hidden.
5953         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
5954         (_itoa_word): Likewise.
5956         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
5957         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
5958         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
5959         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
5960         (_dl_higher_prime_number): Likewise.
5961         (_dl_debug_printf_c): Likewise.
5962         (_dl_signal_cerror): Likewise.
5963         (_dl_receive_error): Likewise.
5964         (_dl_reloc_bad_type): Likewise.
5965         (_dl_resolve_conflicts): Likewise.
5966         (_dl_check_all_versions): Likewise.
5967         (_dl_check_map_versions): Likewise.
5968         (_dl_sort_fini): Likewise.
5969         (_dl_debug_initialize): Likewise.
5970         (_dl_init_paths): Likewise.
5971         (_dl_show_auxv): Likewise.
5972         (_dl_next_ld_env_entry): Likewise.
5973         (_dl_important_hwcaps): Likewise.
5974         (_dl_load_cache_lookup): Likewise.
5975         (_dl_update_slotinfo): Likewise.
5976         (_dl_show_scope): Likewise.
5978         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
5979         attribute_hidden.
5980         (_wordcopy_fwd_dest_aligned): Likewise.
5981         (_wordcopy_bwd_aligned): Likewise.
5982         (_wordcopy_bwd_dest_aligned): Likewise.
5984         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5985         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5986         Likewise.
5987         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
5988         Likewise.
5989         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
5991 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
5993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
5994         GCC 5 requirement.
5996 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5998         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
5999         test.
6000         * sysdeps/i386/configure: Regenerated.
6001         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6002         code unconditional.
6004         * configure.ac (libc_cv_asm_previous_directive): Remove configure
6005         test.
6006         (libc_cv_asm_popsection_directive): Likewise.
6007         * configure: Regenerated.
6008         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6009         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6010         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6011         (__make_section_unallocated): Make definition unconditional.
6012         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6013         Remove conditional definition.
6014         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6015         (__make_section_unallocated): Likewise.
6017         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6018         * configure: Regenerated.
6019         * config.make.in (static-libgcc): Remove variable.
6020         * Makerules (build-shlib-helper): Use -static-libgcc instead of
6021         $(static-libgcc).
6022         (build-module-helper): Likewise.
6024         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6025         * configure: Regenerated.
6027 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6029         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6030         (struct char_buffer): New type.
6031         (char_buffer_start, char_buffer_size, char_buffer_error)
6032         (char_buffer_rewind, char_buffer_add): New functions.
6033         (ADDW): Remove macro, replaced by the char_buffer_add function.
6034         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6035         of extend_alloca.  Make control flow more explicit.
6037 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6039         [BZ #19137]
6040         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6041         Add -fomit-frame-pointer.
6042         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6044 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6046         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6047         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6048         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6049         only if !__GNUC_PREREQ (5,0).
6050         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6051         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6052         (INTERNAL_SYSCALL_NCS): Likewise.
6053         (LOADREGS_0): New macro for GCC 5.
6054         (ASMARGS_0): Likewise.
6055         (LOADREGS_1): Likewise.
6056         (ASMARGS_1): Likewise.
6057         (LOADREGS_2): Likewise.
6058         (ASMARGS_2): Likewise.
6059         (LOADREGS_3): Likewise.
6060         (ASMARGS_3): Likewise.
6061         (LOADREGS_4): Likewise.
6062         (ASMARGS_4): Likewise.
6063         (LOADREGS_5): Likewise.
6064         (ASMARGS_5): Likewise.
6065         (LOADREGS_6): Likewise.
6066         (ASMARGS_6): Likewise.
6068 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6070         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6071         -fomit-frame-pointer.
6072         (CFLAGS-mmap64.c): Likewise.
6073         (CFLAGS-semtimedop.c): Likewise.
6074         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6075         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6076         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6077         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6079 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6081         [BZ #18928]
6082         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6083         _dl_pointer_guard member.
6084         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6085         initializer.
6086         (security_init): Always set up pointer guard.
6087         (process_envvars): Do not process LD_POINTER_GUARD.
6089 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
6091         [BZ #19134]
6092         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6093         (.LC2): Likewise.
6094         (.LC3): Likewise.
6095         (__lround): Do not add 0.5 to integer or out-of-range arguments.
6097 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6099         [BZ #19129]
6100         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6101         r0 and r1.
6103 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
6105         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6107 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
6109         * include/stap-probe.h: Fix macro definition formatting.
6111 2015-10-14  Florian Weimer  <fweimer@redhat.com>
6113         [BZ #19074]
6114         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6115         load and store num_ifs.
6117 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6119         [BZ #18822]
6120         * sysdeps/unix/sysv/linux/sched_getaffinity.c
6121         (__sched_getaffinity_new): Add libc_hidden_proto and
6122         libc_hidden_def.
6124 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6126         [BZ #19007]
6127         * scripts/localplt.awk: Also allow GOT references.
6128         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6129         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6130         with "+ REL R_386_GLOB_DAT".
6131         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6132         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6134 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6136         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6137         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6138         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6139         Likewise.
6140         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6141         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6142         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6143         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6144         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6145         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6146         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6147         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6148         Likewise.
6149         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6151 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6153         [BZ #19125]
6154         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6155         <math_private.h> and <stdint.h>.
6156         (__llround): Avoid conversions to and from long long int, and
6157         subtractions, where those might raise spurious exceptions.
6158         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6159         <math_private.h> and <stdint.h>.
6160         (__llroundf): Avoid conversions to and from long long int, and
6161         subtractions, where those might raise spurious exceptions.
6163 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6165         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6166         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6167         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6168         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6169         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6170         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6171         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6172         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6173         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6174         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6175         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6176         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6177         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6178         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6179         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6180         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6181         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6182         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6183         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6184         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6185         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6186         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6187         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6188         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6189         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6190         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6191         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6192         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6193         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6194         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6195         (__xstat64_conv): Likewise.
6196         (__xstat32_conv): Likewise.
6198 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6200         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6201         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6202         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6203         <sysdeps/unix/sysv/linux/sysdep.h>.
6204         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6205         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6206         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6207         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6208         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6209         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6210         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6211         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6212         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6216         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6217         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6218         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6220         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6221         (sysdep-dl-routines): Add sysdep.
6222         [$(subdir) == nptl] (libpthread-routines): Likewise.
6223         [$(subdir) == rt] (librt-routines): Likewise.
6224         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6225         PIC when branching to SYSCALL_ERROR_LABEL.
6226         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6227         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6228         <sysdeps/unix/sysv/linux/sysdep.h>.
6229         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6230         (SYSCALL_ERROR_ERRNO): Removed.
6231         (SYSCALL_ERROR_HANDLER): Changed to empty.
6232         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6233         (__syscall_error): New prototype.
6234         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6235         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6237 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6239         [BZ #19124]
6240         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6241         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6242         _dl_runtime_resolve_avx.
6243         (_dl_runtime_profile_avx512): Make it a hidden alias of
6244         _dl_runtime_profile_avx.
6246 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6248         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6249         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6250         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6251         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6253         [BZ #16422]
6254         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6255         New configure test.
6256         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6257         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6258         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6259         <math_private.h> and <stdint.h>.
6260         (__llrint): Avoid conversions to long long int where those might
6261         raise spurious exceptions.
6262         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6263         <math_private.h> and <stdint.h>.
6264         (__llrintf): Avoid conversions to long long int where those might
6265         raise spurious exceptions.
6267 2015-10-12  Andreas Schwab  <schwab@suse.de>
6269         [BZ #18969]
6270         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
6271         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6272         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
6273         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6274         $(gen-locales).
6275         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
6276         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6277         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6278         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6279         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6280         $(gen-locales).
6281         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
6282         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6283         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6284         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6285         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6286         ($(objpfx)tst-ftell-active-handler.out)
6287         ($(objpfx)tst-ftell-append.out)
6288         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6289         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6290         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6291         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6292         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
6293         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6294         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6295         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6296         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6297         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6298         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6299         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6300         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6301         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6302         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6303         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6304         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6305         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6306         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
6307         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6308         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6309         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6310         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6311         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
6312         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6313         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6314         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6315         $(gen-locales).
6316         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
6317         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6318         $(gen-locales).
6319         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
6320         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6321         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6322         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6323         $(gen-locales).
6324         * libio/tst_wprintf2.c (main): Use explicit locale.
6325         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6327 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6329         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6330         __msg_sig_post.
6331         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6333 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6335         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6336         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6338         * sysdeps/arm/libm-test-ulps: Regenerated.
6340         [BZ #15470]
6341         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6343         [BZ #16399]
6344         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6345         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6346         and <fix-fp-int-convert-overflow.h>.
6347         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6348         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6349         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6350         and <fix-fp-int-convert-overflow.h>.
6351         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6352         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6353         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6354         <fix-fp-int-convert-overflow.h>.
6355         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6356         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6357         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6358         <fix-fp-int-convert-overflow.h>.
6359         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6360         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6361         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6362         and <fix-fp-int-convert-overflow.h>.
6363         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6364         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6365         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6366         <limits.h> and <fix-fp-int-convert-overflow.h>.
6367         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6368         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6369         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6370         and <fix-fp-int-convert-overflow.h>.
6371         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6372         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6373         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6374         and <fix-fp-int-convert-overflow.h>.
6375         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6376         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6377         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6379 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6381         [BZ #18589]
6382         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6383         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6384         $(gen-locales).
6386 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6387             Phil Blundell <pb@pbcl.net>
6389         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6390         * nptl/tst-cancel26.c: New file.
6391         * nptl/tst-cancel27.c: Likewise.
6393 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6395         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6396         __ILP32__ isn't defined.
6397         (lrint): Likewise.
6398         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6399         (lrintf): Likewise.
6400         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6401         (lrintl): Likewise.
6402         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6403         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6404         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6406 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6408         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6409         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6411         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6412         file.
6413         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6414         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6416 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6418         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6419         configure test.
6420         * sysdeps/i386/configure: Regenerated.
6421         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6422         configure test.
6423         * sysdeps/x86_64/configure: Regenerated.
6424         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6425         Make code unconditional.
6427         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6428         test.
6429         * sysdeps/i386/configure: Regenerated.
6430         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6431         test.
6432         * sysdeps/x86_64/configure: Regenerated.
6433         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6434         Make code unconditional.
6435         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6436         Likewise.
6437         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6438         Likewise.
6439         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6440         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6441         code unconditional.
6442         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6443         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6444         code unconditional.
6445         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6446         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6447         code unconditional.
6448         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6449         code unconditional.
6450         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6451         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6452         code unconditional.
6453         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6454         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6455         code unconditional.
6456         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6457         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6458         code unconditional.
6459         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6460         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6461         code unconditional.
6462         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6463         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6465         [BZ #19095]
6466         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6467         mantissa to long int before shifting left.
6469 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6471         [BZ #19094]
6472         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6473         <limits.h>.
6474         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6475         when result overflows but exception would not result from cast.
6476         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6477         <limits.h>.
6478         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6479         when result overflows but exception would not result from cast.
6480         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6481         <limits.h>.
6482         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6483         when result overflows but exception would not result from cast.
6484         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6485         <limits.h>.
6486         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6487         when result overflows but exception would not result from cast.
6488         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6489         <limits.h>.
6490         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6491         when result overflows but exception would not result from cast.
6492         * math/libm-test.inc (lrint_test_data): Add more tests.
6493         (llrint_test_data): Likewise.
6495 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6497         [BZ #18872]
6498         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6499         Move out from under [$(run-built-tests) = yes] conditional.
6500         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6501         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6503 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6505         [BZ #18589]
6506         * string/Makefile (tests): Add bug-strcoll2.
6507         (LOCALES): Add cs_CZ.UTF-8.
6508         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6510         [BZ #18589]
6511         * string/bug-strcoll2.c: New file.
6512         * locale/categories.def: Revert commit
6513         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6514         * locale/langinfo.h: Likewise.
6515         * locale/localeinfo.h: Likewise.
6516         * locale/C-collate.c: Likewise.
6517         * locale/programs/ld-collate.c (collate_output): Likewise.
6518         * string/strcoll_l.c (STRDIFF): Likewise.
6519         (STRCOLL): Likewise.
6520         * wcsmbs/wcscoll_l.c: Likewise.
6522 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6524         * math/libm-test.inc (lround_test_data): Do not expect the absence
6525         of "inexact" for some tests with non-integer arguments.
6526         (llround_test_data): Likewise.
6528         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6529         test.
6530         (libc_cv_cc_sse2avx): Likewise.
6531         * sysdeps/i386/configure: Regenerated.
6532         * sysdeps/i386/i686/multiarch/Makefile
6533         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6534         [$(subdir) = math].
6535         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6536         code unconditional.
6537         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6538         Likewise.
6539         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6540         Likewise.
6541         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6542         Likewise.
6543         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6544         test.
6545         (libc_cv_cc_sse2avx): Likewise.
6546         * sysdeps/x86_64/configure: Regenerated.
6547         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6548         unconditional.
6549         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6550         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6551         unconditional.
6552         (_dl_runtime_profile)
6553         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6554         conditional code.
6555         * sysdeps/x86_64/fpu/multiarch/Makefile
6556         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6557         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6558         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6559         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6560         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6561         * sysdeps/x86_64/fpu/multiarch/e_log.c
6562         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6563         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6564         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6565         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6566         Likewise.
6567         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6568         Likewise.
6569         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6570         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6571         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6572         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6573         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6574         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6575         (HAVE_SSE2AVX_SUPPORT): Likewise.
6577 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6579         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6580         instead of #pragma optimize.
6582 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6584         [BZ #17195]
6585         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6586         as is similarly done in systrim and _int_free already.
6588 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6590         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6592 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6594         [BZ #19088]
6595         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6596         <limits.h>.
6597         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6598         overflows but exception would not result from cast.
6599         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6600         and <limits.h>.
6601         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6602         overflows but exception would not result from cast.
6603         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6604         <limits.h>.
6605         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6606         overflows but exception would not result from cast.
6607         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6608         <limits.h>.
6609         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6610         overflows but exception would not result from cast.
6611         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6612         <limits.h>.
6613         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6614         overflows but exception would not result from cast.
6615         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6616         <limits.h>.
6617         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6618         overflows but exception would not result from cast.
6619         * math/libm-test.inc (lround_test_data): Add more tests.
6620         (llround_test_data): Likewise.
6622 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6624         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6625         (CFLAGS-ialloc.c): Ditto.
6626         (CFLAGS-scheck.c): Ditto.
6628 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6630         [BZ #19086]
6631         * manual/filesys.texi (Storage Allocation): Fix argument order for
6632         posix_fallocate64.
6634 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6636         [BZ #19085]
6637         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6638         exponent below 48 inside case for non-overflowing exponent.
6639         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6641 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6643         * iconvdata/cp737.h (from_idx): Add const.
6644         * iconvdata/cp775.h (from_idx): Likewise.
6646 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6648         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6649         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6650         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6652         [BZ #19079]
6653         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6654         file, conditioned on [!_LP64].
6655         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6656         [!_LP64] (__lround): Do not define as function or alias.
6657         [!_LP64] (lround): Likewise.
6658         [!_LP64] (__lroundl): Likewise.
6659         [!_LP64] (lroundl): Likewise.
6660         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6661         macro.
6662         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6663         Likewise.
6665 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6667         * math/libm-test.inc (lrint_test_data): Add more tests.
6668         (llrint_test_data): Likewise.
6669         (lround_test_data): Likewise.
6670         (llround_test_data): Likewise.
6672         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6673         (llrint_test_data): Add tests used for lrint.
6675         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6676         test.
6677         * sysdeps/i386/configure: Regenerated.
6678         * sysdeps/i386/i686/multiarch/Makefile
6679         [$(config-cflags-sse4) = yes]: Make code unconditional.
6680         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6681         Likewise.
6682         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6683         Likewise.
6684         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6685         test.
6686         * sysdeps/x86_64/configure: Regenerated.
6687         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6688         Make code unconditional.
6689         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6690         Likewise.
6691         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6692         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6694         * scripts/rpm2dynsym.sh: Remove file.
6696 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6698         * configure.ac (libc_cv_cxx_thread_local): Define.
6699         * configure: Regenerate.
6700         * config.make.in (have-cxx-thread_local): Define.
6701         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6702         (LDLIBS-tst-thread_local1): Define.
6703         (tests): Add tst-thread_local1.
6704         [have-cxx-thread_local != yes] (tests-unsupported): Add
6705         tst-thread_local1.
6706         * nptl/tst-thread_local1.cc: New file.
6708 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6710         [BZ #19078]
6711         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6712         (u_thres): Likewise.
6713         (__expl): Determine whether to call __kernel_standard_l based on
6714         value of result, not argument.
6716         * math/libm-test.inc (scalb_test_data): Add more expectations for
6717         the "inexact" exception.
6719         [BZ #19077]
6720         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6721         0.0L for argument 1.0L.
6723         [BZ #19076]
6724         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6725         constant 0.0L when computing infinite result.
6727 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6729         [BZ #10432]
6730         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6731         malloc_usable_size.
6733 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6735         [BZ #19018]
6736         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6737         Mangle function pointer before storing it.
6738         (__call_tls_dtors): Demangle function pointer before calling it.
6740 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6742         [BZ #19012]
6743         * iconv/gconv_db.c (gen_steps): Check for additional errors.
6744         Clean up on failure.
6746 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
6748         [BZ #19071]
6749         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6750         long int variable to store possibly incremented high part of
6751         mantissa.
6752         * math/libm-test.inc (lround_test_data): Add tests used for
6753         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
6754         for tests requiring 64-bit long.  Do not condition tests on
6755         [TEST_FLOAT] unnecessarily.
6756         (llround_test_data): Add tests used for lround.  Add another
6757         expectation for the "inexact" exception.  Do not condition tests
6758         on [TEST_FLOAT] unnecessarily.
6760         [BZ #887]
6761         [BZ #19049]
6762         [BZ #19050]
6763         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6764         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6765         <fix-int-fp-convert-zero.h>.
6766         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6767         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6768         <fix-int-fp-convert-zero.h>.
6769         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6770         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6771         <fix-int-fp-convert-zero.h>.
6772         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6773         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6774         <fix-int-fp-convert-zero.h>.
6775         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6776         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6777         <fix-int-fp-convert-zero.h>.
6778         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6779         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6780         <fix-int-fp-convert-zero.h>.
6781         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6782         * sysdeps/ieee754/flt-32/s_erff.c: Include
6783         <fix-int-fp-convert-zero.h>.
6784         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6785         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6786         <fix-int-fp-convert-zero.h>.
6787         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6788         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6789         <fix-int-fp-convert-zero.h>.
6790         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6791         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6792         <fix-int-fp-convert-zero.h>.
6793         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6794         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6795         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6796         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6797         file.
6798         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
6800 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6802         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6804 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
6806         [BZ #19059]
6807         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
6808         overflowing computation.
6809         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6810         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6811         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6812         Likewise.
6813         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6814         Likewise.
6815         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6816         Likewise.
6817         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6818         Likewise.
6819         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6820         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6821         Likewise.
6822         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6823         Likewise.
6824         * math/libm-test.inc (nexttoward_test_data): Add more tests.
6826         * nss/rewrite_field.c (__nss_rewrite_field): Use
6827         internal_function.
6828         * nss/valid_field.c (__nss_valid_field): Likewise.
6829         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
6831 2015-10-02  Florian Weimer  <fweimer@redhat.com>
6833         [BZ #18724]
6834         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
6835         (__nss_invalid_field_characters, __nss_valid_field)
6836         (__nss_valid_list_field, __nss_rewrite_field): Declare.
6837         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
6838         tst-field.c: New file.
6839         * nss/Makefile (routines): Add valid_field, rewrite_field.
6840         (tests-static): Define unconditionally.
6841         (tests): Include tests-static.
6842         [build-static-nss] (tests-static): Use append.
6843         [build-static-nss] (tests): Remove modification.
6844         * nss/getent.c (print_group): Call putgrent.  Report error.
6845         (print_gshadow): Call putsgent.  Report error.
6846         (print_passwd): Call putpwent.  Report error.
6847         (print_shadow): Call putspent.  Report error.
6848         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
6849         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
6850         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
6851         name, password, directory, shell fields for valid syntax.  Rewrite
6852         GECOS field to match syntax.
6853         * pwd/Makefile (tests): Add tst-putpwent.
6854         * pwd/tst-putpwent.c: New file.
6855         * grp/putgrent.c (putgrent): Convert to ISO function definition.
6856         Check grName, grpasswd, gr_mem fields for valid syntax.
6857         Change loop variable i to size_t.
6858         * grp/Makefile (tests): Add tst-putgrent.
6859         * grp/tst-putgrent.c: New file.
6860         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
6861         valid syntax.
6862         * shadow/Makefile (tests): Add tst-putspent.
6863         * shadow/tst-putspent.c: New file.
6864         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
6865         sg_mem fields for valid syntax.
6866         * gshadow/Makefile (tests): Add tst-putsgent.
6867         * gshadow/tst-putsgent.c: New file.
6869 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6871         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
6872         assembly instructions.
6874 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6876         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
6877         prefix from operands.
6879 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
6881         [BZ #16347]
6882         [BZ #19046]
6883         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
6884         <libc-internal.h>.
6885         (MAXLGM): Do not use diagnostic control macros.
6886         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
6887         threshold for ldbl-128ibm.
6888         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
6889         instead of multiplying by log then subtracting.
6890         * math/auto-libm-test-in: Add more tests of lgamma.
6891         * math/auto-libm-test-out: Regenerated.
6893         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
6894         (TYPE_HEX_DIG): Likewise.
6895         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
6896         precisions when printing floating-point numbers.
6897         (check_float_internal): Likewise.
6899 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
6901         [BZ #16620]
6902         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
6903         of log (10) rounded downward to 48 bits.
6904         (log10_low): Use corresponding low part of log (10).
6906         [BZ #19032]
6907         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
6908         compute result as (x - x) / (x - x) not as 0 / 0.
6909         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6910         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
6912         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6913         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
6914         and expm1.
6915         * math/auto-libm-test-out: Regenerated.
6916         * math/libm-test.inc (acos_test_data): Add more tests.
6917         (asin_test_data): Likewise.
6918         (asinh_test_data): Likewise.
6919         (atan_test_data): Likewise.
6920         (atanh_test_data): Likewise.
6921         (atan2_test_data): Likewise.
6922         (cbrt_test_data): Likewise.
6923         (ceil_test_data): Likewise.
6924         (copysign_test_data): Likewise.
6925         (cos_test_data): Likewise.
6926         (cosh_test_data): Likewise.
6927         (erf_test_data): Likewise.
6928         (erfc_test_data): Likewise.
6929         (exp_test_data): Likewise.
6930         (exp10_test_data): Likewise.
6931         (exp2_test_data): Likewise.
6932         (expm1_test_data): Likewise.
6933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6935 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
6937         [BZ #19006]
6938         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
6939         to ...
6940         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
6941         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
6942         to ...
6943         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
6944         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
6945         to ...
6946         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
6947         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
6948         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
6949         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
6950         to ...
6951         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
6952         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6953         Moved to ...
6954         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
6955         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6956         Moved to ...
6957         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
6958         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
6959         to ...
6960         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
6961         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6962         Moved to ...
6963         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
6964         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
6965         to ...
6966         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
6967         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
6968         Removed.
6969         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
6970         Likewise.
6971         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
6972         Likewise.
6973         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
6974         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
6975         Likewise.
6976         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6977         Likewise.
6978         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6979         Likewise.
6980         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6981         Likewise.
6982         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6983         Likewise.
6984         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
6985         Likewise.
6986         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
6987         Likewise.
6988         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
6989         Likewise.
6990         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
6991         Likewise.
6992         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
6993         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
6994         Likewise.
6995         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6996         Likewise.
6997         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6998         Likewise.
6999         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7000         Likewise.
7001         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7002         Likewise.
7003         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7004         Replace ../i486/pthread_cond_timedwait.S with
7005         ../pthread_cond_timedwait.S.
7007 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7009         * math/libm-test.inc (acos_test_data): Refine expectations for
7010         errno and "inexact" exceptions.
7011         (acosh_test_data): Likewise.
7012         (asin_test_data): Likewise.
7013         (asinh_test_data): Likewise.
7014         (atan_test_data): Likewise.
7015         (atanh_test_data): Likewise.
7016         (atan2_test_data): Likewise.
7017         (cbrt_test_data): Likewise.
7018         (ceil_test_data): Likewise.
7019         (copysign_test_data): Likewise.
7020         (cosh_test_data): Likewise.
7021         (erf_test_data): Likewise.
7022         (erfc_test_data): Likewise.
7023         (exp_test_data): Likewise.
7024         (exp10_test_data): Likewise.
7025         (exp2_test_data): Likewise.
7026         (expm1_test_data): Likewise.
7027         (fabs_test_data): Likewise.
7028         (floor_test_data): Likewise.
7029         (fma_test_data): Likewise.
7030         (fmax_test_data): Likewise.
7031         (fmin_test_data): Likewise.
7032         (fmod_test_data): Likewise.
7033         (fpclassify_test_data): Likewise.
7034         (frexp_test_data): Likewise.
7035         (hypot_test_data): Likewise.
7036         (ilogb_test_data): Likewise.
7037         (isgreater_test_data): Likewise.
7038         (isgreaterequal_test_data): Likewise.
7039         (isinf_test_data): Likewise.
7040         (isless_test_data): Likewise.
7041         (islessequal_test_data): Likewise.
7042         (islessgreater_test_data): Likewise.
7043         (isnan_test_data): Likewise.
7044         (isnormal_test_data): Likewise.
7045         (issignaling_test_data): Likewise.
7046         (isunordered_test_data): Likewise.
7047         (j0_test_data): Likewise.
7048         (j1_test_data): Likewise.
7049         (jn_test_data): Likewise.
7050         (lgamma_test_data): Likewise.
7051         (lrint_test_data): Likewise.
7052         (llrint_test_data): Likewise.
7053         (log_test_data): Likewise.
7054         (log10_test_data): Likewise.
7055         (log1p_test_data): Likewise.
7056         (log2_test_data): Likewise.
7057         (logb_test_data): Likewise.
7058         (lround_test_data): Likewise.
7059         (llround_test_data): Likewise.
7060         (modf_test_data): Likewise.
7061         (nearbyint_test_data): Likewise.
7062         (nextafter_test_data): Likewise.
7063         (nexttoward_test_data): Likewise.
7064         (pow_test_data): Likewise.
7065         (remainder_test_data): Likewise.
7066         (remquo_test_data): Likewise.
7067         (rint_test_data): Likewise.
7068         (round_test_data): Likewise.
7069         (signbit_test_data): Likewise.
7070         (sinh_test_data): Likewise.
7071         (sqrt_test_data): Likewise.
7072         (tanh_test_data): Likewise.
7073         (tgamma_test_data): Likewise.
7074         (trunc_test_data): Likewise.
7075         (y0_test_data): Likewise.
7076         (y1_test_data): Likewise.
7077         (yn_test_data): Likewise.
7078         (significand_test_data): Likewise.
7080 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
7082         * manual/filesys.texi (Storage Allocation): Document that
7083         posix_fallocate emulation fails when fd is open with O_WRONLY.
7085 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
7087         [BZ #19016]
7088         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7089         allow more cases with X^2 + Y^2 >= 0.5.
7090         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
7091         normal element in sum instead of special-casing based on values of
7092         arguments.
7093         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7094         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
7095         -1 as normal element in sum instead of special-casing based on
7096         values of arguments.
7097         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7098         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7099         (__x2y2m1): Update comment.
7100         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
7101         as normal element in sum instead of special-casing based on values
7102         of arguments.
7103         * math/s_clog.c (__clog): Handle more cases using log1p without
7104         hypot.
7105         * math/s_clog10.c (__clog10): Likewise.
7106         * math/s_clog10f.c (__clog10f): Likewise.
7107         * math/s_clog10l.c (__clog10l): Likewise.
7108         * math/s_clogf.c (__clogf): Likewise.
7109         * math/s_clogl.c (__clogl): Likewise.
7110         * math/auto-libm-test-in: Add more tests of clog and clog10.
7111         * math/auto-libm-test-out: Regenerated.
7112         * sysdeps/i386/fpu/libm-test-ulps: Update.
7113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7115 2015-09-28  Martin Sebor  <msebor@redhat.com>
7117         [BZ #18969]
7118         * string/Makefile (LOCALES): Define.
7119         (gen-locales.mk): Include.
7120         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7121         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7122         * string/tst-strxfrm2.c (do_test): Print the name of the locale
7123         on setlocale failure.
7125 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7127         [BZ #18985]
7128         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7129         (__strftime_internal): Likewise.
7130         * time/tst-strftime.c (do_bz18985): New test.
7131         (do_test): Call it.
7133 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
7135         [BZ #18956]
7136         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7137         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7138         extracting high part.
7139         * math/auto-libm-test-in: Add another test of pow.
7140         * math/auto-libm-test-out: Regenerated.
7141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7143 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7145         [BZ #18825]
7146         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7147         New macro.
7148         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7149         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7150         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7151         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7152         DBL_NARROW_EVAL, reloading the PIC register as needed.
7153         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7154         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7155         FLT_NARROW_EVAL.  Use separate return path for case when first
7156         argument is NaN.
7157         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7158         DEFINE_LDBL_MIN.
7159         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7160         PIC register.
7161         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7162         math_check_force_underflow_nonneg.
7163         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7164         underflow for subnormal result.
7165         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7166         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7167         math_check_force_underflow_nonneg.
7168         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7169         math_check_force_underflow.
7170         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7171         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7172         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7173         DEFINE_LDBL_MIN.
7174         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7175         * math/auto-libm-test-in: Add more tests of pow.
7176         * math/auto-libm-test-out: Regenerated.
7178 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7180         * nss/bug17079.c (init_test_items): Add diagnostic for
7181         inconsistent entries.
7182         (test_buffer_size): Skip inconsistent entries.
7184 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7186         [BZ #13304]
7187         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7188         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7189         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7191         [BZ #13304]
7192         * sysdeps/microblaze/s_fma.c: New file.
7193         * sysdeps/microblaze/s_fmaf.c: Likewise.
7194         * sysdeps/microblaze/sfp-machine.h: Likewise.
7196 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7198         [BZ #17250]
7199         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7200         member.
7202 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7204         [BZ #18803]
7205         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7206         (MO): New macro.
7207         (__ieee754_hypot) [PIC]: Load PIC register.
7208         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7209         DBL_NARROW_EVAL.
7210         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7211         math_check_force_underflow_nonneg in case where result might be
7212         tiny.
7213         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7214         Likewise.
7215         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7216         Likewise.
7217         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7218         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7219         * math/auto-libm-test-in: Add more tests of hypot.
7220         * math/auto-libm-test-out: Regenerated.
7222 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7224         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7226 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7228         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7229         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7230         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7231         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7232         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7233         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7234         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7236         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7237         LOAD_PIC_REG.
7239         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7240         (FLT_CHECK_FORCE_UFLOW): Likewise.
7241         (DBL_CHECK_FORCE_UFLOW): Likewise.
7242         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7243         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7244         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7245         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7246         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7247         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7248         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7249         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7250         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7251         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7252         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7253         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7254         (flt_min): Replace with use of DEFINE_FLT_MIN.
7255         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7256         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7257         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7258         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7259         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7260         (flt_min): Replace with use of DEFINE_FLT_MIN.
7261         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7262         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7263         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7264         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7265         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7266         (flt_min): Replace with use of DEFINE_FLT_MIN.
7267         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7268         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7269         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7270         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7271         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7272         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7273         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7274         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7275         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7276         (__atan): Use DBL_CHECK_FORCE_UFLOW.
7277         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7278         (flt_min): Replace with use of DEFINE_FLT_MIN.
7279         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7280         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7281         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7282         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
7283         main computation.
7284         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7285         (flt_min): Replace with use of DEFINE_FLT_MIN.
7286         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
7287         main computation.
7288         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7289         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7290         (MO): New macro.
7291         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7292         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7293         (flt_min): Replace with use of DEFINE_FLT_MIN.
7294         (MO): New macro.
7295         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7296         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7297         (__log1pl): Use MO.
7299         [BZ #19003]
7300         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7301         $(config-cflags-nofma).
7303 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7305         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7307 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
7309         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7310         (TWO127): Likewise.
7312         * sysdeps/generic/math_private.h (fabs_tg): New macro.
7313         (min_of_type): Likewise.
7314         (math_check_force_underflow): Likewise.
7315         (math_check_force_underflow_nonneg): Likewise.
7316         (math_check_force_underflow_complex): Likewise.
7317         * math/e_exp2l.c (__ieee754_exp2l): Use
7318         math_check_force_underflow_nonneg.
7319         * math/k_casinh.c (__kernel_casinh): Likewise.
7320         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7321         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7322         * math/s_catan.c (__catan): Use
7323         math_check_force_underflow_complex.
7324         * math/s_catanf.c (__catanf): Likewise.
7325         * math/s_catanh.c (__catanh): Likewise.
7326         * math/s_catanhf.c (__catanhf): Likewise.
7327         * math/s_catanhl.c (__catanhl): Likewise.
7328         * math/s_catanl.c (__catanl): Likewise.
7329         * math/s_ccosh.c (__ccosh): Likewise.
7330         * math/s_ccoshf.c (__ccoshf): Likewise.
7331         * math/s_ccoshl.c (__ccoshl): Likewise.
7332         * math/s_cexp.c (__cexp): Likewise.
7333         * math/s_cexpf.c (__cexpf): Likewise.
7334         * math/s_cexpl.c (__cexpl): Likewise.
7335         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7336         * math/s_clog10.c (__clog10): Likewise.
7337         * math/s_clog10f.c (__clog10f): Likewise.
7338         * math/s_clog10l.c (__clog10l): Likewise.
7339         * math/s_clogf.c (__clogf): Likewise.
7340         * math/s_clogl.c (__clogl): Likewise.
7341         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7342         * math/s_csinf.c (__csinf): Likewise.
7343         * math/s_csinh.c (__csinh): Likewise.
7344         * math/s_csinhf.c (__csinhf): Likewise.
7345         * math/s_csinhl.c (__csinhl): Likewise.
7346         * math/s_csinl.c (__csinl): Likewise.
7347         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7348         * math/s_csqrtf.c (__csqrtf): Likewise.
7349         * math/s_csqrtl.c (__csqrtl): Likewise.
7350         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7351         * math/s_ctanf.c (__ctanf): Likewise.
7352         * math/s_ctanh.c (__ctanh): Likewise.
7353         * math/s_ctanhf.c (__ctanhf): Likewise.
7354         * math/s_ctanhl.c (__ctanhl): Likewise.
7355         * math/s_ctanl.c (__ctanl): Likewise.
7356         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7357         instead of volatile.
7358         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7359         math_check_force_underflow.
7360         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7361         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7362         volatile when forcing underflow.
7363         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7364         math_check_force_underflow_nonneg.
7365         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7366         Likewise.
7367         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7368         math_check_force_underflow.
7369         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7370         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7371         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7372         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7373         math_check_force_underflow_nonneg.
7374         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7375         math_check_force_underflow.
7376         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7378         instead of volatile.
7379         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7380         math_check_force_underflow.
7381         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7382         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7383         math_check_force_underflow_nonneg.
7384         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7385         math_check_force_underflow.
7386         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7387         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7388         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7389         math_check_force_underflow_nonneg.
7390         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7391         Likewise.
7392         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7393         math_check_force_underflow.
7394         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7395         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7396         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7397         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7398         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7399         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7400         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7401         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7402         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7403         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7404         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7405         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7406         Likewise.
7407         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7408         math_check_force_underflow_nonneg.
7409         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7410         Likewise.
7411         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7412         math_check_force_underflow.
7413         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7414         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7415         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7416         Likewise.
7417         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7418         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7419         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7420         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7421         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7422         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7424         instead of volatile.
7425         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7426         math_check_force_underflow.
7427         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7428         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7429         math_check_force_underflow.
7430         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7431         Likewise.
7432         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7433         Use math_check_force_underflow_nonneg.
7434         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7435         math_check_force_underflow.
7436         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7437         Likewise.
7438         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7439         Likewise.
7440         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7441         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7442         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7443         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7445         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7446         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7447         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7448         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7449         math_check_force_underflow_nonneg.
7450         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7451         math_check_force_underflow.
7452         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7453         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7454         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7455         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7456         math_check_force_underflow_nonneg.
7457         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7458         math_check_force_underflow.
7459         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7460         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7461         instead of volatile.
7462         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7463         math_check_force_underflow.
7465         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7466         * stdlib/strtod_l.c: Include <math_private.h>.
7467         (overflow_value): Use math_narrow_eval.
7468         (underflow_value): Likewise.
7469         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7470         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7471         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7472         (__ieee754_gamma_r): Likewise.
7473         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7474         Likewise.
7475         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7476         Likewise.
7477         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7478         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7479         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7480         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7481         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7482         (__ieee754_gammaf_r): Likewise.
7483         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7484         Likewise.
7485         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7486         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7487         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7488         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7489         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7490         volatile.
7491         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7492         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7493         math_narrow_eval.
7494         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7495         Likewise.
7496         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7497         Likewise.
7498         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7499         Likewise.
7500         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7501         volatile.
7502         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7503         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7504         math_narrow_eval.
7505         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7506         Likewise.
7507         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7508         Likewise.
7510 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7512         * nptl/Versions: Remove ignored symbols.
7514 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7516         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7517         * nss/Makefile (tests): Update.
7519 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7521         * nss/bug18287.c: New file.
7522         * nss/Makefile (tests): Add bug18287.
7524 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7526         * mach/Versions (__mach_host_self_): Add symbol.
7528 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7530         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7531         vm_page_size.
7533 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7535         Really fix sysdeps/i386/fpu/s_scalbn.S build
7537         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7538         (libc: GLIBC_2_22): Remove unused version set.
7540 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7542         * config.make.in (enable-timezone-tools): New variable.
7543         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7544         (enable_timezone_tools): Export to generated files.
7545         * configure: Regenerate.
7546         * INSTALL: Regenerate.
7547         * manual/install.texi (--disable-timezone-tools): Document new flag.
7548         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7549         ifeq ($(enable-timezone-tools),yes) check.
7551 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7553         * timezone/Makefile: Revert previous change.
7555         [BZ #18980]
7556         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7557         (DEFINE_DBL_MIN): Likewise.
7558         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7559         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7560         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7561         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7562         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7563         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7564         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7565         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7566         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7567         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7568         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7569         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7570         (flt_min): Replace with use of DEFINE_FLT_MIN.
7571         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7572         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7573         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7574         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7575         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7576         (flt_min): Replace with use of DEFINE_FLT_MIN.
7577         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7578         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7579         (flt_min): Replace with use of DEFINE_FLT_MIN.
7580         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7581         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7582         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7583         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7584         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7585         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7586         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7587         (__ieee754_pow): Use DBL_NARROW_EVAL.
7588         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7589         (__ieee754_powf): Use FLT_NARROW_EVAL.
7590         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7591         (__ieee754_expf_sse2): Convert double-precision result to single
7592         precision.
7593         * sysdeps/i386/fpu/libm-test-ulps: Update.
7595 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7597         * timezone/Makefile: Ignore unused variable errors due to private.h
7598         (time_t_min) and (time_t_max).
7599         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7600         Likewise.
7602 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7604         [BZ #18981]
7605         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7606         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7607         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7608         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7609         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7610         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7611         (__scalbn): Use DBL_NARROW_EVAL.
7612         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7613         (__scalbnf): Use FLT_NARROW_EVAL.
7615 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7617         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7618         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7619         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7620         * stdio-common/printf_fp.c (___printf_fp):
7621         Use signbit to get the sign. Use isinf macro to allow inlining.
7622         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7623         * stdio-common/printf_size.c (__printf_size): Likewise.
7625 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7627         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7629 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7631         [BZ #18980]
7632         * sysdeps/generic/math_private.h: Include <float.h>.
7633         (math_narrow_eval): New macro.
7634         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7635         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7636         math_narrow_eval on overflowing return value.
7637         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7638         Likewise.
7639         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7640         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7641         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7642         Likewise.
7643         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7645 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7647         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7648         * math/Makefile: Remove isinf_ns.c.
7649         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7650         * math/multc3.c (__multc3): Likewise.
7651         * math/s_casin.c (__casin): Likewise.
7652         * math/s_casinf.c (__casinf): Likewise.
7653         * math/s_casinl.c (__casinl): Likewise.
7654         * math/s_cproj.c (__cproj): Likewise.
7655         * math/s_cprojf.c (__cprojf): Likewise.
7656         * math/s_cprojl.c (__cprofl): Likewise.
7657         * math/s_ctan.c (__ctan): Likewise.
7658         * math/s_ctanf.c (__ctanf): Likewise.
7659         * math/s_ctanh.c (__ctanh): Likewise.
7660         * math/s_ctanhf.c (__ctanhf): Likewise.
7661         * math/s_ctanhl.c (__ctanhl): Likewise.
7662         * math/s_ctanl.c (__ctanl): Likewise.
7663         * math/w_fmod.c (__fmod): Likewise.
7664         * math/w_fmodf.c (__fmodf): Likewise.
7665         * math/w_fmodl.c (_fmodl): Likewise.
7666         * math/w_remainder.c (__remainder): Likewise.
7667         * math/w_remainderf.c (__remainderf): Likewise.
7668         * math/w_remainderl.c (__remainderl): Likewise.
7669         * math/w_scalb.c (__scalb): Likewise.
7670         * math/w_scalbf.c (__scalbf): Likewise.
7671         * math/w_scalbl.c (__scalbl): Likewise.
7672         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7673         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7674         with isinf.
7675         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7676         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7677         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7678         __isinf_nsf with isinf.
7679         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7680         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7681         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7682         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7683         with isinf.
7684         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7685         __isinf_nsl with isinf.
7686         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7687         with isinf.
7688         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7689         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7690         __isinf_nsl with isinf.
7691         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7692         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7693         with isinf.
7695 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7697         * resolv/base64.c (rcsid): Remove unused static.
7698         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7699         static.  (tqpi1): Likewise.
7700         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7701         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7702         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7703         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7704         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7705         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7706         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7707         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7708         Likewise.
7710 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7712         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7713         <nptl/pthreadP.h>.
7714         (_longjmp_unwind): Use __libc_ptf_call.
7715         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7717 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7719         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7720         * sysdeps/arm/__longjmp.S: Likewise.
7722 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7724         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7725         Use __builtin_signbit.
7726         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7727         Use __builtin_signbitf.
7728         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7729         Use __builtin_signbitl.
7730         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7731         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7733 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7735         [BZ #15367]
7736         [BZ #17441]
7738         * math/Makefile: Build test-snan.c with -fsignaling-nans.
7739         * math/math.h (fpclassify): Use __builtin_fpclassify when
7740         available.  (signbit): Use __builtin_signbit(f/l).
7741         (isfinite): Use__builtin_isfinite.  (isnormal): Use
7742         __builtin_isnormal.  (isnan): Use __builtin_isnan.
7743         (isinf): Use __builtin_isinf_sign.
7745 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7747         * benchtests/Makefile: Add bench-math-inlines, link with libm.
7748         * benchtests/bench-math-inlines.c: New benchmark.
7749         * benchtests/bench-util.h: New file.
7750         * benchtests/bench-util.c: New file.
7751         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7753 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7755         * elf/tst-dlmopen1.c: Define TEST_SO.
7756         (do_test): Use TEST_SO.
7758         * elf/dl-load.c: Include libc-internal.h.
7759         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7761 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7763         [BZ #17887]
7764         * time/strptime_l.c (__strptime_internal): Make %z accept
7765         [+-]HH:MM time zones.
7767 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7769         [BZ #17886]
7770         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7771         valid time zone.
7773 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7775         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7776         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7777         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7778         (__ASSUME_FDATASYNC): Delete.
7780 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7782         * conform/linknamespace.pl: Require weak undefined symbols to be
7783         in the standard namespace.
7784         (%strong_syms): Rename to %seen_syms.
7785         (%strong_seen): Rename to %seen_where.
7787 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7789         [BZ #18970]
7790         * misc/error.c (error): Replace pthread_setcancelstate with
7791         __pthread_setcancelstate.
7792         (error_at_line): Likewise.
7793         * posix/wordexp.c (parse_comm): Likewise.
7794         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7795         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7796         (__pthread_setcancelstate): This.
7797         (pthread_setcancelstate): Add an alias.
7798         * nptl/nptl-init.c (pthread_functions): Replace
7799         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
7800         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
7801         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
7802         hidden_proto.
7803         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
7804         it with hidden_def.
7805         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
7806         (pthread_setcancelstate): Renamed to ...
7807         (__pthread_setcancelstate): This.
7808         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
7809         __libc_ptf_call with __pthread_setcancelstate.
7811 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7812             Andreas Schwab  <schwab@suse.de>
7814         [BZ #17118]
7815         * math/s_ctan.c (__ctan): Determine sign of zero real part of
7816         result when imaginary part of argument is infinite using sine and
7817         cosine.
7818         * math/s_ctanf.c (__ctanf): Likewise.
7819         * math/s_ctanl.c (__ctanl): Likewise.
7820         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
7821         of result when real part of argument is infinite using sine and
7822         cosine.
7823         * math/s_ctanhf.c (__ctanhf): Likewise.
7824         * math/s_ctanhl.c (__ctanhl): Likewise.
7825         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
7826         (ctanh_test_data): Add more tests of ctanh.
7828 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7830         [BZ #15384]
7831         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
7832         bit-mask as in subtraction.
7833         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
7834         Likewise.
7835         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
7836         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
7837         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
7839         [BZ #18951]
7840         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
7841         underflow exception for small results.
7842         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7843         Likewise.
7844         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7845         Likewise.
7846         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7847         Likewise.
7848         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7849         Likewise.
7850         * math/auto-libm-test-in: Add more tests of tgamma.
7851         * math/auto-libm-test-out: Regenerated.
7853 2015-09-17  Andreas Schwab  <schwab@suse.de>
7855         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
7857 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7859         [BZ #18977]
7860         * math/bits/mathcalls.h
7861         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
7862         not declare.
7863         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
7864         Likewise.
7865         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
7866         Likewise.
7867         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
7868         Likewise.
7869         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
7870         Likewise.
7871         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
7872         Likewise.
7873         * conform/data/math.h-data
7874         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
7875         function.
7876         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
7877         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
7878         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
7879         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
7880         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
7881         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
7882         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
7883         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
7884         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
7885         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
7886         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
7888         [BZ #6803]
7889         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
7890         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
7891         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
7892         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
7893         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
7894         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
7895         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
7896         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
7897         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7898         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
7899         Likewise.
7900         [NO_LONG_DOUBLE] (scalbnl): Likewise.
7901         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
7902         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
7903         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
7904         long_double_symbol calls.
7905         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
7906         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
7907         strong alias of __ldexpl.
7908         (scalbnl): Define using long_double_symbol.
7909         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
7910         Remove alias.
7911         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
7912         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
7913         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
7914         (scalbln_test_data): Add more errno expectations.
7916 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
7918         Cache the host port like we cache the task port.  This way we do not
7919         need to call the kernel just to get the port.  Furthermore, we no
7920         longer increase the reference count on every invocation of
7921         `mach_host_self'.
7923         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
7924         Protect declarations against the macro expansion.
7925         * mach/mach_init.c (__mach_host_self_): New variable.
7926         (mach_init): Initialize `__mach_host_self_'.
7927         * mach/mach_init.h (__mach_host_self_): New declaration.
7928         (__mach_host_self, mach_host_self): New macros.
7929         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
7930         Release reference.
7932 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7934         [BZ #4404]
7935         * po/de.po: Update from Translation Project.
7937         [BZ #16415]
7938         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
7939         (__expm1l): Remove code to handle positive infinity and overflow.
7940         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
7941         variable.
7942         (__expm1l): Remove code to handle positive infinity and overflow.
7944 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
7945             Paul Pluzhnikov  <ppluzhnikov@google.com>
7947         [BZ #18872]
7948         * stdio-common/Makefile (tst-printf-bz18872): New test.
7949         (tst-printf-bz18872-mem.out): Likewise.
7950         * stdio-common/tst-printf-bz18872.sh: Generate new test.
7951         * stdio-common/vfprintf.c: Fix memory leaks.
7953 2015-09-16  Andreas Schwab  <schwab@suse.de>
7955         [BZ #17244]
7956         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
7957         Remove extra va_start/va_end calls.
7959         [BZ #17243]
7960         * posix/execl.c (execl): Add missing va_end.
7961         * posix/execle.c (execle): Likewise.
7962         * posix/execlp.c (execlp): Likewise.
7964 2015-09-15  Roland McGrath  <roland@hack.frob.com>
7966         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
7967         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
7969 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
7971         [BZ #18967]
7972         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
7973         undefine around includes of <bits/mathcalls.h>.
7974         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
7975         not declare function.
7976         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
7977         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
7978         (scalb): Likewise.
7979         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
7980         not define macro.
7981         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
7982         variable.
7983         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7984         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7985         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7987         [BZ #18857]
7988         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
7989         return non-finite argument without doing ordered comparisons on
7990         it.
7992         [BZ #16296]
7993         * math/fenv.h (fegetround): Use __attribute_pure__.
7994         * include/fenv.h (__fegetround): Likewise.
7996         [BZ #18595]
7997         * math/s_ctan.c (__ctan): Force underflow exception for results
7998         whose real or imaginary part has small absolute value.
7999         * math/s_ctanf.c (__ctanf): Likewise.
8000         * math/s_ctanh.c (__ctanh): Likewise.
8001         * math/s_ctanhf.c (__ctanhf): Likewise.
8002         * math/s_ctanhl.c (__ctanhl): Likewise.
8003         * math/s_ctanl.c (__ctanl): Likewise.
8004         * math/auto-libm-test-in: Do not allow missing underflow for ctan
8005         and ctanh.  Add more tests of ctan and ctanh.
8007         [BZ #15918]
8008         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8009         handling of cases where one argument is an infinity.
8011         [BZ #18875]
8012         [BZ #18966]
8013         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8014         (MO): New macro.
8015         (__ieee754_exp10): For small results, force underflow exception
8016         and remove excess range and precision from return value.
8017         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8018         (MO): New macro.
8019         (__ieee754_exp10f): For small results, force underflow exception
8020         and remove excess range and precision from return value.
8021         * math/auto-libm-test-in: Add more tests of exp10.
8022         * math/auto-libm-test-out: Regenerated.
8024 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
8026         [BZ #18875]
8027         [BZ #18961]
8028         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8029         (MO): New macro.
8030         (__ieee754_exp): For small results, force underflow exception and
8031         remove excess range and precision from return value.
8032         (__exp_finite): Likewise.
8033         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8034         (MO): New macro.
8035         (__ieee754_expf): For small results, force underflow exception and
8036         remove excess range and precision from return value.
8037         (__expf_finite): Likewise.
8038         * math/auto-libm-test-in: Add more tests of exp.
8039         * math/auto-libm-test-out: Regenerated.
8041         [BZ #16521]
8042         [BZ #18875]
8043         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8044         small results.
8045         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8046         (MO): New macro.
8047         (__ieee754_exp2): For small results, force underflow exception and
8048         remove excess range and precision from return value.
8049         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8050         (MO): New macro.
8051         (__ieee754_exp2f): For small results, force underflow exception
8052         and remove excess range and precision from return value.
8053         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8054         (MO): New macro.
8055         (__ieee754_exp2l): Force underflow exception for small results.
8056         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8057         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8058         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8059         (MO): New macro.
8060         (__ieee754_exp2l): Force underflow exception for small results.
8061         * math/auto-libm-test-in: Add more tests or exp2.
8062         * math/auto-libm-test-out: Regenerated.
8064 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
8066         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8068         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8069         /dev/null.
8071 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8073         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8074         io fs process)): Drop spurious backslash.
8076 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8078         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8079         Use sysinfo system call instead of parsing /proc/meminfo.
8080         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8081         Likewise.
8083 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
8085         [BZ #16985]
8086         * programs/localedef.c (main): Display argv[remaining] when
8087         output_path is NULL.
8089 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8091         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8092         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8093         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8094         tanh.
8095         * math/auto-libm-test-out: Regenerated.
8096         * sysdeps/i386/fpu/libm-test-ulps: Update.
8097         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8098         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8101 2015-09-11  Roland McGrath  <roland@hack.frob.com>
8103         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8104         Use 'override' keyword to freeze the value here, preventing
8105         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8107 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8109         [BZ #14912]
8110         * sysdeps/aarch64/bits/atomic.h: Move to ...
8111         * sysdeps/aarch64/atomic-machine.h: ...here.
8112         (_AARCH64_BITS_ATOMIC_H): Rename macro to
8113         _AARCH64_ATOMIC_MACHINE_H.
8114         * sysdeps/alpha/bits/atomic.h: Move to ...
8115         * sysdeps/alpha/atomic-machine.h: ...here.
8116         * sysdeps/arm/bits/atomic.h: Move to ...
8117         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
8118         * bits/atomic.h: Move to ...
8119         * sysdeps/generic/atomic-machine.h: ...here.
8120         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8121         * sysdeps/i386/bits/atomic.h: Move to ...
8122         * sysdeps/i386/atomic-machine.h: ...here.
8123         * sysdeps/ia64/bits/atomic.h: Move to ...
8124         * sysdeps/ia64/atomic-machine.h: ...here.
8125         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8126         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8127         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8128         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8129         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8130         * sysdeps/microblaze/bits/atomic.h: Move to ...
8131         * sysdeps/microblaze/atomic-machine.h: ...here.
8132         * sysdeps/mips/bits/atomic.h: Move to ...
8133         * sysdeps/mips/atomic-machine.h: ...here.
8134         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8135         * sysdeps/powerpc/bits/atomic.h: Move to ...
8136         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8137         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8138         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8139         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8140         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8141         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8142         <atomic-machine.h> instead of <bits/atomic.h>.
8143         * sysdeps/s390/bits/atomic.h: Move to ...
8144         * sysdeps/s390/atomic-machine.h: ...here.
8145         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8146         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8147         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8148         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8149         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8150         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8151         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8152         * sysdeps/tile/bits/atomic.h: Move to ...
8153         * sysdeps/tile/atomic-machine.h: ...here.
8154         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8155         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8156         <sysdeps/tile/atomic-machine.h> instead of
8157         <sysdeps/tile/bits/atomic.h>.
8158         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8159         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8160         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8161         <sysdeps/tile/atomic-machine.h> instead of
8162         <sysdeps/tile/bits/atomic.h>.
8163         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8164         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8165         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8166         <sysdeps/arm/atomic-machine.h> instead of
8167         <sysdeps/arm/bits/atomic.h>.
8168         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8169         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8170         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8171         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8172         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8173         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8174         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8175         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8176         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8177         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8178         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8179         * sysdeps/x86_64/bits/atomic.h: Move to ...
8180         * sysdeps/x86_64/atomic-machine.h: ...here.
8181         * include/atomic.h: Include <atomic-machine.h> instead of
8182         <bits/atomic.h>.
8184         * sysdeps/mips/mips32/libm-test-ulps: Update.
8185         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8187         [BZ #18952]
8188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8189         not convert non-integer negative arguments to int to determine the
8190         value of signgam.
8191         * math/auto-libm-test-in: Add more tests of lgamma.
8192         * math/auto-libm-test-out: Regenerated.
8194         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8195         cosh, csqrt, erfc, expm1 and lgamma.
8196         * math/auto-libm-test-out: Regenerated.
8197         * sysdeps/i386/fpu/libm-test-ulps: Update.
8198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8200 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8202         [BZ #2542]
8203         [BZ #2543]
8204         [BZ #2558]
8205         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8206         __lgamma_neg for arguments from -28.0 to -2.0.
8207         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8208         __lgamma_negf for arguments from -15.0 to -2.0.
8209         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8210         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8211         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8212         Call __lgamma_negl for arguments from -33.0 to -2.0.
8213         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8214         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8215         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8216         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8217         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8218         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8219         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8220         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8221         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8222         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8223         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8224         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8225         (__lgamma_neg): Likewise.
8226         (__lgamma_negl): Likewise.
8227         (__lgamma_product): Likewise.
8228         (__lgamma_productl): Likewise.
8229         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8230         * math/auto-libm-test-in: Add more tests of lgamma.
8231         * math/auto-libm-test-out: Regenerated.
8232         * sysdeps/i386/fpu/libm-test-ulps: Update.
8233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8235 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8237         [BZ #18675]
8238         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8240 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8242         [BZ #14912]
8243         * bits/libc-lock.h: Move to ...
8244         * sysdeps/generic/libc-lock.h: ...here.
8245         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8246         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8247         * sysdeps/mach/hurd/libc-lock.h: ...here.
8248         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8249         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8250         * sysdeps/mach/bits/libc-lock.h: Move to ...
8251         * sysdeps/mach/libc-lock.h: ...here.
8252         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8253         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8254         * sysdeps/nptl/libc-lock.h: ...here.
8255         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8256         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8257         * sysdeps/nptl/libc-lockP.h: ...here.
8258         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8259         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8260         <bits/libc-lock.h>.
8261         * dirent/scandir-tail.c: Likewise.
8262         * dlfcn/dlerror.c: Likewise.
8263         * elf/dl-close.c: Likewise.
8264         * elf/dl-iteratephdr.c: Likewise.
8265         * elf/dl-lookup.c: Likewise.
8266         * elf/dl-open.c: Likewise.
8267         * elf/dl-support.c: Likewise.
8268         * elf/dl-writev.h: Likewise.
8269         * elf/rtld.c: Likewise.
8270         * grp/fgetgrent.c: Likewise.
8271         * gshadow/fgetsgent.c: Likewise.
8272         * gshadow/sgetsgent.c: Likewise.
8273         * iconv/gconv_conf.c: Likewise.
8274         * iconv/gconv_db.c: Likewise.
8275         * iconv/gconv_dl.c: Likewise.
8276         * iconv/gconv_int.h: Likewise.
8277         * iconv/gconv_trans.c: Likewise.
8278         * include/link.h: Likewise.
8279         * inet/getnameinfo.c: Likewise.
8280         * inet/getnetgrent.c: Likewise.
8281         * inet/getnetgrent_r.c: Likewise.
8282         * intl/bindtextdom.c: Likewise.
8283         * intl/dcigettext.c: Likewise.
8284         * intl/finddomain.c: Likewise.
8285         * intl/gettextP.h: Likewise.
8286         * intl/loadmsgcat.c: Likewise.
8287         * intl/localealias.c: Likewise.
8288         * intl/textdomain.c: Likewise.
8289         * libidn/idn-stub.c: Likewise.
8290         * libio/libioP.h: Likewise.
8291         * locale/duplocale.c: Likewise.
8292         * locale/freelocale.c: Likewise.
8293         * locale/newlocale.c: Likewise.
8294         * locale/setlocale.c: Likewise.
8295         * login/getutent_r.c: Likewise.
8296         * login/getutid_r.c: Likewise.
8297         * login/getutline_r.c: Likewise.
8298         * login/utmp-private.h: Likewise.
8299         * login/utmpname.c: Likewise.
8300         * malloc/mtrace.c: Likewise.
8301         * misc/efgcvt.c: Likewise.
8302         * misc/error.c: Likewise.
8303         * misc/fstab.c: Likewise.
8304         * misc/getpass.c: Likewise.
8305         * misc/mntent.c: Likewise.
8306         * misc/syslog.c: Likewise.
8307         * nis/nis_call.c: Likewise.
8308         * nis/nis_callback.c: Likewise.
8309         * nis/nss-default.c: Likewise.
8310         * nis/nss_compat/compat-grp.c: Likewise.
8311         * nis/nss_compat/compat-initgroups.c: Likewise.
8312         * nis/nss_compat/compat-pwd.c: Likewise.
8313         * nis/nss_compat/compat-spwd.c: Likewise.
8314         * nis/nss_nis/nis-alias.c: Likewise.
8315         * nis/nss_nis/nis-ethers.c: Likewise.
8316         * nis/nss_nis/nis-grp.c: Likewise.
8317         * nis/nss_nis/nis-hosts.c: Likewise.
8318         * nis/nss_nis/nis-network.c: Likewise.
8319         * nis/nss_nis/nis-proto.c: Likewise.
8320         * nis/nss_nis/nis-pwd.c: Likewise.
8321         * nis/nss_nis/nis-rpc.c: Likewise.
8322         * nis/nss_nis/nis-service.c: Likewise.
8323         * nis/nss_nis/nis-spwd.c: Likewise.
8324         * nis/nss_nisplus/nisplus-alias.c: Likewise.
8325         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8326         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8327         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8328         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8329         * nis/nss_nisplus/nisplus-network.c: Likewise.
8330         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8331         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8332         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8333         * nis/nss_nisplus/nisplus-service.c: Likewise.
8334         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8335         * nis/ypclnt.c: Likewise.
8336         * nptl/libc_pthread_init.c: Likewise.
8337         * nss/getXXbyYY.c: Likewise.
8338         * nss/getXXent.c: Likewise.
8339         * nss/getXXent_r.c: Likewise.
8340         * nss/nss_db/db-XXX.c: Likewise.
8341         * nss/nss_db/db-netgrp.c: Likewise.
8342         * nss/nss_db/nss_db.h: Likewise.
8343         * nss/nss_files/files-XXX.c: Likewise.
8344         * nss/nss_files/files-alias.c: Likewise.
8345         * nss/nsswitch.c: Likewise.
8346         * posix/regex_internal.h: Likewise.
8347         * posix/wordexp.c: Likewise.
8348         * pwd/fgetpwent.c: Likewise.
8349         * resolv/res_hconf.c: Likewise.
8350         * resolv/res_libc.c: Likewise.
8351         * shadow/fgetspent.c: Likewise.
8352         * shadow/lckpwdf.c: Likewise.
8353         * shadow/sgetspent.c: Likewise.
8354         * socket/opensock.c: Likewise.
8355         * stdio-common/reg-modifier.c: Likewise.
8356         * stdio-common/reg-printf.c: Likewise.
8357         * stdio-common/reg-type.c: Likewise.
8358         * stdio-common/vfprintf.c: Likewise.
8359         * stdio-common/vfscanf.c: Likewise.
8360         * stdlib/abort.c: Likewise.
8361         * stdlib/cxa_atexit.c: Likewise.
8362         * stdlib/fmtmsg.c: Likewise.
8363         * stdlib/random.c: Likewise.
8364         * stdlib/setenv.c: Likewise.
8365         * string/strsignal.c: Likewise.
8366         * sunrpc/auth_none.c: Likewise.
8367         * sunrpc/bindrsvprt.c: Likewise.
8368         * sunrpc/create_xid.c: Likewise.
8369         * sunrpc/key_call.c: Likewise.
8370         * sunrpc/rpc_thread.c: Likewise.
8371         * sysdeps/arm/backtrace.c: Likewise.
8372         * sysdeps/generic/ldsodefs.h: Likewise.
8373         * sysdeps/generic/stdio-lock.h: Likewise.
8374         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8375         * sysdeps/i386/backtrace.c: Likewise.
8376         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8377         * sysdeps/m68k/backtrace.c: Likewise.
8378         * sysdeps/mach/hurd/cthreads.c: Likewise.
8379         * sysdeps/mach/hurd/dirstream.h: Likewise.
8380         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8381         * sysdeps/nptl/malloc-machine.h: Likewise.
8382         * sysdeps/nptl/stdio-lock.h: Likewise.
8383         * sysdeps/posix/dirstream.h: Likewise.
8384         * sysdeps/posix/getaddrinfo.c: Likewise.
8385         * sysdeps/posix/system.c: Likewise.
8386         * sysdeps/pthread/aio_suspend.c: Likewise.
8387         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8388         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8389         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8390         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8391         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8392         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8393         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8394         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8395         * sysdeps/unix/sysv/linux/system.c: Likewise.
8396         * sysdeps/x86_64/backtrace.c: Likewise.
8397         * time/alt_digit.c: Likewise.
8398         * time/era.c: Likewise.
8399         * time/tzset.c: Likewise.
8400         * wcsmbs/wcsmbsload.c: Likewise.
8401         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8402         instead of <bits/libc-lock.h> in comment.
8404 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8406         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8407         Only use .set mips2 if the current ISA is below mips2.
8408         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8409         Likewise.
8410         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8411         mips32r2 if the current ISA is below mips32r2.
8412         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8413         (TLS_IE): Updated to use the TLD_RDHWR macro.
8414         (TLS_LE): Likewise.
8415         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8416         __ASSEMBLER__ condition.
8418 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8420         Fix parallel build of before-compile targets.
8422         * sysdeps/mach/Makefile ($(patsubst
8423         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8424         mach-before-compile target.
8425         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8426         io fs process)): Move rule to dedicated hurd-before-compile target.
8428 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8430         Fix rules generating headers in hurd/ and mach/ when initial make call
8431         has subdir= explicitly set.
8433         * sysdeps/mach/Makefile ($(patsubst
8434         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8435         calling $(MAKE).
8436         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8437         io fs process)): Force subdir to hurd when calling $(MAKE).
8438         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8439         subdir to mach when calling $(MAKE).
8441 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8443         Check sysheaders when looking for Mach and Hurd headers
8445         * sysdeps/mach/configure.ac: Add sysheaders check.
8446         * sysdeps/mach/configure: Regenerate.
8447         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8448         * sysdeps/mach/hurd/configure: Regenerate.
8450 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8452         [BZ #18921]
8453         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8454         Fix inverted sense of test of 'o_directory_works' value.
8455         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8456         Bernhard Voelker <mail@bernhard-voelker.de>.
8458 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8460         [BZ #14912]
8461         * bits/linkmap.h: Move to ...
8462         * sysdeps/generic/linkmap.h: ...here.
8463         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8464         * sysdeps/aarch64/linkmap.h: ...here.
8465         * sysdeps/arm/bits/linkmap.h: Move to ...
8466         * sysdeps/arm/linkmap.h: ...here.
8467         * sysdeps/hppa/bits/linkmap.h: Move to ...
8468         * sysdeps/hppa/linkmap.h: ...here.
8469         * sysdeps/ia64/bits/linkmap.h: Move to ...
8470         * sysdeps/ia64/linkmap.h: ...here.
8471         * sysdeps/mips/bits/linkmap.h: Move to ...
8472         * sysdeps/mips/linkmap.h: ...here.
8473         * sysdeps/s390/bits/linkmap.h: Move to ...
8474         * sysdeps/s390/linkmap.h: ...here.
8475         * sysdeps/sh/bits/linkmap.h: Move to ...
8476         * sysdeps/sh/linkmap.h: ...here.
8477         * sysdeps/x86/bits/linkmap.h: Move to ...
8478         * sysdeps/x86/linkmap.h: ...here.
8479         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8481 2015-09-04  Andreas Schwab  <schwab@suse.de>
8483         [BZ #18635]
8484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8485         (__makecontext): Terminate FDE before return label.
8486         (__novec_makecontext): Likewise.
8488 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8490         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8491         first member of struct sv in syscall macro.
8493 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8495         [BZ #14912]
8496         * bits/stdio-lock.h: Move to ...
8497         * sysdeps/generic/stdio-lock.h: ...here.
8498         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8499         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8500         * sysdeps/nptl/stdio-lock.h: ...here.
8501         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8502         * include/libio.h: Include <stdio-lock.h> instead of
8503         <bits/stdio-lock.h>.
8504         * sysdeps/nptl/fork.c: Likewise.
8505         * sysdeps/pthread/flockfile.c: Likewise.
8506         * sysdeps/pthread/ftrylockfile.c: Likewise.
8507         * sysdeps/pthread/funlockfile.c: Likewise.
8509         [BZ #14912]
8510         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8511         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8512         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8513         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8514         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8515         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8516         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8518 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8520         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8521         (test-xfail-tst-protected1b): New variable.
8523 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8525         [BZ #14912]
8526         * bits/libc-tsd.h: Move to ...
8527         * sysdeps/generic/libc-tsd.h: ...here.
8528         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8529         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8530         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8531         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8532         * include/ctype.h: Include <libc-tsd.h> instead of
8533         <bits/libc-tsd.h>.
8534         * include/rpc/rpc.h: Likewise.
8535         * locale/localeinfo.h: Likewise.
8536         * sunrpc/rpc_thread.c: Likewise.
8537         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8538         * sysdeps/nptl/malloc-machine.h: Likewise.
8540         * Makefile (headers): Remove bits/libc-lock.h.
8541         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8543         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8544         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8545         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8546         <bits/stdio-lock.h>.
8547         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8548         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8550 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8552         [BZ #18757]
8553         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8554         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8555         BZ #18757.
8557 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8559         * malloc/mtrace.pl: Filter out NULL entries.
8561 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8563         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8564         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8565         macro.
8567         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8568         (TCP_CC_INFO): Likewise.
8569         (TCP_SAVE_SYN): Likewise.
8570         (TCP_SAVED_SYN): Likewise.
8572 2015-08-31  Brett Neumeier <brett@neumeier.us>
8574         [BZ #18870]
8575         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8577 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8579         [BZ #18873]
8580         Fix broken overflow check in posix_fallocate
8581         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8582         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8583         Fix parenthesization typo.
8585 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8587         [BZ #18887]
8588         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8589         tst-mntent-blank-passno.
8590         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8591         * misc/tst-mntent-blank-corrupt.c: New test.
8592         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8593         * misc/tst-mntent.c (do_test): ... here.
8595 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8597         [BZ #4404]
8598         * po/de.po: Fix SIGALRM typo.
8600 2015-08-28  James Perkins  <james@loowit.net>
8602         * time/tst-strptime2.c (tests): Replace short list of test
8603         strings for strptime %z specifier with code which exhaustively
8604         tests every combination of sign and 0 to 5 digits. Tests for
8605         rejection of invalid strings.
8607 2015-08-28  James Perkins  <james@loowit.net>
8609         [BZ #16141]
8610         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8611         calculation, removing incorrect decimal time rounding, so that
8612         all minute values result in a valid seconds value.
8613         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8614         offset range limits to UTC-99:59 through UTC+99:59 to parse
8615         current and historical use cases.
8616         * time/tst-strptime2.c (tests): Modify and add tests for the
8617         strptime %z input field descriptor, specifically conversion of
8618         minutes to seconds and validating an offset range of -9959 to
8619         +9959.
8621 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8622             Dmitry V. Levin  <ldv@altlinux.org>
8624         [BZ #18877]
8625         * posix/Makefile (tests): Add tst-mmap-offset.
8626         * posix/tst-mmap.c: New file.
8627         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8628         offset calculation for negative values.
8630 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8632         * sysdeps/i386/init-arch.h: New file.
8633         * sysdeps/i386/i586/init-arch.h: Likewise.
8634         * sysdeps/i386/i686/init-arch.h: Likewise.
8635         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8636         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8637         * sysdeps/x86/cpu-features.h (bit_I586): New.
8638         (bit_I686): Likewise.
8639         (bit_CX8): Likewise.
8640         (bit_CMOV): Likewise.
8641         (index_CX8): Likewise.
8642         (index_CMOV): Likewise.
8643         (index_I586): Likewise.
8644         (index_I686): Likewise.
8645         (reg_CX8): Likewise.
8646         (reg_CMOV): Likewise.
8647         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8648         available at compile-time.
8649         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8650         available at compile-time.
8651         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8652         (USE_I686): Likewise.
8654 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8656         * sysdeps/i386/bcopy.S: New file.
8657         * sysdeps/i386/bzero.S: Likewise.
8658         * sysdeps/i386/memcpy.S: Likewise.
8659         * sysdeps/i386/memmove.S: Likewise.
8660         * sysdeps/i386/mempcpy.S: Likewise.
8661         * sysdeps/i386/memset.S: Likewise.
8662         * sysdeps/i386/bzero.c: Removed.
8663         * sysdeps/i386/memset.c: Likewise.
8664         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8665         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8666         * sysdeps/i386/i586/memset_chk.S: Likewise.
8667         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8668         * sysdeps/i386/memcpy_chk.S: Here.
8669         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8670         * sysdeps/i386/memmove_chk.S: Here.
8671         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8672         * sysdeps/i386/mempcpy_chk.S: Likewise.
8673         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8674         * sysdeps/i386/memset_chk.S: Likewise.
8676 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8678         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8679         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8680         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8681         * soft-fp/fmadf4.c: Ditto.
8682         * soft-fp/fmatf4.c: Ditto.
8684 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8686         * sysdeps/i386/i586/Implies: Removed.
8687         * sysdeps/i386/i686/Implies: Likewise.
8689 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8691         * sysdeps/i386/i486/strlen.S: Moved to ...
8692         * sysdeps/i386/strlen.S: Here.
8694 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8696         * sysdeps/i386/i486/strcat.S: Moved to ...
8697         * sysdeps/i386/strcat.S: Here.
8699 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8701         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8702         * sysdeps/i386/pthread_spin_trylock.S: Here.
8703         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8704         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8706 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8708         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8709         * sysdeps/i386/string-inlines.c: Here.
8711 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8713         * sysdeps/i386/i486/htonl.S: Moved ...
8714         * sysdeps/i386/htonl.S: here.
8716 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8718         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8719         * sysdeps/i386/bits/atomic.h: Here.
8721 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8723         * sysdeps/i386/i486/Versions: Removed.
8725 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8727         [BZ #2898]
8728         * misc/mktemp.c: Add mkdtemp to the link_warning message.
8729         Based on patch by Aurelien Jarno.
8731 2015-08-26  Stan Shebs  <stanshebs@google.com>
8733         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8734         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8736 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8738         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8739         * sysdeps/powerpc/dl-procinfo.c:
8740         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8741         feature so it shows when LD_SHOW_AUXV=1.
8743 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8745         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8746         (__arch_compare_and_exchange_val_32_acq): Remove and use common
8747         definition.  ISA 2.07B no longer requires full sync.
8749 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
8751         [BZ #18863]
8752         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8753         (si_call_addr): Define.
8754         (si_syscall): Define.
8755         (si_arch): Define.
8757 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8759         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8760         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8761         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8762         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8763         (__memset_zero_constant_len_parameter): New.
8764         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8765         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8766         (__memset_zero_constant_len_parameter): Don't define if
8767         __memset_chk or USE_AS_BZERO are defined.
8769         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8770         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8771         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8773         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8774         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8775         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8776         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8777         comments.
8778         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8779         -mno-mmx for $(all-rtld-routines).
8780         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8781         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8782         i386.
8784 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8786         * sysdeps/generic/unwind.h
8787         (_Unwind_Word): Use __mode__(__unwind_word__)
8788         instead of __mode__(__word__).
8789         (_Unwind_Sword): Likewise.
8791         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8792         (MAX_NEEDED_INPUT): New define.
8793         (MAX_NEEDED_OUTPUT): New define.
8795         * NEWS: New item for IBM z13 string optimizations.
8797         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8798         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8799         * sysdeps/s390/multiarch/memrchr.c: Likewise.
8800         * sysdeps/s390/multiarch/Makefile
8801         (sysdep_routines): Add memrchr functions.
8802         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8803         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
8805         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
8806         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
8807         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
8808         * sysdeps/s390/multiarch/Makefile
8809         (sysdep_routines): Add wmemcmp functions.
8810         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8811         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
8812         * benchtests/bench-wmemcmp.c: New File.
8813         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
8815         * sysdeps/s390/multiarch/wmemset-c.c: New File.
8816         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
8817         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8818         * sysdeps/s390/multiarch/Makefile
8819         (sysdep_routines): Add wmemset functions.
8820         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8821         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
8822         * wcsmbs/wmemset.c: Use WMEMSET if defined.
8823         * string/test-memset.c: Add wmemset support.
8824         * wcsmbs/test-wmemset.c: New File.
8825         * wcsmbs/Makefile (strop-tests): Add wmemset.
8826         * benchtests/bench-memset.c: Add wmemset support.
8827         * benchtests/bench-wmemset.c: New File.
8828         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
8830         * sysdeps/s390/multiarch/memccpy-c.c: New File.
8831         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
8832         * sysdeps/s390/multiarch/memccpy.c: Likewise.
8833         * sysdeps/s390/multiarch/Makefile
8834         (sysdep_routines): Add memccpy functions.
8835         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8836         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
8837         * string/memccpy.c: Use MEMCCPY if defined.
8839         * sysdeps/s390/multiarch/memchr-vx.S: New File.
8840         * sysdeps/s390/multiarch/memchr.c: Likewise.
8841         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
8842         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
8843         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8844         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
8845         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
8846         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8847         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
8848         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8849         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
8850         and rawmemchr functions.
8851         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
8852         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
8853         and wmemchr.
8854         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
8855         * string/test-memchr.c: Add wmemchr support.
8856         * wcsmbs/test-wmemchr.c: New File.
8857         * wcsmbs/Makefile (strop-tests): Add wmemchr.
8858         * benchtests/bench-memchr.c: Add wmemchr support.
8859         * benchtests/bench-wmemchr.c: New File.
8860         * benchtests/Makefile (wcsmbs-bench): wmemchr.
8862         * sysdeps/s390/multiarch/strcspn-c.c: New File.
8863         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
8864         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8865         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
8866         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
8867         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
8868         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
8869         wcscspn functions.
8870         * sysdeps/s390/multiarch/ifunc-impl-list.c
8871         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
8872         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
8873         * string/test-strcspn.c: Add wcscspn support.
8874         * wcsmbs/test-wcscspn.c: New File.
8875         * wcsmbs/Makefile (strop-tests): Add wcscspn.
8876         * benchtests/bench-strcspn.c: Add wcscspn support.
8877         * benchtests/bench-wcscspn.c: New File.
8878         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
8880         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
8881         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
8882         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8883         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
8884         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
8885         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8886         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
8887         wcspbrk functions.
8888         * sysdeps/s390/multiarch/ifunc-impl-list.c
8889         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
8890         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
8891         * string/test-strpbrk.c: Add wcspbrk support.
8892         * wcsmbs/test-wcspbrk.c: New File.
8893         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
8894         * benchtests/bench-strpbrk.c: Add wcspbrk support.
8895         * benchtests/bench-wcspbrk.c: New File.
8896         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
8898         * sysdeps/s390/multiarch/strspn-c.c: New File.
8899         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
8900         * sysdeps/s390/multiarch/strspn.c: Likewise.
8901         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
8902         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
8903         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8904         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
8905         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
8906         wcsspn functions.
8907         * sysdeps/s390/multiarch/ifunc-impl-list.c
8908         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
8909         * string/test-strspn.c: Add wcsspn support.
8910         * wcsmbs/test-wcsspn.c: New File.
8911         * wcsmbs/Makefile (strop-tests): Add wcsspn.
8912         * benchtests/bench-strspn.c: Add wcsspn support.
8913         * benchtests/bench-wcsspn.c: New File.
8914         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
8916         * sysdeps/s390/multiarch/strrchr-c.c: New File.
8917         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
8918         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8919         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
8920         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
8921         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
8922         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
8923         wcsrchr functions.
8924         * sysdeps/s390/multiarch/ifunc-impl-list.c
8925         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
8926         * benchtests/bench-wcsrchr.c: New File.
8927         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
8929         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
8930         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
8931         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
8932         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
8933         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
8934         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
8935         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
8936         wcschrnul functions.
8937         * sysdeps/s390/multiarch/ifunc-impl-list.c
8938         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
8939         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
8940         * string/test-strchr.c: Add wcschrnul support.
8941         * wcsmbs/test-wcschrnul.c: New File.
8942         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
8943         * benchtests/bench-strchr.c: Add wcschrnul support.
8944         * benchtests/bench-wcschrnul.c: New File.
8945         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
8947         * sysdeps/s390/multiarch/strchr-c.c: New File.
8948         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
8949         * sysdeps/s390/multiarch/strchr.c: Likewise.
8950         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
8951         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
8952         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8953         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
8954         wcschr functions.
8955         * sysdeps/s390/multiarch/ifunc-impl-list.c
8956         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
8957         * string/strchr.c (STRCHR): Define and use macro.
8958         * benchtests/bench-wcschr.c: New File.
8959         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
8961         * sysdeps/s390/multiarch/strncmp-c.c: New File.
8962         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
8963         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8964         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
8965         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
8966         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
8967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
8968         wcsncmp functions.
8969         * sysdeps/s390/multiarch/ifunc-impl-list.c
8970         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
8971         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
8972         * benchtests/bench-strncmp.c: Add wcsncmp support.
8973         * benchtests/bench-wcsncmp.c: New File.
8974         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
8976         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
8977         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8978         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
8979         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
8980         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8981         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
8982         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
8984         wcscmp functions.
8985         * sysdeps/s390/multiarch/ifunc-impl-list.c
8986         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
8987         * string/strcmp.c (STRCMP): Define and use macro.
8988         * benchtests/bench-wcscmp.c: New File.
8989         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
8990         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
8991         instead of _HAVE_STRING_ARCH_memchr.
8993         * sysdeps/s390/multiarch/strncat-c.c: New File.
8994         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
8995         * sysdeps/s390/multiarch/strncat.c: Likewise.
8996         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
8997         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
8998         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
8999         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9000         wcsncat functions.
9001         * sysdeps/s390/multiarch/ifunc-impl-list.c
9002         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9003         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9004         * string/test-strncat.c: Add wcsncat support.
9005         * wcsmbs/test-wcsncat.c: New File.
9006         * wcsmbs/Makefile (strop-tests): Add wcsncat.
9007         * benchtests/bench-strncat.c: Add wcsncat support.
9008         * benchtests/bench-wcsncat.c: New File.
9009         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9011         * sysdeps/s390/multiarch/strcat-c.c: New File.
9012         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9013         * sysdeps/s390/multiarch/strcat.c: Likewise.
9014         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9015         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9016         * sysdeps/s390/multiarch/wcscat.c: Likewise.
9017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9018         wcscat functions.
9019         * sysdeps/s390/multiarch/ifunc-impl-list.c
9020         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9021         * string/strcat.c (STRCAT): Define and use macro.
9022         * wcsmbs/wcscat.c: Use WCSCAT if defined.
9023         * string/test-strcat.c: Add wcscat support.
9024         * wcsmbs/test-wcscat.c: New File.
9025         * wcsmbs/Makefile (strop-tests): Add wcscat.
9026         * benchtests/bench-strcat.c: Add wcscat support.
9027         * benchtests/bench-wcscat.c: New File.
9028         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9030         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9031         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9032         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9033         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9034         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9035         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9036         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9037         wcpncpy functions.
9038         * sysdeps/s390/multiarch/ifunc-impl-list.c
9039         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9040         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9041         * string/test-stpncpy.c: Add wcpncpy support.
9042         * wcsmbs/test-wcpncpy.c: New File.
9043         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9044         * benchtests/bench-stpncpy.c: Add wcpncpy support.
9045         * benchtests/bench-wcpncpy.c: New File.
9046         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9048         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9049         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9050         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9051         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9052         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9053         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9054         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9055         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9056         wcsncpy functions.
9057         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9058         * sysdeps/s390/multiarch/ifunc-impl-list.c
9059         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9060         * string/test-strncpy.c: Add wcsncpy support.
9061         * wcsmbs/test-wcsncpy.c: New File.
9062         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9063         * benchtests/bench-strncpy.c: Add wcsncpy support.
9064         * benchtests/bench-wcsncpy.c: New File.
9065         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9067         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9068         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9069         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9070         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9071         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9072         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9073         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9074         wcpcpy functions.
9075         * string/stpcpy.c: Use STPCPY if defined.
9076         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9077         * sysdeps/s390/multiarch/ifunc-impl-list.c
9078         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9079         * string/test-stpcpy.c: Add wcpcpy support.
9080         * wcsmbs/test-wcpcpy.c: New File.
9081         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9082         * benchtests/bench-stpcpy.c: Add wcpcpy support.
9083         * benchtests/bench-wcpcpy.c: New File.
9084         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9086         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9087         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9088         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9089         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9090         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9091         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9092         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9093         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9094         wcscpy functions.
9095         * sysdeps/s390/multiarch/ifunc-impl-list.c
9096         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9097         * benchtests/bench-wcscpy.c: New File.
9098         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9100         * sysdeps/s390/multiarch/strnlen-c.c: New File.
9101         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9102         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9103         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9104         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9105         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9106         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9107         wcsnlen functions.
9108         * sysdeps/s390/multiarch/ifunc-impl-list.c
9109         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9110         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9111         * string/test-strnlen.c: Add wcsnlen support.
9112         * wcsmbs/test-wcsnlen.c: New File.
9113         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9114         * benchtests/bench-strnlen.c: Add wcsnlen support.
9115         * benchtests/bench-wcsnlen.c: New File.
9116         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9118         * sysdeps/s390/multiarch/Makefile: New File.
9119         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9120         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9121         * sysdeps/s390/multiarch/strlen.c: Likewise.
9122         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9123         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9124         * sysdeps/s390/multiarch/wcslen.c: Likewise.
9125         * string/strlen.c (STRLEN): Define and use macro.
9126         * sysdeps/s390/multiarch/ifunc-impl-list.c
9127         (IFUNC_VX_IMPL): New macro function.
9128         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9129         * benchtests/Makefile (wcsmbs-bench): New variable.
9130         (string-bench-all): Added wcsmbs-bench.
9131         * benchtests/bench-wcslen.c: New File.
9133         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9134         s390_vx_libc_ifunc2): New macro function.
9136         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9137         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9138         assembler support.
9139         * sysdeps/s390/configure: Regenerated.
9141         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9142         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9144         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9145         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9146         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9148         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9149         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9150         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9151         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9152         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9153         (memcmp, bcmp): Use __memcmp_default as alias source.
9154         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9155         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9156         Rename to __memcmp_default.
9157         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9158         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9159         (memcpy): Use __memcpy_default as alias source.
9160         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9161         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9162         Rename to __memcpy_default.
9163         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9164         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9165         (memset): Use __memset_default as alias source.
9166         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9167         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9168         Rename to __memset_default.
9169         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9170         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9171         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9172         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9173         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9174         (memcmp, bcmp): Use __memcmp_default as alias source.
9175         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9176         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9177         Rename to __memcmp_default.
9178         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9179         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9180         (memcpy): Use __memcpy_default as alias source.
9181         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9182         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9183         Rename to __memcpy_default.
9184         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9185         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9186         (memset): Use __memset_default as alias source.
9187         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9188         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9189         Rename to __memset_default.
9190         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9191         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9193         [BZ #18610]
9194         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9195         __ieee_instruction_pointer to __unused.
9196         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9197         __ieee_instruction_pointer.
9198         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9199         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9200         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9201         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9202         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9203         Mark dxc-field as reserved.
9205 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9207         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9208         if the weak reference is not null.
9210 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9212         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9214         [BZ #11214]
9215         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9217 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9219         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9220         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9221         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9222         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9223         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9224         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9225         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9226         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9227         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9228         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9229         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9230         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9231         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9232         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9233         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9234         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9235         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9236         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9238 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9240         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9241         register other than r0 for tabort, it has special meaning.
9242         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9243         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9244         transaction before starting syscall.
9246 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9248         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9250 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9252         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9254         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9255         * sysdeps/x86_64/rtld-memset.S: Likewise.
9256         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9257         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9258         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9259         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9261         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9263 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9265         * debug/strcpy_chk.c: Improve performance.
9266         * debug/stpcpy_chk.c: Likewise.
9267         * sysdeps/x86_64/strcpy_chk.S: Remove.
9268         * sysdeps/x86_64/stpcpy_chk.S: Remove.
9270         [BZ #18240]
9271         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9273 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9275         [BZ #15128]
9276         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9277         ifuncmain8.
9278         (modules-names): Add ifuncmod8.
9279         ($(objpfx)ifuncmain8): New rule.
9280         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9281         <cpuid.h>.
9282         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9283         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9284         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9285         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9286         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9287         * sysdeps/x86_64/dl-trampoline.h: Likewise.
9288         * sysdeps/x86_64/ifuncmain8.c: New file.
9289         * sysdeps/x86_64/ifuncmod8.c: Likewise.
9290         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9291         Removed.
9292         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9293         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9294         Change rtld_savespace_sse to __glibc_unused2.
9295         (RTLD_CHECK_FOREIGN_CALL): Removed.
9296         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9297         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9298         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9300 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9302         * sysdeps/aarch64/bzero.S (__bzero): Remove.
9304 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9306         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9307         Unconditionally set __fpcr to avoid uninialized warning.
9308         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9310 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9312         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9313         is corrupt.
9315         * malloc/arena.c (arena_get2): Drop unused argument.
9316         (arena_lock): Adjust.
9317         (arena_get_retry): Likewise.
9319 2015-08-24  Andreas Schwab  <schwab@suse.de>
9321         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9322         Don't define.
9323         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9324         (__ASSUME_IPC64): Don't undef.
9325         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9326         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9327         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9328         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9329         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9330         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9331         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9332         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9333         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9334         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9335         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9336         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9337         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9338         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9339         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9340         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9341         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9342         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9343         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9344         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9345         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9347 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9349         * manual/Makefile (install): Only build manual when perl is available.
9351 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9353         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9354         '#undef memcpy' by '#undef memchr'.
9356 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9358         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9359         memchr not point to the internal __GI_memchr implementation.
9361 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9363         * timezone/Makefile (CFLAGS-zdump.c): Remove
9364         -Wno-strict-prototypes.
9365         (CFLAGS-zic.c): Likewise.
9366         (CFLAGS-ialloc.c): Likewise.
9367         (CFLAGS-scheck.c): Likewise.
9369         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9370         -Wno-error=undef.
9372 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9374         * i386/i686/multiarch/strcasestr-c.c: Removed.
9375         * x86_64/multiarch/strcasestr.c: Likewise.
9376         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9377         Remove strcasestr.
9379 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9381         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9383         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9384         variables for high and low parts before possibly modifying them.
9386 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9388         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9389         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9390         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9391         of "multiarch/init-arch.h".
9392         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9393         * sysdeps/x86/init-arch.h: This.
9395 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9397         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9398         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9400 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9402         [BZ #17787]
9403         * manual/macros.texi: Add twoexp macro.
9404         * manual/filesys.texi: Fix exponents.
9405         * manual/llio.texi: Likewise.
9406         * manual/stdio.texi: Likewise.
9408 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9410         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9411         incorrect use.
9413 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9415         [BZ #18370]
9416         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9417         whose real or imaginary part has small absolute value.
9418         * math/s_csqrtf.c (__csqrtf): Likewise.
9419         * math/s_csqrtl.c (__csqrtl): Likewise.
9420         * math/auto-libm-test-in: Add more tests of csqrt.
9421         * math/auto-libm-test-out: Regenerated.
9422         * sysdeps/i386/fpu/libm-test-ulps: Update.
9424 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9426         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9427         __ppc_set_ppr_very_low): New functions.
9428         * manual/platform.texi: Add documentation about
9429         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9431 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9433         * string/stpncpy.c (stpncpy): Improve performance using
9434         __strnlen/memcpy/memset.
9436 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9438         [BZ #18796]
9439         * scripts/test-installation.pl: Don't add -lmvec to build options if
9440         libmvec wasn't built.
9442 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9444         [BZ #14341]
9445         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9446         case when there is a gap between DT_REL and DT_JMPREL sections.
9447         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9448         (LDFLAGS-tst-split-dynreloc): New.
9449         (tst-split-dynreloc-ENV): Likewise.
9450         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9451         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9453 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9455         [BZ #18822]
9456         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9457         attribute_hidden.
9458         (__xstat64_conv): Likewise.
9459         (__xstat32_conv): Likewise.
9461 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9463         [BZ #18822]
9464         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9465         Don't load %ebx when calling __setcontext.  Call __setcontext
9466         with HIDDEN_JUMPTARGET.
9467         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9468         libc_hidden_def.
9470 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9472         * sysdeps/i386/i686/Makefile
9473         [$(subdir) == string] (sysdep_routines): Moved to ...
9474         * sysdeps/i386/Makefile: Here.
9475         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9476         * sysdeps/i386/cacheinfo.c: Here.
9477         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9478         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9479         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9480         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9482 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9484         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9485         __i586__ is defined.
9486         (HAS_I686): Defined to 1 if __i686__ is defined.
9488 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9490         * elf/Makefile [$(have-z-execstack) = yes]
9491         (CPPFLAGS-tst-execstack.c): New variable.
9493         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9494         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9495         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9496         UTMPX || _HAVE_UT_TV].
9497         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9498         UTMPX || _HAVE_UT_TV - 0].
9500 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9502         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9503         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9504         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9506 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9508         * sysdeps/powerpc/dl-procinfo.c:
9509         (_dl_powerpc_cap_flags): Added missing strings for some
9510         hwcap features.
9511         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9513 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9515         Port the 0x7efe...feff pattern to GCC 6.
9516         See Steve Ellcey's bug report in:
9517         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9518         * string/memrchr.c (MEMRCHR):
9519         * string/rawmemchr.c (RAWMEMCHR):
9520         * string/strchr.c (strchr):
9521         * string/strchrnul.c (STRCHRNUL):
9522         Rewrite code to avoid issues with signed shift overflow.
9524 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9526         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9527         whether cpuid is available only if HAS_CPUID is 0.
9528         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9529         (HAS_I586): Likewise.
9530         (HAS_I686): Likewise.
9532 2015-08-18  Zack Weinberg  <zackw@panix.com>
9534         * misc/Versions (libc): Add GLIBC_2.23.
9536 2015-08-18  Alan Modra  <amodra@gmail.com>
9538         [BZ #18421]
9539         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9540         .Lp__global.
9541         (_start): Load %dp via .Lp__global.
9542         [!SHARED]: Use .section .rodata.
9544 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9546         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9547         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9549 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9551         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9552         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9554 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9556         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9557         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9559 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9561         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9562         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9564 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9566         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9567         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9569 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9571         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9572         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9574 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9576         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9578 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9580         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9581         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9582         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9583         (__ASSUME_LWS_CAS): Delete.
9585 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9587         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9588         * sysdeps/hppa/configure: Regenerated.
9589         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9590         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9591         * sysdeps/hppa/nptl/tls.h: Likewise.
9593 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9595         [BZ #18823]
9596         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9597         for scaling up small arguments.
9598         * math/s_csqrtf.c (__csqrtf): Likewise.
9599         * math/s_csqrtl.c (__csqrtl): Likewise.
9600         * math/auto-libm-test-in: Add more tests of csqrt.
9601         * math/auto-libm-test-out: Regenerated.
9603 2015-08-17  Andreas Schwab  <schwab@suse.de>
9605         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9606         version set GLIBC_2.19.
9608 2015-08-16  Zack Weinberg  <zackw@panix.com>
9610         [BZ #18681]
9611         * misc/regexp.h: This interface is no longer supported.
9612         Remove all contents, leaving only an #error directive.
9613         * misc/regexp.c (loc1, loc2, locs, step, advance):
9614         Demote to compatibility symbols.
9616 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9618         [BZ #18084]
9619         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9620         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9621         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9622         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9623         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9624         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9625         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9626         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9627         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9629 2015-08-15  Zack Weinberg  <zackw@panix.com>
9631         [BZ #18795]
9632         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9633         buffer length is known to be too large, not if it's known to be
9634         small enough.
9635         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9636         overflow at runtime, involving a length parameter, twice: once
9637         with a compile-time constant length parameter, once without.
9639 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9641         [BZ #18824]
9642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9643         scaling x * y up instead of down.
9644         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9645         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9646         * math/auto-libm-test-in: Add more tests of fma.
9647         * math/auto-libm-test-out: Regenerated.
9649 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9651         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9653 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9655         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9656         unnecessary movq.
9657         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9658         Likewise.
9660 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9662         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9663         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9664         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9665         and tgamma.
9666         * math/auto-libm-test-out: Regenerated.
9667         * sysdeps/i386/fpu/libm-test-ulps: Update.
9668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9670         [BZ #16520]
9671         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9672         (__tanh): Force underflow exception for arguments with small
9673         absolute value.
9674         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9675         (__tanhf): Force underflow exception for arguments with small
9676         absolute value.
9677         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9678         (__tanhl): Force underflow exception for arguments with small
9679         absolute value.
9680         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9681         (__tanhl): Force underflow exception for arguments with small
9682         absolute value.
9683         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9684         (__tanhl): Force underflow exception for arguments with small
9685         absolute value.
9686         * math/auto-libm-test-in: Add more tests of tanh.
9687         * math/auto-libm-test-out: Regenerated.
9688         * sysdeps/i386/fpu/libm-test-ulps: Update.
9690 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9692         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9693         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9695 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9697         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9698         <cpuid.h>.
9700 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9702         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9703         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9705 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9707         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9708         Remove $(objpfx)init-arch.o.
9709         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9710         init-arch.
9711         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9712         (INIT_ARCH_EXT): Defined as empty.
9713         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9714         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9715         __init_cpu_features call.  Replace HAS_XXX with
9716         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9717         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9718         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9719         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9720         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9721         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9722         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9723         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9724         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9725         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9726         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9727         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9728         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9729         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9730         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9731         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9732         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9733         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9734         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9735         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9736         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9737         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9738         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9739         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9740         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9741         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9742         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9743         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9744         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9745         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9746         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9748         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9749         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9750         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9753 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9755         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9756         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9757         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9758         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9759         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9760         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9761         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9762         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9763         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9764         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9765         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9766         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9767         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9768         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9769         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9770         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9771         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9772         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9773         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9774         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9775         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9776         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9777         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9778         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9779         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9780         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9781         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9782         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9783         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9784         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9785         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9786         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9787         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9788         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9789         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9790         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9791         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9792         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9793         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9794         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9795         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9796         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9797         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9799 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9801         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
9802         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9803         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9804         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9805         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9806         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9807         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9808         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
9809         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9810         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9811         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9812         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
9813         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
9814         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
9815         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
9816         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
9817         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
9818         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
9819         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
9820         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
9821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9822         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
9823         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
9824         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9825         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9826         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
9827         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
9828         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
9829         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9830         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9831         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9832         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9833         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9834         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9835         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9836         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9837         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9838         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9839         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9840         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9841         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9842         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9843         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9845 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9847         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
9848         (dl_platform_init): Call init_cpu_features.
9849         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
9850         * sysdeps/i386/i686/cacheinfo.c
9851         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
9852         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
9853         * sysdeps/i386/i686/multiarch/Versions: Removed.
9854         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
9855         Removed.
9856         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
9857         * sysdeps/unix/sysv/linux/x86/Makefile
9858         (libpthread-sysdep_routines): Remove init-arch.
9859         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
9860         <sysdeps/x86_64/dl-procinfo.c> instead of
9861         sysdeps/generic/dl-procinfo.c>.
9862         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
9863         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
9864         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
9865         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
9866         [$(subdir) == elf] (tests-static): Add
9867         tst-get-cpu-features-static.
9868         * sysdeps/x86/Versions: New file.
9869         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
9870         * sysdeps/x86/cpu-features.c: Likewise.
9871         * sysdeps/x86/cpu-features.h: Likewise.
9872         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
9873         * sysdeps/x86/libc-start.c: Likewise.
9874         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9875         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
9876         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
9877         * sysdeps/x86_64/dl-procinfo.c: Likewise.
9878         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
9879         Assume USE_MULTIARCH is defined and don't check it.
9880         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
9881         (is_amd): Likewise.
9882         (max_cpuid): Likewise.
9883         (intel_check_word): Likewise.
9884         (__cache_sysconf): Don't call __init_cpu_features.
9885         (__x86_preferred_memory_instruction): Removed.
9886         (init_cacheinfo): Don't call __init_cpu_features. Replace
9887         __cpu_features with GLRO(dl_x86_cpu_features).
9888         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
9889         (dl_platform_init): Call init_cpu_features.
9890         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
9891         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
9892         * sysdeps/x86_64/multiarch/Versions: Removed.
9893         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
9894         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
9895         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
9896         Removed.
9897         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
9899 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9901         [BZ #18820]
9902         * libio/Makefile (test-fmemopen-mem): New test.
9903         * libio/test-fmemopen.c (do_bz18820): New test.
9904         * libio/fmemopen.c (__fmemopen): Fix memory leak.
9905         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
9907 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9909         [BZ #16734]
9910         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
9911         (FREE_BUF): Delete.
9912         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
9913         * libio/genops.c (_IO_setb): Use malloc and free directly.
9914         (_IO_default_doallocate, _IO_default_finish): Likewise.
9915         ( _IO_unbuffer_all): Likewise.
9916         ( libc_freeres_fn): Likewise.
9917         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9918         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9919         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
9920         (_IO_wdefault_doallocate): Likewise.
9922 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9924         [BZ #18086]
9925         * sysdeps/posix/nice.c (nice): Restore old errno.
9926         * posix/tst-nice.c (do_test): Add test for BZ #18086.
9928 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
9930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
9932 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9934         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
9935         __bcopy and add a weak_alias to bcopy.
9936         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
9937         for static build.
9939         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
9940         cleanup macro usage.
9941         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
9942         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
9943         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9944         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
9945         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9946         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
9947         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
9948         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9949         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9950         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
9951         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9952         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
9953         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9954         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
9955         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9956         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
9957         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
9958         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
9959         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
9961         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
9962         libc_hidden_def.
9963         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
9965         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
9966         (sysdep_routines): Add strstr-ppc64.
9967         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
9969 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
9971         [BZ #18778]
9972         * elf/Makefile (tests): Add Add tst-nodelete2.
9973         (modules-names): Add tst-nodelete2mod.
9974         (tst-nodelete2mod.so-no-z-defs): New.
9975         ($(objpfx)tst-nodelete2): Likewise.
9976         ($(objpfx)tst-nodelete2.out): Likewise.
9977         (LDFLAGS-tst-nodelete2): Likewise.
9978         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
9979         out of loop through all loaded libraries.
9980         * elf/tst-nodelete2.c: New file.
9981         * elf/tst-nodelete2mod.c: Likewise.
9982         * elf/tst-znodelete-zlib.cc: Delete.
9984 2015-08-11  Andreas Schwab  <schwab@suse.de>
9986         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
9987         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
9988         (__openat64_nocancel): Likewise.
9990 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
9992         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
9993         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
9994         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
9995         * math/auto-libm-test-out: Regenerated.
9996         * sysdeps/i386/fpu/libm-test-ulps: Update.
9997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9999 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10001         [BZ #18790]
10002         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10003         threshold for returning +/- 1.
10004         * math/auto-libm-test-in: Add more tests of tanh.
10005         * math/auto-libm-test-out: Regenerated.
10006         * sysdeps/i386/fpu/libm-test-ulps: Update.
10008 2015-08-10  Andreas Schwab  <schwab@suse.de>
10010         [BZ #18781]
10011         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10012         MORE_OFLAGS to oflag.
10013         * io/test-lfs.c (do_test): Test openat64.
10015 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10017         [BZ #18789]
10018         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10019         smaller threshold for returning the argument.
10020         * math/auto-libm-test-in: Add more tests of sinh.
10021         * math/auto-libm-test-out: Regenerated.
10022         * sysdeps/i386/fpu/libm-test-ulps: Update.
10024 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10026         [BZ #18674]
10027         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10028         break.
10030 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10032         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10033         (generated): Don't add $(addprefix z.,$(tzfiles)).
10035 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10037         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10038         * scripts/sysd-rules.awk: Likewise.
10040 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10042         * iconvdata/tst-tables.sh: Change echo -n to printf.
10043         * nss/db-Makefile: Likewise.
10044         * posix/tst-getconf.sh: Likewise.
10045         * stdio-common/tst-unbputc.sh: Likewise.
10047 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10049         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10050         MADV_*_PAGES defines behind this feature check.
10052 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
10054         [BZ #18480]
10055         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10056         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10057         Define.
10058         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10059         LOAD_REGS_5, LOAD_REGS_6): Update.
10060         (INTERNAL_SYSCALL): Update using new LOAD defines.
10061         (INTERNAL_SYSCALL_NCS): Likewise.
10062         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10064 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10066         [BZ #16734]
10067         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10069 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10071         [BZ #17905]
10072         * catgets/Makefile (tst-catgets-mem): New test.
10073         * catgets/catgets.c (catopen): Don't use unbounded alloca.
10074         * catgets/open_catalog.c (__open_catalog): Likewise.
10075         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10077 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
10079         [BZ #18787]
10080         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10081         clobber registers.
10082         (atomic_compare_and_exchange_val_acq): Use register asms to assign
10083         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
10084         Cast return to __typeof (oldval).
10086 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
10088         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10089         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
10090         and delete sys/syscall.h include.
10092 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
10094         [BZ #16517]
10095         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10096         (tan): Force underflow exception for arguments with small absolute
10097         value.
10098         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10099         (__kernel_tanf): Force underflow exception for arguments with
10100         small absolute value.
10101         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10102         (__kernel_tanl): Force underflow exception for arguments with
10103         small absolute value.
10104         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10105         (__kernel_tanl): Force underflow exception for arguments with
10106         small absolute value.
10107         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10108         (__kernel_tanl): Force underflow exception for arguments with
10109         small absolute value.
10110         * math/auto-libm-test-in: Add more tests of tan.
10111         * math/auto-libm-test-out: Regenerated.
10113 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10115         Fix sysdeps/i386/fpu/s_scalbn.S build
10117         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10119 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
10121         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10123 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10125         Fix gcrt0.o compilation
10127         When static-start-installed-name is different from
10128         start-installed-name, we must not use the shared objects.
10130         * csu/Makefile
10131         (extra-objs): Add gmon-start.o when building shared library and
10132         $(static-start-installed-name) is different from
10133         $(start-installed-name).
10134         $(objpfx)g$(static-start-installed-name): When building shared
10135         library and $(static-start-installed-name) is different from
10136         $(static-start-installed-name), revert to non-shared rule,
10137         i.e. using $(objpfx)% and gmon-start.o.
10139 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10141         [BZ #16519]
10142         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10143         (__ieee754_sinh): Force underflow exception for arguments with
10144         small absolute value.
10145         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10146         (__ieee754_sinhf): Force underflow exception for arguments with
10147         small absolute value.
10148         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10149         (__ieee754_sinhl): Force underflow exception for arguments with
10150         small absolute value.
10151         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10152         (__ieee754_sinhl): Force underflow exception for arguments with
10153         small absolute value.
10154         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10155         (__ieee754_sinhl): Force underflow exception for arguments with
10156         small absolute value.
10157         * math/auto-libm-test-in: Add more tests of sinh.
10158         * math/auto-libm-test-out: Regenerated.
10159         * sysdeps/i386/fpu/libm-test-ulps: Update.
10161 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10163         * libio/oldfileops.c: Include unistd.h.
10165 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10167         * stdlib/isomac.c: Include ctype.h.
10169 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10171         * dirent/tst-seekdir.c (main): Converted to ...
10172         (do_test): ... this.
10173         (TEST_FUNCTION): New macro.
10174         Include test-skeleton.c.
10175         * elf/tst-dlmodcount.c (main): Converted to ...
10176         (do_test): ... this.
10177         (TEST_FUNCTION): New macro.
10178         Include test-skeleton.c.
10179         * elf/tst-order-main.c (main): Converted to ...
10180         (do_test): ... this.
10181         (TEST_FUNCTION): New macro.
10182         Include test-skeleton.c.
10183         * elf/tst-pie2.c (main): Converted to ...
10184         (do_test): ... this.
10185         (TEST_FUNCTION): New macro.
10186         Include test-skeleton.c.
10187         * inet/tst-ether_aton.c (main): Converted to ...
10188         (do_test): ... this.
10189         (TEST_FUNCTION): New macro.
10190         Include test-skeleton.c.
10191         * misc/tst-mntent.c (main): Converted to ...
10192         (do_test): ... this.
10193         (TEST_FUNCTION): New macro.
10194         Include test-skeleton.c.
10195         * misc/tst-tsearch.c (main): Converted to ...
10196         (do_test): ... this.
10197         (TEST_FUNCTION): New macro.
10198         Include test-skeleton.c.
10199         * posix/tst-regexloc.c (main): Converted to ...
10200         (do_test): ... this.
10201         (TEST_FUNCTION): New macro.
10202         Include test-skeleton.c.
10203         * resolv/tst-aton.c (main): Converted to ...
10204         (do_test): ... this.
10205         (TEST_FUNCTION): New macro.
10206         Include test-skeleton.c.
10207         * stdio-common/test-fwrite.c (main): Converted to ...
10208         (do_test): ... this.
10209         (TEST_FUNCTION): New macro.
10210         Include test-skeleton.c.
10211         * stdio-common/tst-ferror.c (main): Converted to ...
10212         (do_test): ... this.
10213         (TEST_FUNCTION): New macro.
10214         Include test-skeleton.c.
10215         * stdio-common/tst-printf.c (main): Converted to ...
10216         (do_test): ... this.
10217         (TEST_FUNCTION): New macro.
10218         Include test-skeleton.c.
10219         * stdio-common/tst-printfsz.c (main): Converted to ...
10220         (do_test): ... this.
10221         (TEST_FUNCTION): New macro.
10222         Include test-skeleton.c.
10223         * stdlib/tst-strtod.c (main): Converted to ...
10224         (do_test): ... this.
10225         (TEST_FUNCTION): New macro.
10226         Include test-skeleton.c.
10227         * string/tst-strlen.c (main): Converted to ...
10228         (do_test): ... this.
10229         (TEST_FUNCTION): New macro.
10230         Include test-skeleton.c.
10231         * string/tst-svc.c (main): Converted to ...
10232         (do_test): ... this.
10233         (TEST_FUNCTION): New macro.
10234         Include test-skeleton.c.
10235         * time/tst-strptime.c (main): Converted to ...
10236         (do_test): ... this.
10237         (TEST_FUNCTION): New macro.
10238         Include test-skeleton.c.
10239         * timezone/tst-timezone.c (main): Converted to ...
10240         (do_test): ... this.
10241         (TEST_FUNCTION): New macro.
10242         Include test-skeleton.c.
10244 2015-08-05  Zack Weinberg  <zackw@panix.com>
10246         * misc/regexp.h: Update comments.
10248 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10250         [BZ #18635]
10251         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10252         before return label.
10254 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10256         [BZ #18661]
10257         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10258         when calling __errno_location.
10259         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10260         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10262 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10264         [BZ #18661]
10265         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10266         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10267         __gettimeofday.
10269 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10271         [BZ #18661]
10272         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10273         (__start_context): Don't use pop to restore %rdi so that stack
10274         is aligned to 16 bytes when calling __setcontext.
10276 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10278         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10279         only for libc.
10280         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10282 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10284         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10285         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
10286         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10288 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10290         * string/memccpy.c (memccpy):
10291         Improve performance by using memchr/memcpy/__mempcpy.
10293 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10295         * string/strncpy.c (strncpy):
10296         Improve performance by using __strnlen/memcpy.
10298 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10300         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10301         Optimize to avoid an unnecessary FPCR read.
10303 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10305         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10306         Optimize to reduce FPCR/FPSR accesses.
10308 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10310         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10311         dead->data[category] != NULL.
10313 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
10315         [BZ #18647]
10316         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10317         and |x| close to 1, use absolute value of x when computing log.
10318         * math/auto-libm-test-in: Add more tests of pow.
10319         * math/auto-libm-test-out: Regenerated.
10321 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10323         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10324         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10325         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10327 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
10329         [BZ #18525]
10330         * locales/km_KH: Remove timezone definition.
10331         * locales/lo_LA: Likewise.
10332         * locales/my_MM: Likewise.
10333         * locales/nan_TW@latin: Likewise.
10334         * locales/th_TH: Likewise.
10335         * locales/uk_UA: Likewise.
10337 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10339         [BZ #18265]
10340         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10341         (wcsncat): Likewise.
10342         (wcscmp): Likewise.
10343         (wcsncmp): Likewise.
10345 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10347         * test-skeleton.c (usage): New function.
10348         (main): Call usage when opt is '?'.
10350 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10352         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10353         before first use.
10355 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10357         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10358         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10359         in there too.
10361 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10363         * version.h (RELEASE): Set to "development".
10364         (VERSION): Set to "2.22.90"
10366         * version.h (RELEASE): Set to "stable".
10367         (VERSION): Set to "2.22"
10368         * include/features.h (__GLIBC_MINOR__): Set to 22.
10370 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10372         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10373         Restructure macro to avoid "value computed is not used" warning.
10374         (atomic_compare_and_exchange_val_acq): Likewise.
10376 2015-08-04  Andreas Schwab  <schwab@suse.de>
10378         [BZ #18635]
10379         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10380         ret.
10381         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10383 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10385         * po/pl.po: Updated translation.
10386         * po/uk.po: Likewise.
10387         * po/fi.po: Likewise.
10388         * po/ko.po: Likewise.
10389         * po/ru.po: Likewise.
10390         * po/vi.po: Likewise.
10392 2015-07-31  Zack Weinberg  <zackw@panix.com>
10394         [BZ #18681]
10395         * regexp.h: Add unconditional #warning stating that this header
10396         will be removed soon.  Revise banner comment to match.
10397         (compile): Consistently use ERROR instead of RETURN to report
10398         errors (partial fix for bz#18681).
10399         * regexp.c: Don't include regexp.h. Remove some unnecessary
10400         declarations.
10402 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10404         * po/libc.pot: Regenerated.
10406 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10408         [BZ #18740]
10409         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10410         float-vlen4-arch-ext-cflags): Removed.
10411         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10412         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10414 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10416         [BZ #14113]
10417         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10418         aligned to __aligned__.
10419         (pthread_cond_t, pthread_rwlock_t): Likewise.
10421 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10423         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10425 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10427         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10428         (struct sigaction): Change sa_flags from a long to an int, and add
10429         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10431 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10433         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10434         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10435         sysdeps/generic/sysdep.h include.
10436         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10437         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10438         sysdeps/hppa/sysdep.h.
10439         (ENTRY, PSEUDO): Undefine before defining.
10441 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10443         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10444         from scratch to use INTERNAL_SYSCALL.
10446 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10448         [BZ #18078]
10449         * scripts/check-localplt.awk: Support alternate relocations.
10450         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10451         sections.
10452         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10453         malloc entries with + REL R_386_GLOB_DAT.
10454         * sysdeps/x86_64/localplt.data: New file.
10456 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10458         [BZ #18731]
10459         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10460         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10461         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10463 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10465         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10467 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10469         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10470         directly in terms of __sync_fetch_and_add and delete (int) cast.
10472 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10474         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10475         the -D_ASM_IA64_CURRENT_H flag.
10477 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10479         [BZ #18641]
10480         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10482 2015-07-27  Andreas Schwab  <schwab@suse.de>
10484         * conform/conformtest.pl (checknamespace): Filter out string
10485         literals while tokenizing.
10487 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10489         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10490         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10491         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10493 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10495         * nptl/tst-join7mod.c: Add #include <string.h>.
10497 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10499         * sysdeps/nios2/libm-test-ulps: Update.
10501 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10503         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10504         Fix order of arguments to the rt_sigprocmask syscall.
10505         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10506         Likewise.
10508 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10510         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10512 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10514         [BZ #18457]
10515         * nptl/Makefile (tests): New test case tst-join7.
10516         (modules-names): New test case module tst-join7mod.
10517         * nptl/tst-join7.c: New file.
10518         * nptl/tst-join7mod.c: New file.
10519         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10520         all translation units in libc.so, libpthread.so and rtld.
10522 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10526 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10528         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10529         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10530         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10532         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10533         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10534         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10535         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10536         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10537         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10538         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10539         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10540         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10541         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10542         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10543         implementation.
10545 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10547         [BZ #17711]
10548         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10549         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10550         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10551         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10552         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10553         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10555 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10557         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10558         instead of just saying load lock in the comments.
10560 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10562         * sysdeps/unix/Subdirs: Moved ...
10563         * sysdeps/posix/Subdirs: ... here.
10564         * login/pty.h (struct termios, struct winsize): Add forward decls.
10565         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10566         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10567         * sysdeps/arm/nacl/libc.abilist: Updated.
10568         * sysdeps/nacl/libutil.abilist: New file.
10570         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10571         (SIGWINCH): New macro.
10573         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10574         * sysdeps/arm/nacl/libc.abilist: Add it.
10576 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10578         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10580 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10582         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10583         Swap __glibc_reserved0 and sa_flags order.
10585 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10587         [BZ #18657]
10588         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10589         are pending TLS destructor calls.
10590         * include/link.h (struct link_map): Add concurrency note for
10591         L_TLS_DTOR_COUNT.
10592         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10593         Don't touch the link map flag.  Atomically increment
10594         l_tls_dtor_count.
10595         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10596         Avoid taking the load lock and don't touch the link map flag.
10597         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10598         * stdlib/Makefile (tests): Use it.
10599         * stdlib/tst-tls-atexit.c (do_test): dlopen
10600         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10601         to allow tst-tls-atexit-nodelete test case to use it.
10603 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10605         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10606         to bits/types.h.
10607         (msgqnum_t): New typedef.
10608         (msglen_t): Likewise.
10609         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10610         and msg_qbytes type to msglen_t.
10612 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10614         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10615         pad0 to __glibc_reserved0.
10616         (struct stat64): Likewise.
10618 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10620         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10621         Change sa_flags from a long to an int and add __glibc_reserved0 before
10622         it for padding.
10624 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10626         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10627         anonymous by deleting "siginfo" name.
10629 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10631         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10632         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10633         rather than __nacl_irt_filename.
10634         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10636         * NEWS: New item for arm-nacl port.
10637         * sysdeps/arm/nacl/libc.abilist: New file.
10638         * sysdeps/nacl/ld.abilist: New file.
10639         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10640         * sysdeps/nacl/libanl.abilist: New file.
10641         * sysdeps/nacl/libcrypt.abilist: New file.
10642         * sysdeps/nacl/libdl.abilist: New file.
10643         * sysdeps/nacl/libm.abilist: New file.
10644         * sysdeps/nacl/libpthread.abilist: New file.
10645         * sysdeps/nacl/libresolv.abilist: New file.
10646         * sysdeps/nacl/librt.abilist: New file.
10648 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10650         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10651         __startcontext to initialize the new context.
10652         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10653         up CFI directive to forbid further backtracing.
10655 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10657         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10658         reference.
10659         * charmaps/ANSI_X3.4-1968: Likewise.
10660         * charmaps/BS_4730: Likewise.
10661         * charmaps/BS_VIEWDATA: Likewise.
10662         * charmaps/CP1250: Likewise.
10663         * charmaps/CP1251: Likewise.
10664         * charmaps/CP1252: Likewise.
10665         * charmaps/CP1253: Likewise.
10666         * charmaps/CP1254: Likewise.
10667         * charmaps/CP1255: Likewise.
10668         * charmaps/CP1256: Likewise.
10669         * charmaps/CSN_369103: Likewise.
10670         * charmaps/EBCDIC-DK-NO: Likewise.
10671         * charmaps/GB_1988-80: Likewise.
10672         * charmaps/GREEK-CCITT: Likewise.
10673         * charmaps/GREEK7: Likewise.
10674         * charmaps/INIS-8: Likewise.
10675         * charmaps/ISIRI-3342: Likewise.
10676         * charmaps/ISO_2033-1983: Likewise.
10677         * charmaps/ISO_5427-EXT: Likewise.
10678         * locales/POSIX: Likewise.
10679         * locales/ar_SA: Likewise.
10680         * locales/be_BY: Likewise.
10681         * locales/be_BY@latin: Likewise.
10682         * locales/ca_ES: Likewise.
10683         * locales/cs_CZ: Likewise.
10684         * locales/da_DK: Likewise.
10685         * locales/de_BE: Likewise.
10686         * locales/de_CH: Likewise.
10687         * locales/de_LU: Likewise.
10688         * locales/en_AU: Likewise.
10689         * locales/en_BW: Likewise.
10690         * locales/en_CA: Likewise.
10691         * locales/en_DK: Likewise.
10692         * locales/en_GB: Likewise.
10693         * locales/en_IE: Likewise.
10694         * locales/en_NZ: Likewise.
10695         * locales/en_ZA: Likewise.
10696         * locales/en_ZW: Likewise.
10697         * locales/es_AR: Likewise.
10698         * locales/es_BO: Likewise.
10699         * locales/es_CL: Likewise.
10700         * locales/es_CO: Likewise.
10701         * locales/es_DO: Likewise.
10702         * locales/es_EC: Likewise.
10703         * locales/es_ES: Likewise.
10704         * locales/es_HN: Likewise.
10705         * locales/es_MX: Likewise.
10706         * locales/es_PA: Likewise.
10707         * locales/es_PE: Likewise.
10708         * locales/es_PY: Likewise.
10709         * locales/es_SV: Likewise.
10710         * locales/es_US: Likewise.
10711         * locales/es_UY: Likewise.
10712         * locales/es_VE: Likewise.
10713         * locales/et_EE: Likewise.
10714         * locales/fa_IR: Likewise.
10715         * locales/fo_FO: Likewise.
10716         * locales/fr_CA: Likewise.
10717         * locales/fr_CH: Likewise.
10718         * locales/gv_GB: Likewise.
10719         * locales/he_IL: Likewise.
10720         * locales/hr_HR: Likewise.
10721         * locales/id_ID: Likewise.
10722         * locales/is_IS: Likewise.
10723         * locales/it_CH: Likewise.
10724         * locales/iw_IL: Likewise.
10725         * locales/kl_GL: Likewise.
10726         * locales/ko_KR: Likewise.
10727         * locales/kw_GB: Likewise.
10728         * locales/lg_UG: Likewise.
10729         * locales/lt_LT: Likewise.
10730         * locales/lv_LV: Likewise.
10731         * locales/mi_NZ: Likewise.
10732         * locales/nhn_MX: Likewise.
10733         * locales/nl_BE: Likewise.
10734         * locales/pl_PL: Likewise.
10735         * locales/sk_SK: Likewise.
10736         * locales/sl_SI: Likewise.
10737         * locales/sv_FI: Likewise.
10738         * locales/tl_PH: Likewise.
10739         * locales/tr_TR: Likewise.
10740         * locales/vi_VN: Likewise.
10742 2015-07-21  Khem Raj  <raj.khem@gmail.com>
10744         [BZ #17475]
10745         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10746         of tu_IN and bh_IN.
10748 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
10750         [BZ #18694]
10751         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10752         bits/wordsize.h.
10753         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10755 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10757         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10758         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10759         (spawn_thread): New function.
10760         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10761         (do_test): ... here.  Use IS_LOADED to test for its
10762         availability.
10764 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10766         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10768 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10770         [BZ #18696]
10771         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10772         si_addr_bnd.
10773         (si_lower): New.
10774         (si_upper): Likewise.
10776 2015-07-16  David S. Miller  <davem@davemloft.net>
10778         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10780 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10782         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10783         buffer.
10784         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10785         fail output information.
10787 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10790         and strstr-ppc64..
10791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10792         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10793         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10794         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10795         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10797 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10799         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10800         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10801         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
10802         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10804 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10806         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10807         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
10808         rtld_hidden_proto.
10809         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
10811 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10813         * tst-nodelete-opened.c (do_test): Add comment to clarify how
10814         the test can fail.
10816         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
10818         [BZ #18676]
10819         * elf/tst-nodelete-opened.c: New test case.
10820         * elf/tst-nodelete-opened-lib.c: New test case module.
10821         * elf/Makefile (tests, modules-names): Use them.
10822         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
10823         early.
10825 2015-07-15  David S. Miller  <davem@davemloft.net>
10827         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
10828         futex-intenal.h
10829         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
10830         * sysdeps/sparc/sparc64/Makefile: Likewise.
10831         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10832         Remove space from macro define.
10833         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
10835 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
10837         [BZ #17475]
10838         * locale/iso-639.def: Update Bhili and Tulu language codes as
10839         per iso639-3.
10841 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
10843         * elf/tst-leaks1.c (main): Converted to ...
10844         (do_test): ... this.
10845         (TEST_FUNCTION): New macro.
10846         Include test-skeleton.c.
10847         * localedata/tst-langinfo.c (main): Converted to ...
10848         (do_test): ... this.
10849         (TEST_FUNCTION): New macro.
10850         Include test-skeleton.c.
10851         * math/test-fpucw.c (main): Converted to ...
10852         (do_test): ... this.
10853         (TEST_FUNCTION): New macro.
10854         Include test-skeleton.c.
10855         * math/test-tgmath.c (main): Converted to ...
10856         (do_test): ... this.
10857         (TEST_FUNCTION): New macro.
10858         Include test-skeleton.c.
10859         * math/test-tgmath2.c (main): Converted to ...
10860         (do_test): ... this.
10861         (TEST_FUNCTION): New macro.
10862         Include test-skeleton.c.
10863         * setjmp/tst-setjmp.c (main): Converted to ...
10864         (do_test): ... this.
10865         (TEST_FUNCTION): New macro.
10866         Include test-skeleton.c.
10867         * stdio-common/tst-sscanf.c (main): Converted to ...
10868         (do_test): ... this.
10869         (TEST_FUNCTION): New macro.
10870         Include test-skeleton.c.
10871         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
10872         (do_test): ... this.
10873         (TEST_FUNCTION): New macro.
10874         Include test-skeleton.c.
10876         * elf/tst-audit9.c (main): Converted to ...
10877         (do_test): ... this.
10878         (TEST_FUNCTION): New macro.
10879         Include test-skeleton.c.
10881 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
10883         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
10885 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10887         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
10888         New variable.
10890 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10892         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10894 2015-07-14  Roland McGrath  <roland@hack.frob.com>
10896         * sysdeps/generic/dl-fileid.h: New file.
10897         * sysdeps/posix/dl-fileid.h: New file.
10898         * sysdeps/nacl/dl-fileid.h: New file.
10899         * include/link.h: Include <dl-fileid.h>.
10900         (struct link_map): Replace l_dev and l_ino with l_file_id.
10901         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
10902         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
10903         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
10905 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10907         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
10909 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10911         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
10912         Add iff $CXX is set.
10913         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
10914         Likewise.
10915         (tst-nodelete-zmodiff): Likewise.
10916         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
10918 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10920         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
10922 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10924         * sysdeps/aarch64/fpu/math_private.h
10925         (define math_opt_barrier): Add AArch64 version.
10926         (math_force_eval): Likewise.
10928 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
10930         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
10932 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10934         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
10935         %ld with %jd and cast to intmax_t.
10936         (do_test_length_zero): Likewise.
10938 2015-07-10  Roland McGrath  <roland@hack.frob.com>
10940         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
10942 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
10944         * sysdeps/tile/libm-test-ulps: Regenerated.
10946         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
10947         Comment out the whole function, not just its body.
10949 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10951         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
10952         locks.
10954         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
10956 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10958         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
10959         (sem_assume_only_signals_cause_futex_EINTR): Remove.
10961 2015-07-10  Torvald Riegel  <triegel@redhat.com>
10963         * sysdeps/nptl/futex-internal.h: New file.
10964         * sysdeps/nacl/futex-internal.h: New file.
10965         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
10966         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
10967         error checking.
10968         (setxid_unmark_thread): Likewise.
10969         (__nptl_setxid): Likewise.
10970         (__wait_lookup_done): Likewise.
10971         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
10972         * nptl/nptl-init.c (sighandler_setxid): Likewise.
10973         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10974         * nptl/pthread_once.c (clear_once_control): Likewise.
10975         (__pthread_once_slow): Likewise.
10976         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10977         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
10978         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
10979         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10980         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
10981         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
10982         Likewise.
10983         (__pthread_rwlock_rdlock): Likewise.
10984         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10985         Likewise.
10986         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10987         Likewise.
10988         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10989         Likewise.
10990         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
10991         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
10992         Likewise.
10993         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
10994         __ASSUME_PRIVATE_FUTEX check.
10995         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
10996         Check that shared futexes are supported.
10997         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
10998         wrappers with error checking.
10999         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11000         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11001         * nptl/pthread_barrierattr_setpshared.c
11002         (pthread_barrierattr_setpshared): Check that shared futexes are
11003         supported.
11004         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11005         Likewise.
11006         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11007         Likewise.
11008         * nptl/sem_init.c (futex_private_if_supported): Remove.
11009         (__new_sem_init): Adapt and check that shared futexes are supported.
11010         * nptl/sem_open.c (sem_open): Likewise.
11011         * nptl/sem_post.c (futex_wake): Remove.
11012         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11013         (do_futex_wait): Use futex wrappers with error checking.
11014         * nptl/sem_wait.c: Include lowlevellock.h.
11015         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11016         Use futex_supports_pshared.
11017         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11018         Use futex wrappers with error checking.
11019         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11020         Likewise.
11021         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11022         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11023         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11024         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11025         (futex_wake): Likewise.
11026         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11027         (do_futex_wait): Use futex wrappers with error checking.
11028         (__new_sem_wait_slow): Update EINTR handling.
11029         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11031 2015-07-09  Martin Sebor  <msebor@redhat.com>
11033         [BZ #18435]
11034         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11035         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11036         * nptl/Makefile (test-xfail-tst-once5): Define.
11038 2015-07-09  Roland McGrath  <roland@hack.frob.com>
11040         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11041         * elf/dl-minimal.c: For readability, reorder some definitions and
11042         introduce more page breaks.  Include <stdio.h>.
11043         (__libc_fatal): New function.
11045         * include/unistd.h: Add rtld_hidden_proto for _exit.
11046         * posix/_exit.c: Add rtld_hidden_def.
11047         * sysdeps/mach/hurd/_exit.c: Likewise.
11048         * sysdeps/nacl/_exit.c: Likewise.
11049         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11050         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11052 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
11054         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11055         bndmov encoding with zero displacement.
11057 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11058             H.J. Lu  <hongjiu.lu@intel.com>
11060         [BZ #18134]
11061         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11062         * sysdeps/i386/configure: Regenerated.
11063         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11064         (_dl_runtime_profile): Save and restore Intel MPX return bound
11065         registers when calling _dl_call_pltexit.  Add
11066         PRESERVE_BND_REGS_PREFIX before return.
11067         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11068         (LRV_BND1_OFFSET): Likewise.
11069         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11070         lrv_bnd1.
11071         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11072         typo in bndmov encoding.
11073         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11074         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
11075         branch instructions to preserve bounds.
11077 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11080         [GLIBC_2.22]: Add fmemopen.
11082 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11084         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11085         returns an error, also try to use host port from __mach_host_self for
11086         the __vm_wire call.
11087         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11089 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11091         [BZ #18400]
11092         [BZ #18648]
11093         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11094         Fix pr_uid and pr_gid members.
11095         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11096         definition to elf_greg_t.
11098 2015-07-08  Roland McGrath  <roland@hack.frob.com>
11100         [BZ #18383]
11101         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11102         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11103         * sysdeps/arm/configure: Regenerated.
11104         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11105         (test-xfail-tst-tlsalign-static): Variable removed.
11107         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11108         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11109         rather than explicit 'ln -s'.
11111         * resolv/rpc/netdb.h: New file.
11112         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11114 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11116         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11117         length buffers.
11118         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11119         test-skeleton.c.
11121         [BZ #6544]
11122         [BZ #11216]
11123         [BZ #12836]
11124         [BZ #13151]
11125         [BZ #13152]
11126         [BZ #14292]
11127         * include/stdio.h (fmemopen): Remove hidden prototype.
11128         (__fmemopen): Add new hidden prototype.
11129         * libio/Makefile: Add oldfmemopen object.
11130         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11131         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11132         compliance.
11133         * libio/oldfmemopen.c: New file: old fmemopen implementation for
11134         symbol compatibility.
11135         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11136         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11137         fmemopen.
11138         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11139         on append and read mode.
11140         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11141         fmemopen.
11142         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11143         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11144         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11145         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11146         Likewise.
11147         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11148         [GLIBC_2.22]: Likewise.
11149         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11150         Likewise.
11151         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11152         Likewise.
11153         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11154         [GLIBC_2.22]: Likewise.
11155         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11156         [GLIBC_2.22]: Likewise.
11157         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11158         [GLIBC_2.22]: Likewise.
11159         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11160         [GLIBC_2.22]: Likewise.
11161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11162         [GLIBC_2.22]: Likewise.
11163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11164         [GLIBC_2.22]: Likewise.
11165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11166         [GLIBC_2.22]: Likewise.
11167         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11168         Likewise.
11169         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11170         Likewise.
11171         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11172         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11173         [GLIBC_2.22]: Likewise.
11174         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11175         [GLIBC_2.22]: Likewise.
11176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11177         [GLIBC_2.22]: Likewise.
11178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11179         [GLIBC_2.22]: Likewise.
11180         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11181         Likewise.
11182         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11183         Likewise.
11184         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11185         Likewise.
11186         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11187         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11189 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11191         [BZ #18643]
11192         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11193         IPV6_PATHMTU, and IPV6_DONTFRAG.
11195 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11197         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11198         and _IO_UNBUFFERED.
11199         * libio/oldfileops.c: Likewise.
11200         * libio/wfileops.c: Likewise.
11202 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11204         * nscd/selinux.c: Delete selinux/flask.h include.
11206 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11208         [BZ #18641]
11209         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11210         (putpwent): Likewise.
11211         (getpwnam): Likewise.
11212         (getpwent_r): Likewise.
11213         (getpwuid_r): Likewise.
11214         (getpwnam_r): Likewise.
11215         (fgetpwent_r): Likewise.
11217 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11219         [BZ #18557]
11220         * inet/rcmd.c (__validuser2_sa): Check user first to
11221         short-circuit host check.
11223 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11224             Mikhail Ilin  <m.ilin@samsung.com>
11226         [BZ #17833]
11227         * elf/Makefile (tests): Add tst-nodelete.
11228         (modules-names): Add tst-nodelete-uniquemod.
11229         (tst-nodelete-uniquemod.so-no-z-defs): New.
11230         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11231         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11232         ($(objpfx)tst-nodelete): Likewise.
11233         ($(objpfx)tst-nodelete.out): Likewise.
11234         (LDFLAGS-tst-nodelete): Likewise.
11235         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11236         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11237         implement forced object deletion.
11238         (_dl_close): Pass false to _dl_close_worker.
11239         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11240         * elf/tst-nodelete.cc: New file.
11241         * elf/tst-nodeletelib.cc: Likewise.
11242         * elf/tst-znodeletelib.cc: Likewise.
11243         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11245 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11247         [BZ #18508]
11248         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11249         Depend on $(libdl).
11250         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11251         is not called infinitely times.
11252         (backtrace_helper): New function.
11253         (trace_arg): New struct.
11254         (st1): Enlarge stack size.
11255         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11256         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11257         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11258         Likewise.
11260 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11262         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11264 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11266         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11267         Include sys/types.h instead of bits/types.h.
11268         Remove inclusion of bits/wordsize.h.
11270 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11272         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11273         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11274         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11275         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11276         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11277         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11279 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11281         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11282         link-defines.sym.
11283         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11284         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11285         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11286         and LR_SIZE.
11287         * sysdeps/i386/link-defines.sym: New file.
11289 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11291         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11292         (modules-names): Add tst-auditmod3a tst-auditmod3b.
11293         ($(objpfx)tst-audit3): New rule.
11294         ($(objpfx)tst-audit3.out): Likewise.
11295         * sysdeps/i386/tst-audit3.c: New file.
11296         * sysdeps/i386/tst-audit3.h: Likewise.
11297         * sysdeps/i386/tst-auditmod3a.c: Likewise.
11298         * sysdeps/i386/tst-auditmod3b.c: Likewise.
11300 2015-07-07  Torvald Riegel  <triegel@redhat.com>
11302         [BZ #18633]
11303         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11304         pointer in C code.
11305         (__strcat_c): Likewise.
11306         (__strcat_g): Likewise.
11308 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
11310         [BZ #18592]
11311         * misc/sbrk.c: Set errno to ENOMEM on overflow.
11313 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11315         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11316         New function.  (__ieee754_sqrtf): New function.
11317         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11318         New function.
11319         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11320         New function.
11322 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11324         * sysdeps/ieee754/support.c: Remove unused file.
11326 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11328         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11329         registers instead of d ones so the layout is kernel abi compatible.
11330         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11331         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11332         Likewise.
11334 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11336         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11338 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11340         [BZ #18619]
11341         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11342         and return argument in case of subnormal argument.
11344 2015-07-01  Martin Sebor  <msebor@redhat.com>
11346         [BZ #18435]
11347         * nptl/Makefile: Add tst-once5.cc.
11348         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11349         Remove macro redefinitions.
11350         * nptl/tst-once5.cc: New test.
11352 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11354         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11356         * sysdeps/arm/libm-test-ulps: Regenerated.
11358         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11359         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11361 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11363         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11364         lll_lock_wait_private and lll_futex_wake probes.
11366         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11367         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11368         Likewise.
11369         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11370         atomic_spin_nop.
11371         * sysdeps/x86_64/bits/atomic.h: Likewise.
11372         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11373         to atomic_spin_nop and move ...
11374         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11375         ... here and ...
11376         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11377         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11378         atomic_spin_nop instead of BUSY_WAIT_NOP.
11379         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11380         Likewise.
11381         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11382         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11383         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11384         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11385         instead of atomic_delay.
11387 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11389         [BZ #18613]
11390         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11391         X_ADJ not X when adjusting exponent.
11392         (__ieee754_gamma_r): Do intermediate computations in
11393         round-to-nearest then adjust overflowing and underflowing results
11394         as needed.
11395         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11396         of X_ADJ not X when adjusting exponent.
11397         (__ieee754_gammaf_r): Do intermediate computations in
11398         round-to-nearest then adjust overflowing and underflowing results
11399         as needed.
11400         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11401         log of X_ADJ not X when adjusting exponent.
11402         (__ieee754_gammal_r): Do intermediate computations in
11403         round-to-nearest then adjust overflowing and underflowing results
11404         as needed.  Use 1.0L not 1.0f as numerator of division.
11405         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11406         log of X_ADJ not X when adjusting exponent.
11407         (__ieee754_gammal_r): Do intermediate computations in
11408         round-to-nearest then adjust overflowing and underflowing results
11409         as needed.  Use 1.0L not 1.0f as numerator of division.
11410         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11411         of X_ADJ not X when adjusting exponent.
11412         (__ieee754_gammal_r): Do intermediate computations in
11413         round-to-nearest then adjust overflowing and underflowing results
11414         as needed.  Use 1.0L not 1.0f as numerator of division.
11415         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11416         to auto-libm-test-in.
11417         (tgamma_test): Use ALL_RM_TEST.
11418         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11419         tests of tgamma with spurious-overflow.
11420         * math/auto-libm-test-out: Regenerated.
11421         * math/gen-libm-have-vector-test.sh: Do not check for START.
11422         * sysdeps/i386/fpu/libm-test-ulps: Update.
11423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11425         [BZ #18612]
11426         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11427         arguments, just return 0.5 times the argument, with underflow
11428         forced as needed.
11429         * math/auto-libm-test-in: Add more tests of j1.
11430         * math/auto-libm-test-out: Regenerated.
11432         [BZ #16559]
11433         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11434         (__ieee754_j1): Force underflow exception for small results.
11435         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11436         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11437         (__ieee754_j1f): Force underflow exception for small results.
11438         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11439         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11440         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11441         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11442         (__ieee754_j1l): Force underflow exception for small results.
11443         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11444         * math/auto-libm-test-in: Add more tests of j1 and jn.
11445         * math/auto-libm-test-out: Regenerated.
11447         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11448         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11449         (PF_MPLS): Likewise.
11450         (AF_IB): Likewise.
11451         (AF_MPLS): Likewise.
11452         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11453         value and macro.
11454         (MS_RMT_MASK): Include MS_LAZYTIME.
11456 2015-06-26  Mel Gorman  <mgorman@suse.de>
11458         [BZ #18502]
11459         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11460         already minimal.
11462 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11464         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11465         (DT_MIPS_NUM): Update.
11466         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11467         DT_MIPS_RLD_MAP_REL.
11469 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11471         [BZ #16559]
11472         [BZ #18602]
11473         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11474         round-to-nearest internally then recompute results that
11475         underflowed to zero in the original rounding mode.
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_jnl.c (__ieee754_jnl): Likewise.
11480         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11481         * sysdeps/i386/fpu/libm-test-ulps: Update.
11482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11484 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11486         * NEWS: Fixed description of link with vector math library.
11488 2015-06-25  Andreas Schwab  <schwab@suse.de>
11490         [BZ #18549]
11491         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11492         * libio/test-fmemopen.c (do_test): Add test for it.
11494 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11496         [BZ #17841]
11497         * Makeconfig (no-pie-ldflag): New.
11498         (+link): Set to $(+link-pie) if default to PIE.
11499         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11500         * config.make.in (build-pie-default): New.
11501         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11502         is default.  AC_SUBST.
11503         * configure: Regenerated.
11504         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11506 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11508         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11509         to 'unsigned int'.
11511         * resolv/gai_misc.h (struct waitlist): Change type of field
11512         counterp to 'volatile unsigned int *'.
11513         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11514         FUTEXADDR and OLDVAL.
11515         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11516         Give local variable TOTAL type 'volatile unsigned int'.
11517         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11518         * resolv/gai_suspend.c (gai_suspend):
11519         Give local variable CNTR type 'unsigned int'.
11521         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11522         counterp to 'volatile unsigned int *'.
11523         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11524         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11525         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11526         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11527         Give local variable TOTAL type 'volatile unsigned int'.
11528         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11530 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11532         [BZ #18383]
11533         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11534         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11535         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11536         comment for i386/x86-64.
11537         (test-xfail-tst-tlsalign-extern-static): Removed.
11539 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11541         * math/test-double.h: New file.
11542         * math/test-float.h: Likewise.
11543         * math/test-ldouble.h: Likewise.
11544         * math/test-math-inline.h: Likewise.
11545         * math/test-math-no-inline.h: Likewise.
11546         * math/test-math-scalar.h: Likewise.
11547         * math/test-math-vector.h: Likewise.
11548         * math/test-vec-loop.h: Remove file.  Contents moved into
11549         test-math-vector.h.
11550         * math/libm-test.inc (MATHCONST): Do not document macro.
11551         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11552         and test-math-scalar.h.
11553         (FUNC): Remove macro.
11554         (FUNC_TEST): Likewise.
11555         (FLOAT): Likewise.
11556         (MATHCONST): Likewise.
11557         (PRINTF_EXPR): Likewise.
11558         (PRINTF_XEXPR): Likewise.
11559         (PRINTF_NEXPR): Likewise.
11560         (TEST_DOUBLE): Likewise.
11561         (TEST_MATHVEC): Likewise.
11562         (__NO_MATH_INLINES): Likewise.
11563         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11564         and test-math-scalar.h.
11565         (FUNC): Remove macro.
11566         (FUNC_TEST): Likewise.
11567         (FLOAT): Likewise.
11568         (MATHCONST): Likewise.
11569         (PRINTF_EXPR): Likewise.
11570         (PRINTF_XEXPR): Likewise.
11571         (PRINTF_NEXPR): Likewise.
11572         (TEST_FLOAT): Likewise.
11573         (TEST_MATHVEC): Likewise.
11574         (__NO_MATH_INLINES): Likewise.
11575         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11576         and test-math-scalar.h.
11577         (FUNC): Remove macro.
11578         (FUNC_TEST): Likewise.
11579         (FLOAT): Likewise.
11580         (MATHCONST): Likewise.
11581         (PRINTF_EXPR): Likewise.
11582         (PRINTF_XEXPR): Likewise.
11583         (PRINTF_NEXPR): Likewise.
11584         (TEST_DOUBLE): Likewise.
11585         (TEST_MATHVEC): Likewise.
11586         (TEST_INLINE): Likewise.
11587         (__NO_MATH_INLINES): Likewise.
11588         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11589         test-math-scalar.h.
11590         (FUNC): Remove macro.
11591         (FUNC_TEST): Likewise.
11592         (FLOAT): Likewise.
11593         (MATHCONST): Likewise.
11594         (PRINTF_EXPR): Likewise.
11595         (PRINTF_XEXPR): Likewise.
11596         (PRINTF_NEXPR): Likewise.
11597         (TEST_FLOAT): Likewise.
11598         (TEST_MATHVEC): Likewise.
11599         (TEST_INLINE): Likewise.
11600         (__NO_MATH_INLINES): Likewise.
11601         * math/test-ildoubl.c: Include test-ldouble.h, test-math-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_LDOUBLE): Likewise.
11611         (TEST_MATHVEC): Likewise.
11612         (TEST_INLINE): Likewise.
11613         (__NO_MATH_INLINES): Likewise.
11614         * math/test-ldouble.c: Include test-ldouble.h,
11615         test-math-no-inline.h and test-math-scalar.h.
11616         (FUNC): Remove macro.
11617         (FUNC_TEST): Likewise.
11618         (FLOAT): Likewise.
11619         (MATHCONST): Likewise.
11620         (PRINTF_EXPR): Likewise.
11621         (PRINTF_XEXPR): Likewise.
11622         (PRINTF_NEXPR): Likewise.
11623         (TEST_LDOUBLE): Likewise.
11624         (TEST_MATHVEC): Likewise.
11625         (__NO_MATH_INLINES): Likewise.
11626         * math/test-double-vlen2.h: Include test-double.h,
11627         test-math-no-inline.h and test-math-vector.h.
11628         (FLOAT): Remove macro.
11629         (FUNC): Likewise.
11630         (MATHCONST): Likewise.
11631         (PRINTF_EXPR): Likewise.
11632         (PRINTF_XEXPR): Likewise.
11633         (PRINTF_NEXPR): Likewise.
11634         (TEST_DOUBLE): Likewise.
11635         (TEST_MATHVEC): Likewise.
11636         (__NO_MATH_INLINES): Likewise.
11637         (CNCT): Likewise.
11638         (CONCAT): Likewise.
11639         (WRAPPER_NAME): Likewise.
11640         (WRAPPER_DECL): Likewise.
11641         (WRAPPER_DECL_ff): Likewise.
11642         (WRAPPER_DECL_fFF): Likewise.
11643         (VECTOR_WRAPPER): Likewise.
11644         (VECTOR_WRAPPER_ff): Likewise.
11645         (VECTOR_WRAPPER_fFF): Likewise.
11646         (VEC_LEN): New macro.
11647         * math/test-double-vlen4.h: Include test-double.h,
11648         test-math-no-inline.h and test-math-vector.h.
11649         (FLOAT): Remove macro.
11650         (FUNC): Likewise.
11651         (MATHCONST): Likewise.
11652         (PRINTF_EXPR): Likewise.
11653         (PRINTF_XEXPR): Likewise.
11654         (PRINTF_NEXPR): Likewise.
11655         (TEST_DOUBLE): Likewise.
11656         (TEST_MATHVEC): Likewise.
11657         (__NO_MATH_INLINES): Likewise.
11658         (CNCT): Likewise.
11659         (CONCAT): Likewise.
11660         (WRAPPER_NAME): Likewise.
11661         (WRAPPER_DECL): Likewise.
11662         (WRAPPER_DECL_ff): Likewise.
11663         (WRAPPER_DECL_fFF): Likewise.
11664         (VECTOR_WRAPPER): Likewise.
11665         (VECTOR_WRAPPER_ff): Likewise.
11666         (VECTOR_WRAPPER_fFF): Likewise.
11667         (VEC_LEN): New macro.
11668         * math/test-double-vlen8.h: Include test-double.h,
11669         test-math-no-inline.h and test-math-vector.h.
11670         (FLOAT): Remove macro.
11671         (FUNC): Likewise.
11672         (MATHCONST): Likewise.
11673         (PRINTF_EXPR): Likewise.
11674         (PRINTF_XEXPR): Likewise.
11675         (PRINTF_NEXPR): Likewise.
11676         (TEST_DOUBLE): Likewise.
11677         (TEST_MATHVEC): Likewise.
11678         (__NO_MATH_INLINES): Likewise.
11679         (CNCT): Likewise.
11680         (CONCAT): Likewise.
11681         (WRAPPER_NAME): Likewise.
11682         (WRAPPER_DECL): Likewise.
11683         (WRAPPER_DECL_ff): Likewise.
11684         (WRAPPER_DECL_fFF): Likewise.
11685         (VECTOR_WRAPPER): Likewise.
11686         (VECTOR_WRAPPER_ff): Likewise.
11687         (VECTOR_WRAPPER_fFF): Likewise.
11688         (VEC_LEN): New macro.
11689         * math/test-float-vlen4.h: Include test-float.h,
11690         test-math-no-inline.h and test-math-vector.h.
11691         (FLOAT): Remove macro.
11692         (FUNC): Likewise.
11693         (MATHCONST): Likewise.
11694         (PRINTF_EXPR): Likewise.
11695         (PRINTF_XEXPR): Likewise.
11696         (PRINTF_NEXPR): Likewise.
11697         (TEST_FLOAT): Likewise.
11698         (TEST_MATHVEC): Likewise.
11699         (__NO_MATH_INLINES): Likewise.
11700         (CNCT): Likewise.
11701         (CONCAT): Likewise.
11702         (WRAPPER_NAME): Likewise.
11703         (WRAPPER_DECL): Likewise.
11704         (WRAPPER_DECL_ff): Likewise.
11705         (WRAPPER_DECL_fFF): Likewise.
11706         (VECTOR_WRAPPER): Likewise.
11707         (VECTOR_WRAPPER_ff): Likewise.
11708         (VECTOR_WRAPPER_fFF): Likewise.
11709         (VEC_LEN): New macro.
11710         * math/test-float-vlen8.h: Include test-float.h,
11711         test-math-no-inline.h and test-math-vector.h.
11712         (FLOAT): Remove macro.
11713         (FUNC): Likewise.
11714         (MATHCONST): Likewise.
11715         (PRINTF_EXPR): Likewise.
11716         (PRINTF_XEXPR): Likewise.
11717         (PRINTF_NEXPR): Likewise.
11718         (TEST_FLOAT): Likewise.
11719         (TEST_MATHVEC): Likewise.
11720         (__NO_MATH_INLINES): Likewise.
11721         (CNCT): Likewise.
11722         (CONCAT): Likewise.
11723         (WRAPPER_NAME): Likewise.
11724         (WRAPPER_DECL): Likewise.
11725         (WRAPPER_DECL_ff): Likewise.
11726         (WRAPPER_DECL_fFF): Likewise.
11727         (VECTOR_WRAPPER): Likewise.
11728         (VECTOR_WRAPPER_ff): Likewise.
11729         (VECTOR_WRAPPER_fFF): Likewise.
11730         (VEC_LEN): New macro.
11731         * math/test-float-vlen16.h: Include test-float.h,
11732         test-math-no-inline.h and test-math-vector.h.
11733         (FLOAT): Remove macro.
11734         (FUNC): Likewise.
11735         (MATHCONST): Likewise.
11736         (PRINTF_EXPR): Likewise.
11737         (PRINTF_XEXPR): Likewise.
11738         (PRINTF_NEXPR): Likewise.
11739         (TEST_FLOAT): Likewise.
11740         (TEST_MATHVEC): Likewise.
11741         (__NO_MATH_INLINES): Likewise.
11742         (CNCT): Likewise.
11743         (CONCAT): Likewise.
11744         (WRAPPER_NAME): Likewise.
11745         (WRAPPER_DECL): Likewise.
11746         (WRAPPER_DECL_ff): Likewise.
11747         (WRAPPER_DECL_fFF): Likewise.
11748         (VECTOR_WRAPPER): Likewise.
11749         (VECTOR_WRAPPER_ff): Likewise.
11750         (VECTOR_WRAPPER_fFF): Likewise.
11751         (VEC_LEN): New macro.
11752         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11753         test-vec-loop.h.
11754         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11755         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11756         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11757         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11758         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11759         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11760         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11762 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11764         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11765         (__getlogin_r): ... this.
11767 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11769         [BZ #18594]
11770         * math/s_ccosh.c (__ccosh): Compare with least normal value
11771         instead of comparing class with FP_SUBNORMAL.
11772         * math/s_ccoshf.c (__ccoshf): Likewise.
11773         * math/s_ccoshl.c (__ccoshl): Likewise.
11774         * math/s_cexp.c (__cexp): Likewise.
11775         * math/s_cexpf.c (__cexpf): Likewise.
11776         * math/s_cexpl.c (__cexpl): Likewise.
11777         * math/s_csin.c (__csin): Likewise.
11778         * math/s_csinf.c (__csinf): Likewise.
11779         * math/s_csinh.c (__csinh): Likewise.
11780         * math/s_csinhf.c (__csinhf): Likewise.
11781         * math/s_csinhl.c (__csinhl): Likewise.
11782         * math/s_csinl.c (__csinl): Likewise.
11783         * math/s_ctan.c (__ctan): Likewise.
11784         * math/s_ctanf.c (__ctanf): Likewise.
11785         * math/s_ctanh.c (__ctanh): Likewise.
11786         * math/s_ctanhf.c (__ctanhf): Likewise.
11787         * math/s_ctanhl.c (__ctanhl): Likewise.
11788         * math/s_ctanl.c (__ctanl): Likewise.
11789         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11790         csin, csinh, ctan and ctanh.
11791         * math/auto-libm-test-out: Regenerated.
11792         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11793         * sysdeps/i386/fpu/libm-test-ulps: Update.
11794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11796 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11798         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11799         return value is wrong, print the expected value too.
11801 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11803         [BZ #18585]
11804         * elf/readlib.c (is_gdb_python_file): New.
11805         (process_file): Don't issue errors on filenames with -gdb.py
11806         suffix.
11808 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11810         * math/auto-libm-test-in: Add more tests of csin and csinh.
11811         * math/auto-libm-test-out: Regenerated.
11812         * math/libm-test.inc (csin_test_data): Remove tests moved to
11813         auto-libm-test-in.
11814         (csinh_test_data): Likewise.
11816         [BZ #18593]
11817         * math/s_csin.c (__csin): Negate before rather than after possibly
11818         overflowing multiplication.
11819         * math/s_csinf.c (__csinf): Likewise.
11820         * math/s_csinh.c (__csinh): Likewise.
11821         * math/s_csinhf.c (__csinhf): Likewise.
11822         * math/s_csinhl.c (__csinhl): Likewise.
11823         * math/s_csinl.c (__csinl): Likewise.
11824         * math/auto-libm-test-in: Add some tests of csin and csinh.
11825         * math/auto-libm-test-out: Regenerated.
11826         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
11827         (csinh_test_data): Likewise.
11828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11830         [BZ #18586]
11831         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
11832         underflow exception for small results.
11834 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11836         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11837         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
11838         variable and included header.
11839         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
11840         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
11841         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
11842         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
11843         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
11844         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
11847         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
11848         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
11849         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
11850         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
11851         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
11852         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
11853         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
11854         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
11856 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11858         [BZ #16526]
11859         [BZ #16538]
11860         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
11861         (__sin): Force underflow exception for arguments with small
11862         absolute value.
11863         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
11864         (__kernel_sinf): Force underflow exception for arguments with
11865         small absolute value.
11866         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
11867         (__kernel_sincosl): Force underflow exception for arguments with
11868         small absolute value.
11869         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
11870         (__kernel_sinl): Force underflow exception for arguments with
11871         small absolute value.
11872         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
11873         (__kernel_sincosl): Force underflow exception for arguments with
11874         small absolute value.
11875         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
11876         (__kernel_sinl): Force underflow exception for arguments with
11877         small absolute value.
11878         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
11879         (__kernel_sinl): Force underflow exception for arguments with
11880         small absolute value.
11881         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
11882         (__kernel_sinf): Force underflow exception for arguments with
11883         small absolute value.
11884         * math/auto-libm-test-in: Add more tests of sin and sincos.
11885         * math/auto-libm-test-out: Regenerated.
11887         [BZ #18245]
11888         [BZ #18583]
11889         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
11890         (__kernel_standard_l): Use feholdexcept and fesetenv around
11891         conversion to double instead of special-casing overflow and
11892         underflow.
11893         * math/libm-test.inc (fmod_test_data): Add more tests.
11894         (remainder_test_data): Likewise.
11895         (sqrt_test_data): Likewise.
11897 2015-06-23  Torvald Riegel  <triegel@redhat.com>
11899         [BZ #17403]
11900         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
11901         atomic_read_barrier, atomic_write_barrier): Define.
11902         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
11903         atomic_read_barrier, atomic_write_barrier): Define.
11905 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11907         * math/Makefile [$(PERL) != no]
11908         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
11909         dependency on libm-test.stmp below the inclusion of Rules.
11911 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
11913         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
11914         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
11915         and included header.
11916         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
11917         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
11918         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
11919         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
11920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
11921         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
11922         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11923         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11924         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
11925         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
11926         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
11927         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
11928         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
11929         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
11930         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
11931         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
11932         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
11933         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
11934         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
11936 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
11938         [BZ #18371]
11939         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
11940         intermediate but not final result might underflow.
11941         * math/s_csqrtf.c (__csqrtf): Likewise.
11942         * math/s_csqrtl.c (__csqrtl): Likewise.
11943         * math/auto-libm-test-in: Add more tests of csqrt.
11944         * math/auto-libm-test-out: Regenerated.
11945         * sysdeps/i386/fpu/libm-test-ulps: Update.
11947         [BZ #18219]
11948         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
11949         threshold on absolute value of exponent for which scaling is used.
11950         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11951         * math/auto-libm-test-in: Add more tests of exp2.
11952         * math/auto-libm-test-out: Regenerated.
11954 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
11956         [BZ #17977]
11957         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
11958         when initializing interface list, based on the bug analysis
11959         and the patch proposed by Eric Newton.
11960         * resolv/tst-res_hconf_reorder.c: New test.
11961         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
11962         tst-res_hconf_reorder.
11963         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
11964         and $(shared-thread-library).
11965         (tst-res_hconf_reorder-ENV): New variable.
11967         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
11968         in comment.
11970 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
11972         [BZ #16353]
11973         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
11974         (__expm1): Force underflow exception for arguments with small
11975         absolute value.
11976         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
11977         (__expm1f): Force underflow exception for arguments with small
11978         absolute value.
11979         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
11980         (__expm1): Force underflow exception for arguments with small
11981         absolute value.
11982         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
11983         (__expm1f): Force underflow exception for arguments with small
11984         absolute value.
11985         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11986         Check for small arguments before calling __expm1.
11987         * math/auto-libm-test-in: Do not mark underflow exceptions as
11988         possibly missing for bug 16353.
11989         * math/auto-libm-test-out: Regenerated.
11991 2015-06-22  Andreas Schwab  <schwab@suse.de>
11993         [BZ #18513]
11994         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
11995         PTR queries.
11997 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
11999         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12001         * string/strcoll_l.c: Remove unused struct element idxnow.
12003 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
12005         [BZ #18569]
12006         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12007         underflow and return argument in case of subnormal argument.
12008         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12009         Likewise.
12010         * math/auto-libm-test-in: Add more tests of expm1.
12011         * math/auto-libm-test-out: Regenerated.
12013         [BZ #16361]
12014         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12015         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12016         tiny results.
12017         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12018         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12019         tiny results.
12020         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
12021         mark underflow exceptions as possibly missing for bug 16361.
12022         * math/auto-libm-test-out: Regenerated.
12024 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
12026         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12027         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12028         Remove variable.
12029         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12030         (test-xfail-XOPEN2K8/utmpx.h/conform).
12032         * conform/conformtest.pl ($xerrors): New variable.
12033         (note_error): New function.
12034         (compiletest): New argument $xfail.  Use not_error.
12035         (runtest): Likewise.
12036         (top level): Handle xfail- lines.  Update calls to compiletest and
12037         runtest.  Handle xfail- and optional- in headers listed with
12038         allow-header.
12039         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12040         (O_EXEC): Likewise.
12041         (O_SEARCH): Likewise.
12042         * conform/data/stropts.h-data (ioctl): Likewise.
12043         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12044         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12045         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12046         (msghdr.msg_controllen): Likewise.
12047         (cmsghdr.cmsg_len): Likewise.
12048         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12049         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12050         variable.
12051         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12052         (test-xfail-XPG4/stropts.h/conform): Likewise.
12053         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12054         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12055         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12056         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12057         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12058         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12059         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12060         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12061         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12062         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12063         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12064         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12065         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12066         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12067         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12068         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12069         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12070         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12071         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12073 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12075         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12076         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12077         definitions for proper unfolding of __MATHDECL_VEC.
12079 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12081         * benchtests/bench-strcoll.c:
12082         Include string.h.
12083         (main): Remove unused variable res.
12085 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12087         * timezone/Makefile (%/UTC %/Universal):
12088         Generate test-result files for UTC and Universal.
12090 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12092         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12094 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
12096         [BZ #16350]
12097         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12098         for arguments with small absolute value.
12099         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12100         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12101         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12102         (__asinh): Force underflow exception for arguments with small
12103         absolute value.
12104         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12105         (__asinhf): Force underflow exception for arguments with small
12106         absolute value.
12107         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12108         (__asinhl): Force underflow exception for arguments with small
12109         absolute value.
12110         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12111         (__asinhl): Force underflow exception for arguments with small
12112         absolute value.
12113         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12114         (__asinhl): Force underflow exception for arguments with small
12115         absolute value.
12116         * math/auto-libm-test-in: Do not mark underflow exceptions as
12117         possibly missing for bug 16350.
12118         * math/auto-libm-test-out: Regenerated.
12120         * include/bits/ipc.h: Remove file.
12121         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12122         variable.
12123         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12124         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12125         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12126         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12127         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12128         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12129         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12130         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12131         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12133         * math/auto-libm-test-in: Remove spurious underflow allowance for
12134         tests of cexp.
12135         * math/auto-libm-test-out: Regenerated.
12137         [BZ #18558]
12138         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12139         unconditional definition.
12140         (MCAST_BLOCK_SOURCE): Likewise.
12141         (MCAST_UNBLOCK_SOURCE): Likewise.
12142         (MCAST_LEAVE_GROUP): Likewise.
12143         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12144         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12145         (MCAST_MSFILTER): Likewise.
12146         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12147         Remove variable.
12148         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12149         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12150         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12151         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12152         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12154 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12156         * NEWS: Mention addition of x86_64 vector sincosf.
12157         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12158         * math/test-float-vlen4.h: Likewise.
12159         * math/test-float-vlen8.h: Likewise.
12160         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12161         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12162         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12163         * sysdeps/x86_64/fpu/Versions: New versions added.
12164         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12165         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12166         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12167         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12168         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12169         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12170         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12171         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12172         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12173         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12174         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12175         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12176         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12177         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12178         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12179         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12180         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12181         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12182         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12183         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12184         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12185         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12186         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12187         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12189         * NEWS: Mention addition of x86_64 vector sincos.
12190         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12191         * math/math.h (__MATHDECL_VEC): New macro.
12192         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12193         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12194         declaration under condition.
12195         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12196         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12197         TEST_VEC_LOOP change.
12198         * math/test-double-vlen4.h: Likewise.
12199         * math/test-double-vlen8.h: Likewise.
12200         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12201         * math/test-float-vlen4.h: Likewise.
12202         * math/test-float-vlen8.h: Likewise.
12203         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12204         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12205         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12206         * sysdeps/x86_64/fpu/Versions: New versions added.
12207         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12208         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12209         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12210         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12211         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12212         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12213         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12214         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12215         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12216         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12217         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12218         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12219         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12220         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12221         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12222         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12223         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12224         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12225         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12226         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12227         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12228         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12229         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12230         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12232         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12233         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12234         redirections for powf.
12235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12236         * sysdeps/x86_64/fpu/Versions: New versions added.
12237         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12238         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12239         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12240         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12241         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12242         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12243         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12244         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12245         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12246         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12247         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12248         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12249         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12250         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12251         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12252         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12253         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12254         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12255         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12256         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12257         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12258         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12259         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12260         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12261         * math/test-float-vlen16.h: Fixed 2 argument macro.
12262         * math/test-float-vlen4.h: Likewise.
12263         * math/test-float-vlen8.h: Likewise.
12264         * NEWS: Mention addition of x86_64 vector powf.
12266 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
12268         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12269         and redefine.
12270         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12271         and redefine.
12272         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12273         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12274         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12276         [BZ #18553]
12277         * resource/getpriority.c (getpriority): Rename to __getpriority
12278         and define as weak alias of __getpriority.
12279         * resource/setpriority.c (setpriority): Rename to __setpriority
12280         and define as weak alias of __setpriority.
12281         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12282         __getpriority and define as weak alias of __getpriority.
12283         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12284         __setpriority and define as weak alias of __setpriority.
12285         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12286         strong name.
12287         (setpriority): Use __setpriority as strong name.
12288         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12289         __getpriority and define as weak alias of __getpriority.
12290         * include/sys/resource.h (__getpriority): Declare.  Use
12291         libc_hidden_proto.
12292         (__setpriority): Likewise.
12293         (getpriority): Don't use libc_hidden_proto.
12294         (setpriority): Likewise.
12295         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12296         getpriority.  Call __setpriority instead of setpriority.
12297         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12298         Remove variable.
12300         [BZ #18547]
12301         * misc/getttyent.c (getttynam): Rename to __getttynam and define
12302         as weak alias of __getttynam.  Use prototype function definition.
12303         Call __setttyent, __getttyent and __endttyent instead of
12304         setttyent, getttyent and endttyent.
12305         (getttyent): Rename to __getttyent and define as weak alias of
12306         __getttyent.  Call __setttyent instead of setttyent.  Call
12307         __fgets_unlocked instead of fgets_unlocked.
12308         (setttyent): Rename to __setttyent and define as weak alias of
12309         __setttyent.
12310         (endttyent): Rename to __endttyent and define as weak alias of
12311         __endttyent.
12312         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
12313         (__setttyent): Likewise.
12314         (__endttyent): Likewise.
12315         (getttyent): Don't use libc_hidden_proto.
12316         (setttyent): Likewise.
12317         (endttyent): Likewise.
12318         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12319         __endttyent instead of setttyent, getttyent and endttyent.
12320         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12321         Remove variable.
12323         [BZ #18546]
12324         * socket/recv.c (__recv): Use libc_hidden_def.
12325         * socket/socket.c (__socket): Likewise.
12326         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12327         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12328         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12329         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12330         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12331         libc_hidden_def.
12332         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12333         libc_hidden_weak.
12334         * include/sys/socket.h (__socket): Do not use attribute_hidden.
12335         Use libc_hidden_proto.
12336         (__recv): Likewise.
12337         * socket/Versions (libc): Export __recv and __socket at version
12338         GLIBC_PRIVATE.
12339         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12340         instead of recv.
12341         (init_mq_netlink): Call __socket instead of socket.
12342         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12343         Remove variable.
12345         [BZ #18545]
12346         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12347         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12348         hidden_weak.
12349         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12350         define as alias of __mq_timedsend.  Use hidden_weak.
12351         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12352         __mq_timedsend as strong name.
12353         (mq_timedreceive): Use __mq_timedreceive as strong name.
12354         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12355         (__mq_timedreceive): Likewise.
12356         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12357         __mq_timedreceive instead of mq_timedreceive.
12358         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12359         instead of mq_timedsend.
12360         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12361         Remove variable.
12363         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12364         hidden_def and hidden_weak instead of libc_hidden_def and
12365         libc_hidden_weak.
12366         (top level): Refer to hidden_def in comment.
12367         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12368         macro.  Use it instead of libc_hidden_def.
12369         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12370         specify __GI_* name explicitly.
12371         (mq_timedreceive): Likewise.
12372         (mq_setattr): Likewise.
12374         [BZ #18544]
12375         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12376         __pthread_barrier_init and define as weak alias of
12377         __pthread_barrier_init.
12378         * sysdeps/sparc/nptl/pthread_barrier_init.c
12379         (pthread_barrier_init): Likewise.
12380         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12381         __pthread_barrier_wait and define as weak alias of
12382         __pthread_barrier_wait.
12383         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12384         (pthread_barrier_wait): Likewise.
12385         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12386         (pthread_barrier_wait): Likewise.
12387         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12388         (pthread_barrier_wait): Likewise.
12389         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12390         (pthread_barrier_wait): Likewise.
12391         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12392         __pthread_barrier_wait at version GLIBC_PRIVATE.
12393         * include/pthread.h (__pthread_barrier_init): Declare.
12394         (__pthread_barrier_wait): Likewise.
12395         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12396         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12397         (helper_thread): Likewise.
12398         (init_mq_netlink): Call __pthread_barrier_init instead of
12399         pthread_barrier_init.
12401         [BZ #18542]
12402         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12403         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12404         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12405         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12406         vswscanf.
12407         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12408         Remove variable.
12410         [BZ #18540]
12411         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12412         strong alias of _IO_fflush.  Use libc_hidden_def.
12413         * libio/iofflush_u.c (fflush_unlocked): Rename to
12414         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12415         Use libc_hidden_weak.
12416         * include/stdio.h (__fflush_unlocked): Declare.  Use
12417         libc_hidden_proto.
12418         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12419         fflush_unlocked.
12420         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12421         Remove variable.
12423         [BZ #18539]
12424         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12425         define as weak alias of __addseverity.
12426         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12427         Remove variable.
12428         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12429         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12430         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12432         [BZ #18536]
12433         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12434         (__tfind): Likewise.
12435         (__tdelete): Likewise.
12436         (__twalk): Likewise.
12437         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12438         __twalk to GLIBC_PRIVATE.
12439         * include/search.h (__tsearch): Use libc_hidden_proto.
12440         (__tfind): Likewise.
12441         (__tdelete): Likewise.
12442         (__twalk): Likewise.
12443         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12444         Call __tdelete instead of tdelete.
12445         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12446         tfind.  Call __tsearch instead of tsearch.
12447         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12448         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12449         Remove variable.
12450         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12452         [BZ #18534]
12453         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12454         (dprintf): Define as a weak alias of __dprintf, not a strong
12455         alias.
12456         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12457         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12458         dprintf.
12459         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12460         Remove variable.
12461         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12462         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12464         [BZ #18533]
12465         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12466         not a strong alias.
12467         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12468         Remove variable.
12470         [BZ #18532]
12471         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12472         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12473         (in6addr_loopback): Rename to __in6addr_loopback and define as
12474         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12475         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12476         libc_hidden_proto.
12477         (__in6addr_any): Likewise.
12478         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12479         in6addr_any.
12480         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12481         variable.
12482         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12484 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12486         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12487         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12488         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12489         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12490         redirections for pow.
12491         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12492         * sysdeps/x86_64/fpu/Versions: New versions added.
12493         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12494         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12495         build of SSE, AVX2 and AVX512 IFUNC versions.
12496         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12497         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12498         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12499         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12500         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12501         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12502         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12503         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12504         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12505         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12506         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12507         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12508         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12509         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12510         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12511         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12512         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12513         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12514         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12515         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12516         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12517         * NEWS: Mention addition of x86_64 vector pow.
12519         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12520         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12521         redirections for expf.
12522         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12523         * sysdeps/x86_64/fpu/Versions: New versions added.
12524         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12525         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12526         build of SSE, AVX2 and AVX512 IFUNC versions.
12527         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12528         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12529         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12530         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12531         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12532         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12533         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12534         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12535         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12536         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12537         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12538         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12539         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12540         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12541         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12542         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12543         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12544         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12545         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12546         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12547         * NEWS: Mention addition of x86_64 vector expf.
12549         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12550         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12551         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12552         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12553         redirections for exp.
12554         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12555         * sysdeps/x86_64/fpu/Versions: New versions added.
12556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12557         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12558         build of SSE, AVX2 and AVX512 IFUNC versions.
12559         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12560         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12561         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12562         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12563         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12564         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12565         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12566         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12567         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12568         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12569         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12570         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12571         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12572         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12573         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12574         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12575         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12576         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12577         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12578         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12579         * NEWS: Mention addition of x86_64 vector exp.
12581         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12582         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12583         redirections for logf.
12584         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12585         * sysdeps/x86_64/fpu/Versions: New versions added.
12586         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12587         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12588         build of SSE, AVX2 and AVX512 IFUNC versions.
12589         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12590         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12591         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12592         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12593         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12594         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12595         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12596         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12597         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12598         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12599         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12600         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12601         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12602         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12603         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12604         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12605         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12606         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12607         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12608         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12609         * NEWS: Mention addition of x86_64 vector logf.
12611         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12612         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12613         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12614         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12615         redirections for log.
12616         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12617         * sysdeps/x86_64/fpu/Versions: New versions added.
12618         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12619         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12620         build of SSE, AVX2 and AVX512 IFUNC versions.
12621         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12622         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12623         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12624         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12625         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12626         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12627         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12628         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12629         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12630         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12631         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12632         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12633         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12634         test.
12635         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12636         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12637         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12638         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12639         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12640         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12641         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12642         * NEWS: Mention addition of x86_64 vector log.
12644 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12646         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12647         cfi_adjust_cfa_offset argument.
12648         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12649         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12651         [BZ #18034]
12652         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12653         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12654         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12655         ordering using ldar.
12656         (_dl_tlsdesc_dynamic): Likewise.
12657         (_dl_tlsdesc_return_lazy): Likewise.
12658         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12659         relaxed atomics instead of volatile and synchronize with release store.
12660         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12661         volatile.
12662         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12664 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12666         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12667         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12668         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12669         * sysdeps/x86_64/fpu/Versions: New versions added.
12670         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12671         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12672         build of SSE, AVX2 and AVX512 IFUNC versions.
12673         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12674         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12675         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12676         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12677         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12678         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12679         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12680         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12681         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12682         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12683         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12684         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12685         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12686         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12687         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12688         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12689         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12691         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12692         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12693         * NEWS: Mention addition of x86_64 vector sinf.
12695 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12697         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12698         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12699         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12700         Remove variable.
12701         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12702         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12704 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12706         [BZ #18530]
12707         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12708         strong alias of _IO_fputs.  Use libc_hidden_def.
12709         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12710         and define as weak alias of __fputs_unlocked.  Use
12711         libc_hidden_weak.
12712         * include/stdio.h (__fputs_unlocked): Declare.  Use
12713         libc_hidden_proto.
12714         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12715         fputs_unlocked.
12717         [BZ #18529]
12718         * resolv/netdb.h [__USE_POSIX]: Change condition to
12719         [__USE_XOPEN2K].
12720         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12721         not expect.
12722         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12723         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12724         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12725         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12726         [XPG4 || UNIX98] (AI_ALL): Likewise.
12727         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12728         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12729         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12730         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12731         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12732         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12733         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12734         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12735         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12736         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12737         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12738         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12739         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12740         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12741         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12742         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12743         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12744         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12745         [XPG4 || UNIX98] (gai_strerror): Likewise.
12746         [XPG4 || UNIX98] (getaddrinfo): Likewise.
12747         [XPG4 || UNIX98] (getnameinfo): Likewise.
12749         [BZ #18528]
12750         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12751         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12752         __USE_XOPEN2K8].
12753         (getgrent): Likewise.
12754         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12755         expect.
12756         [XPG3 || POSIX2008] (endgrent): Likewise.
12757         [XPG3] (setgrent): Likewise.
12758         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12759         variable.
12760         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12762         [BZ #18527]
12763         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12764         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12765         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12766         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12767         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12768         * include/unistd.h (__getlogin_r): Declare.  Use
12769         libc_hidden_proto.
12770         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12771         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12772         variable.
12773         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12774         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12775         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12777 2015-06-12  Martin Sebor  <msebor@redhat.com>
12779         [BZ #18512]
12780         * Makerules (check-install-supported): New target.
12781         (install): Add check-install-supported as a dependency.
12782         * manual/install.texi (Installing the C Library): Document
12783         that overriding prefix and exec_prefix is not supported.
12784         Mention DESTDIR.
12785         * INSTALL: Regenerate from the above.
12787 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12789         [BZ #18519]
12790         * posix/Versions (libc): Export __libc_pread at version
12791         GLIBC_PRIVATE.
12792         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12793         instead of pread.
12794         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12795         variable.
12797         [BZ #18522]
12798         * misc/efgcvt_r.c
12799         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
12800         (cvt_symbol): Use weak_alias instead of strong_alias.
12801         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
12802         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
12803         Remove variable.
12804         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12805         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12807         [BZ #18520]
12808         * inet/herrno.c (h_errno): Rename to __h_errno.
12809         (__libc_h_errno): Define as alias of __h_errno not h_errno.
12810         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
12811         to __h_errno instead of h_errno.
12812         * nptl/herrno.c (h_errno): Rename to __h_errno.
12813         (__h_errno_location): Refer to __h_errno not h_errno.
12814         * resolv/Versions (h_errno): Rename to __h_errno.
12815         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
12816         Remove variable.
12817         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12819 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
12821         * configure.ac: More strict check for AVX512 assembler support.
12822         * configure: Regenerated.
12824         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
12825         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
12826         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12827         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
12828         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12829         * sysdeps/x86_64/fpu/Versions: New versions added.
12830         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12831         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12832         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12833         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
12834         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
12835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
12836         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
12837         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
12838         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
12839         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
12840         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
12841         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
12842         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
12843         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
12844         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
12845         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
12846         test.
12847         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12848         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12849         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12850         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12851         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12852         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12853         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12854         * NEWS: Mention addition of x86_64 vector sin.
12856 2015-06-11  Florian Weimer  <fweimer@redhat.com>
12858         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
12859         comment.
12861 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12863         [BZ #18479]
12864         * nptl/pt-interp.c: New file.
12865         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
12866         Add pt-interp.
12867         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
12868         $(common-objpfx)runtime-linker.h.
12870 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
12872         * Makeconfig (+interp): Remove unused variable.
12873         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
12874         only.  Depend on $(common-objpfx)runtime-linker.h instead of
12875         $(elf-objpfx)runtime-linker.h.
12876         ($(elf-objpfx)runtime-linker.h): Rename to
12877         $(common-objpfx)runtime-linker.h and move ...
12878         * Makerules [$(build-shared) = yes]: ... here.
12879         * elf/interp.c: Include <runtime-linker.h> instead of
12880         <elf/runtime-linker.h>.
12882 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12884         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
12885         (__gettimeofday_syscall): Remove vsyscall fallback.
12886         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
12887         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
12888         Add syscall fallback function.
12889         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
12890         if vDSO is not present.
12891         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12892         fallback function.
12893         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
12894         present.
12895         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
12896         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12898 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
12900         [BZ #18497]
12901         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
12902         of wcscmp.
12903         (wcscmp): Define as weak alias of WCSCMP.
12904         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
12905         wcscoll.
12906         (USE_HIDDEN_DEF): Define.
12907         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
12908         __wcscoll.  Don't use libc_hidden_weak.
12909         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
12910         wcscmp.
12911         * sysdeps/i386/i686/multiarch/wcscmp-c.c
12912         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
12913         __GI_wcscmp.
12914         (weak_alias): Undefine and redefine.
12915         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
12916         __wcscmp and define as weak alias of __wcscmp.
12917         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
12918         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
12919         (__wcscoll): Likewise.
12920         (wcscmp): Don't use libc_hidden_proto.
12921         (wcscoll): Likewise.
12922         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
12923         wcscoll.
12924         * posix/regexec.c (check_node_accept_bytes): Likewise.
12925         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
12926         variable.
12927         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12928         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12930         [BZ #18507]
12931         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
12932         __fstatvfs and define as weak alias of __fstatvfs.  Use
12933         libc_hidden_weak.
12934         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
12935         and define as weak alias of __statvfs.  Use libc_hidden_weak.
12936         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
12937         Define as alias of __fstatvfs, not fstatvfs.
12938         (fstatvfs64): Likewise.
12939         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
12940         Define as alias of __statvfs, not statvfs.
12941         (statvfs64): Likewise.
12942         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
12943         Remove variable.
12945 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12948         (HAVE_GETCPU_VSYSCALL): Define.
12949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12950         (HAVE_GETCPU_VSYSCALL): Likewise.
12951         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
12952         * sysdeps/unix/sysv/linux/sched_getcpu.c
12953         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
12954         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
12955         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
12956         prototype.
12957         * sysdeps/unix/sysv/linux/x86_64/init-first.c
12958         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
12959         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
12960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
12961         Define.
12962         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
12963         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12964         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
12965         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12967 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
12969         * sysdeps/x86_64/fpu/Makefile: New file.
12970         * sysdeps/x86_64/fpu/Versions: New file.
12971         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
12972         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
12973         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
12974         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
12975         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
12976         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
12977         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12978         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
12979         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
12980         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
12981         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
12982         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
12983         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
12984         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12985         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12986         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
12987         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
12988         * sysdeps/x86_64/configure.ac: Options for libmvec build.
12989         * sysdeps/x86_64/configure: Regenerated.
12990         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
12991         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
12992         * manual/install.texi (Configuring and compiling): Document
12993         --disable-mathvec.
12994         * INSTALL: Regenerated.
12995         * NEWS: Mention addition of libmvec and x86_64 vector cos.
12997         * math/Makefile: Added rules for vector tests.
12998         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
12999         declaration under condition.
13000         * math/test-double-vlen2.h: New file.
13001         * math/test-double-vlen4.h: New file.
13002         * math/test-double-vlen8.h: New file.
13003         * math/test-vec-loop.h: Added initialization macro.
13004         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13005         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13006         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13007         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13008         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13009         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13010         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13011         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13012         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13013         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13014         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13016         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13017         * sysdeps/x86_64/fpu/Versions: New versions added.
13018         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13019         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13020         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13021         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13022         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13023         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13024         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13025         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13026         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13027         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13028         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13029         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13030         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13031         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13032         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13033         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13034         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13035         * NEWS: Mention addition of x86_64 vector cosf.
13037         * math/Makefile: Added CFLAGS for new tests.
13038         * math/test-float-vlen16.h: New file.
13039         * math/test-float-vlen4.h: New file.
13040         * math/test-float-vlen8.h: New file.
13041         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13042         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13043         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13044         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13045         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13046         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13047         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13048         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13049         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13050         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13051         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13053 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
13055         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13056         * locale/programs/ld-ctype.c: Likewise.
13058 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13060         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13061         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13062         bit_ZMM16_31_state): New macro.
13063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13064         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13066 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
13068         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13070 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
13072         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13074 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
13076         [BZ #18498]
13077         * libio/memstream.c (open_memstream): Rename to __open_memstream
13078         and define as weak alias of __open_memstream.
13079         * include/stdio.h (__open_memstream): Declare.  Use
13080         libc_hidden_proto.
13081         (open_memstream): Don't use libc_hidden_proto.
13082         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13083         open_memstream.
13084         * posix/getopt.c (_getopt_internal_r): Likewise.
13085         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13086         variable.
13087         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13088         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13089         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13091         [BZ #18496]
13092         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13093         instead of wcrtomb.
13095         [BZ #18483]
13096         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13097         [__USE_XOPEN2K8].  Remove redundant #endif.
13098         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13099         Remove redundant #if.
13100         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13101         Remove variable.
13102         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13103         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13105         [BZ #18495]
13106         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13107         (__iswlower): Likewise.
13108         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
13109         (__iswlower): Likewise.
13110         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13111         instead of towlower.
13112         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13113         instead of iswlower.  Call __towupper instead of towupper.
13114         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13115         instead of iswalnum.
13117 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13119         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13120         errors to stderr.
13122 2015-06-05  Florian Weimer  <fweimer@redhat.com>
13124         [BZ #15661]
13125         [BZ #17322]
13126         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13127         Check for overflow properly.  Check for O_APPEND.  Ignore large
13128         file system block sizes.  Add comments about problems.
13129         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13130         * manual/filesys.texi (Storage Allocation): New node.
13132 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13134         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13135         cancellable syscalls.
13136         (SYS_ify): Add guard to no redefine it.
13137         (INLINE_SYSCALL): Likewise.
13138         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13139         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13140         SYSCALL_CANCEL instead.
13141         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13142         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13143         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13144         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13145         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13146         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13147         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13148         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13149         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13150         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13151         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13152         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13153         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13154         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13155         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13157         Likewise.
13158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13159         (__libc_pread64): Likewise.
13160         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13161         (__libc_preadv): Likewise.
13162         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13163         (__libc_readv64): Likewise.
13164         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13165         (__libc_pwrite): Likewise.
13166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13167         (__libc_pwrite64): Likewise.
13168         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13169         (__libc_pwritev): Likewise.
13170         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13171         (__libc_pwritev64): Likewise.
13172         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13173         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13174         (sync_file_range): Likewise.
13175         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13176         Likewise.
13177         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13178         Likewise.
13179         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13180         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13181         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13182         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13183         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13184         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13185         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13186         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13188         Likewise.
13189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13190         (__libc_read64): Likewise.
13191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13192         Likewise.
13193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13194         Likewise.
13195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13196         Likewise.
13197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13198         Likewise.
13199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13200         (__libc_pread64): Likewise.
13201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13202         Likewise.
13203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13204         (__libc_pwrite64): Likewise.
13205         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13206         (sync_file_range): Likewise.
13207         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13208         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13209         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13210         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13211         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13212         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13213         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13214         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13215         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13216         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13217         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13218         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13219         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13220         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13221         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13222         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13223         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13224         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13225         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13226         Likewise.
13227         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13228         Likewise.
13229         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13230         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13231         Likewise.
13232         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13233         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13234         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13235         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13236         Likewise.
13237         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13238         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13239         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13240         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13241         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13243 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13245         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13246         Include dl-vdso.
13247         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13248         Use VDSO routines for gettimeofday, clock_gettime if
13249         available.
13250         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13251         Declare VDSO symbols.
13252         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13253         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13254         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13255         * sysdeps/unix/sysv/linux/arm/Versions: Add
13256         __vdso_clock_gettime.
13258 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13260         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13261         be an inline implementation regardless of library is built within.
13262         (open_not_cancel_2): Likewise.
13263         (__read_nocancel): Likewise.
13264         (__write_nocancel): Likewise.
13265         (openat_not_cancel): Likewise.
13266         (openat_not_cancel_3): Likewise.
13267         (openat64_not_cancel): Likewise.
13268         (openat64_not_cancel_3): Likewise.
13269         (__close_nocancel): Likewise.
13270         (pause_not_cancel): Likewise.
13271         (nanosleep_not_cancel): Likewise.
13272         (sigsuspend_not_cancel): Likewise.
13274 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13276         [BZ #14958]
13277         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13278         wake-up.
13279         (__pthread_rwlock_rdlock_slow): Likewise.
13280         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13281         Likewise.
13282         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13283         Likewise.
13284         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13285         * nptl/tst-rwlock16.c: New file.
13286         * nptl/Makefile (tests): Add new test.
13288 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13290         [BZ #18324]
13291         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13292         missing wake-up of readers.
13293         * nptl/tst-rwlock15.c: New file.
13294         * nptl/Makefile (tests): Add new test.
13296 2015-06-03  Roland McGrath  <roland@hack.frob.com>
13298         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13299         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13300         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13301         and __nacl_supply_interface_rtld.
13302         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13303         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13304         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13305         Add __nacl_supply_interface_rtld.
13306         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13308 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13310         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13311         isfinite.
13312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13313         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13315 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13317         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13318         __signbit* with standard C99 macros.
13319         * math/e_exp10l.c: Likewise.
13320         * math/e_exp2l.c: Likewise.
13321         * math/e_scalb.c: Likewise.
13322         * math/e_scalbf.c: Likewise.
13323         * math/e_scalbl.c: Likewise.
13324         * math/s_ldexp.c: Likewise.
13325         * math/s_ldexpf.c: Likewise.
13326         * math/s_ldexpl.c: Likewise.
13327         * math/w_atan2.c: Likewise.
13328         * math/w_atan2f.c: Likewise.
13329         * math/w_atan2l.c: Likewise.
13330         * math/w_cosh.c: Likewise.
13331         * math/w_coshf.c: Likewise.
13332         * math/w_coshl.c: Likewise.
13333         * math/w_exp10.c: Likewise.
13334         * math/w_exp10f.c: Likewise.
13335         * math/w_exp10l.c: Likewise.
13336         * math/w_exp2.c: Likewise.
13337         * math/w_exp2f.c: Likewise.
13338         * math/w_exp2l.c: Likewise.
13339         * math/w_fmod.c: Likewise.
13340         * math/w_fmodf.c: Likewise.
13341         * math/w_fmodl.c: Likewise.
13342         * math/w_hypot.c: Likewise.
13343         * math/w_hypotf.c: Likewise.
13344         * math/w_hypotl.c: Likewise.
13345         * math/w_jnl.c: Likewise.
13346         * math/w_lgamma.c: Likewise.
13347         * math/w_lgamma_r.c: Likewise.
13348         * math/w_lgammaf.c: Likewise.
13349         * math/w_lgammaf_r.c: Likewise.
13350         * math/w_lgammal.c: Likewise.
13351         * math/w_lgammal_r.c: Likewise.
13352         * math/w_pow.c: Likewise.
13353         * math/w_powf.c: Likewise.
13354         * math/w_powl.c: Likewise.
13355         * math/w_remainder.c: Likewise.
13356         * math/w_remainderf.c: Likewise.
13357         * math/w_remainderl.c: Likewise.
13358         * math/w_scalb.c: Likewise.
13359         * math/w_scalbf.c: Likewise.
13360         * math/w_scalbl.c: Likewise.
13361         * math/w_scalbln.c: Likewise.
13362         * math/w_scalblnf.c: Likewise.
13363         * math/w_scalblnl.c: Likewise.
13364         * math/w_sinh.c: Likewise.
13365         * math/w_sinhf.c: Likewise.
13366         * math/w_sinhl.c: Likewise.
13367         * math/w_tgamma.c: Likewise.
13368         * math/w_tgammaf.c: Likewise.
13369         * math/w_tgammal.c: Likewise.
13370         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13371         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13372         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13373         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13374         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13376         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13377         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13378         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13379         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13380         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13381         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13382         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13383         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13384         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13385         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13387         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13388         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13389         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13391         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13392         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13394         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13395         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13396         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13397         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13398         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13399         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13400         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13401         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13402         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13403         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13404         * stdio-common/printf_fp.c: Likewise.
13405         * stdio-common/printf_fphex.c: Likewise.
13406         * stdio-common/printf_size.c: Likewise.
13408 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13410         [BZ #18470]
13411         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13412         strnlen.
13413         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13414         Remove variable.
13415         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13416         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13417         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13418         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13419         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13420         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13421         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13422         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13423         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13424         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13426         [BZ #18468]
13427         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13428         weak alias of __wmemchr.  Use libc_hidden_weak.
13429         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13430         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13431         instead of wmemchr.
13433 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13435         [BZ #18383]
13436         * elf/tst-tlsalign-extern.c: New file.
13437         * elf/tst-tlsalign-extern-static.c: New file.
13438         * elf/tst-tlsalign-vars.c: New file.
13439         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13440         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13441         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13442         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13443         (test-xfail-tst-tlsalign-extern-static): New variable.
13445 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13447         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13448         Use variable name _sc_err instead of err.
13449         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13450         instead of ret.
13451         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13452         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13453         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13454         (INLINE_SYSCALL): Likewise.
13456         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13457         * include/string.h (__strnlen): Use libc_hidden_proto.
13458         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13459         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13460         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13461         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13462         (libc_hidden_def): Undefine and redefine.
13463         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13464         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13465         __GI_strnlen.
13466         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13467         libc_hidden_def.
13468         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13470         [BZ #18469]
13471         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13472         weak alias of __towlower.  Use libc_hidden_weak.
13473         (towupper): Rename to __towupper and define as weak alias of
13474         __towupper.  Use libc_hidden_weak.
13475         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13476         (__towupper): Likewise.
13477         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13478         __towlower instead of towlower.
13480 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13482         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13483         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13485 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13487         * sysdeps/aarch64/libm-test-ulps: Update.
13489 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13491         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13492         Define.
13493         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13494         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13495         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13496         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13497         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13498         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13499         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13501 2015-06-01  Martin Sebor  <msebor@redhat.com>
13503         [BZ #18116]
13504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13505         (__setcontext): Use extended four-operand version of mtsf whenever
13506         possible.
13507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13508         (__novec_swapcontext): Likewise.
13510 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13512         * benchtests/scripts/compare_bench.py: New file.
13513         * benchtests/scripts/import_bench.py (mean): New function.
13514         (split_list): Likewise.
13515         (do_for_all_timings): Likewise.
13516         (compress_timings): Likewise.
13518         * benchtests/scripts/import_bench.py: New file.
13519         * benchtests/scripts/validate_benchout.py: Import import_bench
13520         instead of jsonschema.
13521         (validate_bench): Remove function.
13522         (main): Use import_bench.
13524 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13526         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13527         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13529 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13533 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13535         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13536         set THREAD_SELF->tid to a magic value and futex-wake it.
13537         Pass its address to the thread_exit system call.
13538         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13539         bit is clear.
13540         * sysdeps/nacl/lowlevellock.h: New file.
13541         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13543         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13544         Add TIMEOUT to current time, don't subtract it.
13546 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13548         [BZ #2981]
13549         [BZ #18422]
13550         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13551         ($(objpfx)tst-audit2.out): Also depend on
13552         $(objpfx)tst-auditmod9b.so.
13553         * elf/tst-audit2.c: Include <dlfcn.h>.
13554         (calloc_called): New.
13555         (calloc): Allow to be called more than once.
13556         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13558 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13560         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13561         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13563 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13565         * stdlib/monetary.h: Fix comment.
13567 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13569         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13570         Avoid using variables in #defines that might cause shadowing.
13571         (INTERNAL_VSYSCALL_CALL): Likewise.
13573 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13575         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13577         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13578         * nptl/lll_timedlock_wait.c: ... to this new file.
13579         * nptl/Makefile (libpthread-routines): Add it.
13580         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13581         * nptl/lll_timedwait_tid.c: ... to this new file.
13582         * nptl/Makefile (libpthread-routines): Add it.
13583         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13584         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13585         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13586         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13587         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13588         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13589         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13590         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13591         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13592         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13594 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13596         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13597         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13598         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13600         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13601         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13602         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13603         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13604         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13605         * sysdeps/unix/sysv/linux/tile/sysdep.h
13606         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13607         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13608         using vDSO syscall macro.
13610 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13612         [BZ #17293]
13613         * uk_UA: Fix sorting order for Ukrainian locale
13615 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13617         * stdlib/monetary.h: Fix comment.
13619 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13621         [BZ #18234]
13622         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13623         st_mtim and st_ctim members.
13624         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13625         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13626         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13627         (struct stat64): Likewise.
13628         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13629         (struct stat64): Likewise.
13630         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13631         (struct stat64): Likewise.
13633 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13635         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13636         Define and include sysdep-vdso.h.
13637         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13638         Likewise.
13639         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13640         Likewise.
13641         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13642         Define with VDSO_SYMBOL and use PTR_MANGLE.
13643         (__vdso_clock_gettime): Likewise.
13644         (__vdso_clock_getres): Likewise.
13645         (_libc_vdso_platform_setup): Likewise.
13646         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13647         Likewise.
13648         (_libc_vdso_platform_setup): Likewise.
13649         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13650         Likewise.
13651         (__vdso_clock_gettime): Likewise.
13652         (__vdso_clock_getres): Likewise.
13653         (__vdso_get_tbfreq): Likewise.
13654         (__vdso_getcpu): Likewise.
13655         (__vdso_time): Likewise.
13656         (__vdso_sigtramp_rt64): Likewise.
13657         (__vdso_signtramp32): Likewise.
13658         (__vdso_sigtramp_rt32): Likewise.
13659         (_libc_vdso_platform_setup): Likewise.
13660         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13661         Likewise.
13662         (__vdso_clock_gettime): Likewise.
13663         (__vdso_clock_getres): Likewise.
13664         (_libc_vdso_platform_setup): Likewise.
13665         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13666         Likewise.
13667         (__vdso_clock_gettime): Likewise.
13668         (_libc_vdso_platform_setup): Likewise.
13669         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13670         Likewise.
13671         (__vdso_getcpu): Likewise.
13672         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13673         Use VDSO_SYMBOL macro to define.
13674         (__vdso_clock_gettime): Likewise.
13675         (__vdso_clock_getres): Likewise.
13676         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13677         Likewise.
13678         (__vdso_clock_gettime): Likewise.
13679         (__vdso_clock_getres): Likewise.
13680         (__vdso_get_tbfreq): Likewise.
13681         (__vdso_getcpu): Likewise.
13682         (__vdso_time): Likewise.
13683         (__vdso_sigtramp_rt64): Likewise.
13684         (__vdso_signtramp32): Likewise.
13685         (__vdso_sigtramp_rt32): Likewise.
13686         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13687         Likewise.
13688         (__vdso_clock_gettime): Likewise.
13689         (__vdso_clock_getres): Likewise.
13690         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13691         Likewise.
13692         (__vdso_clock_gettime): Likewise.
13693         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13694         Likewise.
13695         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13696         macro.
13697         (INTERNAL_VSYSCALL): Likewise.
13698         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13699         Remove macro.
13700         (INTERNAL_VSYSCALL): Likewise.
13701         (INTERNAL_VSYSCALL_NCS): Likewise.
13702         (INTERNAL_VSYSCALL_CALL): New macro.
13703         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13704         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13705         Likewise.
13706         (INTERNAL_VSYSCALL): Likewise.
13707         (INTERNAL_VSYSCALL_NCS): Likewise.
13708         (INTERNAL_VSYSCALL_CALL): New macro.
13709         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13711         (INLINE_VSYSCALL): Remove macro.
13712         (INTERNAL_VSYSCALL): Remove macro.
13713         (INTERNAL_VSYSCALL_NCS): Remove macro.
13714         (INTERNAL_VSYSCALL_CALL): New macro.
13715         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13716         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13717         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13718         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13719         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13721         (INLINE_VSYSCALL): Remove macro.
13722         (INTERNAL_VSYSCALL): Likewise.
13723         (INTERNAL_VSYSCALL_NCS): Likewise.
13724         (INTERNAL_VSYSCALL_CALL): New macro.
13725         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13726         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13727         PTR_DEMANGLE on vDSO pointer.
13728         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13729         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13730         macro.
13731         (INTERNAL_SYSCALL): Likewise.
13732         (INTERNAL_VSYSCALL_NCS): Remove macro.
13733         (INTERNAL_VSYSCALL_CALL): New macro.
13734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13735         Remove macro.
13736         (INTERNAL_VSYSCALL): Likewise.
13737         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13738         sysdep-vdso.h instead of libc-vdso.h.
13739         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13740         definition.
13741         (INLINE_VSYSCALL): Likewise.
13742         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13743         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13744         definition.
13745         (INLINE_VSYSCALL): Likewise.
13746         (INTERNAL_VSYSCALL): Likewise.
13747         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13748         * sysdeps/unix/sysv/linux/timespec_get.c
13749         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13750         (timespec_get): Use ANSI prototype.
13751         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13752         and definition for Linux.
13754 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13756         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13757         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13759 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13761         [BZ #2981]
13762         [BZ #18410]
13763         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13764         for missing DT_PLTRELSZ.
13766 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13768         Remove obsolete aliases that broke 'locale -a'
13769         [BZ #18412]
13770         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13771         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13772         breaking some applications that use 'locale -a' output.
13773         Change the encoding of this file from Latin-1 to ASCII to avoid
13774         other potential problems with people grepping this file.
13776 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13778         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13779         -fasynchronous-unwind-tables.
13780         (CFLAGS-sendto.c): Likewise.
13781         (CFLAGS-sendmsg.c): Likewise.
13782         (CFLAGS-connect.c): Likewise.
13783         (CFLAGS-recvmsg.c): Likewise.
13784         (CFLAGS-recvfrom.c): Likewise.
13785         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13786         (SOCKETCALL): New macro: non-cancellable socketcall.
13787         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13788         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13789         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13790         * sysdeps/unix/sysv/linux/accept.c: New file.
13791         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13792         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13793         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13794         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13795         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13796         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13797         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13798         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13799         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13800         * sysdeps/unix/sysv/linux/send.c: Likewise.
13801         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13802         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
13803         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
13804         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
13805         * sysdeps/unix/sysv/linux/socket.c: Likewise.
13806         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
13807         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
13808         prototype.
13809         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
13810         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13811         instead of __internal_xxx function.
13812         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
13813         prototype.
13814         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
13815         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13816         instead of __internal_xxx function.
13817         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
13818         prototype.
13819         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
13820         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
13821         instead of __internal_xxx function.
13822         * sysdeps/unix/sysv/linux/accept.S: Remove file.
13823         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13824         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13825         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13826         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13827         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13828         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
13829         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
13830         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
13831         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
13832         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
13833         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13834         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
13835         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
13836         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
13837         * sysdeps/unix/sysv/linux/listen.S: Likewise.
13838         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
13839         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
13840         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
13841         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
13842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
13843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
13844         * sysdeps/unix/sysv/linux/recv.S: Likewise.
13845         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13846         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13847         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
13848         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13849         * sysdeps/unix/sysv/linux/send.S: Likewise.
13850         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13851         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13852         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13853         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
13854         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13855         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13856         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
13857         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
13858         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
13859         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
13860         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
13861         socketcall is implemented in GLIBC.
13863 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13865         * soft-fp/fmadf4.c: Include <libc-internal.h>.
13866         (__fma): Ignore uninitialized warnings around packing.
13867         * soft-fp/fmasf4.c: Include <libc-internal.h>.
13868         (__fmaf): Ignore uninitialized warnings around packing.
13869         * soft-fp/fmatf4.c: Include <libc-internal.h>.
13870         (__fmal): Ignore uninitialized warnings around packing.
13872         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
13873         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13874         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
13875         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13877         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
13878         switch statement into default case.
13879         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
13881         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
13882         a conditional in forcing "inexact".
13883         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13884         Likewise.
13886 2015-05-22  Roland McGrath  <roland@hack.frob.com>
13888         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13889         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
13890         for each INTERNAL_SYSCALL use.
13892 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
13894         [BZ #438]
13895         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
13896         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
13897         variable.
13899         [BZ #18444]
13900         * string/basename.c (basename): Rename to __basename and define as
13901         weak alias of __basename.  Use libc_hidden_weak.
13902         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
13903         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
13904         __basename instead of basename.
13905         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
13906         Remove variable.
13907         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13909 2015-05-18  Florian Weimer  <fweimer@redhat.com>
13911         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
13912         (_IO_JUMPS_FILE_plus): New.
13913         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
13914         _IO_CAST_FIELD_ACCESS.
13915         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
13916         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
13917         * libio/freopen.c (freopen): Likewise.
13918         * libio/freopen64.c (freopen64): Likewise.
13919         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
13920         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
13921         * libio/iofwide.c (_IO_fwide): Likewise.
13922         * libio/memstream.c (open_memstream): Likewise.
13923         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13924         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13925         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13927 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
13929         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
13930         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
13931         NADJ.
13932         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
13933         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
13934         NADJ.
13935         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
13936         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
13937         NADJ.
13939         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
13940         (p == 4) case.
13942         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
13943         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
13944         Remove variable.
13945         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13946         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13947         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13949 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13951         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
13952         Adjust jump table label generation macros.
13954 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13956         * stdio-common/vfprintf.c (vfprintf): Move local variables
13957         args_malloced, specs, specs_malloced, and the code after
13958         do_positional to the printf_positional function.
13959         (printf_positional): New function.
13961 2015-05-21  Florian Weimer  <fweimer@redhat.com>
13963         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
13964         function.
13965         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
13966         STEP4_TABLE, process_arg): Move macro definitions
13967         out of the vfprintf function.  (Cosmetic change only.)
13969 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
13971         * benchtests/Makefile (stdio-common-bench): Define.
13972         (benchset): Add stdio-common-bench.
13973         * sprintf-inputs: New file.
13974         * sprintf-source.c: New file.
13976 2015-05-21  Andreas Schwab  <schwab@suse.de>
13978         [BZ #13028]
13979         [BZ #17053]
13980         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
13981         of struct __res_state.
13982         * resolv/res_send.c (__libc_res_nsend): Likewise.
13983         (get_nsaddr): New function.
13984         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
13985         statp directly.
13987 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
13989         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
13990         -D_POSIX_C_SOURCE=199506L.
13992         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
13994         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
13995         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
13996         Do not mention otherwise.
13997         [POSIX] (_XOPEN_VERSION): Do not expect.
13998         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13999         [POSIX] (_POSIX2_C_BIND): Likewise.
14000         [POSIX] (_POSIX2_VERSION): Likewise.
14001         [POSIX] (_XOPEN_XPG2): Likewise.
14002         [POSIX] (_XOPEN_XPG3): Likewise.
14003         [POSIX] (_XOPEN_XPG4): Likewise.
14004         [POSIX] (_XOPEN_UNIX): Likewise.
14005         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14006         [POSIX] (_POSIX_BARRIERS): Likewise.
14007         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14008         [POSIX] (_POSIX_CPUTIME): Likewise.
14009         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14010         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14011         [POSIX] (_POSIX_SHELL): Likewise.
14012         [POSIX] (_POSIX_SPAWN): Likewise.
14013         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14014         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14015         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14016         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14017         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14018         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14019         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14020         [POSIX] (_XBS5_LP64_OFF64): Likewise.
14021         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14022         [POSIX] (_POSIX_TIMEOUTS): Likewise.
14023         [POSIX] (_POSIX2_PBS): Likewise.
14024         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14025         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14026         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14027         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14028         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14029         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14030         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14031         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14032         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14033         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14034         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14035         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14036         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14037         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14038         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14039         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14040         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14041         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14042         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14043         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14044         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14045         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14046         [POSIX] (_SC_2_C_BIND): Likewise.
14047         [POSIX] (_SC_2_C_VERSION): Likewise.
14048         [POSIX] (_SC_2_PBS): Likewise.
14049         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14050         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14051         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14052         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14053         [POSIX] (_SC_2_PBS_TRACK): Likewise.
14054         [POSIX] (_SC_ATEXIT_MAX): Likewise.
14055         [POSIX] (_SC_BARRIERS): Likewise.
14056         [POSIX] (_SC_BASE): Likewise.
14057         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14058         [POSIX] (_SC_DEVICE_IO): Likewise.
14059         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14060         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14061         [POSIX] (_SC_FD_MGMT): Likewise.
14062         [POSIX] (_SC_FIFO): Likewise.
14063         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14064         [POSIX] (_SC_FILE_LOCKING): Likewise.
14065         [POSIX] (_SC_FILE_SYSTEM): Likewise.
14066         [POSIX] (_SC_IOV_MAX): Likewise.
14067         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14068         [POSIX] (_SC_NETWORKING): Likewise.
14069         [POSIX] (_SC_PAGE_SIZE): Likewise.
14070         [POSIX] (_SC_PASS_MAX): Likewise.
14071         [POSIX] (_SC_PIPE): Likewise.
14072         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14073         [POSIX] (_SC_REGEXP): Likewise.
14074         [POSIX] (_SC_SHELL): Likewise.
14075         [POSIX] (_SC_SIGNALS): Likewise.
14076         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14077         [POSIX] (_SC_SPIN_LOCKS): Likewise.
14078         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14079         [POSIX] (_SC_USER_GROUPS): Likewise.
14080         [POSIX] (_SC_USER_GROUPS_R): Likewise.
14081         [POSIX] (_SC_STREAMS): Likewise.
14082         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14083         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14084         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14085         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14086         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14087         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14088         [POSIX] (_PC_FILESIZEBITS): Likewise.
14089         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14090         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14091         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14092         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14093         [POSIX] (uid_t): Likewise.
14094         [POSIX] (gid_t): Likewise.
14095         [POSIX] (off_t): Likewise.
14096         [POSIX] (pid_t): Likewise.
14097         [POSIX] (cuserid): Allow.
14098         (_SC_2_CHAR_TERM): Require constant.
14099         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14100         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14101         variable.
14103 2015-05-20  Roland McGrath  <roland@hack.frob.com>
14105         * sysdeps/nacl/pthread-pids.h: New file.
14106         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14107         (create_thread): Use __nacl_get_tid to initialize PD->tid.
14109         * nptl/pthread-pids.h: New file.
14110         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14111         * nptl/nptl-init.c: Include <pthread-pids.h>.
14112         (__pthread_initialize_minimal_internal):
14113         Call __pthread_initialize_pids instead of set_tid_address syscall.
14115         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14116         * sysdeps/posix/usleep.c: ... here.
14118 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14120         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14121         call_pselect6 object.
14122         [$(subdir) = io]: Remove call_sync_file_range object.
14123         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14124         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14125         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14126         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14128 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
14130         * math/s_cproj.c: Add include "math_private.h".
14131         * math/s_cprojf.c: Likewise.
14132         * math/s_cprojl.c: Likewise.
14134 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
14136         [BZ #18244]
14137         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14138         high mantissa bit when testing whether P is a NaN.
14139         * math/libm-test.inc (remainder_test_data): Add more tests.
14140         (remquo_test_data): Likewise.
14142         [BZ #18049]
14143         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14144         below -32, return the argument, with underflow if subnormal.
14145         * math/auto-libm-test-in: Add more tests of atanh.
14146         * math/auto-libm-test-out: Regenerated.
14148 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14150         [BZ #18434]
14151         * nptl/tst-sem15.c: New file.
14152         * nptl/Makefile (tests): Add it.
14153         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14154         s/<</>>/ to fix typo in EOVERFLOW check.
14155         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14157 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14159         * manual/strings.texi (envz_remove): Fix typo in safety
14160         annotations.
14162 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14163             Steve Ellcey  <sellcey@imgtec.com>
14165         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14166         in order to avoid strict alias warnings.
14167         (iruserok_af): Ditto for ra.
14169 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14171         [BZ #17581]
14172         * malloc/hooks.c
14173         (magicbyte): Convert to a function and avoid returning 0x01.
14174         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14175         (mem2chunk_check): Fix unsigned comparisons to zero.
14176         Hoist defs of sz and magic.
14178 2015-05-19  Richard Henderson  <rth@redhat.com>
14180         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14182         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14184 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14186         [BZ #16159]
14187         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14188         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14189         (reused_arena): Find a non-corrupt arena.
14190         (heap_trim): Pass arena to unlink.
14191         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14192         malloc_printerr.
14193         (top_check): Likewise.
14194         (free_check): Likewise.
14195         (realloc_check): Likewise.
14196         * malloc/malloc.c (malloc_printerr): Add arena argument.
14197         (unlink): Likewise.
14198         (munmap_chunk): Adjust.
14199         (ARENA_CORRUPTION_BIT): New macro.
14200         (arena_is_corrupt): Likewise.
14201         (set_arena_corrupt): Likewise.
14202         (sysmalloc): Use mmap if there are no usable arenas.
14203         (_int_malloc): Likewise.
14204         (__libc_malloc): Don't fail if arena_get returns NULL.
14205         (_mid_memalign): Likewise.
14206         (__libc_calloc): Likewise.
14207         (__libc_realloc): Adjust for additional argument to
14208         malloc_printerr.
14209         (_int_free): Likewise.
14210         (malloc_consolidate): Likewise.
14211         (_int_realloc): Likewise.
14212         (_int_memalign): Don't touch corrupt arenas.
14213         * malloc/tst-malloc-backtrace.c: New test case.
14215         * Makefile (summarize-tests): Fix return value on success.
14217         * manual/string.texi (Envz Functions): Add envz_remove.
14219 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14221         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14222         (invalid_name): New function, broken out of ...
14223         (__opendirat): ... here.  Call it.
14224         (need_isdir_precheck): New function, broken out of ...
14225         (__opendirat): ... here.  Call it.
14226         Use __fxstatat64, not __xstatat64.
14227         (opendir_oflags): New function, broken out of ...
14228         (__opendirat): ... here.  Call it.
14229         (opendir_tail): New function, broken out of ...
14230         (__opendirat): ... here.  Call it.
14231         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14232         opendir_tail, rather than punting to __opendirat.
14233         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14235 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14237         * .gitignore: Ignore generated *.pyc.
14239 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14241         * include/stdio.h: Define __need_wint_t.
14242         * test-skeleton.c: Avoid `for' loop initial declaration.
14243         * nptl/tst-initializers1.c: Use test-skeleton.c.
14245 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14247         [BZ #18418]
14248         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14250 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14252         [BZ #16352]
14253         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14254         (__ieee754_atanh): Force underflow exception for results with
14255         small absolute value.
14256         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14257         (__ieee754_atanhf): Force underflow exception for results with
14258         small absolute value.
14259         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14260         (__ieee754_atanh): Force underflow exception for results with
14261         small absolute value.
14262         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14263         (__ieee754_atanhf): Force underflow exception for results with
14264         small absolute value.
14265         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14266         (__ieee754_atanhl): Force underflow exception for results with
14267         small absolute value.
14268         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14269         (__ieee754_atanhl): Force underflow exception for results with
14270         small absolute value.
14271         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14272         (__ieee754_atanhl): Force underflow exception for results with
14273         small absolute value.
14274         * math/auto-libm-test-in: Do not allow missing underflow
14275         exceptions from atanh.
14276         * math/auto-libm-test-out: Regenerated.
14278         [BZ #18221]
14279         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14280         2**-28 as threshold for returning x or +/- 1/x.
14281         * math/auto-libm-test-in: Add more tests of tan.
14282         * math/auto-libm-test-out: Regenerated.
14284         [BZ #18220]
14285         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14286         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14287         * math/auto-libm-test-in: Add another test of lgamma.
14288         * math/auto-libm-test-out: Regenerated.
14290 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
14292         * stdio-common/printf_fp.c (___printf_fp): Use abs.
14293         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
14294         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14295         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14296         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
14297         (ADD2A): Use fabs.  (SUB2A): Use fabs.
14298         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14299         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14300         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14301         (log1): Use fabs.  (my_log2): Use fabs.
14302         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14303         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14304         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14305         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14306         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14307         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
14308         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
14309         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
14310         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
14311         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14312         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14314 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14316         [BZ #18217]
14317         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14318         as threshold for returning 1 - x.
14319         * math/auto-libm-test-in: Add more tests of erfc.
14320         * math/auto-libm-test-out: Regenerated.
14322 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
14324         [BZ #18196]
14325         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14326         threshold for large arguments.
14327         * math/auto-libm-test-in: Add another test of atan.
14328         * math/auto-libm-test-out: Regenerated.
14330         [BZ #16339]
14331         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14332         (__log1p): Force underflow exception for results with small
14333         absolute value.
14334         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14335         (__log1pf): Force underflow exception for results with small
14336         absolute value.
14337         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14338         (__log1p): Force underflow exception for results with small
14339         absolute value.
14340         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14341         (__log1pf): Force underflow exception for results with small
14342         absolute value.
14343         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14344         (__log1pl): Force underflow exception for results with small
14345         absolute value.
14346         * math/auto-libm-test-in: Do not allow missing underflow
14347         exceptions from log1p.
14348         * math/auto-libm-test-out: Regenerated.
14350 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14351             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14353         [BZ #16704]
14354         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14356 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14358         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14359         (libmvec): New variable.
14360         * configure.ac: Added option for mathvec build.
14361         * configure: Regenerated.
14362         * mathvec/Depend: New file.
14363         * mathvec/Makefile: New file.
14364         * shlib-versions: Added libmvec.
14365         * math/Makefile: Added rule for libm.so installation.
14367         * bits/math-vector.h: New file.
14368         * bits/libm-simd-decl-stubs.h: New header.
14369         * math/Makefile (headers): Added new header
14370         libm-simd-decl-stubs.h.
14371         * math/math.h (__MATHCALL_VEC): New macro.
14373         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14374         for conditions in testing functions.
14375         * math/Makefile: Added call of libm-have-vector-test.sh.
14376         * math/libm-test.inc (HAVE_VECTOR): New macros.
14378         * math/libm-test.inc: START refactored.
14379         * math/test-double.c (TEST_MATHVEC): Add define.
14380         * math/test-float.c: Likewise.
14381         * math/test-idouble.c: Likewise.
14382         * math/test-ifloat.c: Likewise.
14383         * math/test-ildoubl.c: Likewise.
14384         * math/test-ldouble.c: Likewise.
14385         * sysdeps/generic/math-tests-arch.h
14386         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14387         architecture check.
14389         * math/test-double.c (FUNC_TEST): New macro.
14390         * math/test-float.c: Likewise.
14391         * math/test-idouble.c: Likewise.
14392         * math/test-ifloat.c: Likewise.
14393         * math/test-ildoubl.c: Likewise.
14394         * math/test-ldouble.c: Likewise.
14395         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14397 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14399         * sysdeps/nacl/fdopendir.c: New file.
14401         * dirent/scandir-tail.c: New file.
14402         * dirent/scandir64-tail.c: New file.
14403         * dirent/Makefile (routines): Add them.
14404         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14405         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14406         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14407         [!SCANDIR] (SCANDIR_TAIL): New macro.
14408         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14409         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14410         (SCANDIRAT): Macro removed.
14411         (SCANDIR_TAIL): New macro.
14412         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14413         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14414         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14415         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14416         (READDIR): Macro removed.
14417         (SCANDIR_TAIL): New macro.
14418         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14419         (SCANDIR_TAIL): New macro.
14421         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14422         * dirent/scandir-cancel.c: ... to this new file.
14423         * dirent/Makefile (routines): Add it.
14424         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14425         * sysdeps/unix/sysv/linux/i386/scandir64.c
14426         (SKIP_SCANDIR_CANCEL): Macro removed.
14427         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14429         * dirent/tst-scandir.c: New file.
14430         * dirent/tst-scandir64.c: New file.
14431         * dirent/Makefile (tests): Add them.
14433 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14435         [BZ #18409]
14436         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14438 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14440         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14441         list.
14443 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14445         * benchtests/bench-strcoll.c: New benchmark.
14446         * benchtests/Makefile: Generate locales and run benchmark.
14447         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14448         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14449         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14450         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14451         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14452         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14453         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14454         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14455         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14456         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14457         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14458         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14459         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14460         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14461         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14462         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14463         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14464         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14465         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14466         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14467         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14468         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14469         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14470         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14472 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14474         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14475         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14477 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14479         * posix/uname-values.h: New file.
14480         * posix/uname.c: Include that instead of <config-name.h>.
14481         * sysdeps/nacl/uname-values.h: New file.
14482         * sysdeps/arm/nacl/uname-values.h: New file.
14484 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14486         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14487         splitting into fields.
14489 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14491         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14492         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14493         * locale/localeinfo.h: Add enum collation_encoding_type.
14494         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14495         * programs/ld-collate.c (collate_output): Add encoding type info.
14496         * string/strcoll_l.c (STRDIFF): New function.
14497         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14498         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14500 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14502         [BZ #18397]
14503         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14504         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14505         <fpu_control.h> instead of <math/fpu_control.c>.
14506         * sysdeps/mips/mips32/fpu/Makefile: New file.
14508 2015-05-11  Andreas Schwab  <schwab@suse.de>
14510         [BZ #18007]
14511         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14512         nss_endgrent.
14513         (_nss_compat_endgrent): Call nss_endgrent.
14514         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14515         nss_endpwent.
14516         (_nss_compat_endpwent): Call nss_endpwent.
14517         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14518         needent, call nss_setspent only if non-zero.
14519         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14520         (internal_endspent): Don't call nss_endspent.
14521         (_nss_compat_endspent): Call nss_endspent.
14522         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14523         Remove.  All uses removed.
14524         (internal_setent): Remove parameter stayopen, add parameter
14525         stream.  Use it instead of global variable.
14526         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14527         (internal_endent, internal_getent): Add parameter stream.  Use it
14528         instead of global variable.
14529         (CONCAT(_nss_files_end,ENTNAME))
14530         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14531         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14532         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14533         uses removed.
14534         (internal_setent, internal_endent): Add parameter stream.  Use it
14535         instead of global variable.
14536         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14537         stream.
14538         (get_next_alias): Add parameter stream.
14539         (_nss_files_getaliasent_r): Pass global stream.
14540         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14541         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14542         (_nss_files_gethostbyname4_r): Pass local stream to
14543         internal_setent, internal_getent and internal_endent.  Remove
14544         locking.
14546 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14548         * tst-strfmon1.c (tests): Update expected currency symbol.
14550 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14552         * sysdeps/nacl/gethostname.c: New file.
14554 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14556         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14557         and sinh.
14558         * math/auto-libm-test-out: Regenerated.
14559         * sysdeps/i386/fpu/libm-test-ulps: Update.
14560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14562 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14564         [BZ #18125]
14565         * stdlib/tst-setcontext3.c: New file.
14566         * stdlib/tst-setcontext3.sh: New file.
14567         * stdlib/Makefile (tests): Add tst-setcontext3.
14568         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14569         to verify test program created output file.
14570         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14571         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14572         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14573         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14575 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14577         [BZ #18383]
14578         * elf/tst-tlsalign.c: New file.
14579         * elf/tst-tlsalign-static.c: New file.
14580         * elf/tst-tlsalign-lib.c: New file.
14581         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14582         (tests-static): Add tst-tlsalign-static.
14583         (modules-names): Add tst-tlsalign-lib.
14584         (test-xfail-tst-tlsalign): New variable.
14585         (test-xfail-tst-tlsalign-static): New variable.
14587         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14588         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14590 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14592         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14593         csqrt, erfc, sin and sincos.
14594         * math/auto-libm-test-out: Regenerated.
14595         * sysdeps/i386/fpu/libm-test-ulps: Update.
14596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14598 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14600         * sysdeps/aarch64/libm-test-ulps: Update.
14602 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14604         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14605         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14606         * math/auto-libm-test-out: Regenerated.
14607         * sysdeps/i386/fpu/libm-test-ulps: Update.
14608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14610 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14612         [BZ #18265]
14613         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14614         (wcsncpy): Likewise.
14616 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14618         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14619         Assume __ASSUME_FALLOCATE is always true.
14620         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14621         (__posix_fallocate64_l64): Likweise.
14622         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14623         (posix_fallocate): Likewise.
14624         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14625         (__posix_fallocate64_l64): Likewise.
14626         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14627         [!__ASSUME_FALLOCATE]: Add comment.
14629 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14631         * sysdeps/unix/sysv/linux/i386/Makefile
14632         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14633         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14634         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14635         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14636         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14637         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14638         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14640 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14642         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14643         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14644         tgamma.
14645         * math/auto-libm-test-out: Regenerated.
14646         * sysdeps/i386/fpu/libm-test-ulps: Update.
14647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14649 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14651         * math/auto-libm-test-in: Add more tests of tgamma.
14652         * math/auto-libm-test-out: Regenerated.
14653         * sysdeps/i386/fpu/libm-test-ulps: Update.
14654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14656         * math/auto-libm-test-in: Add more tests of tanh.
14657         * math/auto-libm-test-out: Regenerated.
14658         * sysdeps/i386/fpu/libm-test-ulps: Update.
14659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14661         * math/auto-libm-test-in: Add more tests of tan.
14662         * math/auto-libm-test-out: Regenerated.
14663         * sysdeps/i386/fpu/libm-test-ulps: Update.
14664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14666         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14667         * math/auto-libm-test-out: Regenerated.
14668         * sysdeps/i386/fpu/libm-test-ulps: Update.
14669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14671         * math/auto-libm-test-in: Add another test of pow.
14672         * math/auto-libm-test-out: Regenerated.
14673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14675         * math/auto-libm-test-in: Add more tests of lgamma.
14676         * math/auto-libm-test-out: Regenerated.
14677         * sysdeps/i386/fpu/libm-test-ulps: Update.
14678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14680         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14681         log1p.
14682         * math/auto-libm-test-out: Regenerated.
14683         * sysdeps/i386/fpu/libm-test-ulps: Update.
14684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14686 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14688         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14689         Elf64_Chdr structs and ELFCOMPRESS constants.
14691 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14693         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14694         expm1.
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 erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14706         * config.h.in (HAVE_AARCH64_BE): Add.
14708 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14710         * math/auto-libm-test-in: Add more tests of csqrt.
14711         * math/auto-libm-test-out: Regenerated.
14712         * sysdeps/i386/fpu/libm-test-ulps: Update.
14713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14715         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14716         * math/auto-libm-test-out: Regenerated.
14717         * sysdeps/i386/fpu/libm-test-ulps: Update.
14718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14720         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14722 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14724         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14725         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14727         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14728         (euidaccess, eaccess): Define as weak aliases.
14730         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14731         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
14732         but __suseconds_t is often 'long int' so some sources assume that
14733         type is being used (e.g. they use %ld to print tv_usec).
14735 2015-04-29  Florian Weimer  <fweimer@redhat.com>
14737         [BZ #18007]
14738         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14739         (CVE-2014-8121)
14740         * nss/tst-nss-getpwent.c: New file.
14741         * nss/Makefile (tests): Add new test.
14743 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
14745         [BZ #18346]
14746         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14747         exponents less than 48 as cases where high part of mantissa needs
14748         examining to determine whether argument is integral.
14749         * math/libm-test.inc (round_test_data): Add more tests.
14751 2015-04-28  Mark Wielaard  <mjw@redhat.com>
14753         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14755 2015-04-27  David S. Miller  <davem@davemloft.net>
14757         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14758         __tls_get_addr.
14759         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14761 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14763         [BZ#18333]
14764         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14766 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14768         [BZ#18333]
14769         * time/tzset.c (parse_tzname): Return error on memory allocation
14770         failure.
14771         * test-skeleton.c (struct temp_name_list): Change type of name
14772         member to non-const.
14773         (add_temp_file): Create a copy of the file name.
14774         (delete_temp_files): Deallocate memory.
14775         (create_temp_file): Add comment.
14777 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14779         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14780         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14782 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14784         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14785         * sysdeps/arm/configure: Regenerated.
14787 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14789         [BZ #17715]
14790         * time/tzfile.c (__tzfile_read): Check for large values of
14791         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14792         * time/tzset.c (__tzstring_len): New function, based on the old
14793         __tzstring function.
14794         (__tzstring): Call __tzstring_len.
14795         (parse_tzname): New helper function extracted from
14796         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14797         the input string.
14798         (parse_offset): New helper function extracted from
14799         __tzset_parse_tz.  Replace switch with fallthrough with
14800         initialization before sscanf.
14801         (parse_rule): Likewise.
14802         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
14803         new-style function definition.
14804         * timezone/Makefile (tests): Add tst-tzset.
14805         (tst-tzset.out): Dependencies on time zone files.
14806         (tst-tzset-ENV): Set TZDIR.
14807         (testdata/XT%): Copy crafted time zone files.
14808         * timezone/README: Mention crafted time zone files.
14809         * timezone/testdata/XT1, timezone/testdata/XT2,
14810         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
14811         files.
14812         * timezone/tst-tzset.c: New test.
14814 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14816         * Makeconfig (+gccwarn): Remove -Winline.
14818 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14820         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
14822 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14824         * NEWS: Mention sysconf() cache information support for s390.
14825         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
14827 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
14829         * math/k_casinh.c (__kernel_casinh): Use __copysign.
14830         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
14831         (__nearbyint): Likewise.
14832         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
14833         (copysignl): Likewise.
14835 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
14837         [BZ #18287]
14838         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
14839         based on padding.  (CVE-2015-1781)
14841 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14843         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
14844         libc-vdso.h.
14845         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
14846         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
14847         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
14848         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14849         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14850         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
14851         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
14852         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
14853         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14854         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
14855         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14856         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14857         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14858         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
14859         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14860         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
14861         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
14862         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
14863         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
14864         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
14865         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
14866         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
14867         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
14869 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
14871         * stdlib/setenv.c (__add_to_environ):
14872         Dump core quickly if setenv (..., NULL, ...) is called.
14873         This time, do it the right way, and pacify GCC with a pragma.
14875 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14877         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
14878         IMAP->l_prev cannot be null, and #if out the code for the contrary
14879         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
14880         believe that NS (&_dl_ns[NSID]) could point outside the array.
14882         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
14883         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
14884         before using NSID as an index.
14886 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
14888         [BZ #17825]
14889         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
14890         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
14891         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14893 2015-04-17  Roland McGrath  <roland@hack.frob.com>
14895         Add preliminary port to Google Native Client on ARM.
14896         * abi-tags (.*-.*-nacl.*): New entry.
14897         * sysdeps/arm/nacl: New directory.
14898         * sysdeps/nacl: New directory.
14900 2015-04-16  David S. Miller  <davem@davemloft.net>
14902         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
14903         lowlevellock-futex.h
14905 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
14907         * sysdeps/tile/configure.ac: New file.
14908         * sysdeps/tile/configure: Regenerated.
14910 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14912         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
14913         conditionals for weak_alias and libc_hidden_weak.
14914         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
14915         libc_hidden_weak and weak_alias.
14916         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
14917         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
14918         and weak_alias for static one.
14920 2015-04-15  David S. Miller  <davem@davemloft.net>
14922         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14924 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14926         [BZ #18206]
14927         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
14928           Use signed comparision instead of substraction to avoid
14929           overflow bug.
14930         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
14931           Take the sign of ret.
14932         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
14933           Do not expect precise return values. Only the sign matters.
14934         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
14935         * wcsmbs/test-wcsncmp.c: New File.
14936         * string/test-strncmp.c: Add wcsncmp support.
14938 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14940         [BZ #6792]
14941         * math/w_log1p.c: New file.
14942         * math/w_log1pf.c: Likewise.
14943         * math/w_log1pl.c: Likewise.
14944         * math/Makefile (libm-calls): Add w_log1p.
14945         * math/s_log1pl.c (log1pl): Remove weak_alias.
14946         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
14947         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
14948         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
14949         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
14950         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
14951         [NO_LONG_DOUBLE] (log1pl): Likewise.
14952         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
14953         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
14954         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
14955         (log1p): Remove long_double_symbol.
14956         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
14957         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
14958         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
14959         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
14960         remove weak_alias for corresponding log1p function.
14961         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
14962         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14963         * sysdeps/ia64/fpu/w_log1p.c: New file.
14964         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
14965         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
14966         * math/libm-test.inc (log1p_test_data): Add errno expectations.
14968 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
14970         [BZ #18247]
14971         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
14972         decimal exponent by 1.
14973         * stdlib/tst-strtod-round-data: Add more tests.
14974         * stdlib/tst-strtod-round.c (tests): Regenerated.
14976 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
14978         * math/auto-libm-test-in: Add more tests of clog and clog10.
14979         * math/auto-libm-test-out: Regenerated.
14980         * sysdeps/i386/fpu/libm-test-ulps: Update.
14981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14983 2015-04-09  Roland McGrath  <roland@hack.frob.com>
14985         * Makeconfig (module-cppflags): Exclude all .v.i files.
14986         (skip-module-cppflags): Variable removed.
14988         * configure.ac (libc_config_ok): Initialize before reading
14989         preconfigure scripts, not after.
14990         * configure: Regenerated.
14992         * test-skeleton.c (TIMEOUT): Move #define to top level.
14993         (main): Grok environment variable TEST_DIRECT.  If set, print
14994         test expectation details into that file and then behave as if
14995         given --direct.
14997 2015-04-09  Florian Weimer  <fweimer@redhat.com>
14999         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15000         warning on 32-bit.
15002 2015-04-08  David S. Miller  <davem@davemloft.net>
15004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15006 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15008         * math/auto-libm-test-in: Add more tests of atanh.
15009         * math/auto-libm-test-out: Regenerated.
15010         * sysdeps/i386/fpu/libm-test-ulps: Update.
15011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15013         * math/auto-libm-test-in: Add more tests of atan.
15014         * math/auto-libm-test-out: Regenerated.
15015         * sysdeps/i386/fpu/libm-test-ulps: Update.
15016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15018 2015-04-08  Florian Weimer  <fweimer@redhat.com>
15020         * elf/pldd.c (main): Rewrite to use struct
15021         scratch_buffer instead of extend_alloca.
15022         * elf/pldd-xx.c (find_maps): Likewise.
15023         * grp/initgroups.c: Include <scratch_buffer.h> instead of
15024         <alloca.h>.
15025         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15026         scratch_buffer instead of extend_alloca.
15027         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15028         grp/compat-initgroups.c.
15029         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15030         Rewrite to use struct scratch_buffer instead of extend_alloca.
15031         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15032         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15034 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15036         * math/auto-libm-test-in: Add more tests of cbrt.
15037         * math/auto-libm-test-out: Regenerated.
15038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15040         * math/auto-libm-test-in: Add more tests of cabs.
15041         * math/auto-libm-test-out: Regenerated.
15042         * sysdeps/i386/fpu/libm-test-ulps: Update.
15043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15045         [BZ #18210]
15046         [BZ #18211]
15047         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15048         (__ieee754_atan2): Set FE_TONEAREST mode for internal
15049         computations.
15050         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15051         clog10.
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         [BZ #18197]
15057         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15058         (atan): Set FE_TONEAREST mode for internal computations.
15059         * math/auto-libm-test-in: Add more tests of atan.
15060         * math/auto-libm-test-out: Regenerated.
15062 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
15064         [BZ #17930]
15065         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15067 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15069         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15071 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15073         * include/scratch_buffer.h: New file.
15074         * malloc/scratch_buffer_grow.c: Likewise.
15075         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15076         * malloc/scratch_buffer_set_array_size.c: Likewise.
15077         * malloc/tst-scratch_buffer.c: Likewise.
15078         * malloc/Makefile (routines): Add scratch_buffer_grow.
15079         (tests): Add test case.
15080         * malloc/Versions (GLIBC_PRIVATE): Export
15081         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15082         __libc_scratch_buffer_set_array_size.
15084 2015-04-06  Richard Henderson  <rth@redhat.com>
15086         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15087         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15089         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15090         unsigned int before printing.
15092 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15094         [BZ #17596]
15095         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15096         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15098 2015-04-02  Florian Weimer  <fweimer@redhat.com>
15100         * include/libc-internal.h (libc_max_align_t): Define.
15102 2015-04-02  Andreas Schwab  <schwab@suse.de>
15104         [BZ #16850]
15105         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15107 2015-04-02  Mel Gorman  <mgorman@suse.de>
15109         [BZ #17195]
15110         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15111         as well as the main arena.
15113 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15115         [BZ #18185]
15116         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15117         sharing L2 cache to 2 for Silvermont/Knights Landing.
15119 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15121         [BZ #17711]
15122         * config.make.in (have-protected-data): New.
15123         * configure.ac: Check linker support for protected data symbol.
15124         * configure: Regenerated.
15125         * elf/Makefile (modules-names): Add tst-protected1moda and
15126         tst-protected1modb if $(have-protected-data) is yes.
15127         (tests): Add tst-protected1a and tst-protected1b if
15128         $(have-protected-data) is yes.
15129         ($(objpfx)tst-protected1a): New.
15130         ($(objpfx)tst-protected1b): Likewise.
15131         (tst-protected1modb.so-no-z-defs): Likewise.
15132         * elf/tst-protected1a.c: New file.
15133         * elf/tst-protected1b.c: Likewise.
15134         * elf/tst-protected1mod.h: Likewise.
15135         * elf/tst-protected1moda.c: Likewise.
15136         * elf/tst-protected1modb.c: Likewise.
15138 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15140         [BZ #17711]
15141         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15142         indicates it is called from do_lookup_x on relocation against
15143         protected data, skip the data definion in the executable from
15144         copy reloc.
15145         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15146         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15147         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15148         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15149         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15150         otherwise to 0.
15151         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15152         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15153         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15154         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15155         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15156         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15158 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15160         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15161         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15163 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15165         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15166         THREAD_SETMEM_NC.
15167         * sysdeps/x86_64/nptl/tls.h: Ditto.
15169 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15171         * dlfcn/tststatic.c (main): Converted to ...
15172         (do_test): ... this.
15173         (TEST_FUNCTION): New macro.
15174         Include test-skeleton.c.
15176 2015-03-26  Alan Modra  <amodra@gmail.com>
15178         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15179         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15180         zero for undefined weak.
15181         (elf_machine_plt_conflict): Similarly.
15183 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15185         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15186         atanh.
15187         * math/auto-libm-test-out: Regenerated.
15188         * sysdeps/i386/fpu/libm-test-ulps: Update.
15189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15191         * math/auto-libm-test-in: Add another test of asin.
15192         * math/auto-libm-test-out: Regenerated.
15193         * sysdeps/i386/fpu/libm-test-ulps: Update.
15194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15196         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15197         Remove macro.
15198         (LLL_EBX_REG): Likewise.
15199         (LLL_ENTER_KERNEL): Likewise.
15201         * math/auto-libm-test-in: Add more tests of asin.
15202         * math/auto-libm-test-out: Regenerated.
15203         * sysdeps/i386/fpu/libm-test-ulps: Update.
15204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15206         [BZ #18138]
15207         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15208         libc_do_syscall_args): New structure.
15209         (INTERNAL_SYSCALL_MAIN_0): New macro.
15210         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15211         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15212         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15213         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15214         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15215         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15216         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15217         Replace conditional definitions by conditional definitions of ....
15218         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15219         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15220         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15221         (libpthread-sysdep_routines): Add libc-do-syscall.
15222         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15223         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15224         to __NR_futex not 240.
15226 2015-03-25  Alan Modra  <amodra@gmail.com>
15228         * NEWS: Advertise TLS optimization.
15229         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15230         (DT_PPC_NUM): Increment.
15231         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15232         (CHECK_STATIC_TLS): Use here.
15233         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15234         TLS descriptors.
15235         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15236         * sysdeps/powerpc/dl-tls.c: New file.
15237         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15238         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15239         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15240         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15245 2015-03-25  Alan Modra  <amodra@gmail.com>
15247         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15248         for overlapping .opd entries" to "support...".
15249         * sysdeps/powerpc/powerpc64/configure: Regenerate
15251 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15253         * math/auto-libm-test-in: Add more tests of acos.
15254         * math/auto-libm-test-out: Regenerated.
15255         * sysdeps/i386/fpu/libm-test-ulps: Update.
15256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15258         * math/auto-libm-test-in: Add more tests of expm1.
15259         * math/auto-libm-test-out: Regenerated.
15260         * sysdeps/i386/fpu/libm-test-ulps: Update.
15261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15263 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15265         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15266         * math/auto-libm-test-out: Regenerated.
15267         * sysdeps/i386/fpu/libm-test-ulps: Update.
15268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15270         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15273         * math/auto-libm-test-in: Add more tests of log2.
15274         * math/auto-libm-test-out: Regenerated.
15275         * sysdeps/i386/fpu/libm-test-ulps: Update.
15276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15278 2015-03-23  Roland McGrath  <roland@hack.frob.com>
15280         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15281         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
15282         _IO_IS_APPENDING bit in READ_WRITE instead.
15284 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15286         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15287         (__determine_cpumask_size): Replace extend_alloca with a
15288         variable-length array.  Do not treat res == 0 as an error.
15290 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15292         [BZ #18100]
15293         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15294         and integer overflow.
15295         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15296         (main): Add integer overflow tests.
15297         * manual/pattern.texi (Calling Wordexp): Document additional use
15298         for WRDE_SYNTAX.
15300 2015-03-23  Alan Modra  <amodra@gmail.com>
15302         * config.h.in: Remove HAVE_ASM_PPC_REL16.
15303         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15304         and false branch of conditional.
15305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15306         Likewise.
15308 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
15310         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15311         libc-modules.h
15312         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15313         unused declaration of _hurd_intr_rpc_msg_in_trap.
15314         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15315         defined instead of whether it is non-zero.
15316         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15317         input constraint instead of both input and output constraint.  Use ecx
15318         clobber instead of %ecx.
15319         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15320         mutex_unlock): Use a statement expression instead of an expression list.
15321         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15322         type to vm_size_t instead of vm_address_t.
15323         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15324         defined instead of whether it is non-zero.
15325         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15326         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15327         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15328         comparisons with mapaddr.
15329         * nscd/nscd-client.h: Include <time.h>.
15330         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15331         9th parameter to __vm_region instead of int.
15332         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15333         * scripts/check-local-headers.sh (exclude): Add device/,
15334         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15335         cthreads.h.
15337 2015-03-19  Roland McGrath  <roland@hack.frob.com>
15339         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15340         to account for alignment padding.
15341         * sysdeps/arm/memmove.S: Likewise.
15343 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15345         * sysdeps/unix/sysv/linux/generic/README: New file.
15347 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15349         [BZ #18138]
15350         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15351         (futex_abstimed_wait)
15352         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15353         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15354         of lll_futex_timed_wait.
15356 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15358         [BZ #17542]
15359         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15361 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15363         [BZ #17090]
15364         [BZ #17620]
15365         [BZ #17621]
15366         [BZ #17628]
15367         * NEWS: Update.
15368         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15369         entries with Static TLS too.  Skip entries past the end of the
15370         allocated DTV, from Alan Modra.
15371         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15372         Static TLS DTV entry set up from...
15373         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15374         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15375         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15376         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15377         for Static TLS.
15378         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15379         that the slot we find is associated with the given map before
15380         using its generation count.
15381         * nptl_db/db_info.c: Include ldsodefs.h.
15382         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15383         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15384         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15385         (link_map::l_tls_offset): New struct field.
15386         (dtv_t::counter): Likewise.
15387         (rtld_global): New struct.
15388         (_rtld_global): New rtld variable.
15389         (dl_tls_dtv_slotinfo_list): New rtld global field.
15390         (dtv_slotinfo_list): New struct.
15391         (dtv_slotinfo): Likewise.
15392         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15393         (td_lookup): Rename to...
15394         (td_mod_lookup): ... this.  Use new mod parameter instead of
15395         LIBPTHREAD_SO.
15396         * nptl_db/td_thr_tlsbase.c: Include link.h.
15397         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15398         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15399         addresses even if the DTV is out of date or missing them.
15400         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15401         index zero-length arrays.
15402         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15403         (td_lookup): Make it a macro implemented in terms of...
15404         (td_mod_lookup): ... this declaration.
15405         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15406         (DB_MAIN_VARIABLE): Likewise.
15408 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15410         [BZ #18134]
15411         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15413 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15415         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15417 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15419         [BZ #18128]
15420         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15421         (atomic_add, atomic_increment_and_test)
15422         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15424 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15426         * stdlib/setenv.c (__add_to_environ):
15427         Dump core quickly if setenv (..., NULL, ...) is called.
15429 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15431         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15432         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15433         all the necessary asm magic in one place.
15434         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15435         using those.
15437 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15439         [BZ #14906]
15440         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15441         traced file mtime. Use consistent log message.
15442         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15443         (register_traced_file): Call install_watches. Always set mtime.
15444         (invalidate_cache): Iterate over all trace files. Call install_watches.
15445         (inotify_check_files): Don't inline. Handle watching parent
15446         directories and configuration file movement in and out.
15447         (handle_inotify_events): New function.
15448         (main_loop_poll): Call handle_inotify_events.
15449         (main_loop_epoll): Likewise.
15450         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15451         (struct traced_file): Use array of inotify fds. Add parent directory,
15452         and basename.
15453         (struct database_dyn): Remove unused file_mtime.
15454         (init_traced_file): New inline function.
15455         (define_traced_file): New macro.
15456         * nss/nss_db/db-init.c: Use define_traced_file.
15457         (_nss_db_init): Use init_traced_file.
15458         * nss/nss_files/files-init.c: Use define_traced_file.
15459         (_nss_files_init): Use init_traced_file.
15461 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15463         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15464         [_LIBC]: Do not include <stdlib.h>.
15465         [!_LIBC] (abort): Remove declaration.
15466         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15467         _FP_STATIC_ASSERT instead of conditionally calling abort.
15468         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15469         (_FP_EXTEND_CNAN): Likewise.
15470         (FP_TRUNC): Likewise.
15471         (__FP_CLZ): Likewise.
15472         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15474 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15476         * manual/string.texi (XPG basename): Fix prototype.
15478 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15480         [BZ #18080]
15481         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15482         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15483         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15484         (__setcontext): Likewise.
15485         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15486         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15487         Call rt_sigprocmask syscall one time to set new signal mask
15488         and retrieve the current signal mask instead of two calls.
15489         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15490         (__swapcontext): Likewise.
15491         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15492         * stdlib/tst-setcontext2.c: New file.
15494 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15496         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15498 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15500         [BZ #18093]
15501         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15502         the wrong size.
15504 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15506         [BZ #18043]
15507         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15509 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15511         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15512         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15513         Remove define.
15514         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15515         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15516         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15517         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15518         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15519         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15520         define.
15521         * nptl_db/td_symbol_list.c (td_lookup): Remove
15522         HAVE_ASM_GLOBAL_DOT_NAME code.
15523         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15524         HAVE_ASM_GLOBAL_DOT_NAME check.
15525         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15526         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15527         (DOT_LABEL): Remove define.
15528         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15529         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15530         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15531         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15532         (__TLS_GET_ADDR): Likewise.
15533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15534         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15536 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15538         [BZ #18111]
15539         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15540         (_FPU_SETCW): Initialize cw from fpsr before storing.
15541         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15542         (fesetexceptflag): Rewrite using fpu_control.h.
15543         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15545 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15547         [BZ #18110]
15548         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15549         asms.
15550         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15552 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15554         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15555         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15556         abort.
15557         (_FP_FMA): Likewise.
15558         (_FP_DIV): Likewise.
15560 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15562         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15563         with 0 in that case.
15564         * Makefile (summarize-tests): New canned sequence, factored out of
15565         commands for targets tests and xtests.  Display summary lines that
15566         don't start with PASS: or XFAIL: rather than ones that do start with
15567         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15568         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15569         do start with ERROR: or FAIL:.
15570         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15571         (except for [$(build-shared) = yes]).
15572         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15573         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15574         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15575         * nptl/Makefile: Revert 2015-03-04 changes.
15576         [$(CXX) empty] (tests-unsupported): New variable.
15577         * debug/Makefile: Likewise.
15579         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15580         gnulib file.  Replace __attribute with __attribute__ throughout.
15582 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15584         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15586 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15588         [BZ #18104]
15589         * math/auto-libm-test-in: Add another test of pow.
15590         * math/auto-libm-test-out: Regenerated.
15592 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15594         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15595         $(config-cflags-nofma).
15597 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15599         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15600         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15601         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15602         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15603         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15604         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15605         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15606         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15607         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15608         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15609         Add comment on closing #endif.
15611 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15613         * posix/wordexp.c (CHAR_IN_SET): New macro.
15614         (parse_param): Use it.
15616 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15618         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15620 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15622         [BZ #18043]
15623         * posix/wordexp.c (parse_param): Fix buffer overflow.
15624         * posix/wordexp-test.c (test_case): Add test case.
15626 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15628         [BZ #18042]
15629         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15630         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15632 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15634         [BZ #18043]
15635         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15636         (do_bz18043): Delete.
15637         (at_page_end): New.
15638         (testit): Refactor to have words at the edge of unreadable page.
15640 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15642         [BZ #16734]
15643         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15644         Cleanup read-only streams as well.
15645         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15647 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15649         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15650         <bits/libc-lockP.h>
15652 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15654         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15655         on [__KERNEL__].
15656         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15657         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15658         * soft-fp/op-common.h (_FP_DECL): Likewise.
15660 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15662         * elf/ifuncdep2.c (global): Replace
15663         __attribute__((visibility("protected"))) with
15664         asm (".protected global").
15665         * elf/ifuncmod1.c (global): Likewise.
15666         * elf/ifuncmod5.c (global): Likewise.
15668 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15670         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15671         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15673 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15675         * manual/install.texi (Configuring and compiling):
15676         Document test-wrapper-env-only.
15677         * INSTALL: Regenerated.
15679 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15681         [BZ #18043]
15682         * posix/wordexp.c (parse_param): Fix buffer overflow.
15683         * posix/wordexp-test.c (do_bz18043): Add test case.
15685 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15687         * time/tst-strptime2.c (do_test): Ensure failing tests are
15688         reported correctly.
15689         * time/tst-strptime3.c (do_test): Likewise.
15691 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15693         Fix aio_error thread-safety.
15694         * sysdeps/pthread/aio_error.c: New file
15695         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15696         synchronization.
15698 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15700         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15701         (group_number, vfprintf): Use it.
15702         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15703         (JUMP, REF): Use it.
15704         (WORK_BUFFER_SIZE): New enum constant.
15705         (process_arg, vfprintf): Use it.
15707 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15709         * manual/errno.texi (Error Messages): Complete example function
15710         by adding missing #define.
15711         (program_invocation_name): Add statement indicating GNU
15712         extension and reference which header file declares the variable.
15713         (program_invocation_short_name): Likewise.
15715 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15717         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15718         compatibility note.
15720 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15722         * Makeconfig (test-wrapper-env-only): New variable.
15723         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15724         then use that with $(test-wrapper-env-only) rather than using
15725         $(test-wrapper-env) $(run-program-env) $($*-ENV).
15727 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15729         [BZ #18082]
15730         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15731         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15732         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15733         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15734         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15735         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15736         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15737         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15738         Likewise.
15739         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15740         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15741         Likewise.
15742         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15743         Likewise.
15744         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15745         Likewise.
15746         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15747         Likewise.
15748         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15749         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15750         Likewise.
15751         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15752         Likewise.
15753         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15754         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15756 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15758         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15759         (ETH_ALEN): New macro.
15760         (struct ether_addr): Use it for length of ether_addr_octet.
15762         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15763         (setdb): Don't call __nss_configure_lookup for "rpc".
15764         (do_test): Don't call test_rpc.
15765         (output_rpcent, test_rpc): Functions moved ...
15766         * sunrpc/test-rpcent.c: ... to this new file.
15767         * sunrpc/Makefile (tests): Add it.
15769         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15770         __xpg_sigpause.
15771         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15772         * nptl/tst-signal6.c: Likewise.
15773         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15774         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15776         * configure.ac (libc_cv_cxx_link_ok): New check.
15777         Reset CXX to empty if it fails to link.
15778         * configure: Regenerated.
15779         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15780         bug-atexit3-lib only if $(CXX) is nonempty.
15781         * nptl/Makefile (tests): Likewise for tst-cancel24.
15782         (tests, tests-static): Likewise for tst-cancel24-static.
15783         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15784         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15785         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15786         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15788 2015-03-04  Andreas Schwab  <schwab@suse.de>
15790         [BZ #17631]
15791         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15792         for non-GCC compilers.
15793         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15794         Likewise.
15796 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15798         [BZ #17776]
15799         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
15800         integer before bitwise and assembly operations.
15801         (feclearexcept): Likewise.
15802         * math/test-fenvinline.c: New file.
15803         * math/Makefile: Add test-fenvinline test.
15805 2015-03-03  Alan Modra  <amodra@gmail.com>
15807         [BZ #16512]
15808         * scripts/localplt.awk: Strip off symbol version.
15809         * NEWS: Mention bug fix.
15811 2015-03-02  Roland McGrath  <roland@hack.frob.com>
15813         * sysdeps/pthread/timer_routines.c
15814         (timer_free_list, thread_free_list, thread_active_list): Make static.
15816 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
15818         [BZ #17779]
15819         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15820         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15821         Undefine.
15822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15823         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15824         Likewise.
15825         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15826         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
15827         Likewise.
15829 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15831         [BZ #18036]
15832         * posix/fnmatch_loop.c (END): Detect invalid pattern.
15833         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
15835 2015-03-02  Andreas Schwab  <schwab@suse.de>
15837         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
15838         variable name.
15840 2015-03-02  Florian Weimer  <fweimer@redhat.com>
15842         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
15843         Return error status.
15845 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
15847         [BZ #15969]
15848         * locale/findlocale.c (_nl_find_locale): Introduce const
15849         version of loc_name and drop unsafe type casts.
15851 2015-02-27  Roland McGrath  <roland@hack.frob.com>
15853         * dlfcn/tststatic2.c (main): Converted to ...
15854         (do_test): ... this.
15855         (TEST_FUNCTION): New macro.
15856         Include test-skeleton.c.
15858 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
15860         [BZ #17711]
15861         * elf/Makefile (tests): Add vismain only if PIE is enabled.
15862         (tests-pie): Add vismain.
15863         (CFLAGS-vismain.c): New.
15864         * elf/vismain.c: Add comments for PIE requirement.
15866 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15868         [BZ #18046]
15869         [BZ #18047]
15870         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
15871         0x1p-56L as threshold for just returning the argument.
15872         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
15873         0x1p-32L as threshold for just returning the argument.
15874         * math/auto-libm-test-in: Add more tests of atanh.
15875         * math/auto-libm-test-out: Regenerated.
15876         * sysdeps/i386/fpu/libm-test-ulps: Update.
15877         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
15879 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15881         * string/bcopy.c (bcopy): Call memmove for performance.
15883 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
15885         * string/bzero.c (__bzero): Call memset for performance.
15887 2015-02-27  John David Anglin  <dave.anglin@bell.net>
15889         [BZ #18068]
15890         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
15891         to 00100000.
15893 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
15895         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
15897 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15899         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
15900         (__kernel_standard): Use CSTR macro when setting exc.name.
15901         * sysdeps/ieee754/Makefile [$(subdir) = math]
15902         (CFLAGS-k_standard.c): Remove variable.
15904         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
15905         setting p and q from "else if" to "else".
15906         (qzero): Likewise.
15907         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
15908         (qone): Likewise.
15909         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
15910         (qzerof): Likewise.
15911         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
15912         (qonef): Likewise.
15913         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
15914         (qzero): Likewise.
15915         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
15916         (qone): Likewise.
15918         [BZ #18038]
15919         [BZ #18039]
15920         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
15921         return pi/2 for arguments below 0x1p-113L.
15922         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
15923         return pi/2 for arguments below 0x1p-106L.
15924         * math/auto-libm-test-in: Add more tests of acos.
15925         * math/auto-libm-test-out: Regenerated.
15927         [BZ #16351]
15928         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
15929         (MO): New macro.
15930         (__ieee754_asin): Force underflow exception for results with small
15931         absolute value.
15932         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
15933         (MO): New macro.
15934         (__ieee754_asinf): Force underflow exception for results with
15935         small absolute value.
15936         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
15937         (__ieee754_asin): Force underflow exception for results with small
15938         absolute value.
15939         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
15940         (__ieee754_asinf): Force underflow exception for results with
15941         small absolute value.
15942         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
15943         (__ieee754_asinl): Force underflow exception for results with
15944         small absolute value.
15945         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
15946         (__ieee754_asinl): Force underflow exception for results with
15947         small absolute value.
15948         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
15949         (__ieee754_asinl): Force underflow exception for results with
15950         small absolute value.
15951         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15952         Include <math.h>.
15953         * math/auto-libm-test-in: Do not mark underflow exceptions as
15954         possibly missing for bug 16351.
15955         * math/auto-libm-test-out: Regenerated.
15957         [BZ #18030]
15958         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
15959         of power of 2 down when low part has opposite sign.
15960         * math/libm-test.inc (logb_test_data): Add more tests.
15962 2015-02-26  Andreas Schwab  <schwab@suse.de>
15964         [BZ #18032]
15965         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
15966         over collating symbol inside a bracket expression.  Minor cleanup.
15967         * posix/tst-fnmatch3.c (do_test): Add test case.
15969 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
15971         [BZ #18029]
15972         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
15973         Adjust exponent of power of 2 down when low part has opposite
15974         sign.
15975         * math/libm-test.inc (ilogb_test_data): Add more tests.
15977 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
15979         [BZ #15969]
15980         * locale/findlocale.c (_nl_find_locale): Fix constness error in
15981         the previous change.
15983         [BZ #15969]
15984         * locale/findlocale.c (_nl_find_locale): Retry archive search
15985         after alias expansion.
15987 2015-02-25  Roland McGrath  <roland@hack.frob.com>
15989         * iconv/tst-iconv3.c (main): Converted to ...
15990         (do_test): ... this.
15991         (TEST_FUNCTION): New macro.
15992         Include test-skeleton.c.
15994         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
15995         (convert): Make function static.
15996         (test_unalign): Likewise.  Add const to argument pointee types.
15997         (main): Replace with static function do_test.
15998         Print "Succeeded." only if RET is zero.
15999         (TEST_FUNCTION): New macro.
16000         Include test-skeleton.c.
16002         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16003         returns a null pointer.
16005 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16007         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16008         to __memcpy_ppc only for static builds.
16010 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
16012         [BZ #18020]
16013         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16014         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16015         * math/auto-libm-test-in: Add more tests of asinh.
16016         * math/auto-libm-test-out: Regenerated.
16017         * sysdeps/i386/fpu/libm-test-ulps: Update.
16018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16020 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
16022         [BZ #15850]
16023         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16024         and ip6_mtuinfo definitions here.
16025         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16026         in this define too.  Update comment.
16028 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
16030         * elf/sprof.c (load_shobj): Tweak error message to match others.
16032 2015-02-24  Kevin Easton  <kevin@guarana.org>
16034         [BZ #16145] (partial fix)
16035         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16036         to reduce lock contention.
16038 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
16040         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16041         (struct timex): Update time comment.
16042         (ADJ_SETOFFSET): Define.
16044 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16046         [BZ #18019]
16047         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16048         2**56 not 2**28 as threshold for log (2x) formula.
16049         * math/auto-libm-test-in: Add more tests of acosh.
16050         * math/auto-libm-test-out: Regenerated.
16051         * sysdeps/i386/fpu/libm-test-ulps: Update.
16052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16054 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16056         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16057         parenthesis around the buf assignment.
16058         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16060 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16062         [BZ #16783]
16063         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16064         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16065         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16066         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16067         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16068         * math/libm-test.inc (scalb_test_data): Add more tests.
16070 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16072         [BZ #17916]
16073         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16074         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16076 2015-02-24  Eric Rannaud  <e@nanocritical.com>
16078         [BZ #17523]
16079         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16080         * io/bits/fcntl2.h (open): Use it.
16081         (openat): Likewise.
16082         * io/open.c (__libc_open): Likewise.
16083         * io/open64.c (__libc_open64): Likewise.
16084         * io/open64_2.c (__open64_2): Likewise.
16085         * io/open_2.c (__open_2): Likewise.
16086         * io/openat.c (__openat): Likewise.
16087         * io/openat64.c (__openat64): Likewise.
16088         * io/openat64_2.c (__openat64_2): Likewise.
16089         * io/openat_2.c (__openat_2): Likewise.
16090         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16091         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16092         * sysdeps/posix/open64.c (__libc_open64): Likewise.
16093         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16094         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16095         (__open_nocancel): Likewise.
16096         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16097         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16098         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16100 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16102         [BZ #14841]
16103         * resolv/gethnamaddr.c (getanswer): Skip logging if
16104         RES_USE_DNSSEC is set.
16105         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16107 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16109         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16111 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
16113         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16114         201304L, for Unicode 7.
16116 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
16118         [BZ #17836]
16119         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16120         shared library.  Add gmon-start.os otherwise.
16121         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16122         $(objpfx)gmon-start.os if builing shared library.
16123         ($(objpfx)g$(static-start-installed-name)): Likewise.
16125 2015-02-23  Andreas Schwab  <schwab@suse.de>
16127         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16129 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16131         [BZ #17269]
16132         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16133         (enlarge_userbuf): Likewise.
16135 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16137         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16138         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16139         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16140         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16142 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16144         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16145         expression inside statement expression.
16147 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16149         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16150         <sysdeps/nptl/lowlevellock.h> and remove macros and
16151         functions that are now defined there.
16152         (SYS_futex): Remove.
16153         (lll_compare_and_swap): Remove.
16154         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16156 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16158         [BZ #17999]
16159         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16160         instead of scandirat.
16161         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16162         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16163         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16164         __scandirat.
16165         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16166         (__scandirat): Declare.  Use libc_hidden_proto.
16167         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16168         Remove variable.
16169         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16171 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16173         [BZ #15319]
16174         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16175         (MO): New macro.
16176         (__ieee754_atan2): For results with small absolute value, force
16177         underflow exception and remove excess range and precision from
16178         return value.
16179         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16180         (MO): New macro.
16181         (__ieee754_atan2f): For results with small absolute value, force
16182         underflow exception and remove excess range and precision from
16183         return value.
16184         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16185         (MO): New macro.
16186         (__atan): For results with small absolute value, force underflow
16187         exception and remove excess range and precision from return value.
16188         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16189         (MO): New macro.
16190         (__atanf): For results with small absolute value, force underflow
16191         exception and remove excess range and precision from return value.
16192         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16193         <math.h>.
16194         (__ieee754_atan2): Force underflow exception for results with
16195         small absolute value.
16196         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16197         <math_private.h>.
16198         (atan): Force underflow exception for results with small absolute
16199         value.
16200         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16201         (__atanf): Force underflow exception for results with small
16202         absolute value.
16203         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16204         <math.h>.
16205         (__atanl): Force underflow exception for results with small
16206         absolute value.
16207         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16208         (__atanl): Force underflow exception for results with small
16209         absolute value.
16210         * sysdeps/x86/fpu/bits/mathinline.h
16211         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16212         (__ieee754_atan2): Only define inline for long double.
16213         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16214         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16215         * math/auto-libm-test-in: Do not mark underflow exceptions as
16216         possibly missing for bug 15319.  Add more tests of atan2.
16217         * math/auto-libm-test-out: Regenerated.
16218         * math/libm-test.inc (casin_test_data): Do not mark underflow
16219         exceptions as possibly missing for bug 15319.
16220         (casinh_test_data): Likewise.
16221         * sysdeps/i386/fpu/libm-test-ulps: Update.
16223 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16225         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16226         * sysdeps/mips/bits/endian.h: Fix comments.
16228 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16230         [BZ #17996]
16231         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16232         (hdestroy_r): Likewise.
16233         (hsearch_r): Likewise.
16234         (__hcreate_r): Declare and use libc_hidden_proto.
16235         (__hdestroy_r): Likewise.
16236         (__hsearch_r): Likewise.
16237         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16238         (hcreate): Call __hcreate_r instead of hcreate_r.
16239         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16240         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16241         as weak alias of __hcreate_r.
16242         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16243         __hdestroy_r.
16244         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16245         __hsearch_r.
16246         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16247         Remove variable.
16248         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16249         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16250         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16251         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16253 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16255         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16256         arena_lock into a single arena_get.
16258 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16260         * dl-reloc.c: Inlucde libc-internal.h.
16261         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16262         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16263         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16264         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16265         (grow_heap): Likewise.
16266         * malloc/malloc.c: Include libc-internal.h.
16267         (do_check_malloc): Call powerof2.
16268         (sysmalloc): Use pagesize. Call ALIGN_UP.
16269         (systrim): Use pagesize.
16270         (mremap_chunk): Use pagesize. Call ALIGN_UP.
16271         (__libc_valloc): Use pagesize.
16272         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16274 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16276         [BZ #17991]
16277         * include/sys/resource.h (__getrlimit64): Declare.  Use
16278         libc_hidden_proto.
16279         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16280         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
16281         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16282         getrlimit64.
16283         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16284         __getrlimit64.
16285         [!getrlimit64] (getrlimit64): Define as weak alias of
16286         __getrlimit64.  Use libc_hidden_weak.
16287         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16288         using __getrlimit64 not __new_getrlimit64.
16289         (__GI_getrlimit64): Likewise.
16290         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16291         Likewise.
16292         (__GI_getrlimit64): Likewise.
16293         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16295         (getrlimit): Add __getrlimit64 alias.
16296         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16297         Likewise.
16298         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16299         Remove variable.
16300         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16301         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16303 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16305         * libio/fileops.c: Add missing sys/mman.h
16306         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16308 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16310         * manual/math.texi (Errors in Math Functions): Clarify goals
16311         regarding inexact and underflow exceptions.
16313 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16315         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16316         * sysdeps/mips/memset.S: Ditto.
16318 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16320         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16322 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16324         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16325         (__v1longjmp): Remove versioned symbol.
16326         (__v1siglongjmp): Remove alias and versioned symbol.
16327         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16328         (__v2siglongjmp): Likewise.
16330 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16332         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16334 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
16336         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16338 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16340         [BZ #17987]
16341         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16342         zero result does not depend on the sign resulting from
16343         subtraction.
16344         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16345         Likewise.
16346         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16347         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16348         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16349         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16350         * math/libm-test.inc (remquo_test_data): Add more tests.
16352 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16354         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16355         Problem reported by J William Piggott.
16357 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16359         [BZ #17978]
16360         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16361         products 4 * y and 2 * y where those would overflow.
16362         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16363         Likewise.
16364         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16365         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16366         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16367         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16368         * math/libm-test.inc (remquo_test_data): Add more tests.
16370         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16372         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16373         [defined _COMPILING_NEWLIB].
16374         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16375         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16377         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16378         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16380 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16382         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16383         acquired.
16385 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16387         [BZ #17792]
16388         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16389         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16390         HOST_STACK_END_ADDR): Likewise.
16392 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16394         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16395         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16396         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16398 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16400         * sysdeps/generic/c++-types.data: New file.
16401         * sysdeps/generic/ld.abilist: New file.
16402         * sysdeps/generic/libBrokenLocale.abilist: New file.
16403         * sysdeps/generic/libanl.abilist: New file.
16404         * sysdeps/generic/libc.abilist: New file.
16405         * sysdeps/generic/libcrypt.abilist: New file.
16406         * sysdeps/generic/libdl.abilist: New file.
16407         * sysdeps/generic/libm.abilist: New file.
16408         * sysdeps/generic/libpthread.abilist: New file.
16409         * sysdeps/generic/libresolv.abilist: New file.
16410         * sysdeps/generic/librt.abilist: New file.
16412 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16414         [BZ #17569]
16415         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16416         Compute absolute value of x as modified by fmod, not original
16417         value of x.
16418         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16419         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16420         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16421         RUN_TEST_ffI_f1_mod8.
16422         (remquo_test_data): Add more tests.
16424 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16426         * sysdeps/init_array/pt-crti.S: New file.
16428 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16430         [BZ #17967]
16431         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16432         __builtin_fmaf instead of relying on contraction of a * b + c.
16434 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16436         [BZ #17969]
16437         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16438         node.
16440 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16442         [BZ #17964]
16443         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16444         __builtin_fma instead of relying on contraction of a * b + c.
16446 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16448         * Makeconfig (ASFLAGS): Add -Werror=undef.
16449         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16450         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16451         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16453         * Makeconfig (after-link): New variable.
16454         (+link-pie, +link-pie-tests): Use it.
16455         (+link-static, +link-static-tests): Likewise.
16456         (+link, +link-tests): Likewise.
16457         * Makerules (build-module, build-module-asneeded): Likewise.
16458         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16459         Likewise.
16460         * elf/Makefile ($(objpfx)ld.so): Likewise.
16462 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16464         [BZ #17965]
16465         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16466         both struct timeval and struct timespec.
16468 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16470         [BZ #16560]
16471         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16472         and redefine.
16473         (__ieee754_exp2l): Do not multiply small fractional parts by
16474         M_LN2l.
16475         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16476         small argument.
16477         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16478         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16479         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16480         * math/auto-libm-test-in: Add more tests of exp2.
16481         * math/auto-libm-test-out: Regenerated.
16483 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16485         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16486         unaligned path.
16488 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16490         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16491         little endian.
16493 2015-02-12  Andreas Schwab  <schwab@suse.de>
16495         [BZ #15790]
16496         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16497         Filter out elision flags from value returned in kind.
16498         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16499         * nptl/tst-pthread-mutexattr.c: New file.
16501 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16503         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16504         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16505         into gnu-gnu, and update comment to refer to abi-tags.
16507 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16509         [BZ #15467]
16510         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16511         (__sincos): Set errno to EDOM for infinite argument.
16512         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16513         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16514         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16515         (__sincosl): Set errno to EDOM for infinite argument.
16516         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16517         (__sincosl): Set errno to EDOM for infinite argument.
16518         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16519         (__sincosl): Set errno to EDOM for infinite argument.
16520         * math/libm-test.inc (sincos_test_data): Test errno setting.
16522 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16524         * string/strxfrm_l.c: Remove #define STRCMP.
16525         * string/strcoll_l.c: Remove #define STRLEN.
16526         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16527         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16529 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16531         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16532         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16533         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16534         * sysdeps/mips/mips64/Makefile: ... here.
16535         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16536         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16537         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16538         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16539         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16540         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16541         * sysdeps/mips/mips64/n64/Implies: Likewise.
16543 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16545         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16546         <sys/time.h>, <string.h>, and <errno.h>.
16547         (dest_offset, dest_address, value, zero): Remove unused variables.
16548         (ldouble): Remove typedef.
16549         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16550         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16551         1).  Fix code style.
16552         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16553         (check): Function removed.
16554         (CHECK): New macro.
16555         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16556         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16557         Don't call set_sigaction_FP and remove_sigaction_FP here.
16558         (ldouble_test): Just use 'long double' as macro argument, no need for
16559         the 'ldouble' typedef.
16560         (do_test): Set up SIGFPE handler at start, using plain signal rather
16561         than sigaction.  Fix code style.
16563 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16565         [BZ #17949]
16566         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16567         jump label.
16569 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16571         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16572         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16574         * sysdeps/powerpc/configure.ac: Remove file.
16575         * sysdeps/powerpc/configure: Likewise.
16577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16578         [sysdep_routines]: Remove wordcopy-power6 object.
16579         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16580         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16581         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16582         (__memmove_ppc32): Likewise.
16583         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16584         file.
16585         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16586         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16587         Remove preprocessor.
16589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16590         [sysdep_routines]: Remove wide chars objects.
16591         [wcsmbs]: New rule for wide char objects.
16593         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16594         Remove wordcopy-power6 obejct.
16595         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16596         Use local call for wordcopy and memcpy symbols.
16597         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16598         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16599         implementation for loader.
16600         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16602         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16603         Remove wordcopy-power7 object.
16604         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16605         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16606         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16607         (_wordcopy_fwd_dest_aligned): Likewise.
16608         (_wordcopy_bwd_aligned): Likewise.
16609         (_wordcopy_bwd_dest_aligned): Likewise.
16611         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16612         Rewrite to call __memmove_ppc instead of include default
16613         implementation.
16615         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16616         Remove wide chars objects.
16617         [wcsmbs]: New rule for wide char objects.
16619 2015-02-09  Andreas Schwab  <schwab@suse.de>
16621         [BZ #17912]
16622         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16623         in terms of __O_DIRECTORY.
16625 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16627         * time/getdate.c: Include <stdbool.h>.
16628         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16629         call PTR_MANGLE.
16630         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16631         PTR_DEMANGLE.
16633 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16635         Add ersatz _Static_assert on older C hosts
16636         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16637         pre-C11 C platform that is not known to support _Static_assert.
16639 2015-02-07  Richard Braun  <rbraun@sceen.net>
16641         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16642         sigstate.
16643         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16645 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16647         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16648         priority against unexistent AIO_PRIO_DELTA_MAX.
16649         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16650         instead of int.
16651         * misc/fchflags.c (fchflags): Likewise.
16652         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16653         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16654         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16655         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16656         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16657         Declare macros.
16658         [__USE_MISC] (chflags, fchflags): Declare functions.
16659         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16660         EINVAL when nfds is greater than FD_SETSIZE.
16661         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16662         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16663         45.
16664         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16665         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16666         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16667         MACH_RCV_TIMED_OUT.
16668         * hurd/hurd/signal.h (_hurd_self_sigstate,
16669         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16670         Explicit casts from void *.
16671         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16672         * abi-tags: Rename gnu-gnu os into gnu.
16674         [BZ #4719]
16675         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16676         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16677         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16678         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16679         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16680         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16682         [BZ #17944]
16683         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16684         duplicates ADDR->sun_path with sockaddr LEN limitation.
16685         * sysdeps/mach/hurd/connect.c: Include <string.h>
16686         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16687         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16688         * sysdeps/mach/hurd/sendto.c: Likewise.
16689         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16690         implementing it by hand.
16692 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16694         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16695         Use sfi_breg on ldr.
16696         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16697         Likewise.
16699         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16700         it's defined.
16701         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16702         Test SIGSETXID only if it's defined.
16704         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16706         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16707         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16709         * nptl/tst-align2.c: Moved ...
16710         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16711         * nptl/Makefile (tests): Remove tst-align2.
16712         * sysdeps/unix/sysv/linux/Makefile
16713         [$(subdir) = nptl] (tests): Add tst-align-clone.
16714         * nptl/tst-getpid1.c: Moved ...
16715         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16716         * nptl/tst-getpid2.c: Moved ...
16717         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16718         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16719         * sysdeps/unix/sysv/linux/Makefile
16720         [$(subdir) = nptl] (tests): ... here.
16721         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16722         * sysdeps/unix/sysv/linux/Makefile
16723         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16725         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16726         Drop trailing \n from perror argument.  Use return rather than exit.
16728         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16729         on [SA_SIGINFO].
16730         * nptl/tst-cancel21.c (do_test): Likewise.
16731         * debug/tst-backtrace6.c: Include <signal.h> first thing.
16732         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16733         [!SA_SIGINFO]: Make it a stub test.
16735         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16736         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16738         * posix/tst-getlogin.c: Move to ...
16739         * login/tst-getlogin.c: ... here.
16740         * posix/Makefile (tests): Move tst-getlogin to ...
16741         * login/Makefile (tests): ... here.
16743         * libio/tst-atime.c (do_test): Move local variables SV and E
16744         inside [ST_NOATIME] conditional.
16746         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16748         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16750         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16751         (wait_code): New function replaces macro.
16752         Call nanosleep rather than syscall.
16754         * nptl/pt-system.c: Rewritten.  Put everything under
16755         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16756         Use IFUNC to redirect when possible.
16758         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16759         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16760         Use IFUNC to redirect when possible.
16762         * nptl/pt-fork.c: Rewritten.  Put everything under
16763         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16764         Use IFUNC to redirect when possible.
16765         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16767         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16768         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16769         unconditionally nowadays.  This included the only reference to
16770         __vdso_clock_gettime that appears outside libc proper.
16771         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16772         Remove version set (containing only __vdso_clock_gettime).
16773         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16774         Add attribute_hidden.
16775         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16776         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16777         libc_hidden_data_def.
16778         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16779         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16781         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16782         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16783         setrpcent, and getrpcport to ...
16784         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16785         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16786         getrpcbynumber_r, and getrpcent_r to ...
16787         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16788         * inet/getrpcbyname.c: Moved ...
16789         * sunrpc/getrpcbyname.c: ... here.
16790         * inet/getrpcbyname_r.c: Moved ...
16791         * sunrpc/getrpcbyname_r.c: ... here.
16792         * inet/getrpcbynumber.c: Moved ...
16793         * sunrpc/getrpcbynumber.c: ... here.
16794         * inet/getrpcbynumber_r.c: Moved ...
16795         * sunrpc/getrpcbynumber_r.c: ... here.
16796         * inet/getrpcent.c: Moved ...
16797         * sunrpc/getrpcent.c: ... here.
16798         * inet/getrpcent_r.c: Moved ...
16799         * sunrpc/getrpcent_r.c: ... here.
16800         * inet/Makefile (routines): Move those to ...
16801         * sunrpc/Makefile (routines): ... here.
16802         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
16803         the $(subdirs) list.
16804         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
16805         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
16806         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
16807         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
16809         * elf/Makefile (routines): Include $(all-dl-routines), not just
16810         $(dl-routines).
16811         (rtld-routines): Likewise.  Use = rather than :=.
16812         * sysdeps/aarch64/Makefile [$(subdir) = elf]
16813         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
16814         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
16815         * sysdeps/arm/Makefile: Likewise.
16816         * sysdeps/i386/Makefile: Likewise.
16817         * sysdeps/x86_64/Makefile: Likewise.
16818         * sysdeps/hppa/Makefile [$(subdir) = elf]
16819         (sysdep_routines, sysdep-rtld-routines): Don't add
16820         $(sysdep-dl-routines) to these.
16821         * sysdeps/ia64/Makefile: Likewise.
16822         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
16823         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
16824         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
16825         Don't add dl-static to these; sysdep-dl-routines alone is enough.
16826         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
16827         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
16828         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
16829         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
16830         * sysdeps/powerpc/Makefile [$(subdir) = elf]
16831         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
16832         these; sysdep-dl-routines alone is enough.
16834 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
16836         [BZ #17932]
16837         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
16838         where multiplication results in zero and third argument is finite
16839         and nonzero.
16840         * math/auto-libm-test-in: Add more tests of fma.
16841         * math/auto-libm-test-out: Regenerated.
16843         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
16844         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
16845         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
16846         (_FP_CMP_EQ): Likewise.
16847         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
16849         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
16850         extra argument CHECK_NAN.  Redefine as wrapper around
16851         _FP_EXTEND_CNAN.
16853 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
16855         * version.h (RELEASE): Set to "stable".
16856         (VERSION): Set to "2.21"
16857         * include/features.h (__GLIBC_MINOR__): Set to 21.
16859         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
16861 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16862             Paul Eggert  <eggert@cs.ucla.edu>
16864         [BZ #16618]
16865         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
16866         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
16867         size in bytes. Store needed elements in wpmax. Use needed size
16868         in bytes for extend_alloca.
16870 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
16872         * manual/install.texi: Latest tested versions are GCC 4.9.2,
16873         binutls 2.25, and texinfo 5.2.
16874         * INSTALL: Regenerate.
16875         * sysdeps/nios2/configure: Regenerate.
16876         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
16877         * manual/contrib.texi: Update.
16878         * po/be.po: Update.
16879         * po/bg.po: Update.
16880         * po/ca.po: Update.
16881         * po/cs.po: Update.
16882         * po/da.po: Update.
16883         * po/de.po: Update.
16884         * po/el.po: Update.
16885         * po/eo.po: Update.
16886         * po/es.po: Update.
16887         * po/fi.po: Update.
16888         * po/fr.po: Update.
16889         * po/gl.po: Update.
16890         * po/hr.po: Update.
16891         * po/hu.po: Update.
16892         * po/ia.po: Update.
16893         * po/id.po: Update.
16894         * po/it.po: Update.
16895         * po/ja.po: Update.
16896         * po/ko.po: Update.
16897         * po/lt.po: Update.
16898         * po/nb.po: Update.
16899         * po/nl.po: Update.
16900         * po/pl.po: Update.
16901         * po/pt_BR.po: Update.
16902         * po/ru.po: Update.
16903         * po/rw.po: Update.
16904         * po/sk.po: Update.
16905         * po/sl.po: Update.
16906         * po/sv.po: Update.
16907         * po/tr.po: Update.
16908         * po/uk.po: Update.
16909         * po/vi.po: Update.
16910         * po/zh_CN.po: Update.
16911         * po/zh_TW.po: Update.
16913         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
16914         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
16915         * sysdeps/hppa/dl-irel.h: Remove #warning.
16916         * sysdeps/hppa/entry.h: Provide prototype for
16917         __canonicalize_funcptr_for_compare and cast argument.
16918         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
16919         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
16920         * sysdeps/hppa/sotruss-lib.c: New file.
16921         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
16922         (atomic_compare_and_exchange_val_acq): Use __typeof__.
16923         (atomic_compare_and_exchange_bool_acq): Likewise.
16924         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
16925         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
16927         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
16928         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
16929         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
16931 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
16933         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
16934         called function in non-PIC case.
16936 2015-01-31  David S. Miller  <davem@davemloft.net>
16938         * sysdeps/sparc/sparc32/bits/atomic.h
16939         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
16940         unlock not after it.
16941         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
16942         volatile register usage warnings from the compiler.
16944         * sysdeps/sparc/nptl/sem_init.c: Delete.
16945         * sysdeps/sparc/nptl/sem_post.c: Delete.
16946         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
16947         * sysdeps/sparc/nptl/sem_wait.c: Delete.
16948         * sysdeps/sparc/sparc32/sem_init.c: New file.
16949         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
16950         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16951         padding explicitly initialized.
16952         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
16953         padding for in-semaphore spinlock.
16954         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
16955         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
16956         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
16957         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
16958         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
16959         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
16960         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
16961         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
16962         version.
16963         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
16964         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
16966 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
16968         [BZ #17801]
16969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16970         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
16971         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
16972         New.
16973         (index_AVX_Fast_Unaligned_Load): Likewise.
16974         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
16975         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
16976         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
16977         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
16978         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
16979         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
16980         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
16981         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
16982         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
16984 2015-01-29  Andreas Schwab  <schwab@suse.de>
16986         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
16988 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
16990         [BZ #17892]
16991         * nscd/nscd_stat.c (send_stats): Initialize DATA.
16993 2015-01-28  Martin Sebor  <msebor@redhat.com>
16995         * math/README.libm-test: Clarify. Add "How to read the test output."
16997 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
16999         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17000         Define to 0.
17002 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
17004         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17005         (__HAVE_64B_ATOMICS): Define to 0.
17007 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17009         [BZ #17885]
17010         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17011         value to set as new flag.
17013         [BZ #16576]
17014         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17015         and use _ARCH_PPCSQ instead.
17016         (__ieee754_sqrt): Likewise.
17017         (__ieee754_sqrtf): Likewise.
17018         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17019         _ARCH_PPCSQ is defined.
17020         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17021         fsqrt instruction.
17022         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17023         _ARCH_PPCSQ is defined.
17024         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17025         fsqrts instruction.
17026         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17028 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17030         * iconv/loop.c: Suppress array out of bound warning caused by GCC
17031         bug (GCC BZ #64739).
17033 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
17035         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17036         Mark _retval as used.
17037         (lll_futex_wake_unlock): Likewise.
17038         (lll_futex_timed_wait_requeue_pi): Likewise.
17040         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17041         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17042         register variables.
17044         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17045         libm_hidden_def.
17047         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17048         (__bswap_64): Mark as __always_inline.
17050 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
17052         [BZ #15378]
17053         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17054         when none of the search directories exist.
17056 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17058         [BZ #17869]
17059         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17060         power8 in .machine directive.
17062         [BZ #17868]
17063         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17064         set dependency from opd value.
17066 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17069         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17070         architecture.
17072 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17074         [BZ #17870]
17075         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17076         with uint64_t.
17077         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17078         (uint64_t) 1.
17079         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17080         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17081         Replace 1UL with (uint64_t) 1.
17082         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17083         int with uint64_t.
17085 2015-01-23  Roland McGrath  <roland@hack.frob.com>
17087         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17088         (if_freenameindex): Likewise.
17090         * resource/getrlimit64.c: Add missing libc_hidden_def.
17092 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
17094         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17095         __label__.
17096         (_FP_FMA): Likewise.
17097         (_FP_TO_INT_ROUND): Likewise.
17098         (_FP_FROM_INT): Likewise.
17100 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17102         [BZ #16418]
17103         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17104         Make code racy and cancel safe.
17106 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
17108         * sysdeps/arm/unwind-resume.h: Fix copyright year.
17109         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17110         attribution.
17112         * pwd/tst-getpw.c: Rewrite.
17114         [BZ #17702]
17115         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17116         (modules-names): Add moddummy1 and moddummy2.
17117         ($(objpfx)tst-rec-dlopen): Define.
17118         * dlfcn/moddummy1.c: New file.
17119         * dlfcn/moddummy2.c: New file.
17120         * dlfcn/tst-rec-dlopen.c: New file.
17121         * elf/dl-cache.c (_dl_load_cache_lookup):
17122         Return char*. Copy result with alloca/strcpy/strdup.
17123         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17124         returns char*. Free cached. If not saving realname
17125         free cached.
17126         * elf/dl-open.c (dl_open_worker): Do not assert that
17127         _r_debug->r_state is RT_CONSISTENT.
17128         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17129         returns char*.
17131 2015-01-21  Torvald Riegel  <triegel@redhat.com>
17132             Carlos O'Donell  <carlos@redhat.com>
17134         [BZ #12674]
17135         * nptl/sem_waitcommon.c: New file.
17136         * nptl/sem_wait.c: Include sem_waitcommon.c.
17137         (__sem_wait_cleanup, do_futex_wait): Remove.
17138         (__new_sem_wait): Adapt.
17139         (__new_sem_trywait): New function.
17140         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17141         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17142         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17143         (sem_timedwait): Adapt.
17144         * nptl/sem_post.c (__new_sem_post): Adapt.
17145         (futex_wake): New function.
17146         (__old_sem_post): Add release MO fence.
17147         * nptl/sem_open.c (sem_open): Adapt.
17148         * nptl/sem_init.c (__new_sem_init): Adapt.
17149         (futex_private_if_supported): New function.
17150         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17151         (__old_sem_getvalue): Add using previous code.
17152         * sysdeps/nptl/internaltypes.h: Adapt.
17153         * nptl/tst-sem13.c (do_test): Adapt.
17154         * nptl/tst-sem11.c (main): Adapt.
17155         * nptl/sem_trywait.c: Remove.
17156         * nptl/DESIGN-sem.txt: Remove.
17157         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17158         (gen-as-const-headers): Remove structsem.sym.
17159         * nptl/structsem.sym: Remove.
17160         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17161         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17162         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17163         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17164         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17165         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17166         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17167         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17168         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17169         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17170         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17171         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17172         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17173         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17174         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17175         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17176         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17177         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17178         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17179         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17180         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17181         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17183 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17185         * INSTALL: Regenerated.
17187         * po/libc.pot: Regenerated.
17189 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17190             Sandra Loosemore  <sandra@codesourcery.com>
17191             Andrew Jenner  <andrew@codesourcery.com>
17192             Joseph Myers  <joseph@codesourcery.com>
17193             Nathan Sidwell  <nathan@codesourcery.com>
17195         * NEWS: Mention new Nios II port.
17196         * sysdeps/nios2/Implies: New file.
17197         * sysdeps/nios2/Makefile: New file.
17198         * sysdeps/nios2/Subdirs: New file.
17199         * sysdeps/nios2/Versions: New file.
17200         * sysdeps/nios2/__longjmp.S: New file.
17201         * sysdeps/nios2/abort-instr.h: New file.
17202         * sysdeps/nios2/backtrace.c: New file.
17203         * sysdeps/nios2/bits/endian.h: New file.
17204         * sysdeps/nios2/bits/fenv.h: New file.
17205         * sysdeps/nios2/bits/link.h: New file.
17206         * sysdeps/nios2/bits/setjmp.h: New file.
17207         * sysdeps/nios2/bsd-_setjmp.S: New file.
17208         * sysdeps/nios2/bsd-setjmp.S: New file.
17209         * sysdeps/nios2/configure: New generated file.
17210         * sysdeps/nios2/configure.ac: New file.
17211         * sysdeps/nios2/crti.S: New file.
17212         * sysdeps/nios2/crtn.S: New file.
17213         * sysdeps/nios2/dl-init.c: New file.
17214         * sysdeps/nios2/dl-machine.h: New file.
17215         * sysdeps/nios2/dl-sysdep.h: New file.
17216         * sysdeps/nios2/dl-tls.h: New file.
17217         * sysdeps/nios2/dl-trampoline.S: New file.
17218         * sysdeps/nios2/gccframe.h: New file.
17219         * sysdeps/nios2/gmp-mparam.h: New file.
17220         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17221         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17222         * sysdeps/nios2/ldsodefs.h: New file.
17223         * sysdeps/nios2/libc-tls.c: New file.
17224         * sysdeps/nios2/libm-test-ulps: New file.
17225         * sysdeps/nios2/machine-gmon.h: New file.
17226         * sysdeps/nios2/math-tests.h: New file.
17227         * sysdeps/nios2/math_private.h: New file.
17228         * sysdeps/nios2/memusage.h: New file.
17229         * sysdeps/nios2/nptl/Makefile: New file.
17230         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17231         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17232         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17233         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17234         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17235         * sysdeps/nios2/nptl/tls.h: New file.
17236         * sysdeps/nios2/preconfigure: New file.
17237         * sysdeps/nios2/s_fma.c: New file.
17238         * sysdeps/nios2/s_fmaf.c: New file.
17239         * sysdeps/nios2/setjmp.S: New file.
17240         * sysdeps/nios2/sfp-machine.h: New file.
17241         * sysdeps/nios2/sotruss-lib.c: New file.
17242         * sysdeps/nios2/stackguard-macros.h: New file.
17243         * sysdeps/nios2/stackinfo.h: New file.
17244         * sysdeps/nios2/start.S: New file.
17245         * sysdeps/nios2/sysdep.h: New file.
17246         * sysdeps/nios2/tls-macros.h: New file.
17247         * sysdeps/nios2/tst-audit.h: New file.
17248         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17249         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17250         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17251         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17252         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17253         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17254         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17255         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17256         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17257         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17258         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17259         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17260         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17261         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17262         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17263         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17264         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17265         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17266         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17267         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17268         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17269         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17270         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17271         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17272         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17273         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17274         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17275         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17276         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17277         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17278         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17279         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17280         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17281         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17282         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17283         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17284         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17285         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17286         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17287         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17288         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17289         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17290         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17291         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17293 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17295         [BZ #17844]
17296         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17297         (getutent): Use weak_alias in non SHARED case
17298         and default_symbol_version in SHARED case.
17299         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17300         (getutent_r, pututline): Likewise.
17301         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17302         (getutid): Likewise.
17303         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17304         (getutid_r): Likewise.
17305         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17306         (getutline): Likewise.
17307         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17308         (getutline_r): Likewise.
17309         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17310         (updwtmp): Likewise.
17312 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17314         [BZ #17848]
17315         * sysdeps/s390/s390-32/memcmp.S
17316         (memcmp_g5): Rename to __memcmp_g5.
17317         * sysdeps/s390/s390-32/memcpy.S
17318         (memcpy_g5): Rename to __memcpy_g5.
17319         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17320         (memcpy_mvcle) Rename to __memcpy_mvcle.
17321         * sysdeps/s390/s390-32/memset.S
17322         (memset_g5): Rename to __memset_g5.
17323         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17324         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17325         and use prefixed functions.
17326         * sysdeps/s390/s390-32/multiarch/memcmp.S
17327         (memcmp_z196): Rename to __memcmp_z196.
17328         (memcmp_z10): Rename to __memcmp_z10.
17329         (memcmp): Set alias to __memcmp_g5.
17330         (bcmp): Set alias to __memcmp_g5.
17331         * sysdeps/s390/s390-32/multiarch/memcpy.S
17332         (memcpy_z196): Rename to __memcpy_z196.
17333         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17334         (memcpy_z10): Rename to __memcpy_z10.
17335         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17336         (memcpy): Set alias to __memcpy_g5.
17337         * sysdeps/s390/s390-32/multiarch/memset.S
17338         (memset_z196): Rename to __memset_z196.
17339         Jump to __memset_mvcle instead of memset_mvcle.
17340         (memset_z10): Rename to __memset_z10.
17341         Jump to __memset_mvcle instead of memset_mvcle.
17342         (memset_mvcle) Rename to __memset_mvcle.
17343         (memset): Set alias to __memset_g5.
17344         * sysdeps/s390/s390-64/memcmp.S
17345         (memcmp_z900): Rename to __memcmp_z900.
17346         * sysdeps/s390/s390-64/memcpy.S
17347         (memcpy_z900): Rename to __memcpy_z900.
17348         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17349         (memcpy_mvcle) Rename to __memcpy_mvcle.
17350         * sysdeps/s390/s390-64/memset.S
17351         (memset_z900): Rename to __memset_z900.
17352         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17353         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17354         and use prefixed functions.
17355         * sysdeps/s390/s390-64/multiarch/memcmp.S
17356         (memcmp_z196): Rename to __memcmp_z196.
17357         (memcmp_z10): Rename to __memcmp_z10.
17358         (memcmp): Set alias to __memcmp_z900.
17359         (bcmp): Set alias to __memcmp_z900.
17360         * sysdeps/s390/s390-64/multiarch/memcpy.S
17361         (memcpy_z196): Rename to __memcpy_z196.
17362         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17363         (memcpy_z10): Rename to __memcpy_z10.
17364         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17365         (memcpy): Set alias to __memcpy_z900.
17366         * sysdeps/s390/s390-64/multiarch/memset.S
17367         (memset_z196): Rename to __memset_z196.
17368         Jump to __memset_mvcle instead of memset_mvcle.
17369         (memset_z10): Rename to __memset_z10.
17370         Jump to __memset_mvcle instead of memset_mvcle.
17371         (memset_mvcle) Rename to __memset_mvcle.
17372         (memset): Set alias to __memset_z900.
17374 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17376         [BZ #17748]
17377         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17378         __fesetenv instead of fesetenv.
17380 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17382         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17383         macro.
17385 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17387         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17388         regression on LE.
17390         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17391         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17392         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17393         strncmp-power8 object.
17394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17395         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17396         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17397         * NEWS: Update.
17399 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17400             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17402         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17403         trailing byte check.
17405 2015-01-13  David S. Miller  <davem@davemloft.net>
17407         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17409 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17411         * login/logout.c (logout): Use memset rather than bzero.
17412         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17413         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17414         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17415         (_gethtbyaddr): Likewise.
17416         * locale/programs/simple-hash.c (bcopy): Macro removed.
17418 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17420         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17421         Add strcmp-power8 object.
17422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17423         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17424         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17425         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17426         __strcmp_power8 implementation.
17427         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17428         * NEWS: Update.
17430         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17431         Add strncpy-power8 and stpncpy-power8 objects.
17432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17433         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17434         implementations.
17435         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17436         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17437         __stpncpy_power8 implementation.
17438         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17439         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17440         __strncpy_power8 implementation.
17441         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17442         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17443         * NEWS: Update.
17445         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17446         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17447         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17449         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17450         strncat-power8 object.
17451         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17452         __strcat_power8 implementation.
17453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17454         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17455         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17456         optimized strcat for power8.
17458         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17459         strcpy-power8 and stpcpy-power8 objects.
17460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17461         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17462         implementations.
17463         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17464         multiarch stpcpy implementation for POWER8.
17465         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17466         multiarch strcpy implementation for POWER8.
17467         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17468         __strcpy_power8 function.
17469         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17470         stpcpy for POWER8.
17471         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17472         strcpy for POWER8.
17473         * NEWS: Update.
17475 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17477         [BZ #16009]
17478         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17479         weights and rules. Use do_xfrm_cached if data fits in cache,
17480         do_xfrm otherwise.  Moved former main loop to...
17481         * (do_xfrm_cached): New function.
17482         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17483         find_idx, find_position and stack_push.
17484         * (find_idx): New function.
17485         * (find_position): Likewise.
17486         * localedata/sort-test.sh: Added test run for do_xfrm.
17487         * localedata/xfrm-test.c (main): Added command line option
17488         -nocache to run the test with strings that are too large for
17489         the STRXFRM cache.
17491 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17493         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17494         variable to lll_futex_wake call, not the value itself.
17496 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17498         [BZ #17803]
17499         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17500         twom64.  Adjust value to 0x1p-64L.
17501         (__scalblnl): Only return standard underflowing result for K <=
17502         -64 not K <= -63; adjust exponent for underflowing result by 64
17503         not 63.
17504         * math/libm-test.inc (scalbn_test_data): Add more tests.
17505         (scalbln_test_data): Likewise.
17507         [BZ #17834]
17508         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17509         0x1p63L.
17510         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17511         not HX.
17512         * math/libm-test.inc (scalbn_test_data): Add more tests.
17513         (scalbln_test_data): Likewise.
17515 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17516             Stefani Seibold  <stefani@seibold.net>
17518         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17519         (sysdep_routines): Add dl-vdso here, ...
17520         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17521         (sysdep_routines): ... not here.
17522         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17523         fallback when vDSO is not presented.
17524         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17525         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17526         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17527         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17528         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17529         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17530         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17531         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17532         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17533         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17534         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17535         fallback configurable symbol when vDSO is not available.
17536         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17537         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17538         be able to redefine fallback symbol when vDSO is not available.
17539         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17540         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17542 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17544         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17545         (TLS_INIT_TP): Add tm_capable initialization.
17546         (TLS_DEFINE_INIT_TP): Likewise.
17547         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17548         TCB.
17549         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17550         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17551         calculation.
17552         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17553         transactoion is lock elision is built and TCB tm_capable is set.
17554         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17556         (INTERNAL_SYSCALL_NCS): Likewise.
17557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17558         (INTERNAL_SYSCALL_NCS): Likewise.
17559         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17561         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17562         for powerpc.
17563         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17564         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17565         and remove it for 32 bits case.
17566         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17568         initialization.
17569         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17570         Disable lock elision with rdlocks if elision is not available.
17572         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17573         (sysdep_routines): Add lock elision objects.
17574         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17575         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17576         [pthread_mutex_t] (__elision): Add field.
17577         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17578         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17579         elision definitions for powerpc.
17580         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17581         implementation of lock elision for powerpc.
17582         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17583         implementation of timed lock elision for powerpc.
17584         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17585         implementation of trylock with lock elision for powerpc.
17586         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17587         implementaion of unlock for lock elision for powerpc.
17588         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17589         automatic enable lock elision for mutexes.
17590         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17591         transaction execution definitions for powerpc.
17592         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17593         definitions.
17594         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17595         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17596         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17597         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17598         * NEWS: Update.
17600 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17602         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17603         for #include of <shm-directory.h>.
17605 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17607         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17608         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17610 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17612         [BZ #17791]
17613         * NEWS: Mention bug fix.
17614         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17615         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17616         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17618 2015-01-09  Torvald Riegel <triegel@redhat.com>
17620         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17622 2015-01-09  Torvald Riegel <triegel@redhat.com>
17624         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17626 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17628         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17629         pointer and cast to uintptr_t.
17631 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17633         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17634         removed.
17635         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17637 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17639         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17640         of 0.
17642 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17644         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17645         <nptl/pthreadP.h> instead.
17646         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17648         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17649         already defined.
17650         [__SIGRTMIN] (init): Function removed.
17651         [__SIGRTMIN] (initialized): Variable removed.
17652         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17653         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17654         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17655         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17656         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17657         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17658         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17659         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17660         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17661         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17662         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17663         * sysdeps/nptl/allocrtsig.c: New file.
17664         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17665         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17666         * sysdeps/generic/testrtsig.h: File removed.
17668         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17669         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17671         * nptl/nptl-init.c (pthread_functions): Conditionalize
17672         .ptr__nptl_setxid initialization on [SIGSETXID].
17674         * sysdeps/nptl/sys/procfs.h: New file.
17675         * nptl_db/Makefile (headers): Add it.
17676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17678         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17679         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17680         * nptl/pthread_attr_setaffinity.c: Include it.
17681         * nptl/pthread_setattr_default_np.c: Likewise.
17682         * nptl/check-cpuset.h: New file.
17684 2015-01-08  Richard Henderson  <rth@redhat.com>
17686         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17687         (CFLAGS-tst-execstack-prog.c): Likewise.
17688         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17690 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17691             Sandra Loosemore  <sandra@codesourcery.com>
17692             Andrew Jenner  <andrew@codesourcery.com>
17693             Joseph Myers  <joseph@codesourcery.com>
17694             Nathan Sidwell  <nathan@codesourcery.com>
17696         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17697         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17698         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17699         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17700         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17701         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17702         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17703         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17704         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17705         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17706         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17707         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17708         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17709         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17710         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17711         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17712         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17714 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17716         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17717         timespec struct member in syscall macro.
17718         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17719         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17720         first timeval struct member in syscall macro.
17721         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17723 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17725         [BZ #17748]
17726         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17727         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17728         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17729         __feupdateenv and define as weak alias of __feupdateenv.  Use
17730         libm_hidden_weak.
17731         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17732         libm_hidden_def.
17733         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17734         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
17735         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17736         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17737         libm_hidden_def.
17738         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17739         __feupdateenv and define as weak alias of __feupdateenv.  Use
17740         libm_hidden_weak.
17741         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17742         libm_hidden_def.
17743         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17744         __feupdateenv and define as weak alias of __feupdateenv.  Use
17745         libm_hidden_weak.
17746         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17747         libm_hidden_def.
17748         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17749         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17750         (__feupdateenv): Likewise.
17751         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17752         __feupdateenv and define as weak alias of __feupdateenv.  Use
17753         libm_hidden_weak.
17754         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17755         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17756         libm_hidden_def.
17757         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17758         function.
17759         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17760         libm_hidden_def.
17761         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17762         __feupdateenv instead of feupdateenv.
17763         (default_libc_feupdateenv_test): Likewise.
17764         (libc_feresetround_ctx): Likewise.
17766 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17768         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17769         prototype.
17771 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17773         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17774         COLL_SYM in a couple of places to avoid uninitialized variable
17775         wanings on tilegx gcc 4.8.2.
17777 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17779         * sysdeps/aarch64/strcpy.S: New file.
17780         * sysdeps/aarch64/stpcpy.S: New file.
17781         * NEWS: Updated.
17783 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17785         * sysdeps/aarch64/strrchr.S: New file.
17786         * NEWS: Updated.
17788 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17790         [BZ #17658]
17791         * stdlib/setenv.c: Fix memory leak when setting large,
17792         duplicate string.
17794 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17796         [BZ #17273]
17797         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17798         and tabs from buffer before parsing fstab entry.
17799         * misc/tst-mntent.c (main): Add test for mount entry with
17800         trailing spaces and tabs.
17802 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
17804         [BZ #17748]
17805         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
17806         * math/fesetround.c (fesetround): Rename to __fesetround and
17807         define as weak alias of __fesetround.  Use libm_hidden_weak.
17808         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
17809         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
17810         * sysdeps/arm/fesetround.c (fesetround): Likewise.
17811         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
17812         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
17813         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
17814         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
17815         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
17816         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
17817         __fesetround_inline.
17818         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
17819         __fesetround_inline instead of __fesetround.
17820         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
17821         __fesetround and define as weak alias of __fesetround.  Use
17822         libm_hidden_weak.  Call __fesetround_inline instead of
17823         __fesetround.
17824         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
17825         __fesetround and define as weak alias of __fesetround.  Use
17826         libm_hidden_weak.
17827         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
17828         Likewise.
17829         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
17830         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17831         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
17832         * sysdeps/tile/math_private.h (__fesetround): New inline function.
17833         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
17834         __fesetround and define as weak alias of __fesetround.  Use
17835         libm_hidden_weak.
17836         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
17837         __fesetround instead of fesetround.
17838         (default_libc_feholdexcept_setround): Likewise.
17839         (libc_feholdsetround_ctx): Likewise.
17840         (libc_feholdsetround_noex_ctx): Likewise.
17842         [BZ #17748]
17843         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
17844         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
17845         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17846         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17847         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17848         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
17849         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17850         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17851         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17852         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17853         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17854         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17855         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17856         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17857         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
17858         libm_hidden_def.
17859         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
17860         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
17861         Likewise.
17862         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
17863         define as weak alias of __fesetenv.  Use libm_hidden_weak.
17864         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17865         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
17866         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
17867         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
17868         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
17869         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
17870         __fesetenv instead of fesetenv.
17871         (libc_feresetround_noex_ctx): Likewise.
17872         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17873         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17874         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
17875         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17876         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17877         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17878         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17879         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17880         (__feupdateenv): Likewise.
17881         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17882         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17883         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17884         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
17886 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17888         [BZ #17806]
17889         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
17890         addresses have been freed.
17892 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
17894         * resolv/res_init.c (__res_vinit): Improve comments about nserv
17895         and nservall.
17897 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
17899         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
17900         Clean up check_pf allocation pattern. addresses
17902 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17904         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
17905         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
17906         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17907         * nptl/pthread_exit.c (__pthread_exit): Likewise.
17908         * nptl/pthread_join.c (pthread_join): Likewise.
17909         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17910         * sysdeps/posix/waitid.c (__waitid): Likewise.
17911         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17912         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17913         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17914         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17915         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17916         Likewise.
17917         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17918         (__libc_pread64): Likewise.
17919         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17920         (__libc_pwrite): Likewise.
17921         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17922         (__libc_pwrite64): Likewsie.
17923         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17924         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17925         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17926         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17927         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17928         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17929         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17931         Likewise.
17932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17933         (__libc_pread64): Likewise.
17934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
17935         Likewise.
17936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17937         (__libc_pwrite64): Likewise.
17938         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17939         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17940         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
17941         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
17942         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17943         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17944         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
17945         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17946         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17947         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17948         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
17949         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17950         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17951         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
17952         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17953         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17954         Likewise.
17956 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17958         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
17959         (CFLAGS-test-double.c): Likewise.
17960         (CFLAGS-test-ldouble.c): Likewise.
17961         (CPPFLAGS-test-ifloat.c): Likewise.
17962         (CPPFLAGS-test-idouble.c): Likewise.
17963         (CPPFLAGS-test-ildoubl.c): Likewise.
17964         (CFLAGS-test-test-fenv.c): Remove variable.
17965         (CFLAGS-test-misc.c): Likewise.
17967 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
17969         [BZ #17797]
17970         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
17971         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
17972         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
17973         CLOCKS_PER_SEC == 1000000.
17974         * time/clocktest.c (main): Replace %ld with %jd and cast to
17975         intmax_t.
17977 2015-01-05  Roland McGrath  <roland@hack.frob.com>
17979         * sysdeps/generic/unwind-resume.h: New file.
17980         * sysdeps/gnu/unwind-resume.c: Include it.
17981         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
17982         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17983         argument list.
17984         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
17985         global rather than static.
17986         (_Unwind_Resume): Update user.
17987         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
17988         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
17989         rather than static.  Add __attribute__ ((cold)).
17990         (_Unwind_Resume, __gcc_personality_v0): Update callers.
17991         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17992         * sysdeps/arm/arm-unwind-resume.S: New file.
17993         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
17994         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
17995         * sysdeps/arm/Makefile [$(subdir) = csu]
17996         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
17997         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17998         Add rt-arm-unwind-resume.
17999         [$(subdir) = nptl]
18000         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18001         Add pt-arm-unwind-resume.
18002         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18003         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18005 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18007         [BZ #17748]
18008         * include/fenv.h (__feholdexcept): Declare.  Use
18009         libm_hidden_proto.
18010         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18011         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
18012         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18013         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18014         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18015         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18016         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18017         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18018         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18019         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18020         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18021         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18022         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18023         (feholdexcept): Likewise.
18024         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18025         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18026         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18027         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18028         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18029         __feholdexcept instead of feholdexcept.
18030         (default_libc_feholdexcept_setround): Likewise.
18032 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18034         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18035         to avoid using stl/str to align destination.
18037 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18039         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18041 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18043         [BZ #17796]
18044         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18045         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18046         Define as weak alias not strong alias.
18048 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18050         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18051         bltzal with addiupc.
18052         (RTLD_START): Ditto.
18054 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
18056         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18057         for __vdso_* functions in declarations.
18058         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18059         definitions.
18060         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18061         INTERNAL_VSYSCALL): Use struct return types to check for error.
18063         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18064         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18065         function with cast from llround().
18066         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18067         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18068         Define.
18070 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18072         [BZ #17793]
18073         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18074         Define as weak alias not strong alias.
18076         [BZ #17635]
18077         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18078         ...
18079         * ctype/ctype-extn.c: ... here.
18080         (__isblank_l): Move to ...
18081         * ctype/ctype-c99_l.c: ... here.  New file.
18082         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18083         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18084         Remove variable.
18085         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18086         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18087         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18088         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18089         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18091         [BZ #17777]
18092         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18093         (posix_fadvise64): Define as weak alias not strong alias.
18094         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18095         (posix_fallocate64): Likewise.
18096         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18097         Remove variable.
18098         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18099         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18100         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18101         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18102         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18104 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
18106         [BZ #16191]
18107         * NEWS: Mention bug fix.
18108         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18109         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18110         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18111         (HOST_STACK_END_ADDR): Likewise.
18113 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18115         [BZ #17748]
18116         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
18117         * math/fegetround.c (fegetround): Rename to __fegetround and
18118         define as weak alias of __fegetround.  Use libm_hidden_weak.
18119         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18120         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18121         * sysdeps/arm/fegetround.c (fegetround): Likewise.
18122         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18123         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18124         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18125         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18126         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18127         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18128         Undefine after rather than before function definition; use
18129         parentheses around function name in definition.
18130         (__fegetround): Also undefine macro after function definition.
18131         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18132         __fegetround and define as weak alias of __fegetround.  Use
18133         libm_hidden_weak.  Do not undefine as macro.
18134         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18135         Likewise.
18136         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18137         __fegetround and define as weak alias of __fegetround.  Use
18138         libm_hidden_weak.
18139         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18140         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18141         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18142         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18143         __fegetround and define as weak alias of __fegetround.  Use
18144         libm_hidden_weak.
18145         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18146         __fegetround instead of fegetround.
18148         [BZ #17782]
18149         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18150         Condition macro definition on [__USE_MISC].
18152         [BZ #17781]
18153         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18154         (struct sigaction): Change type of sa_flags field to int.
18156         [BZ #17780]
18157         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18158         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18159         __glibc_reserved0.
18161         * nptl/version.c (banner): Use single year in copyright notice.
18163         * NEWS: Update copyright dates.
18164         * catgets/gencat.c (print_version): Likewise.
18165         * csu/version.c (banner): Likewise.
18166         * debug/catchsegv.sh: Likewise.
18167         * debug/pcprofiledump.c (print_version): Likewise.
18168         * debug/xtrace.sh (do_version): Likewise.
18169         * elf/ldconfig.c (print_version): Likewise.
18170         * elf/ldd.bash.in: Likewise.
18171         * elf/pldd.c (print_version): Likewise.
18172         * elf/sotruss.sh: Likewise.
18173         * elf/sprof.c (print_version): Likewise.
18174         * iconv/iconv_prog.c (print_version): Likewise.
18175         * iconv/iconvconfig.c (print_version): Likewise.
18176         * locale/programs/locale.c (print_version): Likewise.
18177         * locale/programs/localedef.c (print_version): Likewise.
18178         * login/programs/pt_chown.c (print_version): Likewise.
18179         * malloc/memusage.sh (do_version): Likewise.
18180         * malloc/memusagestat.c (print_version): Likewise.
18181         * malloc/mtrace.pl: Likewise.
18182         * manual/libc.texinfo: Likewise.
18183         * nptl/version.c (banner): Likewise.
18184         * nscd/nscd.c (print_version): Likewise.
18185         * nss/getent.c (print_version): Likewise.
18186         * nss/makedb.c (print_version): Likewise.
18187         * posix/getconf.c (main): Likewise.
18188         * scripts/test-installation.pl: Likewise.
18189         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18191 2015-01-02  Will Newton  <will.newton@linaro.org>
18193         * sysdeps/arm/armv7/configure: Removed.
18194         * sysdeps/arm/armv7/configure.ac: Likewise.
18196 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18198         * All files with FSF copyright notices: Update copyright dates
18199         using scripts/update-copyrights.
18200         * intl/plural.c: Regenerated.
18201         * locale/programs/charmap-kw.h: Likewise.
18202         * locale/programs/locfile-kw.h: Likewise.
18204 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18206         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18208 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18210         [BZ #17748]
18211         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18212         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18213         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18214         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18215         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18216         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18217         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18218         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18219         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18220         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18221         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18222         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18223         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18224         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18225         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18226         libm_hidden_def.
18227         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18228         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18229         Likewise.
18230         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18231         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18232         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18233         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18234         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18235         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18236         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18237         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18238         __fegetenv instead of fegetenv.
18239         (libc_feholdsetround_noex_ctx): Likewise.
18241 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18243         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18244         (Elf_MIPS_ABIFlags_v0): New structure.
18245         (EF_MIPS_FP64): Define.
18246         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18247         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18248         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18249         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18250         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18251         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18252         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18253         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18254         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18255         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18256         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18257         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18258         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18259         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18260         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18261         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18262         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18263         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18264         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18265         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18266         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18267         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18268         field.
18269         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18270         EF_MIPS_FP64.
18271         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18272         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18273         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18274         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18275         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18276         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18277         * sysdeps/mips/tst-abi-interlink.c: Likewise.
18278         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18279         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18280         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18281         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18282         record the current FP ABI extension.
18283         (mips-mode-switch): Define to show if kernel headers support mode
18284         switching.
18285         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18286         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18287         supported SYSV ABI version to 3.
18288         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18289         feature.
18291 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18292             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18294         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18295         path.
18296         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18298 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18300         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18301         __fegetround and redefine to call __fegetround.  Remove condition
18302         on [!__NO_MATH_INLINES].
18303         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18304         function.
18305         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18306         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18307         Remove macro.
18308         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18309         instead of <fenv_libc.h>.
18310         (__llrintl): Call fegetround instead of __fegetround.
18311         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18312         instead of <fenv_libc.h>.
18313         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18314         (__lrintl): Call fegetround instead of __fegetround.
18315         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18316         instead of <fenv_libc.h>.
18317         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18318         (__rintl): Call fegetround instead of __fegetround.
18320 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18322         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18323         arrays.
18325 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18327         [BZ #17775]
18328         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18329         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18330         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18332 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18334         * sysdeps/i386/tls-macros.h: Include <features.h>.
18335         (TLS_LE): Use non-PIC version for GCC >= 5.0.
18336         (TLS_IE): Likewise.
18337         (TLS_LD): Likewise.
18338         (TLS_GD): Likewise.
18339         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18340         define for GCC >= 5.0.
18342 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18344         * math/test-fenv.c (test_single_exception, set_single_exc,
18345         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18346         feexcp_mask_test, feenable_test, fe_single_test): Add
18347         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18348         case where they are not used.
18349         * math/libm-test.inc: Likewise.
18350         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18351         unused in the absence of FP rounding/exception support.
18352         * stdio-common/tst-printf-round.c: Likewise.
18353         * stdlib/tst-strtod-round.c: Likewise.
18354         * stdlib/tst-strtod-underflow.c: Likewise.
18356 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18358         [BZ #17723]
18359         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18360         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18361         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18362         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18363         libm_hidden_weak.
18364         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18365         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18366         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18367         libm_hidden_def.
18368         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18369         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18370         libm_hidden_weak.
18371         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18372         Likewise.
18373         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18374         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18375         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18376         libm_hidden_weak.
18377         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18378         libm_hidden_def.
18379         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18380         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18381         (__feraiseexcept): Likewise.
18382         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18383         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18384         libm_hidden_weak.
18385         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18386         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18387         libm_hidden_def.
18388         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18389         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18390         Use libm_hidden_def.
18391         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18392         libm_hidden_def.
18393         (feraiseexcept): Define as weak not strong alias.  Use
18394         libm_hidden_weak.
18395         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18396         New inline function.  Factored out of ...
18397         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18398         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18399         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18400         feraiseexcept.
18401         * math/w_acos.c (__acos): Likewise.
18402         * math/w_asin.c (__asin): Likewise.
18403         * math/w_ilogb.c (__ilogb): Likewise.
18404         * math/w_j0.c (y0): Likewise.
18405         * math/w_j1.c (y1): Likewise.
18406         * math/w_jn.c (yn): Likewise.
18407         * math/w_log.c (__log): Likewise.
18408         * math/w_log10.c (__log10): Likewise.
18409         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18410         * sysdeps/aarch64/fpu/math_private.h
18411         (libc_feupdateenv_test_aarch64): Likewise.
18412         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18413         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18414         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18415         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18416         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18417         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18418         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18419         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18420         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18421         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18423 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18425         [BZ #17732]
18426         * io/test-utime.c (main): Replace %ld with %jd and cast to
18427         intmax_t.
18428         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18429         * nptl/tst-mutex5.c: Include <stdint.h>.
18430         (do_test): Replace %ld with %jd and cast to intmax_t.
18431         * posix/tst-regex.c (run_test): Likewise.
18432         (run_test_backwards): Likewise.
18433         * rt/tst-clock.c: Include <stdint.h>.
18434         (clock_test): Replace %ld with %jd and cast to intmax_t.
18435         * rt/tst-cpuclock1.c: Include <stdint.h>.
18436         (do_test): Replace %lu with %ju and cast to uintmax_t.
18437         * rt/tst-cpuclock2.c: Include <stdint.h>.
18438         (do_test): Replace %lu with %ju and cast to uintmax_t.
18439         * rt/tst-mqueue1.c: Include <stdint.h>.
18440         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18441         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18442         intmax_t.
18443         * rt/tst-mqueue4.c (do_test): Likewise.
18444         * rt/tst-timer4.c: Include <stdint.h>.
18445         (check_ts): Replace %ld with %jd and cast to intmax_t.
18446         (do_test): Likewise.
18447         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18448         and cast to intmax_t.
18449         * sysdeps/pthread/tst-timer.c (main): Likewise.
18450         * time/clocktest.c (main): Likewise.
18451         * time/tst-posixtz.c (do_test): Likewise.
18452         * timezone/tst-timezone.c (main): Likewise.
18454 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18455             H.J. Lu  <hongjiu.lu@intel.com>
18457         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18458         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18459         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18460         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18461         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18462         version if bit_Fast_Unaligned_Load is set.
18463         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18464         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18465         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18466         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18467         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18468         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18469         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18470         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18471         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18472         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18473         to 4.
18474         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18475         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18476         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18477         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18479 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18481         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18482         instead of #if to avoid a Wundef warning.
18483         * stdlib/tst-limits.c (do_test): Likewise.
18485         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18486         parallel other exception macros.
18487         (fegetenv): Convert from macro to extern inline so that it applies
18488         retroactively to inline functions already seen by the compiler.
18489         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18491         * posix/Makefile (before-compile): Use $(objpfx) for
18492         posix-conf-vars-def.h.
18494 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18496         * posix/getconf.c (main): Use size_t for type of I.
18497         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18498         NSPEC.
18500         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18501         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18502         * posix/posix-envs.def: Likewise.
18503         * sysdeps/posix/sysconf.c: Likewise.
18504         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18505         (specs): Remove array.
18506         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18507         array.
18509         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18510         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18511         (__sysconf): Use CONF_IS_* macros.
18513         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18514         ($(objpfx)posix-conf-vars-def.h): New target.
18515         * posix/posix-conf-vars.list: New file.
18516         * posix/posix-conf-vars.h: New file.
18517         * posix/confstr.c: Include posix-conf-vars.h.
18518         (confstr): Use CONF_IS_* macros.
18519         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18520         CONF_IS_* macros.
18521         * scripts/gen-posix-conf-vars.awk: New file.
18523 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18525         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18526         fegetround): Add no-op macros to avoid linknamespace issues.
18528         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18529         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18531         * sysdeps/unix/sysv/linux/tile/sysdep.h
18532         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18533         assembly-specific section to avoid a redefinition warning.
18535         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18536         long before casting to pointer to avoid a cast warning.
18538 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18540         * sysdeps/tile/tilegx/Implies: New file.
18542 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18544         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18546 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18548         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18550 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18552         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18553         not define.
18554         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18555         <kernel-features.h>.
18556         (__utimes) [__NR_utimes]: Make code unconditional.
18557         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18558         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18559         (__ASSUME_UTIMES): Do not undefine.
18560         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18561         (__ASSUME_UTIMES): Likewise.
18562         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18563         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18564         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18565         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18567 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18569         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18571 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18573         [BZ #17747]
18574         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18575         alias to weak alias for j0l, y0l.
18576         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18577         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18579         [BZ #17746]
18580         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18581         conversion.
18583 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18585         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18586         to zero if not already defined.
18588 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18590         [BZ #17724]
18591         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18592         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18593         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18594         (char *) casts added.
18595         * sysdeps/ieee754/k_standardf.c: New file.
18596         * sysdeps/ieee754/k_standardl.c: Likewise.
18597         * math/Makefile (libm-support): Remove k_standard.
18598         (libm-calls): Add k_standard.
18600 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18602         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18603         Optimize to avoid an unnecessary FPCR read.
18605 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18607         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18608         Optimize to reduce FPCR/FPSR accesses.
18610 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18612         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18613         Call libc_fetestexcept_aarch64.
18615 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18617         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18618         Call libc_fesetround_aarch64.
18620 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18622         [BZ #17733]
18623         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18624         (__bind): Do not define as weak alias.
18625         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18626         define.
18627         (__getsockname): Do not define as weak alias.
18629 2014-12-22  Will Newton  <will.newton@linaro.org>
18631         * manual/install.texi: Document that we require bison 2.7
18632         or above.
18633         * INSTALL: Regenerate.
18634         * configure.ac: Use AC_CHECK_PROG_VER instead of
18635         AC_PATH_PROG when checking for bison and check for
18636         version 2.7 or above.
18637         * configure: Regenerate.
18639 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18641         [BZ #17745]
18642         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18643         * sysdeps/tile/ffsll.c (ffsll): To here.
18645         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18647 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18649         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18650         if not defined.
18651         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18652         definition.
18653         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18654         hidden ___tls_get_addr.
18655         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18656         hidden __tls_get_addr.
18657         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18658         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18659         Likewise.
18661 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18663         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18664         _dl_init call.
18666 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18668         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18669         from "call _dl_init@PLT".
18670         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18672 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18674         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18675         guarantees.
18677 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18679         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18681 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18683         [BZ #17744]
18684         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18685         strnlen.
18687 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18689         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18690         of multu on MIPSr6.
18691         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18692         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18693         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18694         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18695         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18697 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18699         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18700         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18701         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18702         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18703         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18704         mips32r6/mips64r6.
18705         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18707 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18709         * string/strncat.c (STRNCAT): Simplify implementation.
18711 2014-12-19  David S. Miller  <davem@davemloft.net>
18713         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18714         access the quad as both a long double and as a series of 4 words.
18716         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18717         link_map->l_info array access.
18719 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18721         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18723         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18724         * math/atest-exp2.c (TIMEOUT): Likewise.
18725         * math/atest-sincos.c (TIMEOUT): Likewise.
18727 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18729         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18730         -Wno-error with -fno-builtin-lround.
18732 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18734         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18735         Contains futex constants and functions moved over from ...
18736         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
18737         <lowlevellock-futex.h>.
18738         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18739         (lll_timedwait_tid): Add comments and parentheses around macro
18740         arguments.
18742 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18744         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18745         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
18746         (__lll_private_flag): Remove.
18747         (lll_futex_wait): Likewise.
18748         (lll_futex_timed_wait): Likewise.
18749         (lll_futex_wake): Likewise.
18750         (lll_futex_requeue): Likewise.
18751         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18752         (__lll_timedwait_tid): Spell out argument names.
18753         (lll_timedwait_tid): Add comments and parentheses around macro
18754         arguments.
18755         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18756         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18758 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18760         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18761         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18762         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18763         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18764         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18765         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18766         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18767         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18768         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18769         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18770         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18771         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18772         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18773         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18774         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18775         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18776         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18777         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18778         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18780 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18782         * sysdeps/x86_64/x32/Makefile: New file.
18784 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18786         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18787         1L with (mp_limb_t) 1.
18789 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18791         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18792         * nptl/libc_pthread_init.c: ... here.
18793         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18794         * nptl/register-atfork.c: ... here.
18796         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18797         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18798         Use assert_perror to check its return value.
18799         (__gai_create_helper_thread): Likewise.
18801         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
18803         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
18805 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
18807         [BZ #17725]
18808         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
18809         __profil_counter.
18810         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18811         Likewise.
18812         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
18813         Likewise.
18814         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
18815         Likewise.
18816         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
18817         (profil_counter): Likewise.
18818         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
18819         (profil_counter): Likewise.
18820         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
18821         Likewise.
18822         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
18823         Likewise.
18824         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
18825         (profil_counter): Likewise.
18826         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
18827         Likewise.
18828         [!__profil_counter] (profil_counter): Define as weak alias of
18829         __profil_counter.
18830         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
18831         (profil_counter): Rename to __profil_counter.
18832         [!__profil_counter] (profil_counter): Define as weak alias of
18833         __profil_counter.
18834         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
18835         (profil_counter): Rename to __profil_counter.
18836         [!__profil_counter] (profil_counter): Define as weak alias of
18837         __profil_counter.
18838         * sysdeps/posix/profil.c: Update comment referring to
18839         profil_counter.
18840         (__profil): Use __profil_counter instead of profil_counter.
18841         * sysdeps/posix/sprofil.c (profil_counter): Rename to
18842         __profil_counter.  Use __profil_counter_ushort and
18843         __profil_counter_uint in definitions.
18844         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
18845         instead of profil_counter_uint and profil_counter_ushort.
18847         [BZ #17722]
18848         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
18849         define as weak alias of __inet_makeaddr.
18850         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
18851         as weak alias of __inet_addr.
18852         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
18853         as weak alias of __inet_pton.  Use libc_hidden_weak.
18854         * include/arpa/inet.h (__inet_pton): Declare.  Use
18855         libc_hidden_proto.
18856         (inet_makeaddr): Don't use libc_hidden_proto.
18857         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
18858         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
18859         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
18860         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
18861         Remove variable.
18862         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18863         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18865 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
18867         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
18869 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18871         * stdio-common/bug-vfprintf-nargs.c (do_test):
18872         Cast value to intptr_t to avoid format warning
18873         for usage with PRIdPTR printing macro.
18875 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18877         * libio/tst-widetext.c (do_test):
18878         Use format type %td instead of %Zd for ptrdiff_t
18879         in order to avoid format warning.
18881 2014-12-17  Andreas Schwab  <schwab@suse.de>
18883         * nscd/mem.c (gc): Add size_t cast to match printf format.
18885 2014-12-16  Roland McGrath  <roland@hack.frob.com>
18887         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
18888         (init): Apply PTR_MANGLE to pointers before storing them.
18889         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
18890         before using them.
18892 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
18894         [BZ #17719]
18895         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
18896         define as weak alias of __memrchr.
18897         (__memrchr): Do not define as strong alias of memrchr.
18898         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
18899         Remove variable.
18900         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18901         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18902         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18904         [BZ #17717]
18905         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
18906         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
18907         (if_indextoname): Rename to __if_indextoname and define as weak
18908         alias of __if_indextoname.  Use libc_hidden_weak.
18909         (if_freenameindex): Rename to __if_freenameindex and define as
18910         weak alias of __if_freenameindex.
18911         (if_nameindex): Rename to __if_nameindex and define as weak alias
18912         of __if_nameindex.
18913         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
18914         __if_nametoindex and define as weak alias of __if_nametoindex.
18915         Use libc_hidden_weak.
18916         (if_freenameindex): Rename to __if_freenameindex and define as
18917         weak alias of __if_freenameindex.
18918         (if_nameindex): Rename to __if_nameindex and define as weak alias
18919         of __if_nameindex.
18920         (if_indextoname): Rename to __if_indextoname and define as weak
18921         alias of __if_indextoname.  Use libc_hidden_weak.
18922         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
18923         __if_nametoindex and define as weak alias of __if_nametoindex.
18924         Use libc_hidden_weak.
18925         (if_freenameindex): Rename to __if_freenameindex and define as
18926         weak alias of __if_freenameindex.  Use libc_hidden_weak.
18927         (if_nameindex_netlink): Use __if_freenameindex instead of
18928         if_freenameindex.
18929         (if_nameindex): Rename to __if_nameindex and define as weak alias
18930         of __if_nameindex.  Use libc_hidden_weak.
18931         (if_indextoname): Rename to __if_indextoname and define as weak
18932         alias of __if_indextoname.  Use libc_hidden_weak.
18933         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
18934         libc_hidden_proto.
18935         [!_ISOMAC] (__if_freenameindex): Likewise.
18936         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
18937         if_nametoindex.
18938         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
18939         variable.
18940         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18941         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18942         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18943         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18944         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18945         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18946         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18948         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
18949         Remove variable.
18950         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18951         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18953 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18955         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
18956         subscript above bounds'
18958         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
18959         bounds.
18961 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
18963         * libio/tst-fopenloc.c: Use test-skeleton.c.
18965         * stdlib/tst-bsearch.c: Use test-skeleton.c.
18966         (entry): Rename to ITEM.
18967         (do_test, comp): Adjust.
18969         * stdio-common/tst-fseek.c: Use test-skeleton.c.
18971 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18973         * string/tester.c: Include <libc-internal.h>.
18974         (test_memset): Ignore -Wmemset-transposed-args.
18976 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18978         * misc/tst-mntent2.c (do_test): Fix warning.
18980 2014-12-16  Torvald Riegel  <triegel@redhat.com>
18982         * elf/tst-unique4lib.cc(a): Mark as used.
18984 2014-12-16  Florian Weimer  <fweimer@redhat.com>
18986         [BZ #17630]
18987         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
18988         names.
18990 2014-12-16  Allan McRae  <allan@archlinux.org>
18992         * stdio-common/Makefile (tests): Re-add bug26.
18994 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
18996         [BZ #17657]
18997         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
18998         static array.
19000 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19002         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19003         (__lll_lock_wait): Likewise.
19004         (__lll_timedlock_wait): Likewise.
19005         (__lll_timedwait_tid): Likewise.
19006         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19007         (__lll_robust_timedlock_wait): Likewise.
19008         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19009         (lll_cond_trylock): Likewise.
19010         (__lll_lock): Likewise.
19011         (__lll_robust_lock): Likewise.
19012         (__lll_cond_lock): Likewise.
19013         (lll_robust_cond_lock): Likewise.
19014         (__lll_timedlock): Likewise.
19015         (__lll_robust_timedlock): Likewise.
19016         (__lll_unlock): Likewise.
19017         (__lll_robust_unlock): Likewise.
19018         (lll_wait_tid): Likewise.
19019         (lll_timedwait_tid): Likewise.
19021 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19023         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19025 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19027         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19029 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19031         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19032         * stdio-common/tst-sprintf.c: Likewise.
19034 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19036         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19038 2014-12-15  Jeff Law  <law@redhat.com>
19040         [BZ #16617]
19041         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19042         on the heap.  (CVE-2012-3406)
19043         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19044         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
19045         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19047 2014-12-15  Will Newton  <will.newton@linaro.org>
19049         * manual/install.texi: Bump required version of texinfo
19050         to 4.7 from 4.5.
19051         * INSTALL: Regenerated.
19052         * configure.ac: Check for makeinfo version 4.7 and above.
19053         * configure: Regenerated.
19055 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19057         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19058         PREFIX, string constant to insert between directory and name.
19059         * sysdeps/posix/shm_open.c: Update caller.
19060         * sysdeps/posix/shm_unlink.c: Likewise.
19061         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19062         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19063         (SEM_SHM_PREFIX): New macro.
19064         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19065         [$(have-thread-library) = no].
19066         * nptl/Makefile (libpthread-routines): Add shm-directory.
19067         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19068         * sysdeps/nptl/shm-directory.h: New file.
19069         * sysdeps/posix/shm-directory.c
19070         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19071         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19072         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19073         INTERNAL_SYSCALL.
19074         (__where_is_shmfs): Function removed.
19075         (mountpoint, defaultmount, defaultdir, __namedsem_once):
19076         Variables removed.
19077         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19078         Use SHM_GET_NAME.
19079         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
19081         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19082         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19083         unconditional for use inside libpthread.
19084         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19086 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19088         * nptl/pthread_getaffinity.c: New file.
19089         * nptl/pthread_setaffinity.c: New file.
19090         * nptl/pthread_getname.c: New file.
19091         * nptl/pthread_setname.c: New file.
19093         * nptl/pthread_create.c (START_THREAD_DEFN)
19094         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19096 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19097             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19099         * resolv/res_send.c (send_vc): Disable warning resplen may
19100         be used uninitialized.
19102 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19104         * nptl/tst-mutex6.c
19105         (ATTR_NULL): New define checks ATTR against NULL.
19106         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19107         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19109 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
19111         [BZ #17581]
19112         * malloc/hooks.c
19113         (mem2mem_check): Revert my previous change.
19114         (malloc_check_get_size): Revert my previous change.
19115         (mem2chunk_check): Revert my previous change.
19117 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19119         * sysdeps/posix/shm-directory.c: New file.
19120         * sysdeps/posix/shm-directory.h: New file.
19121         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19122         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19123         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
19124         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19125         Transmute EPERM to EACCES.
19126         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19127         from ...
19128         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
19129         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19131 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19133         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19134         pointer and cast to uintptr_t.
19135         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19136         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19137         Add cast to avoid warning.
19138         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19140 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19142         * nptl/semaphore.h: Move to ...
19143         * sysdeps/pthread/semaphore.h: ... here.
19144         * Makefile (installed-headers): Change nptl/semaphore.h to
19145         sysdeps/pthread/semaphore.h.
19147 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19149         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19150         generated error format strings.
19152         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19153         -Wformat-extra-args warnings for scanf formats.
19154         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19155         test of zero-length format (duh).
19156         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19157         corner-case scanf format test.
19158         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19159         generated fprintf format string.
19160         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19161         corner-case sprintf format tests.
19162         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19163         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19164         -Wformat-extra-args warnings throughout.
19165         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19166         (CFLAGS-scanf4.c): Likewise.
19167         (CFLAGS-scanf7.c): Likewise.
19168         (CFLAGS-tst-sprintf.c): Likewise.
19169         (CFLAGS-tst-printf.c): Likewise.
19170         (CFLAGS-tst-printfsz.c): Likewise.
19172 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19174         * include/cpio.h: New file.
19175         * include/fmtmsg.h: Likewise.
19177         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19178         corresponding format argument to size_t.
19179         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19180         arguments.
19181         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19182         corresponding format argument to size_t.
19183         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19184         arguments.
19185         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19186         corresponding format argument to size_t.
19187         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19188         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19189         (CFLAGS-tst-mbswcs2.c): Likewise.
19190         (CFLAGS-tst-mbswcs3.c): Likewise.
19191         (CFLAGS-tst-mbswcs4.c): Likewise.
19192         (CFLAGS-tst-mbswcs5.c): Likewise.
19193         (CFLAGS-tst-trans.c): Likewise.
19195 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19197         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19198         rather than assuming they won't contain any '%'s.
19200 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19202         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19203         inhibit_loop_to_libcall to avoid recursive calls.
19204         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19205         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19207 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19209         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19210         prototype.
19212 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19214         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19215         integer value instead of boolean.
19217 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19219         * malloc/malloc.c: Fix powerof2 check.
19221 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19223         * locale/programs/locfile.h (maybe_swap_uint32):
19224         Remove inline and add unused attribute.
19226 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19228         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19229         Truncating assembler expression to a .long expression.
19231 2014-12-11  Andreas Schwab  <schwab@suse.de>
19233         * elf/rtld.c (struct map_args): Constify str member.
19234         (do_preload): Constify fname argument.
19236 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19238         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19239         constants definition.
19241 2014-12-11  Andreas Schwab  <schwab@suse.de>
19243         [BZ #16657]
19244         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19245         FORCE_ELISION instead of DO_ELISION.
19246         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19247         Remove.
19248         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19249         Likewise.
19251         * iconvdata/gconv-modules: Remove duplicate entry.
19253 2014-12-11  Will Newton  <will.newton@linaro.org>
19255         Merge gettext 0.19.3 into intl/.
19257         This involves a number of cosmetic changes to comments
19258         and ANSI function definitions and prototypes throughout
19259         all the files. The gettext copyright header is used but
19260         with the date ranges taken from the glibc copy.
19262         * NEWS: Add gettext merge to 2.21.
19263         * intl/bindtextdom.c: Switch to gettext copyright.
19264         Use ANSI definitions and prototypes.
19265         Use gl_* locking primitives rather than __libc_* ones.
19266         Use __builtin_expect rather than __glibc_likely/unlikely.
19267         * intl/dcgettext.c: Switch to gettext copyright.
19268         Use ANSI definitions and prototypes.
19269         * intl/dcigettext.c: Switch to gettext copyright.
19270         Use ANSI definitions and prototypes.
19271         (INTDIV0_RAISES_SIGFPE): New define.
19272         Use gl_* locking primitives rather than __libc_* ones.
19273         Include eval-plural.h instead of plural-eval.c.
19274         Use __builtin_expect rather than __glibc_likely/unlikely.
19275         * intl/dcngettext.c: Switch to gettext copyright.
19276         Use ANSI definitions and prototypes.
19277         * intl/dgettext.c: Likewise.
19278         * intl/dngettext.c: Likewise.
19279         * intl/plural-eval.c: Renamed to...
19280         * intl/eval-plural.h: ...this.
19281         * intl/explodename.c: Switch to gettext copyright.
19282         Use ANSI definitions and prototypes.
19283         (_nl_explode_name): Use strchr instead of __rawmemchr.
19284         * intl/finddomain.c: Switch to gettext copyright.
19285         Use ANSI definitions and prototypes.
19286         Use gl_* locking primitives rather than __libc_* ones.
19287         (_nl_find_domain): Use malloc rather than alloca for
19288         allocation of temporary locale name.
19289         * intl/gettext.c: Switch to gettext copyright.
19290         Use ANSI definitions and prototypes.
19291         * intl/gettextP.h: Switch to gettext copyright.
19292         Use ANSI definitions and prototypes.
19293         Use gl_* locking primitives rather than __libc_* ones.
19294         * intl/gmo.h: Switch to gettext copyright.
19295         (struct sysdep_string): Move struct segment_pair outside of
19296         struct definition.
19297         * intl/hash-string.c: Use ANSI definitions and prototypes.
19298         * intl/hash-string.h: Switch to gettext copyright.
19299         Use ANSI definitions and prototypes.
19300         * intl/l10nflist.c: Switch to gettext copyright.
19301         Use ANSI definitions and prototypes.
19302         (_nl_normalize_codeset): Avoid integer overflow.
19303         * intl/loadinfo.h: Switch to gettext copyright.
19304         Use ANSI definitions and prototypes.
19305         (LIBINTL_DLL_EXPORTED): New define.
19306         (PATH_SEPARATOR): New define.
19307         * intl/loadmsgcat.c: Switch to gettext copyright.
19308         * intl/localealias.c: Switch to gettext copyright.
19309         Use ANSI definitions and prototypes.
19310         (_nl_expand_alias): Use PATH_SEPARATOR.
19311         * intl/ngettext.c: Switch to gettext copyright.
19312         Use ANSI definitions and prototypes.
19313         * intl/plural-exp.c: Likewise.
19314         * intl/plural-exp.h: Switch to gettext copyright.
19315         Use ANSI definitions and prototypes.
19316         (struct expression): Move definition of enum operator outside
19317         of struct definition.
19318         * intl/plural.c: Regenerate.
19319         * intl/plural.y: Switch to gettext copyright.
19320         Use ANSI definitions and prototypes.
19321         Port to bison 3.0.
19322         * intl/textdomain.c: Switch to gettext copyright.
19323         Use ANSI definitions and prototypes.
19324         Use gl_* locking primitives rather than __libc_* ones.
19326 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
19328         * debug/warning-nop.c: Add used atrribute.
19330 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19332         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19334         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19335         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19336         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19338 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19339             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19341         [BZ #17634]
19342         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19343         Undefine after defining function.  Define as weak alias of
19344         __wcschr.  Use libc_hidden_weak.
19345         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19346         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19347         (libc_hidden_def): Also define __GI___wcschr alias.
19348         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19349         __wcschr and define as weak alias of __wcschr.
19350         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19351         __wcschr.
19352         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19353         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19354         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19355         libc_hidden_weak.  Do not use libc_hidden_def.
19356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19357         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19358         __GI___wcschr alias.
19359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19360         [IS_IN (libc)] (wcschr): Define as macro expanding to
19361         __redirect_wcschr.
19362         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19363         [IS_IN (libc)] (__wcschr_power6): Likewise.
19364         [IS_IN (libc)] (__wcschr_power7): Likewise.
19365         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19366         instead of wcschr.
19367         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19368         __libc_wcschr.
19369         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19370         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19371         __wcschr and define as weak alias of __wcschr.  Use
19372         libc_hidden_builtin_def.
19373         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19374         as weak alias of __wcschr.  Use libc_hidden_weak.
19375         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19376         wcschr.
19377         * time/era.c (_nl_init_era_entries): Likewise.
19378         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19379         variable.
19380         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19381         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19383 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19385         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19386         format for long int variable.
19388 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19390         [BZ #10672]
19391         * manual/search.texi: (Array Sort Function): Remove claim how to make
19392         qsort stable.
19394 2014-12-10  Andreas Schwab  <schwab@suse.de>
19396         [BZ #12847]
19397         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19398         user-controlled locks.
19400 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19402         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19403         register.
19405 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19407         * configure.ac (--disable-werror): New configure option.
19408         (enable_werror): New AC_SUBST.
19409         * configure: Regenerated.
19410         * config.make.in (enable-werror): New variable.
19411         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19412         -Wno-error=undef.
19413         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19414         * manual/install.texi (Configuring and compiling): Document
19415         --disable-werror.
19416         * INSTALL: Regenerated.
19417         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19418         (CFLAGS-tst-chk2.c): Likewise.
19419         (CFLAGS-tst-chk3.c): Likewise.
19420         (CFLAGS-tst-chk4.cc): Likewise.
19421         (CFLAGS-tst-chk5.cc): Likewise.
19422         (CFLAGS-tst-chk6.cc): Likewise.
19423         (CFLAGS-tst-lfschk1.c): Likewise.
19424         (CFLAGS-tst-lfschk2.c): Likewise.
19425         (CFLAGS-tst-lfschk3.c): Likewise.
19426         (CFLAGS-tst-lfschk4.cc): Likewise.
19427         (CFLAGS-tst-lfschk5.cc): Likewise.
19428         (CFLAGS-tst-lfschk6.cc): Likewise.
19430         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19431         (main): Disable -Wdeprecated-declarations around calls to
19432         register_printf_function.
19434         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19435         (do_test): Disable -Wdiv-by-zero around some calls to
19436         fwrite_unlocked and fread_unlocked.
19438         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19439         (DIAG_POP_NEEDS_COMMENT): Likewise.
19440         (_DIAG_STR1): Likewise.
19441         (_DIAG_STR): Likewise.
19442         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19443         * stdio-common/bug21.c: Include <libc-internal.h>.
19444         (do_test): Disable -Wformat around call to sscanf.
19445         * stdio-common/scanf14.c: Include <libc-internal.h>.
19446         (main): Disable -Wformat around some calls to scanf functions.
19448 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19450         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19452 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19454         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19455         stack variable alignment.
19457 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19459         [BZ #17682]
19460         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19461         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19462         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19463         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19464         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19465         __getrlimit instead of getrlimit.
19466         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19467         __gettimeofday instead of gettimeofday.
19468         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19469         Likewise.
19470         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19471         Likewise.
19472         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19473         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19474         Remove variable.
19475         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19476         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19478 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19480         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19481         for wide-character tests.
19483 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19485         * io/openat64.c: #include <libc-internal.h>
19486         (__openat64): Prototypify.  Use ignore_value on MODE.
19487         * io/openat.c: Likewise.
19488         * misc/reboot.c: #include <libc-internal.h>
19489         (reboot): Prototypify.  Use ignore_value on HOWTO.
19490         * misc/ptrace.c: #include <libc-internal.h>
19491         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19493 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19495         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19496         XPG4, UNIX98 and XOPEN2K.
19497         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19498         Remove variable.
19499         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19501 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19503         * libio/fileops.c: Use ISO C style for function definitions.
19504         * libio/iofopen.c: Likewise.
19505         * libio/wfileops.c: Likewise.
19507         [BZ #17653]
19508         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19509         offset on EOF.
19510         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19511         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19512         (fgets_func): Function pointer to fgets and fgetws.
19513         (do_ftell_test): Add test to verify ftell value after read
19514         EOF.
19515         (do_test): Set fgets_func.
19517         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19518         O_TRUNC flag for w and w+ modes.
19519         (do_rewind_test): Likewise.
19520         (do_ftell_test): Likewise.
19521         (do_write_test): Likewise.
19523         [BZ #17647]
19524         * libio/fileops.c (do_ftell): Seek only when there are
19525         unflushed writes.
19526         * libio/wfileops.c (do_ftell_wide): Likewise.
19527         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19528         test case.
19529         (do_one_test): Call it.
19531 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19533         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19534         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19535         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19536         Remove variable.
19537         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19538         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19539         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19541 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19543         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19544         Remove variable.
19545         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19547         [BZ #17668]
19548         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19549         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19550         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19551         __freeifaddrs.  Use libc_hidden_weak.
19552         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19553         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19554         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19555         __freeifaddrs.  Use libc_hidden_weak.
19556         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19557         __getifaddrs and define as weak alias of __getifaddrs.  Use
19558         libc_hidden_weak.
19559         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19560         __freeifaddrs.  Use libc_hidden_weak.
19561         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19562         Remove variable.
19563         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19564         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19566 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19568         [BZ #17601]
19569         * sysdeps/mips/start.S (__start): Use indirect jump to call
19570         __libc_start_main.
19572 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19574         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19576         * nptl/tst-mutex1.c: Include <stdbool.h>.
19577         [!ATTR] (ATTR_NULL): New macro.
19578         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19579         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19580         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19582         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19583         to char *.
19585         [BZ #17665]
19586         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19587         Change conditional to [__USE_MISC].
19589         [BZ #17664]
19590         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19591         fgets_unlocked.
19592         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19593         __fgets_unlocked.
19594         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19595         fgets_unlocked.
19596         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19597         Remove variable.
19598         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19599         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19600         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19601         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19602         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19603         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19604         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19605         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19606         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19608         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19610 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19612         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19613         Remove strpbrk objects.
19614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19615         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19616         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19617         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19618         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19619         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19621         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19622         Remove strcspn objects.
19623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19624         (__libc_ifunc_impl_list): Remove strcspn implementation.
19625         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19626         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19627         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19628         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19630         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19631         Remove strspn objetcs.
19632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19633         (__libc_ifunc_impl_list): Remove strspn implementation.
19634         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19635         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19636         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19637         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19639 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19641         [BZ #17581]
19642         * malloc/hooks.c
19643         (mem2mem_check): Add a terminator to the chain of checking blocks.
19644         (malloc_check_get_size): Use it here.
19645         (mem2chunk_check): Ditto.
19647 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19649         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19650         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19652 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19654         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19656         * nptl/nptl-init.c: Include libc-internal.h.
19657         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19659         * elf/ldconfig.c (search_dir): Expand comment.
19661 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19663         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19664         variable.
19665         (linknamespace-symlist-stdlibs-tests): Likewise.
19666         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19667         instead of $(objpfx)symlist-stdlibs.
19668         (linknamespace-libs-isoc): New variable.
19669         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19670         (linknamespace-libs-ISO): New variable.
19671         (linknamespace-libs-ISO99): Likewise.
19672         (linknamespace-libs-ISO11): Likewise.
19673         (linknamespace-libs-XPG3): Likewise.
19674         (linknamespace-libs-XPG4): Likewise.
19675         (linknamespace-libs-POSIX): Likewise.
19676         (linknamespace-libs-UNIX98): Likewise.
19677         (linknamespace-libs-XOPEN2K): Likewise.
19678         (linknamespace-libs-POSIX2008): Likewise.
19679         (linknamespace-libs-XOPEN2K8): Likewise.
19680         ($(objpfx)symlist-stdlibs): Replace by
19681         $(linknamespace-symlist-stdlibs-tests).  Use
19682         $(linknamespace-libs-$*) as set of libraries.
19683         ($(linknamespace-header-tests)): Update dependencies.  Use
19684         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19685         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19686         * conform/linknamespace.pl: Remove comment about considering
19687         definitions of symbols from irrelevant libraries.
19689 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19691         [BZ #13862]
19692         * elf/dl-tls.c: Include <atomic.h>.
19693         (oom): Remove #ifdef SHARED/#endif.
19694         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19695         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19696         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19697         big enough.
19698         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19699         * nptl/Makefile (tests): Add tst-stack4.
19700         (modules-names): Add tst-stack4mod.
19701         ($(objpfx)tst-stack4): New.
19702         (tst-stack4mod.sos): Likewise.
19703         ($(objpfx)tst-stack4.out): Likewise.
19704         ($(tst-stack4mod.sos)): Likewise.
19705         (clean): Likewise.
19706         * nptl/tst-stack4.c: New file.
19707         * nptl/tst-stack4mod.c: Likewise.
19709 2014-11-27  J. Brown  <jb999@gmx.de>
19711         * sysdeps/x86/bits/string.h: Add recent CPUs.
19713 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19715         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19716         sigblock.
19718         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19719         feof.
19721         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19722         variable.
19724 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19726         * nscd/connections.c: Include libc-internal.h because of macro
19727         usage ignore_value.
19729 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19731         * string/bits/string3.h (__warn_memset_zero_len): Don't
19732         declare for gcc newer than 5.0.
19733         (memset): Don't test for zero-length __LEN for gcc newer than
19734         5.0.
19736 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19738         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19739         size_t for %zu format.
19741         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19742         difference, not %ju.
19744 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19746         * include/libc-internal.h (ignore_value): New macro.
19747         * nscd/connections.c (restart): Wrap calls to setuid and setgid
19748         with ignore_value.
19750         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19751         definition.
19753         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19754         pthread_cleanup_push to void *.
19756         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19757         Undefine.
19759         [BZ #16619]
19760         [BZ #16740]
19761         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19762         instead of 1L << 52.
19764         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19765         * libio/bug-rewind2.c (do_test): Likewise.
19767         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19768         * debug/test-strcpy_chk-ifunc.c: Likewise.
19769         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19770         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19771         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19772         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19773         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19774         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19775         * Rules [$(multi-arch) = no] (tests): Do not filter out
19776         $(tests-ifunc).
19777         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19778         * debug/Makefile (tests-ifunc): Remove variable.
19779         (tests): Do not add $(tests-ifunc).
19780         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19781         (tests): Do not add $(tests-ifunc).
19782         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19783         [TEST_IFUNC]: Remove conditionals.
19784         * string/test-string.h (TEST_IFUNC): Remove macro.
19785         [TEST_IFUNC]: Remove conditionals.
19787         * string/test-strchr.c [!WIDE] (L): New macro.
19788         [WIDE] (L): Likewise.
19789         (check1): Use CHAR instead of char.  Use L on string and character
19790         constants.
19792 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19794         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19795         tests.
19796         * sysdeps/powerpc/bits/atomic.h
19797         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19798         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19799         (atomic_exchange_and_add_acq): Likewise.
19800         (atomic_exchange_and_add_rel): Likewise.
19801         * sysdeps/powerpc/powerpc32/bits/atomic.h
19802         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19803         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19804         * sysdeps/powerpc/powerpc64/bits/atomic.h
19805         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19806         (__arch_atomic_exchange_and_add_64_rel): Likewise.
19808 2014-11-26  Torvald Riegel  <triegel@redhat.com>
19810         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
19811         Change synchronization of __sched_fifo_min_prio and
19812         __sched_fifo_max_prio.
19813         * nptl/pthread_mutexattr_getprioceiling.c
19814         (pthread_mutexattr_getprioceiling): Likewise.
19815         * nptl/pthread_mutexattr_setprioceiling.c
19816         (pthread_mutexattr_setprioceiling): Likewise.
19817         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19818         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
19819         Likewise.
19821 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19823         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
19824         void.
19826 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19828         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
19829         third argument const.
19831 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
19833         fnmatch: work around GCC compiler warning bug with uninit var
19834         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
19835         This works around a bug with x86-64 GCC 4.9.2 and earlier
19836         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
19837         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
19838         used uninitialized in this function [-Wmaybe-uninitialized]".
19840 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
19842         * posix/bug-regex31.c (main): Return RES not 0.
19844 2014-11-25  Anton Blanchard <anton@samba.org>
19846         * sysdeps/powerpc/bits/atomic.h
19847         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
19849 2014-11-24  Sterling Augustine  <saugustine@google.com>
19851         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
19853 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
19855         [BZ #17608]
19856         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
19858 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
19860         [BZ #17633]
19861         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
19862         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
19863         variable.
19864         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19865         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19867 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19869         * string/strncpy.c (strncpy): Improve performance by using memset.
19871 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
19873         * string/strcpy.c (strcpy):
19874         Improve performance by using strlen and memcpy.
19876 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
19878         * string/strcoll_l.c (get_next_seq): __always_inline.
19879         * string/strcoll_l.c (do_compare): __always_inline.
19881 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19883         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
19884         defined.
19885         * include/mqueue.h: Likewise.
19886         * include/stdlib.h: Likewise.
19888         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
19889         (get_null_defines): Adjust.
19890         * sunrpc/Makefile: Adjust comment.
19891         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
19892         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
19893         (CFLAGS-interp.c): Likewise.
19894         (CFLAGS-ldconfig.c): Likewise.
19895         (CPPFLAGS-.os): Likewise.
19896         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19897         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19898         * extra-modules.mk (extra-modules.mk): Likewise.
19899         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
19900         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
19901         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
19902         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
19903         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
19904         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
19905         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
19906         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
19907         * iconvdata/Makefile (CPPFLAGS): Likewise.
19908         (cpp-srcs-left): Add libof for all iconvdata routines.
19909         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
19910         * include/assert.h: Likewise.
19911         * include/ctype.h: Likewise.
19912         * include/errno.h: Likewise.
19913         * include/libc-symbols.h: Likewise.
19914         * include/math.h: Likewise.
19915         * include/netdb.h: Likewise.
19916         * include/resolv.h: Likewise.
19917         * include/stdio.h: Likewise.
19918         * include/stdlib.h: Likewise.
19919         * include/string.h: Likewise.
19920         * include/sys/stat.h: Likewise.
19921         * include/wctype.h: Likewise.
19922         * intl/l10nflist.c: Likewise.
19923         * libidn/idn-stub.c: Likewise.
19924         * libio/libioP.h: Likewise.
19925         * nptl/libc_multiple_threads.c: Likewise.
19926         * nptl/pthreadP.h: Likewise.
19927         * posix/regex_internal.h: Likewise.
19928         * resolv/res_hconf.c: Likewise.
19929         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
19930         * sysdeps/arm/memmove.S: Likewise.
19931         * sysdeps/arm/sysdep.h: Likewise.
19932         * sysdeps/generic/_itoa.h: Likewise.
19933         * sysdeps/generic/symbol-hacks.h: Likewise.
19934         * sysdeps/gnu/errlist.awk: Likewise.
19935         * sysdeps/gnu/errlist.c: Likewise.
19936         * sysdeps/i386/i586/memcpy.S: Likewise.
19937         * sysdeps/i386/i586/memset.S: Likewise.
19938         * sysdeps/i386/i686/memcpy.S: Likewise.
19939         * sysdeps/i386/i686/memmove.S: Likewise.
19940         * sysdeps/i386/i686/mempcpy.S: Likewise.
19941         * sysdeps/i386/i686/memset.S: Likewise.
19942         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19943         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19944         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
19945         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
19946         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19947         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19948         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
19949         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19950         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19951         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19952         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19953         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19954         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19955         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19956         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19957         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19958         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
19959         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
19960         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
19961         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19962         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19963         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19964         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19965         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19966         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19967         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19968         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
19969         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19970         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
19971         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19972         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19973         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19974         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19975         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19976         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19977         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19978         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19979         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19980         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19981         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19982         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19983         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19984         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19985         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19986         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19987         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19988         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
19989         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
19990         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19991         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19992         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19993         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
19994         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
19995         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19996         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19997         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
19998         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19999         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20000         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20001         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20002         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20003         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20004         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20005         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20006         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20007         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20008         * sysdeps/posix/closedir.c: Likewise.
20009         * sysdeps/posix/opendir.c: Likewise.
20010         * sysdeps/posix/readdir.c: Likewise.
20011         * sysdeps/posix/rewinddir.c: Likewise.
20012         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20013         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20014         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20015         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20016         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20017         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20018         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20019         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20020         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20021         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20023         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20024         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20025         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20026         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20027         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20028         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20029         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20030         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20031         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20032         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20033         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20034         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20035         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20036         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20037         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20038         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20039         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20040         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20045         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20047         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20048         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20049         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20050         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20051         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20052         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20053         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20054         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20055         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20056         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20057         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20058         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20059         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20060         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20061         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20062         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20063         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20064         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20065         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20066         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20067         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20068         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20069         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20070         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20071         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20072         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20073         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20074         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20075         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20076         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20077         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20078         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20079         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20080         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20081         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20082         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20083         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20084         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20085         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20086         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20087         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20088         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20089         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20090         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20091         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20092         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20093         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20094         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20096         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20097         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20098         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20099         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20100         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20101         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20102         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20103         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20104         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20105         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20106         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20107         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20108         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20109         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20110         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20111         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20112         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20113         * sysdeps/unix/alpha/sysdep.S: Likewise.
20114         * sysdeps/unix/alpha/sysdep.h: Likewise.
20115         * sysdeps/unix/make-syscalls.sh: Likewise.
20116         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20118         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20119         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20120         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20121         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20122         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20123         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20124         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20125         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20126         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20127         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20128         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20129         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20130         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20131         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20132         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20133         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20134         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20135         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20136         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20137         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20138         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20139         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20140         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20141         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20142         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20145         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20146         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20148         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20149         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20150         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20151         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20153         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20154         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20155         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20156         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20157         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20158         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20159         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20160         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20161         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20163         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20164         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20165         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20166         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20167         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20168         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20169         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20170         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20171         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20172         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20174         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20175         * sysdeps/x86_64/memcpy.S: Likewise.
20176         * sysdeps/x86_64/memmove.c: Likewise.
20177         * sysdeps/x86_64/memset.S: Likewise.
20178         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20179         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20180         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20181         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20182         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20183         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20184         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20185         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20186         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20187         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20188         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20189         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20190         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20191         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20192         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20193         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20194         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20195         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20196         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20197         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20198         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20199         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20200         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20201         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20202         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20203         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20204         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20205         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20206         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20207         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20208         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20209         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20210         * sysdeps/x86_64/strcmp.S: Likewise.
20212         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20214         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20215         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20216         * elf/rtld-Rules: Likewise.
20217         * elf/setup-vdso.h: Likewise.
20218         * include/assert.h: Likewise.
20219         * include/bits/stdlib-float.h: Likewise.
20220         * include/errno.h: Likewise.
20221         * include/sys/stat.h: Likewise.
20222         * include/unistd.h: Likewise.
20223         * sysdeps/aarch64/setjmp.S: Likewise.
20224         * sysdeps/alpha/setjmp.S: Likewise.
20225         * sysdeps/arm/__longjmp.S: Likewise.
20226         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20227         * sysdeps/arm/setjmp.S: Likewise.
20228         * sysdeps/arm/sysdep.h: Likewise.
20229         * sysdeps/generic/_itoa.h: Likewise.
20230         * sysdeps/generic/dl-sysdep.h: Likewise.
20231         * sysdeps/generic/ldsodefs.h: Likewise.
20232         * sysdeps/i386/dl-tls.h: Likewise.
20233         * sysdeps/i386/setjmp.S: Likewise.
20234         * sysdeps/m68k/setjmp.c: Likewise.
20235         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20236         * sysdeps/mach/hurd/opendir.c: Likewise.
20237         * sysdeps/posix/getcwd.c: Likewise.
20238         * sysdeps/posix/opendir.c: Likewise.
20239         * sysdeps/posix/profil.c: Likewise.
20240         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20241         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20242         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20243         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20244         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20245         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20246         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20247         * sysdeps/s390/dl-tls.h: Likewise.
20248         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20249         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20250         * sysdeps/sh/sh3/setjmp.S: Likewise.
20251         * sysdeps/sh/sh4/setjmp.S: Likewise.
20252         * sysdeps/unix/alpha/sysdep.h: Likewise.
20253         * sysdeps/unix/arm/sysdep.S: Likewise.
20254         * sysdeps/unix/i386/sysdep.S: Likewise.
20255         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20256         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20257         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20258         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20259         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20260         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20261         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20262         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20263         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20264         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20265         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20266         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20267         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20270         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20271         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20272         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20273         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20274         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20275         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20278         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20279         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20280         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20281         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20282         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20283         * sysdeps/x86_64/setjmp.S: Likewise.
20285         * include/math.h: Use IS_IN instead of IS_IN_libm.
20286         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20287         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20288         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20289         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20290         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20291         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20292         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20293         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20294         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20295         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20296         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20297         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20298         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20299         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20300         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20301         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20302         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20303         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20304         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20305         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20306         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20307         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20308         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20309         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20310         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20311         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20312         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20313         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20314         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20315         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20316         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20317         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20318         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20320         Likewise.
20321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20322         Likewise.
20323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20324         Likewise.
20325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20326         Likewise.
20327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20328         Likewise.
20329         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20330         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20331         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20332         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20333         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20334         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20340         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20341         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20342         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20343         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20344         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20345         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20346         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20347         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20348         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20349         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20350         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20351         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20352         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20353         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20355         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20357         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20358         * nptl/pthreadP.h: Likewise.
20359         * nptl_db/structs.def: Likewise.
20360         * sysdeps/arm/sysdep.h: Likewise.
20361         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20362         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20363         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20364         * sysdeps/unix/alpha/sysdep.h: Likewise.
20365         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20366         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20367         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20368         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20369         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20370         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20371         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20372         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20373         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20374         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20375         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20376         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20377         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20378         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20381         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20383         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20384         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20385         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20386         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20387         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20388         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20389         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20390         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20392         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20393         * nptl/pthreadP.h: Likewise.
20394         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20395         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20396         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20397         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20398         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20399         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20400         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20401         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20402         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20403         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20404         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20405         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20407         Likewise.
20408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20409         Likewise.
20410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20411         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20412         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20413         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20414         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20415         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20416         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20417         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20419         * dlfcn/dladdr.c: Use IS_IN.
20420         * dlfcn/dladdr1.c: Likewise.
20421         * dlfcn/dlclose.c: Likewise.
20422         * dlfcn/dlerror.c: Likewise.
20423         * dlfcn/dlinfo.c: Likewise.
20424         * dlfcn/dlmopen.c: Likewise.
20425         * dlfcn/dlopen.c: Likewise.
20426         * dlfcn/dlsym.c: Likewise.
20427         * dlfcn/dlvsym.c: Likewise.
20429         * include/ifaddrs.h: Use IS_IN.
20430         * inet/check_pf.c: Likewise.
20431         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20432         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20434         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20435         IS_IN_ldconfig.
20436         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20437         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20439         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20440         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20441         IS_IN (libc).
20443         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20445         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20446         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20447         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20448         * include/libc-symbols.h (IS_IN_LIB): New macro.
20449         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20450         * include/netdb.h: Likewise.
20451         * include/stap-probe.h: Remove all uses of IN_LIB.
20453         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20454         instead of IN_MODULE.
20455         * include/libc-symbols.h (IN_MODULE): Define using
20456         MODULE_NAME.
20457         (PASTE_NAME, PASTE_NAME1): New macros.
20458         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20459         of IN_LIB.
20460         (STAP_PROBE_ASM): Likewise.
20462 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20464         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20465         __mach_init in dlopened libc.
20467 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20469         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20470         * sysdeps/arm/preconfigure: Regenerate.
20472 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20474         * nptl/pthread_create.c (__pthread_create_2_1): Set
20475         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20476         when copying values from IATTR into PD.
20478 2014-11-21  Will Newton  <will.newton@linaro.org>
20479             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20481         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20482         Refactor inline-asm.  Also add comment.
20484         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20485         ElfW macro instead of hardcoded Elf64 types.
20486         (la_aarch64_gnu_pltenter): Likewise.
20487         * sysdeps/aarch64/dl-machine.h
20488         (elf_machine_runtime_setup): Use ElfW(Addr).
20490         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20491         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20492         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20493         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20494         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20495         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20496         (R_AARCH64_TLS_DTPMOD): This.
20497         (R_AARCH64_TLS_DTPREL64): Rename to ...
20498         (R_AARCH64_TLS_DTPREL): This.
20499         (R_AARCH64_TLS_TPREL64): Rename to ...
20500         (R_AARCH64_TLS_TPREL): This.
20501         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20502         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20503         R_AARCH64_TLS_TPREL64.
20504         (elf_machine_rela): Likewise.
20506 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20508         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20509         by setting it to 0.  64b atomics are not supported currently.
20511 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20513         [BZ #16469]
20514         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20515         search domain names.
20517 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20519         [BZ #16469]
20520         * NEWS: Update.
20521         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20522         trailing dot.
20523         * posix/tst-getaddrinfo5.c: New.
20524         * posix/Makefile (tests): Add it.
20526 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20528         [BZ #14498]
20529         * NEWS: Fixed.
20530         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20531         after parsing line but before break_if_match.
20532         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20533         if there is a protocol mismatch.
20535 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20537         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20538         because the potential race is on the user-supplied stream.
20540 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20542         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20543         string literal if not passed a buffer.
20544         * manual/job.texi (ctermid): Update reasoning, note deviation
20545         from posix, suggest mtasurace when not passed a buffer, for
20546         future non-preliminary safety notes.
20548 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20550         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20551         of not passing it a buffer.
20552         Reported by Peng Haitao.
20554 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20556         * manual/Makefile ($(objpfx)stamp-summary): Require
20557         check-safety.sh to pass.
20558         * manual/check-safety.sh: Wish for verification that every
20559         @deftypefn and @deftypefun is followed by a @safety remark.
20561 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20563         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20565         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20566         PTHREAD_CANCEL_ASYNCHRONOUS.
20567         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20568         send SIGCANCEL.
20570         * nptl/default-sched.h: New file.
20571         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20572         * nptl/pthread_create.c: Include it.
20573         (__pthread_create_2_1): Use collect_default_sched instead of making
20574         Linux syscalls here directly.
20576 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20578         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20579         __pthread_once): Use C11 atomics.
20581 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20583         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20585 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20587         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20588         atomic_thread_fence_acquire, atomic_thread_fence_release,
20589         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20590         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20591         atomic_compare_exchange_weak_relaxed,
20592         atomic_compare_exchange_weak_acquire,
20593         atomic_compare_exchange_weak_release,
20594         atomic_exchange_acquire, atomic_exchange_release,
20595         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20596         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20597         atomic_fetch_and_acquire,
20598         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20600 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20602         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20603         USE_ATOMIC_COMPILER_BUILTINS): Define.
20604         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20605         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20606         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20607         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20608         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20609         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20610         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20611         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20612         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20613         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20614         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20615         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20616         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20617         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20618         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20619         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20620         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20621         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20622         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20623         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20624         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20625         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20626         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20627         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20628         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20629         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20630         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20631         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20632         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20633         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20634         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20635         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20636         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20637         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20638         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20639         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20640         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20642         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20645 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20647         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20648         the sched_priority value here.  It was already checked when the user
20649         called pthread_attr_setschedparam.
20651         * nptl/tst-bad-schedattr.c: New file.
20652         * nptl/Makefile (tests): Add it.
20654 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20655             Florian Weimer  <fweimer@redhat.com>
20656             Joseph Myers  <joseph@codesourcery.com>
20657             Adam Conrad  <adconrad@0c3.net>
20658             Andreas Schwab  <schwab@suse.de>
20659             Brooks  <bmoses@google.com>
20661         [BZ #17625]
20662         * wordexp-test.c (__dso_handle): Add prototype.
20663         (__register_atfork): Likewise.
20664         (__app_register_atfork): New function.
20665         (registered_forks): New global.
20666         (register_fork): New function.
20667         (test_case): Add 3 new tests for WRDE_CMDSUB.
20668         (main): Call __app_register_atfork.
20669         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20670         fork count is non-zero fail the test.
20671         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20672         is set.
20673         (parse_dollars): Remove check for WRDE_NOCMD.
20674         (parse_dquote): Likewise.
20676 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20678         * Makeconfig (built-modules): List non-library modules to be
20679         built.
20680         (module-cppflags): Include libc-modules.h for
20681         everything except shlib-versions.v.i.
20682         (CPPFLAGS): Use it.
20683         (before-compile): Add libc-modules.h.
20684         ($(common-objpfx)libc-modules.h,
20685         $(common-objpfx)libc-modules.stmp): New targets.
20686         (common-generated): Add libc-modules.h and libc-modules.stmp.
20687         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20688         * include/libc-symbols.h: Don't include libc-modules.h.
20689         * include/libc-modules.h: Remove file.
20690         * scripts/gen-libc-modules.awk: New script to generate
20691         libc-modules.h.
20692         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20693         Depend on libc-modules.stmp.
20695         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20697         * Makeconfig (in-module): Get value of libof set for the
20698         translation unit.
20699         (CPPFLAGS): Use $(in-module).
20700         * Makerules: Don't suffix routine names for nonlib.
20701         * include/libc-modules.h: New file.
20702         * include/libc-symbols.h: Include libc-modules.h
20703         (IS_IN): New macro to replace IS_IN_* macros.
20704         * elf/Makefile: Set libof-* for each routine.
20705         * elf/rtld-Rules: Likewise.
20706         * extra-modules.mk: Likewise.
20707         * iconv/Makefile: Likewise.
20708         * iconvdata/Makefile: Likewise.
20709         * locale/Makefile: Likewise.
20710         * malloc/Makefile: Likewise.
20711         * nss/Makefile: Likewise.
20712         * sysdeps/gnu/Makefile: Likewise.
20713         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20714         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20715         * sysdeps/s390/s390-64/Makefile: Likewise.
20716         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20717         CPPFLAGS for nscd instead of nonlib.
20719 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20721         * nptl/createthread.c: New file.
20723         * nptl/createthread.c: Moved ...
20724         * sysdeps/unix/sysv/linux/createthread.c: ... here.
20726         * nptl/createthread.c: Add proper top-line comment.
20727         (do_clone): Folded into ...
20728         (create_thread): ... here.  Take new arguments STOPPED_START and
20729         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
20730         increment __nptl_threads, do event-reporting logic, do
20731         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20732         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
20733         resource cleanup if sched_setaffinity or sched_setscheduler fails,
20734         just send SIGCANCEL.
20735         * nptl/pthread_create.c: Forward-declare create_thread before
20736         including createthread.c.
20737         (start_thread): Use new macro START_THREAD_DEFN to replace defining
20738         declaration, and new macro START_THREAD_SELF to replace argument.
20739         Remove return statement.
20740         (report_thread_creation): New function.
20741         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
20742         synchronization logic, and __nptl_nthreads increment here, around
20743         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
20744         PD->parent_cancelhandling here, before create_thread.  When
20745         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20746         __deallocate_stack, and ENOMEM translation here.
20748 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
20750         [BZ #17616]
20751         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20752         (mptwo): Rename to __mptwo.
20753         (__inv): Use __mptwo instead of mptwo.
20754         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20755         (mptwo): Rename to __mptwo.
20756         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20757         of mpone and __mptwo instead of mptwo.
20758         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20759         instead of mpone.
20760         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20761         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20762         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20763         of mpone and __mptwo instead of mptwo.
20764         (__mpranred): Use __mpone instead of mpone.
20765         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20766         variable.
20767         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20768         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20769         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20770         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20771         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20772         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20773         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20774         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20775         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20776         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20777         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20778         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20779         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20780         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20781         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20782         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20783         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20784         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20785         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20787 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20789         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20790         replace BSD Handler xref with BSD Signal Handling.
20792 2014-11-17  Richard Henderson  <rth@redhat.com>
20794         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20795         (_FP_PACK_RAW_2): Remove.
20796         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20797         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20798         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20799         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
20800         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
20801         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
20802         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
20803         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
20804         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
20805         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
20806         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
20807         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
20808         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
20809         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
20810         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
20811         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
20813 2014-11-14  Roland McGrath  <roland@hack.frob.com>
20815         * signal/signal.h [__USE_MISC]
20816         (struct sigvec): Remove type.
20817         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
20818         (sigvec): Remove declaration.
20819         * sysdeps/posix/sigvec.c: Moved ...
20820         * signal/sigvec.c: ... here, replacing old file.
20821         (struct sigvec): New type, copied from old signal.h definition.
20822         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
20823         (__sigvec): Convert definition to prototype.
20824         (sigvec): Replace weak_alias with compat_symbol.
20825         * signal/Versions (libc: GLIBC_2.21): New version set.
20826         * include/signal.h: Remove __sigvec declaration.
20827         * sysdeps/unix/bsd/sigvec.c: Remove file.
20828         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
20829         * manual/signal.texi (BSD Handler): Remove subsection.
20830         Move siginterrupt up to ...
20831         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
20832         (Blocking in BSD): Fold subsection into its parent.
20833         * NEWS: Mention sigvec removal.
20835 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20837         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
20838         (DLA_FMS): Make definition conditional only on [__FMA4__].
20839         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
20840         definition.
20842         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
20843         Make definition conditional only on [PROF].
20844         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
20845         definition.
20846         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
20847         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
20849         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
20850         !__GNUC__].
20851         * include/signal.h (__sigpause): Move declaration above call to
20852         libc_hidden_proto.
20853         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
20854         variable.
20855         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20856         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20858 2014-11-14  David S. Miller  <davem@davemloft.net>
20860         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
20861         Define before including <string/memcpy.c> and <string/mempcpy.c>.
20863 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
20865         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20866         * configure: Regenerated.
20867         * manual/install.texi (Tools for Compilation): Document a
20868         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
20869         compiler verified to work.
20870         * INSTALL: Regenerated.
20872         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
20873         redeclare with asm name.
20874         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
20875         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
20876         including <string.h>.
20877         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20878         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
20879         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20880         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
20881         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20882         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20883         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
20885 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
20887         * stdlib/strtol.c (__strtol): Use prototype definition.
20889         [BZ #17594]
20890         * stdlib/strtol.c (SYM__): New macro.
20891         (SYM__1): Likewise.
20892         (__strtol): Likewise.
20893         (strtol): Rename to __strtol and define as weak alias of
20894         __strtol.  Use libc_hidden_weak.
20896 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20898         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
20899         Use numbered labels in inline assembly.
20901 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20903         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
20904         Add setjmp LIBC_PROBE.
20905         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
20906         Likewise.
20907         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
20908         Add longjmp, longjmp_target LIBC_PROBE.
20909         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
20910         Likewise.
20912 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20914         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20915         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
20916         to get rid of unused variable warning.
20918 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20920         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
20921         Check for unwind_backtrace ==  NULL only in SHARED case.
20922         (__backchain_backtrace): Compile only in SHARED case.
20923         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
20924         Likewise.
20925         (__backchain_backtrace): Declare as static.
20927 2014-11-12  Roland McGrath  <roland@hack.frob.com>
20929         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
20930         (__libc_multiple_threads_ptr): Variable moved ...
20931         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
20933 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
20935         * conform/GlibcConform.pm: New file.
20936         * conform/conformtest.pl: Use GlibcConform module.
20937         * conform/linknamespace.pl: New file.
20938         * conform/list-header-symbols.pl: Likewise.
20939         * conform/Makefile (linknamespace-symlists-base): New variable.
20940         (linknamespace-symlists-tests): Likewise.
20941         (linknamespace-header-base): Likewise.
20942         (linknamespace-header-tests): Likewise.
20943         (tests-special): Add new tests.
20944         ($(linknamespace-symlists-tests)): New rule.
20945         (linknamespace-libs): New variable.
20946         ($(objpfx)symlist-stdlibs): New rule.
20947         ($(linknamespace-header-tests)): Likewise.
20948         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
20949         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
20950         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
20951         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20952         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
20953         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
20954         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
20955         (test-xfail-ISO/math.h/linknamespace): Likewise.
20956         (test-xfail-ISO/signal.h/linknamespace): Likewise.
20957         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
20958         (test-xfail-ISO/time.h/linknamespace): Likewise.
20959         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20960         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
20961         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20962         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
20963         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20964         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20965         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20966         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20967         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20968         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
20969         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20970         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20971         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20972         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
20973         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
20974         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20975         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
20976         (test-xfail-XPG3/search.h/linknamespace): Likewise.
20977         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
20978         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20979         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
20980         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20981         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20982         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
20983         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20984         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20985         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
20986         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
20987         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20988         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
20989         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20990         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20991         (test-xfail-XPG4/search.h/linknamespace): Likewise.
20992         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20993         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
20994         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
20995         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
20996         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
20997         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20998         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
20999         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21000         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21001         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21002         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21003         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21004         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21005         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21006         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21007         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21008         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21009         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21010         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21011         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21012         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21013         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21014         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21015         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21016         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21017         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21018         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21019         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21020         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21021         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21022         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21023         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21024         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21025         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21026         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21027         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21028         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21029         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21030         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21031         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21032         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21033         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21034         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21035         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21036         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21037         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21038         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21039         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21040         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21041         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21042         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21043         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21044         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21045         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21046         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21047         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21048         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21049         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21050         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21051         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21052         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21053         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21054         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21055         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21056         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21057         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21058         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21059         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21060         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21061         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21062         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21063         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21064         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21065         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21066         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21067         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21068         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21069         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21070         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21071         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21072         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21073         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21074         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21075         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21076         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21077         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21078         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21079         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21080         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21081         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21082         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21083         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21084         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21085         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21086         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21087         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21088         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21089         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21090         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21091         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21092         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21093         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21094         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21095         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21096         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21097         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21098         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21099         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21100         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21101         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21102         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21103         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21104         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21105         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21106         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21107         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21108         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21110         [BZ #17589]
21111         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21112         of fgets_unlocked.
21114         [BZ #17585]
21115         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21116         (memmem): Rename to __memmem and define as weak alias of
21117         __memmem.  Use libc_hidden_weak.
21118         (__memmem): Use libc_hidden_def.
21119         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
21120         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21121         memmem.
21123         [BZ #17582]
21124         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21125         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
21126         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21127         and define as weak alias of __fgets_unlocked.  Use
21128         libc_hidden_weak.
21129         (__fgets_unlocked): Use libc_hidden_def.
21130         * include/stdio.h (__fgets_unlocked): Declare.  Use
21131         libc_hidden_proto.
21132         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21133         __fgets_unlocked instead of fgets_unlocked.
21134         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21135         (GET_NPROCS_CONF_PARSER): Likewise.
21136         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21137         (GET_NPROCS_CONF_PARSER): Likewise.
21139         [BZ #17574]
21140         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21141         weak alias of __wmemset.  Use libc_hidden_weak.
21142         (__wmemset): Use libc_hidden_def.
21143         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21144         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21145         of wmemset.
21147         [BZ #17573]
21148         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21149         with asm name __mempcpy.
21150         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21152         [BZ #17572]
21153         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21154         and define as weak alias of __rawmemchr.
21155         (__rawmemchr): Do not define as strong alias of rawmemchr.
21157         [BZ #17571]
21158         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21159         alias of __qsort_r.
21160         (qsort): Call __qsort_r instead of qsort_r.
21161         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21162         (__qsort_r): Declare.  Call libc_hidden_proto.
21163         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21164         instead of qsort_r.
21165         * nscd/gai.c (__qsort_r): Define to qsort_r.
21166         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21167         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21168         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21170         [BZ #17570]
21171         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21172         define as weak alias of __malloc_info.
21174         [BZ #17584]
21175         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21176         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21177         (__rewinddir): Use libc_hidden_def.
21178         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21179         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21180         (__rewinddir): Use libc_hidden_def.
21181         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21182         weak alias of __rewinddir.  Don't use libc_hidden_def.
21183         (__rewinddir): Use libc_hidden_def.
21184         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21185         (__rewinddir): Use libc_hidden_proto.
21186         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21187         rewinddir.
21188         (__getcwd): Use __rewinddir instead of rewinddir.
21190         [BZ #17583]
21191         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21192         alias of __fileno.  Use libc_hidden_weak.
21193         (__fileno): Use libc_hidden_def.
21194         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21195         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21196         alias of __ftello.
21197         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21198         __ftello.
21199         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21200         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21201         libc_hidden_def.
21202         (fread_unlocked): Don't use libc_hidden_ver.
21203         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21204         and define as weak alias of __fread_unlocked.  Don't use
21205         libc_hidden_def.
21206         (__fread_unlocked): Use libc_hidden_def.
21207         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21208         (ftello): Don't use libc_hidden_proto.
21209         (__ftello): Declare.  Use libc_hidden_proto.
21210         (fread_unlocked): Don't use libc_hidden_proto.
21211         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21212         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21213         and __ftello instead of fileno, fread_unlocked and ftello.
21215 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21217         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21218         GOT12.
21219         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21220         Likewise.
21221         (_dl_start_user): Likewise.
21222         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21224 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21225             Siddhesh Poyarekar  <siddhesh@redhat.com>
21227         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21228         Move argv and envp down instead of moving argc up.
21229         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21231 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21233         [BZ #17506]
21234         * test-skeleton.c (main): Return successful if one of
21235         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21236         * string/tst-strcoll-overflow.c: Define expected status.
21238 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21240         [BZ #17475]
21241         * locale/iso-639.def: Define Bhili and Tulu language codes.
21243 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21245         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21247 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21249         [BZ #17555]
21250         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21252 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21254         * configure.ac: Updated check of minimal required version to
21255         2.22.
21256         * manual/install.texi (Tools for Compilation): Updated version
21257         number.
21258         * configure: Regenerated.
21259         * INSTALL: Likewise.
21261 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21263         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21264         __tls_get_addr.
21266 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
21268         * include/sys/wait.h (__libc_waitpid): Remove declaration.
21269         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21270         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21271         libc_hidden_weak.
21272         (waitpid): Define as alias of __waitpid.
21273         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21274         __waitpid.
21275         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21276         libc_hidden_weak.
21277         (waitpid): Define as alias of __waitpid.
21278         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21279         __libc_waitpid alias.
21280         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21281         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21282         Likewise.
21283         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21284         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21285         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21286         alias.
21287         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21288         __waitpid.
21289         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21290         libc_hidden_weak.
21291         (waitpid): Define as alias of __waitpid.
21293 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
21295         * manual/llio.texi: Add comment that write safety has been
21296         fixed in Linux.
21298         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21299         (localplt-build-dso): Add elf/ld.so.
21300         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21301         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21302         and free for ld.so.
21303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21304         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21306         Likewise.
21307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21308         Likewise.
21309         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21310         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21311         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21312         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21313         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21314         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21315         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21316         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21317         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21318         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21319         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21321 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
21323         [BZ #14132]
21324         * include/libc-symbols.h (INTUSE): Remove macro.
21325         (INTDEF): Likewise.
21326         (INTVARDEF): Likewise.
21327         (_INTVARDEF): Likewise.
21328         (INTDEF2): Likewise.
21329         (INTVARDEF2): Likewise.
21330         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21331         rtld_hidden_def instead of INTVARDEF.
21332         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21333         (_dl_starting_up_internal): Remove declaration.
21334         (_dl_starting_up): Use rtld_hidden_proto.
21335         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21336         declaration.
21337         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21338         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21339         _dl_starting_up.
21340         * elf/dl-writev.h (_dl_writev): Likewise.
21341         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21342         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21343         _dl_starting_up_internal.
21345 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21347         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21348         test-skeleton.c.
21350 2014-11-05  Will Newton  <will.newton@linaro.org>
21352         * benchtests/Makefile: (bench-malloc): Add malloc thread
21353         scalability benchmark.
21354         * benchtests/bench-malloc-threads.c: New file.
21356 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21358         * sysdeps/aarch64/strchrnul.S: New file.
21360 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21362         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21363         definition.
21364         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21365         Likwise.
21366         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21367         Likewise.
21368         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21369         Likewise.
21370         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21371         Likewise.
21372         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21373         Likewise.
21375 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21377         * catgets/test-gencat.c: Use test-skeleton.c.
21378         * catgets/tst-catgets.c: Likewise.
21379         * csu/tst-empty.c: Likewise.
21380         * elf/tst-audit2.c: Likewise.
21381         * elf/tst-global1.c: Likewise.
21382         * elf/tst-pathopt.c: Likewise.
21383         * elf/tst-piemod1.c: Likewise.
21384         * elf/tst-tls10.c: Likewise.
21385         * elf/tst-tls11.c: Likewise.
21386         * elf/tst-tls12.c: Likewise.
21387         * gnulib/tst-gcc.c: Likewise.
21388         * iconvdata/tst-e2big.c: Likewise.
21389         * iconvdata/tst-loading.c: Likewise.
21390         * iconv/tst-iconv1.c: Likewise.
21391         * iconv/tst-iconv2.c: Likewise.
21392         * inet/test-inet6_opt.c: Likewise.
21393         * inet/tst-gethnm.c: Likewise.
21394         * inet/tst-network.c: Likewise.
21395         * inet/tst-ntoa.c: Likewise.
21396         * intl/tst-codeset.c: Likewise.
21397         * intl/tst-gettext2.c: Likewise.
21398         * intl/tst-gettext3.c: Likewise.
21399         * intl/tst-ngettext.c: Likewise.
21400         * intl/tst-translit.c: Likewise.
21401         * io/test-stat.c: Likewise.
21402         * libio/test-fmemopen.c: Likewise.
21403         * libio/tst-freopen.c: Likewise.
21404         * libio/tst-sscanf.c: Likewise.
21405         * libio/tst-ungetwc1.c: Likewise.
21406         * libio/tst-ungetwc2.c: Likewise.
21407         * libio/tst-widetext.c: Likewise.
21408         * localedata/tst-ctype.c: Likewise.
21409         * localedata/tst-digits.c: Likewise.
21410         * localedata/tst-leaks.c: Likewise.
21411         * localedata/tst-mbswcs1.c: Likewise.
21412         * localedata/tst-mbswcs2.c: Likewise.
21413         * localedata/tst-mbswcs3.c: Likewise.
21414         * localedata/tst-mbswcs4.c: Likewise.
21415         * localedata/tst-mbswcs5.c: Likewise.
21416         * localedata/tst-setlocale.c: Likewise.
21417         * localedata/tst-trans.c: Likewise.
21418         * localedata/tst-wctype.c: Likewise.
21419         * localedata/tst-xlocale1.c: Likewise.
21420         * login/tst-grantpt.c: Likewise.
21421         * malloc/tst-calloc.c: Likewise.
21422         * malloc/tst-malloc.c: Likewise.
21423         * malloc/tst-mallocstate.c: Likewise.
21424         * malloc/tst-mcheck.c: Likewise.
21425         * malloc/tst-mtrace.c: Likewise.
21426         * malloc/tst-obstack.c: Likewise.
21427         * math/atest-exp2.c: Likewise.
21428         * math/atest-exp.c: Likewise.
21429         * math/atest-sincos.c: Likewise.
21430         * math/test-matherr.c: Likewise.
21431         * math/test-misc.c: Likewise.
21432         * math/test-powl.c: Likewise.
21433         * math/tst-definitions.c: Likewise.
21434         * misc/tst-dirname.c: Likewise.
21435         * misc/tst-efgcvt.c: Likewise.
21436         * misc/tst-fdset.c: Likewise.
21437         * misc/tst-hsearch.c: Likewise.
21438         * misc/tst-mntent2.c: Likewise.
21439         * nptl/tst-sem7.c: Likewise.
21440         * nptl/tst-sem8.c: Likewise.
21441         * nptl/tst-sem9.c: Likewise.
21442         * nss/test-netdb.c: Likewise.
21443         * posix/tst-fnmatch.c: Likewise.
21444         * posix/tst-getlogin.c: Likewise.
21445         * posix/tst-gnuglob.c: Likewise.
21446         * posix/tst-mmap.c: Likewise.
21447         * pwd/tst-getpw.c: Likewise.
21448         * resolv/tst-inet_ntop.c: Likewise.
21449         * rt/tst-timer.c: Likewise.
21450         * stdio-common/test-fseek.c: Likewise.
21451         * stdio-common/test-popen.c: Likewise.
21452         * stdio-common/test-vfprintf.c: Likewise.
21453         * stdio-common/tst-cookie.c: Likewise.
21454         * stdio-common/tst-fileno.c: Likewise.
21455         * stdio-common/tst-gets.c: Likewise.
21456         * stdio-common/tst-obprintf.c: Likewise.
21457         * stdio-common/tst-perror.c: Likewise.
21458         * stdio-common/tst-sprintf2.c: Likewise.
21459         * stdio-common/tst-sprintf3.c: Likewise.
21460         * stdio-common/tst-sprintf.c: Likewise.
21461         * stdio-common/tst-swprintf.c: Likewise.
21462         * stdio-common/tst-tmpnam.c: Likewise.
21463         * stdio-common/tst-unbputc.c: Likewise.
21464         * stdio-common/tst-wc-printf.c: Likewise.
21465         * stdlib/tst-environ.c: Likewise.
21466         * stdlib/tst-fmtmsg.c: Likewise.
21467         * stdlib/tst-limits.c: Likewise.
21468         * stdlib/tst-rand48-2.c: Likewise.
21469         * stdlib/tst-rand48.c: Likewise.
21470         * stdlib/tst-random2.c: Likewise.
21471         * stdlib/tst-random.c: Likewise.
21472         * stdlib/tst-strtol.c: Likewise.
21473         * stdlib/tst-strtoll.c: Likewise.
21474         * stdlib/tst-tls-atexit.c: Likewise.
21475         * stdlib/tst-xpg-basename.c: Likewise.
21476         * string/test-ffs.c: Likewise.
21477         * string/tst-bswap.c: Likewise.
21478         * string/tst-inlcall.c: Likewise.
21479         * string/tst-strtok.c: Likewise.
21480         * string/tst-strxfrm.c: Likewise.
21481         * sysdeps/x86_64/tst-audit10.c: Likewise.
21482         * sysdeps/x86_64/tst-audit3.c: Likewise.
21483         * sysdeps/x86_64/tst-audit4.c: Likewise.
21484         * sysdeps/x86_64/tst-audit5.c: Likewise.
21485         * time/tst-ftime_l.c: Likewise.
21486         * time/tst-getdate.c: Likewise.
21487         * time/tst-mktime3.c: Likewise.
21488         * time/tst-mktime.c: Likewise.
21489         * time/tst-posixtz.c: Likewise.
21490         * time/tst-strptime2.c: Likewise.
21491         * time/tst-strptime3.c: Likewise.
21492         * wcsmbs/tst-btowc.c: Likewise.
21493         * wcsmbs/tst-mbrtowc.c: Likewise.
21494         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21495         * wcsmbs/tst-wchar-h.c: Likewise.
21496         * wcsmbs/tst-wcpncpy.c: Likewise.
21497         * wcsmbs/tst-wcrtomb.c: Likewise.
21498         * wcsmbs/tst-wcsnlen.c: Likewise.
21499         * wcsmbs/tst-wcstof.c: Likewise.
21501 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21503         [BZ #14132]
21504         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21505         INTDEF.
21506         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21507         declaration.
21508         (_dl_mcount): Use rtld_hidden_proto.
21509         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21510         _dl_mcount.
21511         * elf/rtld.c (_rtld_global_ro): Likewise.
21513         [BZ #14132]
21514         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21515         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21516         of _dl_init_internal.
21517         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21518         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21519         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21520         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21521         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21522         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21523         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21524         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21525         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21526         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21527         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21528         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21529         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21530         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21531         * sysdeps/tile/dl-start.S (_start): Likewise.
21532         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21533         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21535         [BZ #14132]
21536         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21537         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21538         (rtld_progname): Make macro definition unconditional.
21539         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21540         INTDEF.
21541         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21542         (dl_main): Likewise.
21543         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21544         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21545         instead of _dl_argv_internal.
21546         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21547         __GI__dl_argv instead of INTUSE(_dl_argv).
21548         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21549         __GI__dl_argv instead of _dl_argv_internal.
21551         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21552         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21553         macro.
21554         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21555         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21556         New macro.
21557         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21558         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21559         macro.
21560         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21561         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21563 2014-11-04  Andreas Schwab  <schwab@suse.de>
21565         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21567 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21569         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21570         mtvsrd instruction in binary form.
21572 2014-11-03  Andreas Schwab  <schwab@suse.de>
21574         [BZ #17522]
21575         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21576         for less than MB_LEN_MAX use a local buffer of that size.
21577         * libio/tst-fputws.c: New file.
21578         * libio/Makefile (tests): Add tst-fputws.
21580 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21582         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21583         the size of the fpu_fr.fpu_dregs[] array.
21585 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21587         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21588         (__nanosleep): Do not define as alias.
21589         (nanosleep): Define as alias of __nanosleep.
21590         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21591         __libc_nanosleep name.
21593 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21595         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21596         install.texi in comment.
21598 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21600         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21601         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21602         ... add here and use lwsync or sync ...
21603         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21604         ... and add here using lwsync.
21606 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21608         * elf/dl-machine-reject-phdr.h: New file.
21609         * elf/dl-load.c: #include that.
21610         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21611         if that returned true.
21613 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21615         [BZ #17496]
21616         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21617         gen-as-const-headers chunk.  Add a big scare comment after the last
21618         safe place to touch before-compile.
21620 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21622         * manual/install.texi (Tools for Compilation): Update autoconf
21623         version requirements.
21624         * INSTALL: Regenerated.
21626         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21627         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21628         (__libc_pselect): Likewise.
21630         [BZ #14138]
21631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21636 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21638         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21639         correct barrier instruction.
21640         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21641         Likewise.
21642         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21643         Likewise.
21645 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21647         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21648         after defining inlines.  Instead, just use parens to defeat macro
21649         expansion of __isctype in its declaration.
21651 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21653         * include/sys/uio.h (__libc_readv): Remove declaration.
21654         (__libc_writev): Likewise.
21655         * misc/readv.c (__libc_readv): Rename to __readv.
21656         (__readv): Do not define as alias.
21657         (readv): Define as alias of __readv.
21658         * misc/writev.c (__libc_writev): Rename to __writev.
21659         (__writev): Do not define as alias.
21660         (writev): Define as alias of __writev.
21661         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21662         (__readv): Do not define as alias.
21663         (readv): Define unconditionally as alias of __readv.
21664         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21665         (__writev): Do not define as alias.
21666         (writev): Define unconditionally as alias of __writev.
21667         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21668         name.
21669         (writev): Do not define __libc_writev name.
21671 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21673         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21674         (convert_charseq): New function, broken out of ...
21675         (use_from_charmap): ... here.  Call it.
21676         (use_to_charmap): Use convert_charseq and free instead of duplicating
21677         its code with a variable-length stack struct.
21679 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21681         * include/fcntl.h (__libc_creat): Remove declaration.
21682         * io/creat.c (__libc_creat): Rename to creat.
21683         (creat): Do not define as alias.
21684         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21685         of creat instead of __libc_creat.
21686         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21687         to creat.
21688         (creat): Do not define as alias.
21689         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21690         __libc_creat.
21691         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21692         __libc_creat name.
21693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21694         Likewise.
21696 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21698         * manual/llio.texi: Add comments discussing why write() may be
21699         considered MT-unsafe on Linux.
21701 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21703         * dl-load.c (local_strdup): Remove.
21704         (expand_dynamic_string_token): Use __strdup.
21705         (decompose_rpath): Likewise.
21706         (_dl_map_object): Likewise.
21708 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21710         [BZ #14132]
21711         * sysdeps/generic/unwind-dw2-fde.c
21712         (__register_frame_info_bases_internal): Do not declare.
21713         (__register_frame_info_table_bases_internal): Likewise.
21714         (__deregister_frame_info_bases_internal): Likewise.
21715         (__register_frame_info_bases): Declare and use hidden_proto before
21716         definition.  Use hidden_def instead of INTDEF.
21717         (__register_frame_info_table_bases): Likewise.
21718         (__deregister_frame_info_bases): Likewise.
21719         (__register_frame_info): Do not use INTUSE.
21720         (__register_frame): Likewise.
21721         (__register_frame_info_table): Likewise.
21722         (__register_frame_table): Likewise.
21723         (__deregister_frame_info): Likewise.
21724         (__deregister_frame): Likewise.
21726 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
21728         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21729         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21730         not undefine.
21731         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21732         Likewise.
21733         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21734         Likewise.
21736 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
21738         [BZ #14138]
21739         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21740         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21741         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21742         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21743         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21744         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21745         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21746         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21747         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21748         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21749         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21750         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21751         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21752         syscall.
21753         (setfsuid): Likewise.
21754         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21755         (setfsuid): Likewise.
21756         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21757         (setfsuid): Likewise.
21758         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21759         Likewise.
21760         (setfsuid): Likewise.
21761         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21762         (setfsuid): Likewise.
21763         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21764         Likewise.
21765         (setfsuid): Likewise.
21767 2014-10-27  Andreas Schwab  <schwab@suse.de>
21769         [BZ #17501]
21770         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21771         check for Slow_SSE4_2 feature bit.
21772         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21773         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21774         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21775         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21777 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21779         * configure.ac: Validate compiler version with a empirical test of
21780         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21781         $CC -v output.
21782         * configure: Regenerated.
21784         * inet/htons.c (htons): Prototypify.
21785         * inet/htonl.c (htonl): Likewise.
21787 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21789         * string/strncat.c (strncat): Improve performance by using strlen.
21791 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21793         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21795 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21797         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21798         Call libc_fetestexcept_aarch64.
21800 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21802         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
21803         Call libc_feholdexcept_aarch64.
21805 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21807         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
21808         Call get_rounding_mode.
21810 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21812         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21813         Simplify logic.
21815 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21817         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
21818         Simplify logic.
21820 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
21822         [BZ #14138]
21823         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
21824         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
21825         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
21826         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
21827         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
21828         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
21829         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
21830         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
21831         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
21832         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
21833         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21834         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
21835         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
21836         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
21837         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
21838         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
21839         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
21840         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
21841         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
21842         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
21843         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
21844         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
21845         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
21846         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
21847         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
21848         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
21849         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
21850         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
21851         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
21852         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
21853         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
21854         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
21855         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
21856         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
21857         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
21858         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
21859         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
21860         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
21861         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
21862         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
21863         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
21864         syscall.
21865         (geteuid): Likewise.
21866         (getgid): Likewise.
21867         (getuid): Likewise.
21868         (getresgid): Likewise.
21869         (getresuid): Likewise.
21870         (getgroups): Likewise.
21871         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
21872         (geteuid): Likewise.
21873         (getgid): Likewise.
21874         (getuid): Likewise.
21875         (getresgid): Likewise.
21876         (getresuid): Likewise.
21877         (getgroups): Likewise.
21878         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
21879         (geteuid): Likewise.
21880         (getgid): Likewise.
21881         (getuid): Likewise.
21882         (getresgid): Likewise.
21883         (getresuid): Likewise.
21884         (getgroups): Likewise.
21885         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
21886         Likewise.
21887         (geteuid): Likewise.
21888         (getgid): Likewise.
21889         (getuid): Likewise.
21890         (getresgid): Likewise.
21891         (getresuid): Likewise.
21892         (getgroups): Likewise.
21893         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
21894         (geteuid): Likewise.
21895         (getgid): Likewise.
21896         (getuid): Likewise.
21897         (getresgid): Likewise.
21898         (getresuid): Likewise.
21899         (getgroups): Likewise.
21900         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
21901         Likewise.
21902         (geteuid): Likewise.
21903         (getgid): Likewise.
21904         (getuid): Likewise.
21905         (getgroups): Likewise.
21907         [BZ #14138]
21908         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
21909         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
21910         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
21911         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21912         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
21913         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
21914         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
21915         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
21916         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
21917         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
21918         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
21919         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
21920         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
21921         __chown.
21922         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
21923         (lchown): Likewise.
21924         (fchown): Likewise.
21925         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
21926         Likewise.
21927         (lchown): Likewise.
21928         (fchown): Likewise.
21929         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
21930         (lchown): Likewise.
21931         (fchown): Likewise.
21932         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
21933         Likewise.
21934         (lchown): Likewise.
21935         (fchown): Likewise.
21937 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21939         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
21940         Simplify logic.
21942 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21944         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21945         Cleanup logic.
21947 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21949         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
21950         Remove unused include.
21952 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
21954         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
21955         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
21956         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
21957         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
21959 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
21960             Helge Deller <deller@gmx.de>
21962         [BZ #17508]
21963         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
21964         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
21965         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
21967 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
21969         [BZ #14132]
21970         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
21971         Remove macro definition.
21972         (__ashrdi3_v_glibc20): Likewise.
21973         (__lshrdi3_v_glibc20): Likewise.
21974         (__cmpdi2_v_glibc20): Likewise.
21975         (__ucmpdi2_v_glibc20): Likewise.
21976         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
21977         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21978         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21979         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21980         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21981         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
21983 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21985         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
21986         old GNU extension [0] syntax.
21987         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
21988         alloca rather than an array member with variable length.
21989         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
21990         * nscd/nscd.c (invalidate_db): New function, broken out of ...
21991         (parse_opt): ... here.  Likewise use alloca there.
21992         Validate the -i argument before checking for rootness.
21993         (send_shutdown): New function, broken out of ...
21994         (parse_opt): ... here.
21996 2014-10-22  Roland McGrath  <roland@hack.frob.com>
21998         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
21999         macro to get at the _rt_local_ro field.
22000         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22001         ([PIC] case) or _dl_hwcap ([!PIC] case).
22002         * sysdeps/arm/setjmp.S: Likewise.
22004         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22005         * sysdeps/arm/configure.ac: New check to define it.
22006         * sysdeps/arm/configure: Regenerated.
22007         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22008         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22009         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22010         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22011         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22012         Use move/movt pair instead of a load.
22013         (LDST_GLOBAL): Macro removed.
22014         (LDR_GLOBAL): New macro replaces it.
22015         (LDR_HIDDEN): New macro.
22016         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22017         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22019         * setjmp/tst-setjmp-static.c: New file.
22020         * setjmp/Makefile (tests): Add it.
22021         (tests-static): New variable.
22023 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
22025         [BZ #17485]
22026         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22028 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
22030         [BZ #14132]
22031         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22033 2014-10-21  Roland McGrath  <roland@hack.frob.com>
22035         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22037 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22039         * io/fts.c (dirent_not_directory): New function.
22040         (fts_build): Call it.
22042 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22044         * nptl/version.c (__nptl_main): Use normal __write rather than
22045         INTERNAL_SYSCALL.
22046         (banner): Update copyright years.
22048         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22049         gettimeofday.
22050         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22051         * nptl/pthread_cond_timedwait.c: Likewise.
22052         * nptl/pthread_mutex_timedlock.c: Likewise.
22053         * nptl/sem_timedwait.c: Likewise.
22055         * sysdeps/nptl/bits/libc-lock.h
22056         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22057         (__libc_lock_init_recursive): Return void, not 0.
22058         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22059         (__libc_rwlock_init): Likewise.
22060         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22062 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22064         [BZ #15215]
22065         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22066         (__pthread_once_slow): ... here.
22067         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22068         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22070 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22072         [BZ #15215]
22073         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22074         __PTHREAD_ONCE_FORK_GEN_INCR): New.
22075         * sysdeps/nptl/fork.c (__libc_fork): Use them.
22076         * nptl/pthread_once.c (__pthread_once): Likewise.
22077         Update comments.
22079 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
22081         [BZ #14138]
22082         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22083         name.
22084         (writev): Use __libc_writev as strong name.
22085         * sysdeps/unix/sysv/linux/readv.c: Remove file.
22086         * sysdeps/unix/sysv/linux/writev.c: Likewise.
22088 2014-10-17  Roland McGrath  <roland@hack.frob.com>
22090         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22092         * sysdeps/i386/nptl/tls.h
22093         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22094         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22095         New macros.
22096         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22097         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22098         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22099         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22100         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22101         Call CHECK_THREAD_SYSINFO instead of doing an assert.
22103         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22104         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22105         on [__NR_futex].
22106         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22107         broken out of ...
22108         (__pthread_mutex_init): ... here.  Call it.
22109         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22110         Conditionalize PI cases on [__NR_futex].
22111         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22112         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22113         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22115         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22116         conditional on [SIGSETXID].
22117         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22118         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22119         is defined.  Likewise for SIGSETXID.
22120         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22121         Conditionalize definitions on [SIGSETXID].
22122         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22123         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22124         unblocking on [SIGCANCEL].
22126         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22127         [__NR_set_robust_list].
22129 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22131         * string/strcoll_l.c (get_next_seq): Fix up formatting.
22132         (do_compare): Likewise.
22134 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
22136         [BZ #15884]
22137         * string/strcoll_l.c: Don't include stdio.h.
22138         (coll_seq): Remove members idxarr and rulearr.
22139         (get_next_seq_cached): Remove function.
22140         (get_next_seq): Likewise.
22141         (get_next_seq_nocache): Rename to get_next_seq.
22142         (do_compare): Remove function.
22143         (do_compare_nocache): Rename to do_compare.
22144         (STRCOLL): Remove weight and rules cache.
22146 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22148         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22149         * sysdeps/arm/sfp-machine.h: ... to here.
22150         * sysdeps/arm/Implies: Remove arm/soft-fp.
22152 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22154         * conform/data/sys/utsname.h-data (*_t): Allow.
22155         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22156         [POSIX] (WEXITED): Do not expect constant.
22157         [POSIX] (WSTOPPED): Likewise.
22158         [POSIX] (WNOHANG): Likewise.
22159         [POSIX] (WNOWAIT): Likewise.
22160         [POSIX] (siginfo_t): Do not expect type or elements.
22161         [POSIX] (pid_t): Do not expect type.
22162         [POSIX] (signal.h): Do not allow header.
22163         [POSIX] (sys/resource.h): Likewise.
22164         [POSIX] (si_*): Do not allow pattern.
22165         [POSIX] (W*): Likewise.
22166         [POSIX] (P_*): Likewise.
22167         [POSIX] (BUS_*): Likewise.
22168         [POSIX] (CLD_*): Likewise.
22169         [POSIX] (FPE_*): Likewise.
22170         [POSIX] (ILL_*): Likewise.
22171         [POSIX] (POLL_*): Likewise.
22172         [POSIX] (SEGV_*): Likewise.
22173         [POSIX] (SI_*): Likewise.
22174         [POSIX] (TRAP_*): Likewise.
22175         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22176         variable.
22178 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22180         [BZ #12926]
22181         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22182         infinite loop when __recvmsg returns 0.
22184 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22186         * CANCEL-FCT-WAIVE: Remove file.
22187         * CANCEL-FILE-WAIVE: Likewise.
22189         [BZ #14132]
22190         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22191         instead of INTVARDEF.
22192         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22193         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22194         rtld_hidden_data_def instead of INTVARDEF.
22195         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22196         * elf/dl-deps.c (expand_dst): Likewise.
22197         * elf/dl-load.c (_dl_dst_count): Likewise.
22198         (_dl_dst_substitute): Likewise.
22199         (decompose_rpath): Likewise.
22200         (_dl_init_paths): Likewise.
22201         (open_path): Likewise.
22202         (_dl_map_object): Likewise.
22203         * elf/rtld.c (dl_main): Likewise.
22204         (process_dl_audit): Likewise.
22205         (process_envvars): Likewise.
22206         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22207         Remove declaration.
22208         (__libc_enable_secure): Use rtld_hidden_proto.
22210 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22212         * elf/dl-load.c
22213         (add_path): New function broken out of _dl_rtld_di_serinfo.
22214         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22216 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22218         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22219         parentheses around macro arguments.
22220         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22221         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22222         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22224         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22231         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22232         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22233         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22234         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22235         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22236         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22237         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22239         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22240         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22242         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22249         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22250         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22251         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22253         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22254         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22255         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22256         Likewise.
22257         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22258         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22259         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22260         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22261         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22262         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22263         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22264         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22265         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22266         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22267         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22268         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22269         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22278         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22279         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22280         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22281         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22282         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22283         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22284         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22285         (_FP_FRAC_SRS_1): Likewise.
22286         (_FP_FRAC_CLZ_1): Likewise.
22287         (_FP_MUL_MEAT_1_imm): Likewise.
22288         (_FP_MUL_MEAT_1_wide): Likewise.
22289         (_FP_MUL_MEAT_1_hard): Likewise.
22290         (_FP_SQRT_MEAT_1): Likewise.
22291         (_FP_FRAC_ASSEMBLE_1): Likewise.
22292         (_FP_FRAC_DISASSEMBLE_1): Likewise.
22293         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22294         (__FP_CLZ_2): Likewise.
22295         (_FP_MUL_MEAT_2_wide): Likewise.
22296         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22297         (_FP_MUL_MEAT_2_gmp): Likewise.
22298         (_FP_MUL_MEAT_2_120_240_double): Likewise.
22299         (_FP_SQRT_MEAT_2): Likewise.
22300         (_FP_FRAC_ASSEMBLE_2): Likewise.
22301         (_FP_FRAC_DISASSEMBLE_2): Likewise.
22302         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22303         (_FP_FRAC_CLZ_4): Likewise.
22304         (_FP_MUL_MEAT_4_wide): Likewise.
22305         (_FP_MUL_MEAT_4_gmp): Likewise.
22306         (_FP_SQRT_MEAT_4): Likewise.
22307         (_FP_FRAC_ASSEMBLE_4): Likewise.
22308         (_FP_FRAC_DISASSEMBLE_4): Likewise.
22309         * soft-fp/op-common.h (_FP_CMP): Likewise.
22310         (_FP_CMP_EQ): Likewise.
22311         (_FP_CMP_UNORD): Likewise.
22312         (_FP_TO_INT): Likewise.
22313         (_FP_FROM_INT): Likewise.
22314         [!__FP_CLZ] (__FP_CLZ): Likewise.
22315         (_FP_DIV_HELP_imm): Likewise.
22316         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22317         Likewise.
22318         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22321         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22329         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22330         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22331         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22332         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22333         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22334         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22335         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22337         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22347         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22348         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22349         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22350         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22351         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22352         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22353         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22354         (FP_UNPACK_RAW_SP): Likewise.
22355         (FP_PACK_RAW_S): Likewise.
22356         (FP_PACK_RAW_SP): Likewise.
22357         (FP_UNPACK_S): Likewise.
22358         (FP_UNPACK_SP): Likewise.
22359         (FP_UNPACK_SEMIRAW_S): Likewise.
22360         (FP_UNPACK_SEMIRAW_SP): Likewise.
22361         (FP_PACK_S): Likewise.
22362         (FP_PACK_SP): Likewise.
22363         (FP_PACK_SEMIRAW_S): Likewise.
22364         (FP_PACK_SEMIRAW_SP): Likewise.
22365         (_FP_SQRT_MEAT_S): Likewise.
22366         (FP_CMP_S): Likewise.
22367         (FP_CMP_EQ_S): Likewise.
22368         (FP_CMP_UNORD_S): Likewise.
22369         (FP_TO_INT_S): Likewise.
22370         (FP_FROM_INT_S): Likewise.
22372         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22374         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22375         (FP_EX_INVALID_IMZ): Likewise.
22376         (FP_EX_INVALID_IMZ_FMA): Likewise.
22377         (FP_EX_INVALID_ISI): Likewise.
22378         (FP_EX_INVALID_ZDZ): Likewise.
22379         (FP_EX_INVALID_IDI): Likewise.
22380         (FP_EX_INVALID_SQRT): Likewise.
22381         (FP_EX_INVALID_CVI): Likewise.
22382         (FP_EX_INVALID_VC): Likewise.
22383         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22384         "invalid" exceptions.
22385         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22386         (_FP_ADD_INTERNAL): Likewise.
22387         (_FP_MUL): Likewise.
22388         (_FP_FMA): Likewise.
22389         (_FP_DIV): Likewise.
22390         (_FP_CMP_CHECK_NAN): Likewise.
22391         (_FP_SQRT): Likewise.
22392         (_FP_TO_INT): Likewise.
22393         (FP_EXTEND): Likewise.
22395 2014-10-09  Allan McRae  <allan@archlinux.org>
22397         * po/fr.po: Update French translation from translation project.
22399 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22401         [BZ #14132]
22402         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22403         of INTDEF.
22404         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22405         (__cxa_atexit): Use libc_hidden_proto.
22406         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22408         [BZ #14132]
22409         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22410         declaration.
22411         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22412         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22413         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22414         [!_ISOMAC] (__iswctype_internal): Likewise.
22415         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22416         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22417         alias.
22418         (fcntl): Remove __fcntl_internal alias.
22419         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22420         __connect_internal alias.
22421         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22422         Likewise.
22424         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22425         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22426         FP_DENORM_ZERO.
22427         (_FP_CHECK_FLUSH_ZERO): New macro.
22428         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22429         (_FP_CMP): Likewise.
22430         (_FP_CMP_EQ): Likewise.
22431         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22432         FP_DENORM_ZERO.
22433         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22434         (FP_TRUNC): Likewise.
22436         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22437         treated as invalid conversion, not as normal exponent.
22439         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22440         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22441         (_FP_CMP_EQ): Likewise.
22442         (_FP_CMP_UNORD): Likewise.
22443         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22444         (FP_CMP_EQ_D): Likewise.
22445         (FP_CMP_UNORD_D): Likewise.
22446         * soft-fp/extended.h (FP_CMP_E): Likewise.
22447         (FP_CMP_EQ_E): Likewise.
22448         (FP_CMP_UNORD_E): Likewise.
22449         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22450         (FP_CMP_EQ_Q): Likewise.
22451         (FP_CMP_UNORD_Q): Likewise.
22452         * soft-fp/single.h (FP_CMP_S): Likewise.
22453         (FP_CMP_EQ_S): Likewise.
22454         (FP_CMP_UNORD_S): Likewise.
22455         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22456         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22457         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22458         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22459         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22460         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22461         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22462         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22463         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22464         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22465         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22466         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22467         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22468         to FP_CMP_Q.
22469         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22470         FP_CMP_Q.
22471         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22472         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22473         FP_CMP_EQ_Q.
22474         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22475         FP_CMP_Q.
22476         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22477         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22478         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22479         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22480         FP_CMP_EQ_Q.
22481         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22482         FP_CMP_Q.
22483         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22484         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22485         FP_CMP_EQ_Q.
22486         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22487         FP_CMP_Q.
22488         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22489         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22490         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22491         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22492         FP_CMP_EQ_Q.
22494         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22495         a subnormal result, set the underflow exception if trapping on
22496         underflow is enabled.
22497         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22498         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22499         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22500         redefine to 0.
22501         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22502         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22503         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22504         * soft-fp/extendxftf2.c (__extendxftf2): Use
22505         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22507         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22508         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22509         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22510         FP_HANDLE_EXCEPTIONS.
22511         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22512         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22513         FP_HANDLE_EXCEPTIONS.
22514         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22515         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22516         FP_HANDLE_EXCEPTIONS.
22517         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22518         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22519         FP_HANDLE_EXCEPTIONS.
22521 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22523         [BZ #14132]
22524         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22525         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22526         use INTUSE.
22527         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22528         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22529         Remove alias.
22530         (__adjtimex): Define using libc_hidden_ver.
22531         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22532         Remove declaration.
22533         (ntp_gettime): Call __adjtimex directly.
22534         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22535         Remove declaration.
22536         (ntp_gettimex): Call __adjtimex directly.
22537         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22538         __adjtimex_internal alias.
22540 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22542         [BZ #17460]
22543         * nscd/nscd.c (more_help): Rewrite list of tables collection
22544         using xstrdup and asprintf.
22546         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22548 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22549             Roland McGrath  <roland@hack.frob.com>
22551         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22552         (do_lookup_unique): ... local function 'enter' here; update callers.
22554 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22556         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22557         compat_symbol calls on [SHARED].
22558         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22559         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22560         Remove.
22561         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22562         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22563         (oldsetrlimit): Remove.
22564         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22566         (lchown): New syscall entry.
22567         (oldsetrlimit): Remove.
22568         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22569         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22570         (oldsetrlimit): Remove.
22571         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22573         [BZ #14138]
22574         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22575         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22576         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22577         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22578         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22579         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22580         (fchown): Likewise.
22581         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22582         (fchown): Likewise.
22583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22584         Likewise.
22586 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22588         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22589         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22590         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22591         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22592         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22593         Likewise.
22594         (__old_sem_post): Likewise.
22596 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22598         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22599         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22600         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22601         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22602         Use INLINE_VSYSCALL macro.
22603         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22604         __vdso_clock_gettime.
22605         * sysdeps/unix/sysv/linux/tile/init-first.c
22606         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22607         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22608         __vdso_clock_gettime.
22610         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22611         to set up frame more cleanly.
22613         * sysdeps/tile/memcmp.c: New file.
22615         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22617         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22618         * sysdeps/tile/tilegx/strcasestr.c: New file.
22619         * sysdeps/tile/tilegx/strnlen.c: New file.
22620         * sysdeps/tile/tilegx/strstr.c: New file.
22622         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22624 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22626         * nptl/tst-setuid3.c: Write errors to stdout.
22628 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22630         * elf/dl-deps.c
22631         (preload): New functions broken out of _dl_map_object_deps.
22632         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22634 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22636         [BZ #14138]
22637         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22638         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22640 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22642         * sysdeps/mips/strcmp.S: New.
22644 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22646         [BZ #14138]
22647         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22648         (linkat): Likewise.
22649         (mkdirat): Likewise.
22650         (readlinkat): Likewise.
22651         (renameat): Likewise.
22652         (symlinkat): Likewise.
22653         (unlinkat): Likewise.
22654         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22655         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22656         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22657         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22658         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22659         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22660         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22662 2014-09-30  Will Newton  <will.newton@linaro.org>
22664         * math/math.h: Define long double math functions if
22665         _LIBC_TEST is defined.
22666         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22668         * localedata/Makefile: Move assignment to tests-special
22669         into an ifdef testing run-built-tests.
22670         * timezone/Makefile: Likewise.
22672 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22674         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22675         with $(BASH) not $(SHELL).
22677 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22678             Matthew LeGendre  <legendre1@llnl.gov>
22680         [BZ #17411]
22681         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22682         l_reloc_result.
22684 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22686         * stdio-common/printf_fp.c
22687         (hack_digit): New function, broken out of ...
22688         (__printf_fp): ... local function here.  Update call sites.
22689         hack_digit now takes an additional parameter that is a pointer
22690         to a struct of the referenced locals.  Those locals moved inside
22691         the struct and references updated.
22693 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22695         * aclocal.m4: Require autoconf 2.69.
22696         * configure: Regenerated.
22697         * sysdeps/aarch64/configure: Likewise.
22698         * sysdeps/alpha/configure: Likewise.
22699         * sysdeps/arm/armv7/configure: Likewise.
22700         * sysdeps/arm/configure: Likewise.
22701         * sysdeps/ia64/configure: Likewise.
22702         * sysdeps/mach/configure: Likewise.
22703         * sysdeps/mips/configure: Likewise.
22704         * sysdeps/s390/configure: Likewise.
22705         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22708         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22709         file.
22710         * sysdeps/ia64/configure.ac: Likewise.
22712 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22715         specify symbol version for ld.so.  Do not include entry for
22716         libpthread.
22717         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22718         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22719         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22721         [BZ #14171]
22722         * Makeconfig [$(build-shared) = yes]
22723         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22724         makefiles.
22725         [$(build-shared) = yes && $(soversions.mk-done) = t]
22726         ($(common-objpfx)gnu/lib-names.h): Remove rule.
22727         [$(build-shared) = yes && $(soversions.mk-done) = t]
22728         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
22729         to Makerules.
22730         [$(build-shared) = yes && $(soversions.mk-done) = t]
22731         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22732         here.
22733         [$(build-shared) = yes && $(soversions.mk-done) = t]
22734         (common-generated): Don't append gnu/lib-names.h and
22735         gnu/lib-names.stmp here.
22736         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22737         (lib-names-h-abi): New variable.
22738         [$(build-shared) = yes && $(soversions.mk-done) = t]
22739         (lib-names-stmp-abi): Likewise.
22740         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22741         abi-variants] (before-compile): Append
22742         $(common-objpfx)$(lib-names-h-abi).
22743         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22744         abi-variants] (common-generated): Append gnu/lib-names.h.
22745         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22746         abi-variants] (install-others-nosubdir): Depend on
22747         $(inst_includedir)/$(lib-names-h-abi).
22748         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22749         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22750         [$(build-shared) = yes && $(soversions.mk-done) = t]
22751         ($(common-objpfx)$(lib-names-h-abi)): New rule.
22752         [$(build-shared) = yes && $(soversions.mk-done) = t]
22753         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22754         [$(build-shared) = yes && $(soversions.mk-done) = t]
22755         (common-generated): Append $(lib-names-h-abi) and
22756         $(lib-names-stmp-abi).
22757         * scripts/lib-names.awk: Do not handle multi being set.
22758         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22759         Remove variable.
22760         (abi-lp64_be-ld-soname): Likewise.
22761         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22762         Likewise.
22763         (abi-hard-ld-soname): Likewise.
22764         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22765         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22766         Remove variable.
22767         (abi-o32_hard-ld-soname): Likewise.
22768         (abi-o32_soft_2008-ld-soname): Likewise.
22769         (abi-o32_hard_2008-ld-soname): Likewise.
22770         (abi-n32_soft-ld-soname): Likewise.
22771         (abi-n32_hard-ld-soname): Likewise.
22772         (abi-n32_soft_2008-ld-soname): Likewise.
22773         (abi-n32_hard_2008-ld-soname): Likewise.
22774         (abi-n64_soft-ld-soname): Likewise.
22775         (abi-n64_hard-ld-soname): Likewise.
22776         (abi-n64_soft_2008-ld-soname): Likewise.
22777         (abi-n64_hard_2008-ld-soname): Likewise.
22778         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22779         Likewise.
22780         (abi-64-v2-ld-soname): Likewise.
22781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22782         ld.so entries.
22783         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22784         variable.
22785         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22786         entry.
22787         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22788         variable.
22789         (abi-64-ld-soname): Likewise.
22790         (abi-x32-ld-soname): Likewise.
22791         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22792         entry.
22793         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22795 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22797         [BZ #14138]
22798         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22799         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
22800         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
22801         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
22802         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
22803         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
22804         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
22805         syscall entry for GLIBC_2.2 symbol version.
22806         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
22807         Likewise.
22808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22809         (setrlimit): Likewise.
22810         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
22811         Likewise.
22813 2014-09-23  Will Newton  <will.newton@linaro.org>
22815         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22816         _LINUX_ARM_SYSDEP_H include guard too.
22817         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
22818         define.
22820 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22822         * sysdeps/unix/sysv/linux/eventfd.c:
22823         Make first argument unsigned.
22824         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
22825         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
22827 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
22829         * socket/recvmmsg.c (recvmmsg): Drop const argument.
22830         * socket/sys/socket.h: Likewise.
22831         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
22833 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22835         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
22837 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
22839         * time/tst-ftime.c: New test.
22840         * time/Makefile (tests): Add tst-ftime.
22842 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
22844         * soft-fp/extended.h: Fix comment formatting.
22845         * soft-fp/op-1.h: Likewise.
22846         * soft-fp/op-2.h: Likewise.
22847         * soft-fp/op-4.h: Likewise.
22848         * soft-fp/op-8.h: Likewise.
22849         * soft-fp/op-common.h: Likewise.
22850         * soft-fp/soft-fp.h: Likewise.
22852         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
22854 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
22856         [BZ #6652]
22857         * Makeconfig (soversions-default-setname): Remove variable.
22858         ($(common-objpfx)soversions.i): Don't pass default_setname to
22859         soversions.awk.
22860         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
22861         oldest_abi to abi-versions.awk.
22862         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
22863         * config.make.in (oldest-abi): Remove variable.
22864         * configure.ac (--enable-oldest-abi): Remove configure option.
22865         * configure: Regenerated.
22866         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
22867         text.
22868         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
22869         * scripts/soversions.awk: Do not handle default_setname variable.
22870         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22871         variable.
22872         * sysdeps/mach/hurd/configure: Regenerated.
22873         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22874         variable.
22875         * sysdeps/unix/sysv/linux/configure: Regenerated.
22877 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22879         * elf/Makefile (CFLAGS-interp.c): Remove.
22880         ($(elf-objpfx)runtime-linker.h): Generate header with linker
22881         path string.
22882         * elf/interp.c: Include generated runtime-linker.h
22884         * Makerules (lib%.so): Don't include $(+interp) in
22885         prerequisites.
22886         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
22887         * dlfcn/eval.c: Remove file.
22889         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
22890         macros.
22892         [BZ #17266]
22893         * misc/sys/cdefs.h: Define __extern_always_inline for clang
22894         4.2 and newer.
22896         [BZ #17370]
22897         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
22899 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22900             Jakub Jelinek  <jakub@redhat.com>
22902         [BZ #17266]
22903         * libio/stdio.h: Check definition of __fortify_function
22904         instead of __extern_always_inline to include bits/stdio2.h.
22905         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
22906         check if __extern_always_inline is defined.
22907         [__USE_MISC || __USE_XOPEN]: Likewise.
22908         [__USE_ISOC99] Likewise.
22909         * misc/sys/cdefs.h (__fortify_function): Define only if
22910         __extern_always_inline is defined.
22911         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
22912         __extern_always_inline and __extern_inline only for g++-4.3
22913         and newer or a compatible gcc.
22915 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
22917         [BZ #17371]
22918         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
22919         last change to handle zero prefix length.
22921 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22923         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
22924         _SC_REGEX_VERSION.
22926         * posix/getconf.c (vars): Add _POSIX_IPV6 and
22927         _POSIX_RAW_SOCKETS.
22929 2014-09-13  Allan McRae  <allan@archlinux.org>
22931         * po/ru.po: Update Russian translation from translation project.
22933 2014-09-12  Roland McGrath  <roland@hack.frob.com>
22935         * locale/programs/locale.c (show_locale_vars): Inline local function
22936         into its sole call site.  Clean up some style nits.
22937         (print_item): New function, broken out of ...
22938         (show_info): ... local function here.  Clean up style nits.
22940         * locale/programs/ld-ctype.c (set_one_default): New function, broken
22941         out of ...
22942         (set_class_defaults): ... local function set_default here.
22943         Define set_default as a macro locally to pass constant parameters.
22944         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
22945         rather than a shared local.
22947         * stdlib/rpmatch.c (try): New function, broken out of ...
22948         (rpmatch): ... local function here.  Also, prototypify definition.
22950 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
22952         * scripts/soversions.awk: Do not handle configuration names.
22953         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22954         vendor and os variables to soversions.awk.
22955         * configure.ac: Do not modify gnu-* host_os.
22956         * configure: Regenerated
22957         * shlib-versions: Remove first column with configuration names.
22958         * nptl/shlib-versions: Likewise.
22959         * nptl_db/shlib-versions: Likewise.
22960         * sysdeps/hppa/shlib-versions: Likewise.
22961         * sysdeps/m68k/shlib-versions: Likewise.
22962         * sysdeps/mach/hurd/shlib-versions: Likewise.
22963         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
22964         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
22965         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
22966         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
22967         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
22968         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
22969         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
22970         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22972         Likewise.
22973         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22974         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
22975         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22976         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
22977         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
22978         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
22979         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22980         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22983         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
22984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22985         Regenerated.
22986         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
22987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
22988         Condition symbol version definitions on [HAVE_ELFV2_ABI].
22990         * shlib-versions: Remove OS-specific entries.  Moved to files in
22991         sysdeps.
22992         * sysdeps/mach/hurd/shlib-versions: New file.
22993         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
22995         * nptl/shlib-versions: Remove architecture-specific entries.
22996         Moved to files in sysdeps.
22997         * shlib-versions: Likewise.
22998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
22999         file.
23000         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23001         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23002         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23003         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23005         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23006         (UDP_NO_CHECK6_RX): Likewise.
23008 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23010         * sysdeps/posix/sysconf.c (__sysconf): Spell
23011         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23013 2014-08-12  Florian Weimer  <fweimer@redhat.com>
23015         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23016         loading.
23017         * iconv/Versions (__gconv_transliterate): Export for use from
23018         gconv modules.
23019         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23020         (struct __gconv_trans_data, __gconv_trans_fct,
23021         __gconv_trans_context_fct, __gconv_trans_query_fct,
23022         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23023         definitions.
23024         (struct __gconv_step_data): Remove __trans member.
23025         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
23026         longer hidden.  Remove unused trans_data argument.
23027         * iconv/gconv_int.h (struct trans_struct): Remove definition.
23028         (__gconv_translit_find): Remove declaration.
23029         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
23030         prototype.
23031         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23032         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23033         trans_data argument.  Add hidden definition.
23034         (__gconv_translit_find): Remove.
23035         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23036         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23037         * iconv/skeleton.c: Remove transliteration initialization.
23038         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23039         __gconv_step_data initialization.
23040         * libio/iofwide.c (__libio_translit_): Remove.
23041         (_IO_fwide): Adjust struct __gconv_step_data initialization.
23042         * wcsmbs/btowc.c (__btowc): Likewise.
23043         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23044         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23045         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23046         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23047         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23048         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23049         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23050         * wcsmbs/wctob.c (wctob): Likewise.
23052 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23054         [BZ #16194]
23055         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23056         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
23057         register usage.
23058         * sysdeps/x86/Makefile: Adjust.
23060 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23061             Roland McGrath  <roland@hack.frob.com>
23063         * locale/weight.h: Add include guard.
23064         (findidx): Make static rather than auto; take new parameters
23065         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23066         * locale/weightwc.h: Likewise.
23067         * posix/fnmatch_loop.c
23068         (FCT): Change type of EXTRA from int32_t to wint_t.
23069         Don't include either header inside the function.
23070         Call FINDIDX rather than findidx, and pass new arguments.
23071         #undef FINDIDX at the end of the file.
23072         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23073         FINDIDX before including fnmatch_loop.c for the non-wide version.
23074         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23075         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23076         for the wide version.
23077         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23078         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23079         Pass new arguments to findidx.
23080         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23081         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23082         Don't #include it inside the function.  Pass new arguments to findidx.
23083         * posix/regex_internal.h
23084         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23085         (re_string_elem_size_at): Don't #include it inside the function.
23086         Pass new arguments to findidx.
23087         * string/strcoll_l.c: #include WEIGHT_H at top level.
23088         (get_next_seq): Don't #include it inside the function.
23089         Pass new arguments to findidx.
23090         (get_next_seq_nocache): Likewise.
23091         * string/strxfrm_l.c: #include WEIGHT_H at top level.
23092         (STRXFRM): Don't #include it inside the function.
23093         Pass new arguments to findidx.
23095 2014-09-11  Florian Weimer  <fweimer@redhat.com>
23097         [BZ #17344]
23098         * malloc/malloc.c (unlink): Turn asserts into a call to
23099         malloc_printerr.
23101 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
23103         [BZ #17370]
23104         * libio/wfileops (do_ftell_wide): Free OUT.
23106 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
23108         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23110 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23112         [BZ #17363]
23113         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23114         group if the current group is empty.
23116 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23118         * benchtests/bench-memset.c (test_main): Add more test from size
23119         from 32 to 512 bytes.
23120         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23121         Add POWER8 memset object.
23122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23123         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23124         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23125         implementation.
23126         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23127         Likewise.
23128         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23129         multiarch POWER8 memset optimization.
23130         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23131         POWER8 memset optimization.
23133         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23134         Remove bzero multiarch objects.
23135         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23136         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23137         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23138         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23139         Remove define.
23140         [__bzero]: Redefine to specific name.
23141         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23142         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23143         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23144         define.
23145         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23146         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23148 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23150         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23151         warnings into errors.
23153         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23154         __cxa_thread_atexit_impl prototype.
23156 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23158         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23159         Fix capitalization of error message.
23161 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23163         * sysdeps/mips/preconfigure: Modify ABI tests.
23165 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23167         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23169 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23170             Carlos O'Donell  <carlos@systemhalted.org>
23172         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23173         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23174         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23175         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23176         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23177         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23178         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23179         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23180         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23181         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23183         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23185         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23187         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23188         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23189         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23191         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23192         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23193         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23194         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23195         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23196         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23197         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23198         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23199         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23200         Deconditionalize the code that was previously under [RESET_PID].
23201         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23202         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23203         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23204         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23205         include sysdep.h.
23207 2014-09-08  Allan McRae  <allan@archlinux.org>
23209         * version.h (RELEASE): Set to "development".
23210         (VERSION): Set to "2.20.90"
23212 2014-09-07  Allan McRae  <allan@archlinux.org
23214         * version.h (RELEASE): Set to "stable".
23215         (VERSION): Set to "2.20"
23216         * include/features.h (__GLIBC_MINOR__): Set to 20.
23218         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23219         Liebler.
23221         * po/ko.po: Update Korean translation from translation project.
23223 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23225         [BZ #17354]
23226         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23227         macro for handling signed relocations.
23229 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23231         [BZ #17325]
23232         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23233         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23234         assert.
23235         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23236         * iconvdata/ibm935.c (BODY): Likewise.
23237         * iconvdata/ibm937.c (BODY): Likewise.
23238         * iconvdata/ibm939.c (BODY): Likewise.
23239         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23240         assert.
23241         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23242         script.
23243         * iconvdata/run-iconv-test.sh: New test loop for checking for
23244         decoder crashers.
23246 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23248         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23249         libm_hidden_ver.
23251 2014-09-01  Allan McRae  <allan@archlinux.org>
23253         * po/eo.po: Update Esperanto translation from translation project.
23255         * po/ca.po: Update Catalan translation from translation project.
23257 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23259         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23260         __proc_dostop call.
23262 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23264         [BZ #17319]
23265         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23266         to call set_thread_area instead of hand written asm.
23267         (__NR_set_thread_area): Removed define.
23268         (TLS_FLAG_WRITABLE): Likewise.
23269         (__ASSUME_SET_THREAD_AREA): Remove check.
23270         (TLS_EBX_ARG): Remove define.
23271         (TLS_LOAD_EBX): Likewise.
23273 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23275         Simplify atomicity of socket creation in bind.
23277         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23278         looking up the name after linking the file.
23280 2014-08-27  Allan McRae  <allan@archlinux.org>
23282         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23284 2014-08-26  Florian Weimer  <fweimer@redhat.com>
23286         [BZ #17187]
23287         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23288         trans_compare, open_translit, __gconv_translit_find):
23289         Remove module loading code.
23291 2014-08-26  Allan McRae  <allan@archlinux.org>
23293         * po/vi.po: Update Vietnamese translation from translation project.
23295         * po/uk.po: Update Ukrainian translation from translation project.
23297         * po/fr.po: Update French translation from translation project.
23299         * po/ru.po: Update Russian translation from translation project.
23301         * po/pl.po: Update Polish translation from translation project.
23303         * po/cs.po: Update Czech translation from translation project.
23305         * po/de.po: Update German translation from translation project.
23307         * po/bg.po: Update Bulgarian translation from translation project.
23309         * po/sv.po: Update Sweedish translation from translation project.
23311         * po/nl.po: Update Dutch translation from translation project.
23313         * po/es.po: Update Spanish translation from translation project.
23315 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23317         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23319         * catgets/Makefile (CPPFLAGS-gencat): Remove.
23320         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23321         (CPPFLAGS-iconvconfig): Likewise.
23322         * timezone/Makefile (CPPFLAGS-zic): Likewise.
23324         * include/libc-symbols.h: Remove unnecessary check for
23325         NOT_IN_libc.
23326         * nptl/pthreadP.h: Likewise.
23327         * sysdeps/aarch64/setjmp.S: Likewise.
23328         * sysdeps/alpha/setjmp.S: Likewise.
23329         * sysdeps/arm/sysdep.h: Likewise.
23330         * sysdeps/i386/setjmp.S: Likewise.
23331         * sysdeps/m68k/setjmp.c: Likewise.
23332         * sysdeps/posix/getcwd.c: Likewise.
23333         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23334         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23335         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23336         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23337         * sysdeps/sh/sh3/setjmp.S: Likewise.
23338         * sysdeps/sh/sh4/setjmp.S: Likewise.
23339         * sysdeps/unix/alpha/sysdep.h: Likewise.
23340         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23341         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23342         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23343         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23346         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23347         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23348         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23349         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23350         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23351         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23353         * sysdeps/x86_64/setjmp.S: Likewise.
23355 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23357         [BZ #17263]
23358         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23359         <stdint.h>.
23360         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23361         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23363 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23365         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23367         [BZ #17262]
23368         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23369         and __x86_64__ when disabling x87 inline functions.
23371 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23373         [BZ #17259]
23374         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23375         asm statement with __cpuid_count.
23377 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23379         * configure.ac: Change __ehdr_start code to dereference the struct.
23380         Run readelf on the output to look for relocations.
23381         * configure: Regenerated.
23383 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23385         [BZ #17261]
23386         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23387         value to 0.
23388         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23390 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23392         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23394 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23396         [BZ #16892]
23397         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23398         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23400 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23402         * malloc/malloc.c: Fix typo in comment.
23404 2014-08-09  Allan McRae  <allan@archlinux.org>
23406         * Regenerate libc.po.
23408 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23410         * intl/tst-gettext2.sh: Check every lang file for creation.
23412 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23414         * sysdeps/aarch64/fpu/math_private.h
23415         (libc_feholdsetround_noex_aarch64_ctx): New function.
23417 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23419         * sysdeps/arm/armv6/strcpy.S (strcpy):
23420         Fix performance issue in misaligned cases.
23422 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23424         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23425         Move definition from termios.h.
23426         (struct termio): Likewise.
23427         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23428         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23429         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23430         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23431         Likewise.
23432         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23433         Move definition to ioctl-types.h
23434         (struct termio): Likewise.
23435         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23436         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23437         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23438         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23439         Likewise.
23441 2014-08-05  Richard Henderson  <rth@redhat.com>
23443         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23444         exceptions.
23445         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23446         Add fraiseexcpt.
23447         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23448         Use __feraiseexcept.
23449         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23450         Protect libm symbols with IS_IN_libm.
23452         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23454 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23456         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23458 2014-08-04  Will Newton  <will.newton@linaro.org>
23460         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23461         file.
23463 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23465         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23466         variants for each function.
23468 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23470         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23471         appended ...
23472         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23473         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23474         appended ...
23475         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23476         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23477         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23478         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23479         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23480         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23481         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23482         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23483         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23484         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23485         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23486         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23487         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23488         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23489         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23490         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23491         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23492         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23493         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23494         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23495         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23496         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23497         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23498         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23499         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23500         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23501         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23502         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23503         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23504         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23505         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23506         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23507         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23508         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23509         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23510         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23511         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23512         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23513         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23514         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23515         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23516         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23517         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23518         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23519         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23520         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23521         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23522         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23523         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23524         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23525         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23526         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23527         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23528         Update #include.
23529         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23530         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23532 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23534         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23535         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23536         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23537         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23538         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23539         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23541 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23543         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23544         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23545         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23546         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23548 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23550         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23551         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23552         (__libc_vfork): Define function under this name.
23553         (__vfork): Define as an alias.
23554         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23555         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23557 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23559         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23560         that was previously under [RESET_PID].
23561         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23563 2014-08-04  Andreas Schwab  <schwab@suse.de>
23565         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23567 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23569         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23570         (main): Likewise.
23572 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23574         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23576 2014-08-01  Richard Henderon  <rth@redhat.com>
23578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23579         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23580         typo in exact zero test.
23581         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23582         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23583         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23585 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23587         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23588         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23589         * sysdeps/arm/sysdep.h: ... here.
23590         [!__ASSEMBLER__]: Include <stdint.h>.
23592 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23594         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23595         (HAVE_WCTYPE_H): Likewise.
23596         (HAVE_ISWCTYPE): Likewise.
23597         (ENABLE_NLS): Likewise.
23598         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23599         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23601         * posix/regex_internal.c: Check if DEBUG is defined and is
23602         set.
23604         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23605         (HAVE_MBSRTOWCS): Likewise.
23606         * posix/fnmatch.c: Include string.h unconditionally.
23608 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23610         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23611         reversal.
23613 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23615         * sysdeps/generic/safe-fatal.h: New file.
23616         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23617         * nptl/forward.c: Include it.
23618         (__pthread_unwind): Use __safe_fatal as default action, rather
23619         than a bogus use of INTERNAL_SYSCALL that could never work.
23621         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23622         * configure.ac (libc_cv_builtin_trap): New test.
23623         * configure: Regenerated.
23624         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23625         (ABORT_INSTRUCTION): Define using __builtin_trap.
23627         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23628         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23629         * sysdeps/nptl/nptl-signals.h: New file.
23630         * nptl/pthreadP.h: Include <nptl-signals.h>.
23632 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23634         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23635         (ONE_DIRECTION): Define.
23636         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23637         (ONE_DIRECTION): Define.
23638         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23639         (ONE_DIRECTION): Define.
23641 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23643         * sysdeps/s390/Makefile: Delete file.
23644         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23645         * sysdeps/s390/__longjmp.c: Delete file.
23646         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23647         Remove fields __flags and __reserved.
23648         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23649         and add versioning.
23650         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23651         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23652         * sysdeps/s390/rtld-setjmp.S: Likewise.
23653         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23654         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23655         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23656         * sysdeps/s390/s390-32/setjmp.S: ... here.
23657         Add versioning.
23658         (__sigsetjmp): Remove setting __flags field.
23659         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23660         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23661         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23662         * sysdeps/s390/s390-64/setjmp.S: ... here.
23663         Add versioning.
23664         (__sigsetjmp): Remove setting __flags field.
23665         * sysdeps/s390/setjmp.S: Delete file.
23666         * sysdeps/s390/sigjmp.c: Likewise.
23667         * sysdeps/s390/v1-longjmp.c: Likewise.
23668         * sysdeps/s390/v1-setjmp.h: Likewise.
23669         * sysdeps/s390/v1-sigjmp.c: Likewise.
23670         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23671         Remove v1-longjmp_chk.
23672         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23673         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23674         Include debug/longjmp_chk.c and add versioning.
23675         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23676         Include nptl/pt-longjmp.c and add versioning.
23677         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23678         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23679         Include __longjmp.c.
23680         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23681         Move to ...
23682         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23683         (__getcontext): Remove setting __flags field.
23684         Add versioning.
23685         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23686         Don't restore upper high grps.
23687         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23688         Likewise.
23689         (__swapcontext): Remove setting uc_flags field.
23690         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23691         Delete file.
23692         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23693         Include __longjmp.c.
23694         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23695         Move to ...
23696         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23697         (__getcontext): Remove setting __flags field.
23698         Add versioning.
23699         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23700         (__swapcontext): Remove setting uc_flags field.
23701         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23702         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23703         Remove fields uc_high_gprs and __reserved.
23704         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23705         New file with reverted content.
23706         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23707         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23708         Regenerated.
23709         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23710         Regenerated.
23712 2014-07-31  Andreas Schwab  <schwab@suse.de>
23714         * config.h.in (HAVE_IFUNC): Define to 0.
23715         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23716         definedness.
23718 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23721         memmove-avx-unaligned, memcpy-avx-unaligned and
23722         mempcpy-avx-unaligned.
23723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23724         Add tests for AVX memcpy functions.
23725         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23726         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23727         memcpy_chk.
23728         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23729         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23730         memmove_chk.
23731         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23732         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23733         mempcpy_chk.
23734         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23735         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23736         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23738 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23740         [BZ #17213]
23741         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23742         powerpc64le.
23744 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
23746         [BZ #16839]
23747         * manual/llio.texi: Add section about open file description locks.
23748         * manual/examples/ofdlocks.c: Example of open file description
23749         lock usage.
23750         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23751         F_OFD_SETLK, and F_OFD_SETLKW.
23753 2014-07-23  Allan McRae  <allan@archlinux.org>
23755         * po/es.po: Update Spanish translation from translation project.
23757 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23759         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23761 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23763         [BZ #17078]
23764         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23765         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23766         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23768 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23770         [BZ #17088]
23771         * math/fesetenv.c (__fesetenv)
23772         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23773         * math/feupdateenv.c (__feupdateenv)
23774         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23776         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23777         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23778         (__ASSUME_SOCKETCALL): Do not define.
23780         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23781         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23782         (__ASSUME_SOCKETCALL): Do not define.
23783         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23784         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23785         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23786         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23787         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23788         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23789         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23790         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23792         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23793         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23794         (__ASSUME_SOCKETCALL): Do not define.
23795         (__ASSUME_IPC64): Define unconditionally.
23796         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23797         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23798         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23799         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23800         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
23801         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23802         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
23803         Likewise.
23805         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
23806         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
23807         (__ASSUME_SOCKETCALL): Do not define.
23808         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
23809         (__ASSUME_FUTEX_LOCK_PI): Likewise.
23810         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23811         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23812         (__ASSUME_REQUEUE_PI): Define unconditionally.
23813         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
23814         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23815         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23816         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
23817         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23818         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23820         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
23821         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
23822         (__ASSUME_SOCKETCALL): Do not define.
23823         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
23824         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23825         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23826         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
23827         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23828         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23830         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
23831         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
23832         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23833         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
23834         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23835         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
23836         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23837         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
23838         (__ASSUME_GETCPU_SYSCALL): Likewise.
23840         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
23841         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
23842         cases for individual architectures.
23843         * sysdeps/gnu/configure: Regenerated.
23844         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
23845         LIBC_SLIBDIR_RTLDDIR.
23846         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
23847         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
23848         LIBC_SLIBDIR_RTLDDIR.
23849         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
23850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
23851         LIBC_SLIBDIR_RTLDDIR.
23852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23853         Regenerated.
23854         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
23855         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
23856         file.
23857         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
23858         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
23859         file.
23860         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
23861         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
23862         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
23863         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
23865         * sysdeps/aarch64/shlib-versions: Move to ...
23866         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
23867         * sysdeps/alpha/shlib-versions: Move to ...
23868         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
23869         * sysdeps/arm/shlib-versions: Move to ...
23870         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
23871         * sysdeps/hppa/shlib-versions: Move all contents except for
23872         libgcc_s entry to ...
23873         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
23874         entry from ...
23875         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
23876         * sysdeps/ia64/shlib-versions: Move to ...
23877         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
23878         entry from ...
23879         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
23880         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
23881         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
23882         * sysdeps/microblaze/shlib-versions: Move to ...
23883         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
23884         * sysdeps/mips/shlib-versions: Move to ...
23885         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
23886         entry from ...
23887         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
23888         * sysdeps/tile/shlib-versions: Move to ...
23889         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
23890         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
23891         from ...
23892         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
23893         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
23894         entry from ...
23895         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
23897 2014-07-17  Will Newton  <will.newton@linaro.org>
23899         * sysdeps/arm/bits/atomic.h
23900         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
23901         (__arch_compare_and_exchange_bool_16_int): Likewise.
23902         (__arch_compare_and_exchange_bool_64_int): Likewise.
23904         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
23905         into an #else block.
23907 2014-07-16  Roland McGrath  <roland@hack.frob.com>
23909         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
23910         just Linux configurations.  Test empirically that the compiler sets
23911         __ARM_EABI__, rather than using the tuple to decide.
23912         * sysdeps/arm/preconfigure: Regenerated.
23913         * sysdeps/unix/sysv/linux/arm/configure: File removed.
23914         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
23915         contents appended ...
23916         * sysdeps/arm/configure.ac: ... here.
23917         * sysdeps/arm/configure: Regenerated.
23919 2014-07-15  Roland McGrath  <roland@hack.frob.com>
23921         * nptl/pthread_kill.c: New file.
23922         * nptl/pthread_sigmask.c: New file.
23923         * nptl/pthread_sigqueue.c: New file.
23925         * sysdeps/nptl/lowlevellock.h: New file.
23926         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
23927         * sysdeps/nptl/lowlevellock-futex.h: New file.
23929         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
23930         Remove dead declarations.
23932 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
23934         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
23935         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
23936         config-cflags-avx2.
23937         * sysdeps/x86_64/configure.ac: Likewise.
23938         * sysdeps/i386/configure: Regenerated.
23939         * sysdeps/x86_64/configure: Likewise.
23940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23941         memset-avx2 only if config-cflags-avx2 is yes.
23942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23943         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
23944         defined.
23945         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
23946         only if HAVE_AVX2_SUPPORT is defined.
23947         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23949 2014-07-14  Alan Modra  <amodra@gmail.com>
23951         [BZ #17153]
23952         * elf/elf.h (DT_PPC64_NUM): Correct value.
23953         * NEWS: Add to fixed bug list.
23955 2014-07-13  Jim Meyering  <meyering@fb.com>
23957         [BZ 17150]
23958         regex: don't deref NULL upon heap allocation failure
23959         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
23960         failure in one more place.
23961         To trigger the segfault, configure grep -with-included-regex,
23962         build it, and run these commands:
23963         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
23965 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
23967         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23969 2014-07-11  Richard Henderson  <rth@redhat.com>
23971         * sysdeps/aarch64/libm-test-ulps: Update.
23973 2014-07-10  Florian Weimer  <fweimer@redhat.com>
23975         [BZ #17135]
23976         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
23977         * nptl/allocatestack.c (__nptl_setxid_error): New function.
23978         (__nptl_setxid): Initialize error member.  Call
23979         __nptl_setxid_error.
23980         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
23981         * nptl/descr.h (struct xid_command): Add error member.
23982         * nptl/tst-setuid3.c: New file.
23983         * nptl/Makefile (tests): Add it.
23985 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23987         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
23988         New define.
23989         (__lll_trylock): Use __lll_base_trylock.
23990         (__lll_cond_trylock): Likewise.
23992 2014-07-10  Roland McGrath  <roland@hack.frob.com>
23994         * nptl/pthread_create.c (start_thread): Use atomic_or and
23995         lll_futex_wake directly rather than lll_robust_dead.
23996         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
23997         (lll_robust_dead): Macro removed.
23998         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
23999         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24000         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24001         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24002         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24003         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24004         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24005         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24006         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24007         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24008         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24009         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24010         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24011         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24012         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24014         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24015         Use atomic_compare_and_exchange_val_acq directly rather than
24016         lll_robust_trylock.
24017         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24018         (__lll_robust_trylock, lll_robust_trylock): Removed.
24019         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24020         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24021         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24022         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24023         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24024         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24025         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24026         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24027         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24028         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24029         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24030         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24031         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24032         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24034 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24036         * manual/locale.texi (Locale Names): New section documenting
24037         locale name syntax.  Adjust menu and node chaining accordingly.
24038         (Choosing Locale): Reference Locale Names, Locale Categories.
24039         Mention setting LC_ALL=C.  Reflect that name syntax is now
24040         documented.
24041         (Locale Categories): New section title.  Reference Locale Names.
24042         LC_ALL is an environment variable, but not a category.
24043         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24044         description, now in Locale Name.  Reference that section.  Locale
24045         name syntax is now documented.
24047 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24049         [BZ #17137]
24050         * locale/findlocale.c (name_present, valid_locale_name): New
24051         functions.
24052         (_nl_find_locale): Use the loc_name variable to store name
24053         candidates.  Call name_present and valid_locale_name to check and
24054         validate locale names.  Return an error if the locale is invalid.
24056 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24058         * locale/setlocale.c (setlocale): Use strdup for allocating
24059         composite name copy.
24061 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24063         Sync up with gnulib.
24064         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24065         [!_LIBC && ENABLE_NLS]: Include gettext.h.
24066         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24067         and _GL_ARG_NONNULL.
24068         [USE_UNLOCKED_IO]: Include unlocked-io.h.
24069         [!_LIBC]: Include code for Windows and Cygwin.
24070         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24071         Include prototype for int strerror_r.
24072         [!_LIBC] (is_open): New function.
24073         (flush_stdout): New function.
24074         (print_errno_message): Use it.
24075         (error): Likewise.
24076         (error_at_line): Likewise.
24077         (error_tail) Add function attribute macros.  Use
24078         __builtin_expect.
24080         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24082         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24084         * io/ftw.c: Include sys/param.h unconditionally.
24086         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24088         [BZ #17125]
24089         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24090         libc_freeres_ptr.
24091         (freecache): New function to free CACHE on exit.
24093         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24094         initialization.
24096 2014-07-09  David S. Miller  <davem@davemloft.net>
24098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24100         * sysdeps/sparc/nptl/internaltypes.h: Delete.
24101         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24102         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24103         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24104         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24105         * sysdeps/sparc/nptl/sem_init.c: Likewise.
24106         * sysdeps/sparc/nptl/sem_post.c: Likewise.
24107         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24108         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24109         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24110         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24111         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24112         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24114 2014-07-09  Andreas Schwab  <schwab@suse.de>
24116         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24117         output.
24118         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24119         (do_test): Likewise.
24121         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24123 2014-07-09  Will Newton  <will.newton@linaro.org>
24125         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24126         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24127         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24128         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24129         * sysdeps/hppa/start.S (_start): Likewise.
24131 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24133         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24135         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24136         defined.
24138 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24140         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24141         after checking that it is non-NULL.
24143         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24145 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24147         * sysdeps/powerpc/memmove.c: Remove file.
24148         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24149         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24150         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24151         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24152         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24153         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24154         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24155         string memmove instead of removed powerpc one.
24157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24158         [weak_alias]: Fix compiler warning due trailing data.
24159         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24160         [weak_alias]: Likewise.
24161         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24162         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24164         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24165         (__libc_ifunc_impl_list): Add memmove functions.
24167 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24169         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24170         Remove code.
24171         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24172         Likewise.
24173         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24174         Likewise.
24175         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24176         Likewise.
24177         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24178         Likewise.
24179         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24180         Likewise.
24181         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24182         Likewise.
24183         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24184         Likewise.
24185         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24186         Likewise.
24187         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24188         Likewise.
24189         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24190         Likewise.
24191         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24192         Likewise.
24193         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24194         Likewise.
24195         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24196         Likewise.
24197         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24198         Likewise.
24199         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24200         Likewise.
24201         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24202         Likewise.
24204 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24206         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24207         to avoid alignment traps in non-cacheable memory.
24208         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24211         multiarch objects.
24212         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24213         file: multiarch power7 memmove.
24214         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24215         multiarch default memmove.
24216         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24217         multiarch memove for powerpc32/power4.
24219         * string/bcopy.c: Use full path to include memmove.c.
24220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24221         multiarch objects.
24222         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24223         bcopy for powerpc64.
24224         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24225         bcopy for powerpc64.
24226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24227         and memmove implementations.
24228         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24229         optimized multiarch memmove for POWER7/powerpc64.
24230         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24231         default multiarch memmove for powerpc64.
24232         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24233         multiarch for powerpc64.
24234         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24235         for POWER7/powerpc64.
24236         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24237         memmove for POWER7/powerpc64.
24239         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24240         glibc default one.
24242         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24243         __ELF_NATIVE_CLASS equal to 64.
24245 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24247         * sysdeps/nptl/lowlevellock.h: File removed.
24249         * NEWS: NPTL is no longer an add-on!
24250         * nptl/internaltypes.h: Moved ...
24251         * sysdeps/nptl/internaltypes.h: ... here.
24252         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24253         * sysdeps/nptl/fork.c: Likewise.
24254         * sysdeps/nptl/gai_misc.h: Likewise.
24255         * sysdeps/nptl/librt-cancellation.c: Likewise.
24256         * sysdeps/nptl/jmp-unwind.c: Likewise.
24257         * sysdeps/nptl/setxid.h: Likewise.
24258         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24259         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24260         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24261         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24262         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24263         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24264         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24265         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24266         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24267         * sysdeps/unix/sysv/linux/mips/Implies: New file.
24268         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24269         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24270         * sysdeps/unix/sysv/linux/sh/Implies: New file.
24271         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24272         * sysdeps/unix/sysv/linux/tile/Implies: New file.
24273         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24274         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24275         * nptl/Makeconfig: Moved ...
24276         * sysdeps/nptl/Makeconfig: ... here.
24277         * nptl/configure: File removed.
24278         * nptl/ANNOUNCE: File removed.
24279         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24280         * sysdeps/unix/sysv/linux/configure: Regenerated.
24282         * nptl/Makefile (routines): Add libc_pthread_init,
24283         libc_multiple_threads, register-atfork and unregister-atfork.
24284         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24285         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24286         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24287         pthread-pi-defines.sym, structsem.sym.
24288         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24289         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24290         [$(subdir) = nptl] (tests): Add tst-setgetname.
24291         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24292         * sysdeps/unix/sysv/linux/sigaction.c: Just include
24293         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24294         [!LIBC_SIGACTION]: Remove aliases.
24295         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24296         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24297         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24298         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24299         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24300         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24301         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24302         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24303         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24304         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24305         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24306         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24307         __libc_allocate_rtsig_private.
24308         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24309         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24310         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24311         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24312         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24313         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24314         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24315         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24316         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24317         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24318         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24319         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24320         * nptl/internaltypes.h: ... here.
24321         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24322         * sysdeps/nptl/jmp-unwind.c: ... here.
24323         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24324         * nptl/libc-lowlevellock.c: ... here.
24325         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24326         * nptl/libc_multiple_threads.c: ... here.
24327         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24328         * nptl/libc_pthread_init.c: ... here.
24329         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24330         * nptl/lowlevelbarrier.sym: ... here.
24331         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24332         * nptl/lowlevelcond.sym: ... here.
24333         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24334         * nptl/lowlevellock.c: ... here.
24335         * nptl/lowlevellock.h: Moved ...
24336         * sysdeps/nptl/lowlevellock.h: ... here.
24337         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24338         * nptl/lowlevelrobustlock.c: ... here.
24339         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24340         * nptl/lowlevelrobustlock.sym: ... here.
24341         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24342         * nptl/lowlevelrwlock.sym: ... here.
24343         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24344         * nptl/pt-fork.c: ... here.
24345         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24346         * nptl/pthread-pi-defines.sym: ... here.
24347         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24348         * nptl/pthread_attr_getaffinity.c: ... here.
24349         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24350         * nptl/pthread_attr_setaffinity.c: ... here.
24351         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24352         * nptl/pthread_mutex_cond_lock.c: ... here.
24353         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24354         Update #include.
24355         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24356         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24357         * nptl/pthread_once.c: ... here, replacing old file.
24358         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24359         * nptl/pthread_yield.c: ... here.
24360         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24361         * nptl/register-atfork.c: ... here.
24362         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24363         * nptl/sem_post.c: ... here.
24364         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24365         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24366         * nptl/sem_timedwait.c: ... here.
24367         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24368         * nptl/sem_trywait.c: ... here.
24369         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24370         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24371         * nptl/sem_wait.c: ... here.
24372         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24373         * nptl/structsem.sym: ... here.
24374         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24375         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24376         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24377         * nptl/unregister-atfork.c: ... here.
24378         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24379         * nptl/unwindbuf.sym: ... here.
24380         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24381         * sysdeps/nptl/fork.c: ... here.
24382         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24383         * sysdeps/nptl/fork.h: ... here.
24384         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24385         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24386         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24387         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24388         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24389         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24390         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24391         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24392         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24393         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24394         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24395         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24396         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24397         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24398         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24399         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24400         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24401         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24402         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24403         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24404         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24405         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24406         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24407         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24408         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24409         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24410         * sysdeps/unix/sysv/linux/raise.c: ... here.
24411         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24412         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24413         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24414         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24415         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24416         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24417         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24418         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24419         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24420         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24421         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24422         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24423         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24424         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24425         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24427 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24429         * sysdeps/generic/memcopy.h: Add comment for
24430         MEMCPY_OK_FOR_FWD_MEMMOVE.
24432 2014-07-04  Will Newton  <will.newton@linaro.org>
24434         * string/memchr.c: Merge from gnulib.
24435         [_LIBC]: Remove conditionals.
24436         (__ptr_t): Remove define.
24437         (LONG_MAX_32_BITS): Likewise.
24438         (LONG_MAX): Likewise.
24439         (MEMCHR): Use ANSI prototype and optimize algorithm.
24441         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24443 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24445         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24446         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24448         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24449         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24450         in a bare environment with no <stdlib.h> installed.
24451         * sysdeps/nptl/configure: Regenerated.
24453         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24455         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24456         AC_EGREP_CPP for kernel header checks, so they only succeed if
24457         including <linux/version.h> actually works right.
24458         * sysdeps/unix/sysv/linux/configure: Regenerated.
24460         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24461         value so it's not diagnosed as unused.
24463         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24464         thing) with "ifeq ($(subdir),rt)".
24466 2014-07-03  Richard Henderson  <rth@redhat.com>
24468         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24469         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24470         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24472         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24473         (math_force_eval): New.
24475         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24476         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24478         * sysdeps/alpha/fpu/s_round.c: Remove file.
24479         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24481         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24482         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24483         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24484         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24485         (_dl_start, print_statistics): Likewise.
24486         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24487         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24489         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24490         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24491         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24492         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24493         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24494         (HP_SMALL_TIMING_AVAIL): Define.
24495         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24496         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24497         (HP_SMALL_TIMING_AVAIL): Define.
24498         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24499         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24501         * sysdeps/aarch64/hp-timing.h: New file.
24503         * sysdeps/generic/hp-timing.h: Remove dead comment.
24504         * sysdeps/generic/hp-timing-common.h: New file.
24505         * sysdeps/alpha/hp-timing.h: Include it.
24506         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24507         * sysdeps/i386/i686/hp-timing.h: Likewise.
24508         * sysdeps/ia64/hp-timing.h: Likewise.
24509         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24510         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24511         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24512         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24513         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24514         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24515         (hp_timing_t): New.
24517         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24518         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24519         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24520         * elf/rtld.c (_dl_start_final): Likewise.
24521         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24522         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24523         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24524         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24525         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24526         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24527         (HP_TIMING_DIFF_INIT): Remove.
24528         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24529         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24530         (HP_TIMING_DIFF_INIT): Remove.
24531         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24532         * sysdeps/i386/i686/hp-timing.c: Remove file.
24533         * sysdeps/x86_64/hp-timing.c: Remove file.
24534         * sysdeps/ia64/hp-timing.c: Remove file.
24535         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24536         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24537         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24538         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24540         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24541         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24542         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24543         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24544         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24545         (HP_TIMING_ACCUM): Remove.
24546         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24547         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24548         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24550         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24551         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24552         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24553         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24554         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24555         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24556         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24557         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24559         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24561 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24563         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24565 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24567         Sync up with gettext.
24568         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24569         [_MSC_VER]: Include malloc.h
24570         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24571         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24572         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24573         TEMP_FAILURE_RETRY.  Cast return of alloca.
24574         [!_LIBC] Call gl_rwlock_init.
24575         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24577 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24579         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24580         before checking its value.
24582 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24584         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24586         * debug/memcpy_chk.c: Don't include pagecopy.h.
24587         * debug/mempcpy_chk.c: Likewise.
24588         * string/memcpy.c: Likewise.
24589         * string/memmove.c: Likewise.
24590         * sysdeps/powerpc/memmove.c: Likewise.
24591         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24592         definition of PAGE_COPY_FWD_MAYBE here...
24593         * sysdeps/generic/pagecopy.h: ... from here.
24594         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24596 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24597             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24599         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24601         optimizations.
24602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24603         (__libc_ifunc_impl_list): Likewise.
24604         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24605         multiarch strcat for PPC64.
24606         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24607         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24609 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24611         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24613 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24615         * intl/loadmsgcat.c: Remove declaration of
24616         get_sysdep_segment_value.
24617         (get_sysdep_segment_value): Use ISO C style.
24618         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24619         semicolon.  Fix typo and formatting in comment.
24620         (_nl_unload_domain): Use ISO C style.
24622         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24624 2014-07-02  Will Newton  <will.newton@linaro.org>
24626         * malloc/obstack.c: Merge from gnulib master.
24627         [HAVE_CONFIG_H]: Remove conditional code.
24628         [!_LIBC]: Include config.h.
24629         [!ELIDE_CODE]: Don't include inttypes.h, include
24630         stdint.h unconditionally.
24631         (print_and_abort): Mark as _Noreturn.
24632         (_obstack_allocated_p): Mark as __attribute_pure__.
24633         (obstack_free): Rename to __obstack_free.
24634         [!__attribute__]: Remove conditional code.
24635         * malloc/obstack.h: Merge from gnulib master.
24636         [__cplusplus]: Move conditional down.
24637         [!__attribute_pure__]: Define __attribute_pure__ here
24638         if it is not already defined.
24639         (_obstack_memory_used): Mark as __attribute_pure__.
24640         [!__obstack_free]: Define as obstack_free.
24641         [__GNUC__]: Remove check for ancient NeXT gcc.
24643 2014-07-02  Will Newton  <will.newton@linaro.org>
24644             Paul Eggert  <eggert@cs.ucla.edu>
24646         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24648 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24650         * resolv/gethnamaddr.c: Add comment warning that the file is
24651         not maintained.
24653 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24655         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24656         entries.
24658         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24659         entry for aio_cancel and aio_cancel64.
24660         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24661         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24662         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24663         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24664         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24665         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24666         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24667         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24668         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24669         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24670         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24671         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24672         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24674 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24676         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24677         * nptl/pthread_mutex_lock.c: Likewise.
24678         * nptl/pthread_mutex_timedlock.c: Likewise.
24679         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24681 2014-07-01  Richard henderson  <rth@redhat.com>
24683         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24684         (__isnan, __isnanl): Remove.
24685         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24687         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24689 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24691         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24693 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24695         * resolv/nss_dns/dns-host.c (getanswer_r)
24696         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24698 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24700         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24701         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24702         undefine.
24703         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24704         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24706 2014-07-01  Roland McGrath <roland@hack.frob.com>
24708         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24709         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24711         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24712         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24714         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24715         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24716         ... here.
24717         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24718         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24720         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24721         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24722         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24723         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24725         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24726         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24727         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24728         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24729         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24730         Moved ...
24731         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24732         ... here.
24733         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24734         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24735         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24736         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24737         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24738         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24739         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24740         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24741         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24742         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24743         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24744         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24745         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24746         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24747         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24748         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24749         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24750         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24751         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24752         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24753         ... here.
24754         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24755         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24756         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24757         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24758         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24759         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24760         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24761         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24763 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24765         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24766         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24767         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24768         Add sysdep.
24770 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24774 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24776         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24777         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24779         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24781         * sysdeps/arm/libm-test-ulps: Regenerated.
24783 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24784             Roland McGrath <roland@hack.frob.com>
24786         * test-skeleton.c (signal_handler): Kill the whole process group
24787         before killing the child individually.
24788         (main): Report any failure on `setpgid'.
24790 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24792         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24793         from _TLS_H to _ARM_NPTL_TLS_H.
24794         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24795         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24797 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24799         [BZ #16539]
24800         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
24801         (__expm1l): Return argument unchanged when small but not
24802         subnormal.
24804         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
24805         include macro name.
24806         (_FP_UNPACK_RAW_1_P): Likewise.
24807         (_FP_PACK_RAW_1): Likewise.
24808         (_FP_PACK_RAW_1_P): Likewise.
24809         (_FP_MUL_MEAT_1_wide): Likewise.
24810         (_FP_MUL_MEAT_DW_1_hard): Likewise.
24811         (_FP_MUL_MEAT_1_hard): Likewise.
24812         (_FP_DIV_MEAT_1_imm): Likewise.
24813         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
24814         (_FP_DIV_MEAT_1_udiv): Likewise.
24815         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
24816         (_FP_UNPACK_RAW_2): Likewise.
24817         (_FP_UNPACK_RAW_2_P): Likewise.
24818         (_FP_PACK_RAW_2): Likewise.
24819         (_FP_PACK_RAW_2_P): Likewise.
24820         (_FP_MUL_MEAT_DW_2_wide): Likewise.
24821         (_FP_MUL_MEAT_2_wide): Likewise.
24822         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
24823         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24824         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24825         (_FP_MUL_MEAT_2_gmp): Likewise.
24826         (_FP_DIV_MEAT_2_udiv): Likewise.
24827         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
24828         (_FP_FRAC_SRL_4): Likewise.
24829         (_FP_FRAC_SRST_4): Likewise.
24830         (_FP_FRAC_SRS_4): Likewise.
24831         (_FP_UNPACK_RAW_4): Likewise.
24832         (_FP_UNPACK_RAW_4_P): Likewise.
24833         (_FP_PACK_RAW_4): Likewise.
24834         (_FP_PACK_RAW_4_P): Likewise.
24835         (_FP_MUL_MEAT_DW_4_wide): Likewise.
24836         (_FP_MUL_MEAT_4_wide): Likewise.
24837         (_FP_MUL_MEAT_4_gmp): Likewise.
24838         (umul_ppppmnnn): Likewise.
24839         (_FP_DIV_MEAT_4_udiv): Likewise.
24840         (__FP_FRAC_ADD_4): Likewise.
24841         (__FP_FRAC_SUB_3): Likewise.
24842         (__FP_FRAC_SUB_4): Likewise.
24843         (__FP_FRAC_DEC_3): Likewise.
24844         (__FP_FRAC_DEC_4): Likewise.
24845         (__FP_FRAC_ADDI_4): Likewise.
24846         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
24847         (_FP_FRAC_SRL_8): Likewise.
24848         (_FP_FRAC_SRS_8): Likewise.
24850         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
24851         include macro name.
24852         (FP_UNPACK_RAW_EP): Likewise.
24853         (FP_PACK_RAW_E): Likewise.
24854         (FP_PACK_RAW_EP): Likewise.
24855         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
24856         (_FP_ISSIGNAN): Likewise.
24857         (_FP_ADD_INTERNAL): Likewise.
24858         (_FP_FMA): Likewise.
24859         (_FP_CMP): Likewise.
24860         (_FP_SQRT): Likewise.
24861         (_FP_TO_INT): Likewise.
24862         (_FP_FROM_INT): Likewise.
24863         (FP_EXTEND): Likewise.
24864         (_FP_DIV_MEAT_N_loop): Likewise.
24866 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24868         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24869         throughout.
24871 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
24873         [BZ #17097]
24874         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
24875         result with correct sign in case of exponents that produce
24876         overflow except for X very close to 1.
24878 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
24880         mktime: merge #if/#ifdef usage from glibc
24881         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
24882         as that works with both Glibc's and Gnulib's style.
24883         See thread starting at Siddhesh Poyarekar's bug report at:
24884         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
24886 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24888         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24889         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
24890         * sysdeps/tile/tilegx/memmove.c: Remove file.
24892 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
24894         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
24895         abi-name definition.
24896         * scripts/soversions.awk: Do not handle or generate ABI lines.
24897         * shlib-versions: Remove ABI entries.
24898         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
24899         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
24901 2014-06-27  Roland McGrath  <roland@hack.frob.com>
24903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
24904         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
24905         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
24906         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
24907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
24908         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
24909         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
24910         Moved ...
24911         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
24912         ... here.
24913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
24914         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
24915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
24916         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
24917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
24918         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
24919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
24920         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
24921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
24922         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
24923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24924         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
24925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
24926         Moved ...
24927         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
24928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
24929         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
24930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
24931         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
24932         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
24933         Moved ...
24934         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
24935         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
24936         Moved ...
24937         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
24938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
24939         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
24940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
24941         Moved ...
24942         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
24943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
24944         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
24945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
24946         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
24947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
24948         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
24949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
24950         Moved ...
24951         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
24952         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
24953         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
24954         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
24955         Moved ...
24956         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
24957         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
24958         Moved ...
24959         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
24960         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
24961         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
24962         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
24963         Moved ...
24964         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
24965         ... here.
24966         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
24967         Identical file removed.
24968         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
24969         Moved ...
24970         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
24971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
24972         Identical file removed.
24973         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
24974         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
24975         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
24976         Moved ...
24977         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
24978         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
24979         Identical file removed.
24980         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
24981         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
24982         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
24983         Identical file removed.
24984         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
24985         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
24986         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
24987         Identical file removed.
24988         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
24989         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
24990         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
24991         Identical file removed.
24992         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
24993         Moved ...
24994         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
24995         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
24996         Identical file removed.
24997         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
24998         Moved ...
24999         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25000         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25001         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25002         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25003         Identical file removed.
25004         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25005         Moved ...
25006         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25007         ... here.
25008         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25009         Identical file removed.
25010         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25011         Moved ...
25012         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25013         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25014         Identical file removed.
25015         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25016         Moved ...
25017         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25019         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25020         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25021         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25022         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25023         Moved ...
25024         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25025         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25026         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25028         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25029         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25030         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25031         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25032         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25034 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
25036         [BZ #17092]
25037         * nscd/nscd.c (monitor_child): Return exit status of child
25038         instead of return value from wait syscall.
25040 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25042         * configure.ac (libc_commonpagesize): Remove variable.
25043         (libc_relro_required): Likewise.
25044         (libc_cv_z_relro): Remove configure test.
25045         * configure: Regenerated.
25046         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25047         variable.
25048         (libc_relro_required): Likewise.
25049         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25050         (libc_relro_required): Likewise.
25051         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25052         (libc_relro_required): Likewise.
25053         * sysdeps/arm/preconfigure: Regenerated.
25054         * sysdeps/ia64/preconfigure: Remove file.
25055         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25056         variable.
25057         (libc_relro_required): Likewise.
25059         [BZ #16561]
25060         [BZ #16562]
25061         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25062         (__ieee754_yn): Set FE_TONEAREST mode internally and then
25063         recompute overflowing results in original rounding mode.
25064         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25065         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25066         recompute overflowing results in original rounding mode.
25067         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25068         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25069         recompute overflowing results in original rounding mode.
25070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25071         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25072         recompute overflowing results in original rounding mode.
25073         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25074         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25075         recompute overflowing results in original rounding mode.
25076         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25077         (libc_feholdsetround_ctx): New macro.
25078         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25079         * sysdeps/i386/fpu/libm-test-ulps: Update.
25080         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25082 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25084         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25085         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25086         corresponding .cpsetup call.
25088 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25090         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25091         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25092         * sysdeps/arm/Makefile [$(subdir) = csu]
25093         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25094         (static-only-routines): Add aeabi_read_tp here.
25095         (shared-only-routines): Add libc-aeabi_read_tp here.
25096         (CFLAGS-libc-start.c): Add -fexceptions here.
25097         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25098         (sysdep_routines, static-only-routines, shared-only-routines):
25099         Don't add to these here.
25100         (CFLAGS-libc-start.c): Likewise.
25102         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25103         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25104         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25105         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25106         * sysdeps/arm/Makefile [$(subdir) = rt]
25107         (librt-sysdep_routines, librt-shared-only-routines):
25108         Append rt-aeabi_unwind_cpp_pr1 here.
25109         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25110         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25111         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25112         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25113         Append nptl-aeabi_unwind_cpp_pr1 here.
25114         (tests): Filter out tst-cleanupx4 here.
25115         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25116         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25117         Don't do those here.
25119 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25121         * scripts/list-sources.sh: Do not handle ports specially.
25123 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25125         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25126         * sysdeps/arm/feupdateenv.c: Likewise.
25128         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25130 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25132         * manual/texinfo.tex: Update to version 2014-05-05.10 with
25133         trailing whitespace removed.
25134         * scripts/config.guess: Update to version 2014-03-23.
25135         * scripts/config.sub: Update to version 2014-05-01
25136         * scripts/install-sh: Update to version 2013-12-25.23.
25137         * scripts/move-if-change: Update from gnulib.
25139 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25141         * debug/memmove_chk.c: Remove pagecopy.h include.
25143 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25145         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25146         identical to gnulib mktime.
25148 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25150         * configure.ac: Do not test for machine being rs6000.  Do not test
25151         for powerpc*-*soft.
25152         * configure: Regenerated.
25154         [BZ #11505]
25155         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25156         test.
25157         * configure: Regenerated.
25158         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25159         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25160         Remove configure test.
25161         * sysdeps/arm/configure: Regenerated.
25162         * sysdeps/nptl/configure.ac: Do not check
25163         libc_cv_asm_cfi_directives.
25164         * sysdeps/nptl/configure: Regenerated.
25165         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25166         * sysdeps/x86_64/nptl/configure: Remove generated file.
25167         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25168         unconditional.
25169         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25171 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25173         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25174         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25175         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25176         it is defined.
25178         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25179         instead of whether it is defined.
25180         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25181         * sysdeps/hppa/dl-machine.h: Likewise.
25182         * sysdeps/ia64/dl-machine.h: Likewise.
25183         * sysdeps/m68k/dl-machine.h: Likewise.
25184         * sysdeps/microblaze/dl-machine.h: Likewise.
25185         * sysdeps/mips/dl-machine.: Likewise.
25186         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25187         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25188         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25189         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25190         * sysdeps/sh/dl-machine.h: Likewise.
25191         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25192         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25193         * sysdeps/tile/dl-machine.h: Likewise.
25194         * sysdeps/x86_64/dl-machine.h: Likewise.
25196         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25197         code.
25198         (verify_persistent_db): Likewise.
25200 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25203         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25205         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25207         Moved ...
25208         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25209         ... here.
25210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25211         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25213         Identical file removed.
25214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25215         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25217         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25219         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25221         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25223         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25225         Moved ...
25226         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25228         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25230         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25232         Moved ...
25233         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25235         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25237         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25239         Identical file removed.
25240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25241         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25243         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25245         Moved ...
25246         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25247         ... here.
25248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25249         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25251         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25253         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25255         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25257         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25259         Moved ...
25260         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25262         Moved ...
25263         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25265         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25267         Moved ...
25268         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25270         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25272         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25273         folded into ...
25274         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25275         * sysdeps/unix/sysv/linux/s390/Versions
25276         (libpthread: GLIBC_2.19): New version set.
25277         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25278         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25279         (librt: GLIBC_2.3.3): New version set.
25280         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25281         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25282         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25283         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25284         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25285         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25286         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25287         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25288         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25289         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25290         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25291         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25292         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25293         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25294         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25295         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25296         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25297         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25298         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25299         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25300         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25301         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25302         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25303         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25304         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25305         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25306         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25307         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25308         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25309         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25310         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25311         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25315         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25316         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25318         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25320         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25322         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25323         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25324         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25326         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25327         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25328         (__libc_vfork): Define the function under this name.
25329         [!NOT_IN_libc] (__vfork): Make this an alias.
25330         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25332         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25333         (__libc_vfork): Define the function under this name.
25334         [!NOT_IN_libc] (__vfork): Make this an alias.
25335         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25336         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25337         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25338         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25339         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25340         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25342         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25343         code that was previously under [RESET_PID].
25344         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25345         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25348         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25349         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25350         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25351         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25352         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25353         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25354         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25355         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25356         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25357         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25358         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25359         Moved ...
25360         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25361         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25362         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25363         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25364         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25365         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25366         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25367         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25368         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25369         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25370         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25371         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25372         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25373         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25374         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25375         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25376         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25377         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25378         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25379         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25380         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25381         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25382         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25383         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25384         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25385         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25386         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25387         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25388         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25390 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25392         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25393         that was previously under [RESET_PID].
25394         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25396 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25398         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25399         not undefine and redefine.
25400         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25401         [O_CLOEXEC]: Make code unconditional.
25402         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25403         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25404         <kernel-features.h>.
25405         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25406         conditional variable definition.
25407         (shm_open) [O_CLOEXEC]: Make code unconditional.
25408         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25409         code.
25411         * configure.ac (USE_REGPARMS): Don't define here.
25412         * configure: Regenerated.
25413         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25414         * sysdeps/i386/configure: Regenerated.
25416         * nptl/createthread.c: Don't include kernel-features.h.
25417         * nptl/pthread_cancel.c: Likewise.
25418         * nptl/pthread_condattr_setclock.c: Likewise.
25419         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25420         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25421         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25422         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25423         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25424         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25425         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25427         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25428         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25429         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25430         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25431         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25432         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25433         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25434         * nscd/gai.c: Likewise.
25435         * nss/nss_db/db-open.c: Likewise.
25436         * sysdeps/generic/ldsodefs.h: Likewise.
25437         * sysdeps/sh/nptl/tls.h: Likewise.
25438         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25439         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25440         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25441         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25442         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25443         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25444         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25445         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25446         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25447         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25448         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25449         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25450         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25451         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25452         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25453         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25454         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25455         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25456         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25457         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25458         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25459         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25460         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25461         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25462         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25463         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25464         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25465         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25466         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25467         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25468         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25469         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25470         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25471         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25472         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25473         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25474         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25475         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25476         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25477         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25478         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25479         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25480         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25481         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25482         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25483         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25484         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25485         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25486         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25487         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25488         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25489         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25490         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25491         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25492         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25493         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25494         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25495         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25518         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25519         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25520         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25521         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25522         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25523         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25524         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25525         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25526         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25527         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25528         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25529         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25530         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25531         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25532         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25533         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25534         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25535         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25536         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25537         * sysdeps/unix/sysv/linux/system.c: Likewise.
25538         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25539         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25540         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25541         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25542         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25543         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25544         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25546         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25547         * configure: Regenerated.
25548         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25550         * configure.ac (base_machine): Do not set specially for particular
25551         machines here.
25552         * configure: Regenerated.
25553         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25554         settings from configure.ac.
25555         * sysdeps/i386/preconfigure: New file.
25556         * sysdeps/s390/preconfigure: Likewise.
25557         * sysdeps/sh/preconfigure: Likewise.
25558         * sysdeps/sparc/preconfigure: Likewise.
25560 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25562         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25563         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25564         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25565         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25566         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25567         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25568         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25569         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25570         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25571         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25572         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25573         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25574         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25575         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25576         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25577         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25578         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25579         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25580         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25582         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25583         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25584         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25585         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25586         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25587         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25588         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25589         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25590         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25591         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25592         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25593         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25594         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25595         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25596         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25597         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25598         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25599         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25600         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25601         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25602         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25603         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25604         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25605         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25606         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25607         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25609         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25610         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25611         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25612         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25613         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25614         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25615         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25616         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25617         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25618         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25619         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25622         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25624         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25626         Moved ...
25627         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25628         ... here.
25629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25630         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25632         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25634         Moved ...
25635         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25637         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25639         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25641         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25643         Moved ...
25644         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25646         Moved ...
25647         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25649         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25651         Moved ...
25652         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25654         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25656         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25658         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25660         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25662         Moved ...
25663         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25664         ... here.
25665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25666         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25668         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25670         Moved ...
25671         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25673         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25675         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25677         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25679         Moved ...
25680         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25682         Moved ...
25683         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25685         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25687         Moved ...
25688         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25690         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25692         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25694 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25696         * timezone/checktab.awk: Update from tzcode 2014e.
25697         * timezone/private.h: Likewise.
25698         * timezone/tzfile.h: Likewise.
25699         * timezone/zdump.c: Likewise.
25700         * timezone/zic.c: Likewise.
25702         * sysdeps/unix/sysv/linux/kernel-features.h
25703         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25704         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25705         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25706         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25707         Remove conditional code.
25709 2014-06-25  Will Newton  <will.newton@linaro.org>
25711         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25712         (_dl_arm_cap_flags): Add HWCAP2 values.
25713         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25714         (_DL_HWCAP_COUNT): Increase to 37.
25715         (_DL_HWCAP_LAST): New define.
25716         (_DL_HWCAP2_LAST): New define.
25717         (_dl_procinfo): Add support for printing
25718         AT_HWCAP2 entries.
25719         (_dl_string_hwcap): Use _dl_hwcap_string.
25721 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25725 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25727         * README: Do not mention ports directory.
25729         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25730         Remove macro.
25731         * sysdeps/unix/sysv/linux/futimes.c: Do not include
25732         <kernel-features.h>.
25733         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25734         conditional variable definition.
25735         (__futimes): Update comment.
25736         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25737         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25739         [BZ #16560]
25740         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25741         arguments close to 0.
25742         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25743         Likewise.
25744         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25745         Likewise.
25746         * math/auto-libm-test-in: Add more tests of exp10.
25747         * math/auto-libm-test-out: Regenerated.
25748         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25750         * sysdeps/unix/sysv/linux/kernel-features.h
25751         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25752         * sysdeps/unix/sysv/linux/readv.c: Do not include
25753         <kernel-features.h>.
25754         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25755         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25756         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25757         unconditional.
25758         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25759         conditional code.
25760         * sysdeps/unix/sysv/linux/writev.c: Do not include
25761         <kernel-features.h>.
25762         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25763         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25764         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25765         unconditional.
25766         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25767         conditional code.
25769 2014-06-25  Will Newton  <will.newton@linaro.org>
25771         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25772         comment changes throughout the file.  Remove checks
25773         for HAVE_*_H definitions that are not required.
25774         (__gen_tempname): Call abort if an unknown kind value is
25775         passed.
25777 2014-06-25  Andreas Schwab  <schwab@suse.de>
25779         [BZ #17086]
25780         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25781         scalbln, scalblnf, scalblnl in libc.
25783 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25785         [BZ #17086]
25786         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25787         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25788         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25790 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25792         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25793         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25794         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25795         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25796         Update #include.
25797         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25798         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25799         Update #include.
25800         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
25801         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
25802         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
25803         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
25804         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
25805         * sysdeps/x86/bits/pthreadtypes.h: ... here.
25806         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
25807         * sysdeps/x86/bits/semaphore.h: ... here.
25808         * sysdeps/x86/nptl/elide.h: Moved ...
25809         * sysdeps/x86/elide.h: ... here.
25810         * sysdeps/x86_64/nptl/Implies: File removed.
25811         * sysdeps/i386/nptl/Implies: File removed.
25813 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
25815         [BZ #16539]
25816         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
25817         return the argument for normal arguments with exponent below -64.
25818         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25819         Likewise.
25820         * math/auto-libm-test-in: Add another test of expm1.
25821         * math/auto-libm-test-out: Regenerated.
25823         [BZ #16287]
25824         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
25825         calling __erfcl for arguments at least 16.
25826         * math/auto-libm-test-in: Add more tests of erf.
25827         * math/auto-libm-test-out: Regenerated.
25829         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
25830         individual architectures.
25831         * sysdeps/unix/sysv/linux/configure: Regenerated.
25832         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
25833         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
25834         * sysdeps/unix/sysv/linux/powerpc/configure.ac
25835         (ldd_rewrite_script): Define variable.
25836         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
25838         file.
25839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
25840         generated file.
25841         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
25842         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
25843         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
25844         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
25845         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
25846         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
25847         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
25848         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
25850 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25852         [BZ #17084]
25853         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
25854         Rename member __data.d to __data.__elision_data.
25856 2014-06-24  Wilco  <wdijkstr@arm.com>
25858         * NEWS: Add 16918 to fixed bug list.
25860 2014-06-24  Wilco  <wdijkstr@arm.com>
25862         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
25864 2014-06-24  Wilco  <wdijkstr@arm.com>
25866         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
25867         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
25868         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
25869         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
25870         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
25871         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
25872         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
25873         Use _FPU_MASK_RM.
25875 2014-06-24  Wilco  <wdijkstr@arm.com>
25877         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
25879 2014-06-24  Wilco  <wdijkstr@arm.com>
25881         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
25882         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
25883         * sysdeps/arm/fesetround.c (fesetround): Remove space.
25884         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
25886 2014-06-24  Wilco  <wdijkstr@arm.com>
25888         [BZ #16918]
25889         * sysdeps/arm/feupdateenv.c (feupdateenv):
25890         Rewrite to reduce FPSCR accesses and fix return value.
25892 2014-06-24  Wilco  <wdijkstr@arm.com>
25894         * sysdeps/arm/fclrexcpt.c (feclearexcept):
25895         Optimize to avoid unnecessary FPSCR writes.
25896         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
25897         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
25898         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
25899         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
25901 2014-06-24  Wilco  <wdijkstr@arm.com>
25903         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
25904         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
25905         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25906         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
25907         Call libc_fetestexcept_vfp.
25908         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
25909         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
25910         __SOFTFP__ ifdef so that they can be built for softfp.
25912 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25914         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
25915         argument type signed char.
25917         * Makerules (check-abi): Dump diff of symlist if the test
25918         fails.
25920 2014-06-23  Roland McGrath  <roland@hack.frob.com>
25922         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
25923         using abort.
25925         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25926         Remove unused variable ST.
25928 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
25930         [BZ #16354]
25931         [BZ #17061]
25932         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
25933         small arguments before calling __expm1.
25934         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
25935         small arguments before calling __expm1f.
25936         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
25937         small arguments before calling __expm1l.
25938         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25939         Likewise.
25940         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
25941         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
25942         spurious underflow for some cosh tests.
25943         * math/auto-libm-test-out: Regenerated.
25944         * sysdeps/i386/fpu/libm-test-ulps: Update.
25946         [BZ #17050]
25947         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
25948         (__ieee754_y1): Set errno if return value overflows.
25949         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
25950         (__ieee754_y1f): Set errno if return value overflows.
25951         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
25952         (__ieee754_y1l): Set errno if return value overflows.
25953         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
25954         (__ieee754_y1l): Set errno if return value overflows.
25955         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
25956         * math/auto-libm-test-out: Regenerated.
25958         * math/gen-auto-libm-tests.c: Document use of
25959         ignore-zero-inf-sign.
25960         (input_flag_type): Add value flag_ignore_zero_inf_sign.
25961         (input_flags): Add ignore-zero-inf-sign.
25962         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
25963         * math/gen-libm-test.pl (generate_testfile): Handle
25964         ignore-zero-inf-sign.
25965         * math/auto-libm-test-in: Mark some cpow tests with
25966         ignore-zero-inf-sign and some with xfail-rounding.
25967         * math/auto-libm-test-out: Regenerated.
25968         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
25969         * sysdeps/i386/fpu/libm-test-ulps: Update.
25970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25972         [BZ #16315]
25973         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
25974         overflowing or underflowing operations take place with sign of
25975         result.
25976         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25977         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25978         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
25979         (__ieee754_pow): Recompute overflowing and underflowing results in
25980         original rounding mode.
25981         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
25982         (__powl_helper): Allow negative argument X and scale negated value
25983         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
25984         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
25985         overflowing or underflowing operations take place with sign of
25986         result.
25987         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
25988         Include <math.h>.
25989         * math/auto-libm-test-in: Add more tests of pow.
25990         * math/auto-libm-test-out: Regenerated.
25991         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
25992         (pow_tonearest_test_data): Remove.
25993         (pow_test_tonearest): Likewise.
25994         (pow_towardzero_test_data): Likewise.
25995         (pow_test_towardzero): Likewise.
25996         (pow_downward_test_data): Likewise.
25997         (pow_test_downward): Likewise.
25998         (pow_upward_test_data): Likewise.
25999         (pow_test_upward): Likewise.
26000         (main): Don't call removed functions.
26001         * sysdeps/i386/fpu/libm-test-ulps: Update.
26002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26004 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26007         Moved ...
26008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26010         Moved ...
26011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26013         Moved ...
26014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26016         Moved ...
26017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26019         File removed.
26020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26021         File removed.
26022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26023         File removed.
26024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26025         File removed.
26026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26027         File removed.
26028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26029         File removed.
26030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26031         File removed.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26033         File removed.
26034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26035         File removed.
26036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26037         File removed.
26038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26039         File removed.
26040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26041         File removed.
26042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26043         Moved ...
26044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26046         Moved ...
26047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26048         ... here.
26049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26050         Moved ...
26051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26053         Moved ...
26054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26056         Moved ...
26057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26059         Moved ...
26060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26062         Moved ...
26063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26065         Moved ...
26066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26068         Moved ...
26069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26072         ... here.
26073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26074         Moved ...
26075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26077         Moved ...
26078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26079         ... here.
26080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26081         Moved ...
26082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26083         ... here.
26084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26085         Moved ...
26086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26087         ... here.
26088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26089         Moved ...
26090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26092         Moved ...
26093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26097         Moved ...
26098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26099         ... here.
26100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26101         Moved ...
26102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26103         ... here.
26104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26105         Moved ...
26106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26108         Moved ...
26109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26111         Moved ...
26112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26114         Moved ...
26115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26117         Moved ...
26118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26119         ... here.
26120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26121         Moved ...
26122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26124         Moved ...
26125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26127         Moved ...
26128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26130         Moved ...
26131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26135         Moved ...
26136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26138         Moved ...
26139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26141         Moved ...
26142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26143         ... here.
26144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26145         Moved ...
26146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26147         ... here.
26148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26149         Moved ...
26150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26151         ... here.
26152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26153         Moved ...
26154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26156         Moved ...
26157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26159         Moved ...
26160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26162         Moved ...
26163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26164         ... here.
26165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26166         Moved ...
26167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26168         ... here.
26169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26170         Moved ...
26171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26172         ... here.
26173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26174         Moved ...
26175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26177         Moved ...
26178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26180 2014-06-23  Will Newton  <will.newton@linaro.org>
26181             Wilco  <wdijkstr@arm.com>
26183         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26184         implementation.  Include get-rounding-mode.h.
26185         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26186         [!libc_feholdsetround_noex_ctx]: Define
26187         libc_feholdsetround_noex_ctx.
26188         [!libc_feholdsetround_noexf_ctx]: Define
26189         libc_feholdsetround_noexf_ctx.
26190         [!libc_feholdsetround_noexl_ctx]: Define
26191         libc_feholdsetround_noexl_ctx.
26192         (libc_feholdsetround_ctx): New function.
26193         (libc_feresetround_ctx): New function.
26194         (libc_feholdsetround_noex_ctx): New function.
26195         (libc_feresetround_noex_ctx): New function.
26197 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26199         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26200         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26201         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26202         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26203         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26204         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26206         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26207         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26208         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26209         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26210         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26211         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26213         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26214         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26215         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26216         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26217         Moved ...
26218         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26219         ... here.
26220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26221         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26222         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26223         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26224         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26225         Moved ...
26226         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26227         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26228         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26229         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26230         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26232         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26233         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26234         Moved ...
26235         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26236         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26237         Moved ...
26238         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26239         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26240         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26241         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26242         Moved ...
26243         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26244         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26245         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26246         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26247         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26248         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26249         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26250         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26251         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26252         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26253         Moved ...
26254         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26255         ... here.
26256         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26257         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26258         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26259         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26260         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26261         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26262         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26263         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26264         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26265         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26266         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26267         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26268         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26269         Moved ...
26270         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26271         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26272         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26273         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26274         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26275         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26276         Moved ...
26277         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26278         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26279         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26280         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26281         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26283         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26284         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26285         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26286         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26287         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26288         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26289         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26290         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26291         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26292         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26293         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26294         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26295         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26296         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26297         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26298         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26299         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26300         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26301         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26302         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26303         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26304         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26305         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26306         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26307         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26308         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26309         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26310         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26312 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26314         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26315         (FALLOC_FL_COLLAPSE_RANGE): New macro.
26316         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26317         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26318         (IPV6_PMTUDISC_INTERFACE): Likewise.
26319         (IPV6_PMTUDISC_OMIT): Likewise.
26321 2014-06-23  Andreas Schwab  <schwab@suse.de>
26323         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26324         Remove unused errout label.
26326 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26328         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26329         macro: hardware supports Vector Crypto instructions.
26331 2014-06-23  Will Newton  <will.newton@linaro.org>
26333         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26334         rather than __builtin_expect.
26336         * elf/dl-lookup.c (undefined_msg): Remove variable.
26337         (_dl_lookup_symbol_x): Replace undefined_msg with string
26338         literal.
26340         * elf/dl-lookup.c (do_lookup_unique): New function.
26341         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26342         to a separate function.
26344 2014-06-23  Andreas Schwab  <schwab@suse.de>
26346         [BZ #17079]
26347         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26348         before reading the next line.
26350 2014-06-23  Will Newton  <will.newton@linaro.org>
26352         * test-skeleton.c (signal_handler): Use printf and %m
26353         rather than perror.  Use printf rather than fprintf to
26354         stderr.  Use puts rather than fputs to stderr.
26355         (main): Likewise.
26357 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26359         * nscd/nscd.c (thread_info_t): Remove typedef.
26360         (thread_info): Remove variable.
26362 2014-06-21  Allan McRae  <allan@archlinux.org>
26364         * NEWS: Mention CVE-2014-4043.
26366 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26368         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26369         * nptl/smp.h: ... here.
26371         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26373         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26374         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26375         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26376         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26378         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26379         * nptl/stack-aliasing.h: New file.
26380         * sysdeps/i386/i686/stack-aliasing.h: New file.
26381         * sysdeps/i386/i686/nptl/Makefile: File removed.
26382         * sysdeps/x86_64/stack-aliasing.h: New file.
26383         * sysdeps/x86_64/nptl/Makefile
26384         (CFLAGS-pthread_create.c): Variable removed.
26386         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26387         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26388         old file.
26389         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26390         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26391         old file.
26393 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26395         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26396         (__ASSUME_SIGFRAME_V2): Remove macro.
26397         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26398         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26399         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26400         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26401         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26402         Declare as function.  Remove conditional macro definitions.
26403         (__default_rt_sa_restorer): Likewise.
26404         (__default_sa_restorer_v1): Remove declaration.
26405         (__default_sa_restorer_v2): Likewise.
26406         (__default_rt_sa_restorer_v1): Likewise.
26407         (__default_rt_sa_restorer_v2): Likewise.
26408         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26409         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26410         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26412 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26414         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26415         (libpthread-routines): Add sysdep.
26416         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26417         * sysdeps/unix/sysv/linux/sparc/Versions
26418         (libpthread: GLIBC_2.3.3): New version set.
26419         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26420         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26421         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26422         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26423         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26424         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26425         Moved ...
26426         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26427         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26428         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26429         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26430         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26431         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26432         * sysdeps/sparc/nptl/sem_init.c: ... here.
26433         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26434         * sysdeps/sparc/nptl/sem_post.c: ... here.
26435         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26436         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26437         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26438         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26439         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26440         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26441         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26442         (libpthread-routines): Add cpu_relax.
26443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26444         File removed.
26445         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26446         (librt: GLIBC_2.3.3): New version set.
26447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26448         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26449         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26450         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26453         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26455         Moved ...
26456         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26458         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26460         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26462         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26464         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26466         Moved ...
26467         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26468         Update #include.
26469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26470         Moved ...
26471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26472         Update #include.
26473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26474         Moved ...
26475         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26476         Update #include.
26477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26478         Moved ...
26479         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26480         Update #include.
26481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26482         Moved ...
26483         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26484         Update #include.
26485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26486         Moved ...
26487         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26488         Update #include.
26489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26490         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26492         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26494         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26496         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26498         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26500         Moved ...
26501         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26503         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26505         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26507 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26509         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26510         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26511         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26512         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26513         * nscd/nscd.c: Likewise.
26514         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26515         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26516         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26517         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26519         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26520         <kernel-features.h>.
26521         (init_mq_netlink): Remove conditional have_sock_cloexec
26522         definitions.  Remove code conditional on have_sock_cloexec < 0.
26523         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26524         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26525         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26526         <kernel-features.h>.
26527         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26528         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26530 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26532         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26533         Add tests for memset_chk and memset.
26535         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26536         with AVX2_Usable.
26538 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26540         [BZ #16046]
26541         * elf/tst-dl-iter-static.c: New file.
26542         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26544         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26545         error.
26547 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26549         * sysdeps/unix/sysv/linux/kernel-features.h
26550         (__ASSUME_F_GETOWN_EX): Remove macro.
26551         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26552         <kernel-features.h>.
26553         (miss_F_GETOWN_EX): Remove variable or macro.
26554         (do_fcntl): Do not check miss_F_GETOWN_EX.
26555         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26557         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26558         Remove macro.
26559         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26560         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26561         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26563         * sysdeps/unix/sysv/linux/kernel-features.h
26564         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26565         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26566         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26567         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26569 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26571         [BZ #17075]
26572         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26573         Fix calculation of the symbol's value.
26574         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26575         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26576         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26577         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26578         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26579         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26580         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26581         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26582         (modules-names): Add `tst-armtlsdescmod',
26583         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26584         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26585         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26586         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26587         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26588         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26589         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26590         ($(objpfx)tst-armtlsdescloc): New dependency.
26591         ($(objpfx)tst-armtlsdescextnow): Likewise.
26592         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26593         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26594         TLS scheme support.
26595         * sysdeps/arm/configure: Regenerate.
26597 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26599         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26600         (__atfct_seterrno_2): Likewise.
26601         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26602         <kernel-features.h>.
26603         (__ASSUME_ATFCTS): Do not undefine and redefine.
26604         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26605         (__have_atfcts): Remove conditional definition.
26606         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26607         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26608         unreachable if [__ASSUME_ATFCTS].
26609         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26610         not undefine and redefine.
26611         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26612         <kernel-features.h>.
26613         (faccessat) [__NR_faccessat]: Make code unconditional.
26614         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26615         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26616         <kernel-features.h>.
26617         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26618         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26619         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26620         <kernel-features.h>.
26621         (fchownat) [__NR_fchownat]: Make code unconditional.
26622         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26623         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26624         <kernel-features.h>.
26625         (futimesat) [__NR_futimesat]: Make code unconditional.
26626         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26627         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26628         <kernel-features.h>.
26629         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26630         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26631         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26632         <kernel-features.h>.
26633         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26634         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26635         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26636         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26637         <kernel-features.h>.
26638         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26639         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26640         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26641         <kernel-features.h>.
26642         (linkat) [__NR_linkat]: Make code unconditional.
26643         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26644         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26645         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26646         <kernel-features.h>.
26647         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26648         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26649         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26650         <kernel-features.h>.
26651         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26652         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26653         * sysdeps/unix/sysv/linux/openat.c: Do not include
26654         <kernel-features.h>.
26655         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26656         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26657         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26658         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26659         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26660         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26661         <kernel-features.h>.
26662         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26663         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26664         result of INLINE_SYSCALL directly, not via int variable.
26665         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26666         <kernel-features.h>.
26667         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26668         (renameat) [__NR_renameat]: Make code unconditional.
26669         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26670         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26671         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26672         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26673         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26674         (__ASSUME_ATFCTS): Do not undefine and redefine.
26675         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26676         <kernel-features.h>.
26677         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26678         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26679         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26680         <kernel-features.h>.
26681         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26682         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26683         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26684         (__ASSUME_ATFCTS): Do not undefine and redefine.
26685         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26686         <kernel-features.h>.
26687         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26688         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26689         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26690         <kernel-features.h>.
26691         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26692         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26694 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26696         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26698 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26700         [BZ #17069]
26701         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26702         constructed tree before returning error.
26703         * posix/bug-regexp36.c: Expand test case.
26705 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26707         [BZ #6803]
26708         * math/libm-test.inc (scalbln_test_date):
26709         Add errno expectations.
26710         * math/w_scalblnf.c: New File.
26711         Add wrapper which checks for setting errno to ERANGE.
26712         Add weak_alias for corresponding scalbln function.
26713         * math/w_scalbln.c: Likewise.
26714         * math/w_scalblnl.c: Likewise.
26715         * math/Makefile (libm-calls): Add w_scalbln.
26716         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26717         Remove weak_alias for corresponding scalbln function.
26718         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26719         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26720         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26721         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26722         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26723         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26724         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26725         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26726         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26727         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26728         Remove long_double_symbol for scalblnl function in libm, libc.
26729         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26730         Add wrapper which checks for setting errno to ERANGE.
26731         Add long_double_symbol for scalblnl function in libm, libc.
26732         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26733         Remove long_double_symbol for scalblnl in libm.
26734         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26735         Add wrapper which checks for setting errno to ERANGE.
26736         Add long_double_symbol for scalblnl function in libm.
26737         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26738         Do not use wrapper because of own implementation.
26740 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
26742         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26743         3 bytes for __pad1 for x32.
26744         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26746 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
26747             H.J. Lu  <hongjiu.lu@intel.com>
26749         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26750         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26751         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26752         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26753         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26755 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26757         [BZ #17069]
26758         * posix/regcomp.c (parse_expression): Deallocate partially
26759         constructed tree before returning error.
26760         * posix/Makefile.c (tests): Add bug-regex36.
26761         (generated): Add bug-regex36.mtrace.
26762         (tests-special): Add $(objpfx)bug-regex36-mem.out
26763         (bug-regex36-ENV): New variable.
26764         ($(objpfx)bug-regex36-mem.out): New rule.
26765         * posix/bug-regex36.c: New file.
26767 2014-06-19  Will Newton  <will.newton@linaro.org>
26769         * malloc/malloc.c (systrim): If extra is zero then return
26770         early.
26772 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26774         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26776 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26778         * sysdeps/aarch64/strchr.S: New file.
26780 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26782         [BZ #17022]
26783         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26784         from arguments -2 or below.
26785         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26786         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26788 2014-06-18  Andreas Schwab  <schwab@suse.de>
26790         [BZ #17062]
26791         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26792         of a bracket expr not to run off the end of the string.
26793         * posix/Makefile (tests): Add tst-fnmatch3.
26794         * posix/tst-fnmatch3.c: New file.
26796 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26798         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26799         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26800         [$(cross-compiling) = no]: Likewise.
26801         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26802         [$(cross-compiling) = no]: Likewise.
26804 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26806         [BZ #17031]
26807         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
26808         double, adjusted for any remainder from the high double.
26809         * math/libm-test.inc (nearbyint): Add tests.
26810         (rint): Likewise.
26812 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26814         * nptl/sysdeps/powerpc/Makefile: Moved ...
26815         * sysdeps/powerpc/nptl/Makefile: ... here.
26816         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
26817         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
26818         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
26819         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
26820         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
26821         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
26822         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
26823         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
26824         * nptl/sysdeps/powerpc/tls.h: Moved ...
26825         * sysdeps/powerpc/nptl/tls.h: ... here.
26827 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
26829         [BZ #16681]
26830         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
26831         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
26832         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
26833         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
26834         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
26835         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
26836         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
26837         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
26838         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
26840 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
26842         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26844 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
26846         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
26847         defined operator.
26849         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
26850         $TIMEOUTFACTOR.
26852 2014-06-16  Florian Weimer  <fweimer@redhat.com>
26854         [BZ #17058]
26855         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
26856         non-executed part of the test.
26858 2014-06-16  Andreas Schwab  <schwab@suse.de>
26860         * string/bits/string2.h (strdup, strndup): Update feature guard.
26862 2014-06-14  David S. Miller  <davem@davemloft.net>
26864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26866 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
26868         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
26869         that was previously under [RESET_PID].
26870         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
26872         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
26873         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
26874         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
26875         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26876         (__libc_vfork): New strong alias.
26877         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
26879 2014-06-14 Andi Kleen  <ak@linux.intel.com>
26881         * sysdeps/generic/elide.h: New file.
26883 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26885         * Makefile (installed-headers): Adjust path of pthread.h header.
26887 2014-06-13  Roland McGrath  <roland@hack.frob.com>
26889         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
26890         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
26891         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
26892         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
26894         * nptl/sysdeps/s390/Makefile: Moved ...
26895         * sysdeps/s390/nptl/Makefile: ... here.
26896         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
26897         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
26898         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
26899         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
26900         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
26901         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
26902         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
26903         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26904         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
26905         * sysdeps/s390/nptl/pthreaddef.h: ... here.
26906         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
26907         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26908         * nptl/sysdeps/s390/tls.h: Moved ...
26909         * sysdeps/s390/nptl/tls.h: ... here.
26911         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26912         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
26914 2014-06-13  David S. Miller  <davem@davemloft.net>
26916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
26917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
26918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
26919         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
26920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
26921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
26922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
26923         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
26924         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
26925         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
26926         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
26927         Remove RESET_PID cpp guards.
26928         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
26929         Remove RESET_PID cpp guards.
26930         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
26932 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
26934         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
26935         __sp to uintptr_t.
26937 2014-06-13  Andi Kleen  <ak@linux.intel.com>
26939         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
26940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
26941         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
26942         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
26943         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
26944         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
26945         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
26946         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
26947         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
26948         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
26949         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
26950         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
26951         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
26952         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
26953         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
26954         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
26955         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
26956         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26957         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
26958         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
26960         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
26961         (pthread_rwlock_rdlock): Add elision.
26962         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
26963         (pthread_rwlock_wrlock): Add elision.
26964         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
26965         (pthread_rwlock_trywrlock): Add elision.
26966         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
26967         (pthread_rwlock_tryrdlock): Add elision.
26968         * nptl/pthread_rwlock_unlock.c: Include elide.h.
26969         (pthread_rwlock_tryrdlock): Add elision unlock.
26970         * nptl/sysdeps/pthread/pthread.h:
26971         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
26972         (PTHREAD_RWLOCK_INITIALIZER,
26973         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
26974         Handle new elision field.
26975         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
26976         * sysdeps/arm/nptl/bits/pthreadtypes.h
26977         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26978         * sysdeps/sh/nptl/bits/pthreadtypes.h
26979         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26980         * sysdeps/tile/nptl/bits/pthreadtypes.h
26981         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26982         * sysdeps/a/nptl/bits/pthreadtypes.h
26983         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26984         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26986         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26987         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26988         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
26989         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26990         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26991         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26992         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26993         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26994         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26995         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26996         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
26998         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
26999         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27000         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27001         (elision_init): Set try_xbegin to zero when no RTM.
27002         * sysdeps/x86/nptl/bits/pthreadtypes.h
27003         (pthread_rwlock_t): Change __pad1 to __rwelision.
27004         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27006 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27008         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27009         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27010         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27011         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27013 2014-06-13  Meador Inge  <meadori@codesourcery.com>
27015         [BZ #16996]
27016         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27017         that the cached result has been set before returning it.
27019 2014-06-12  Roland McGrath  <roland@hack.frob.com>
27021         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27022         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27023         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27024         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27025         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27026         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27028         * nptl/sysdeps/sparc/Makefile: Moved ...
27029         * sysdeps/sparc/nptl/Makefile: ... here.
27030         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27031         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27032         * nptl/sysdeps/sparc/tls.h: Moved ...
27033         * sysdeps/sparc/nptl/tls.h: ... here.
27034         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27035         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27036         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27037         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27038         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27039         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27040         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27041         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27042         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27043         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27044         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27045         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27046         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27047         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27048         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27049         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27050         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27051         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27052         Update #include.
27053         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27054         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27055         Update #include.
27056         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27057         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27058         Update #include.
27059         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27060         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27061         Update #include.
27063         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27065         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27066         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27068         * sysdeps/pthread/posix-timer.h: Include <list.h>.
27069         (struct list_links): Type removed.
27070         (struct thread_node, struct timer_node): Replace struct list_links
27071         with struct list_head.
27072         (list_unlink_ip): Likewise.
27073         * sysdeps/pthread/timer_routines.c
27074         (timer_free_list, thread_free_list, thread_active_list): Likewise.
27075         (list_append, list_insbefore): Likewise.
27076         (list_init): Function removed.
27077         (thread_init, init_module): Use INIT_LIST_HEAD instead.
27078         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27079         * sysdeps/pthread/Makefile: ... here, new file.
27081         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27082         * sysdeps/nptl/Implies: ... here.
27083         * sysdeps/unix/sysv/linux/Implies: Add nptl.
27084         * nptl/sysdeps/pthread/list.h: Moved ...
27085         * include/list.h: ... here.
27086         * nptl/sysdeps/pthread/createthread.c: Moved ...
27087         * nptl/createthread.c: ... here.
27088         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27089         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27090         * nptl/pt-longjmp.c: ... here.
27091         * nptl/sysdeps/pthread/Makefile: Moved ...
27092         * sysdeps/nptl/Makefile: ... here.
27093         * nptl/sysdeps/pthread/Subdirs: Moved ...
27094         * sysdeps/nptl/Subdirs: ... here.
27095         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27096         * sysdeps/nptl/aio_misc.h: ... here.
27097         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27098         * sysdeps/nptl/bits/libc-lock.h: ... here.
27099         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27100         * sysdeps/nptl/bits/libc-lockP.h: ... here.
27101         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27102         * sysdeps/nptl/bits/stdio-lock.h: ... here.
27103         * nptl/sysdeps/pthread/configure: Moved ...
27104         * sysdeps/nptl/configure: ... here.
27105         * nptl/sysdeps/pthread/configure.ac: Moved ...
27106         * sysdeps/nptl/configure.ac: ... here.
27107         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27108         * sysdeps/nptl/gai_misc.h: ... here.
27109         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27110         * sysdeps/nptl/librt-cancellation.c: ... here.
27111         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27112         * sysdeps/nptl/malloc-machine.h: ... here.
27113         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27114         * sysdeps/nptl/pthread-functions.h: ... here.
27115         * nptl/sysdeps/pthread/pthread.h: Moved ...
27116         * sysdeps/nptl/pthread.h: ... here.
27117         * nptl/sysdeps/pthread/setxid.h: Moved ...
27118         * sysdeps/nptl/setxid.h: ... here.
27119         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27120         * sysdeps/nptl/sigfillset.c: ... here.
27121         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27122         * sysdeps/nptl/tcb-offsets.h: ... here.
27123         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27124         * sysdeps/nptl/tst-mqueue8x.c: ... here.
27125         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27126         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27127         * nptl/sysdeps/pthread/allocalim.h: Moved ...
27128         * sysdeps/pthread/allocalim.h: ... here.
27129         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27130         * sysdeps/pthread/bits/sigthread.h: ... here.
27131         * nptl/sysdeps/pthread/flockfile.c: Moved ...
27132         * sysdeps/pthread/flockfile.c: ... here.
27133         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27134         * sysdeps/pthread/ftrylockfile.c: ... here.
27135         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27136         * sysdeps/pthread/funlockfile.c: ... here.
27137         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27138         * sysdeps/pthread/posix-timer.h: ... here.
27139         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27140         * sysdeps/pthread/timer_create.c: ... here.
27141         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27142         * sysdeps/pthread/timer_delete.c: ... here.
27143         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27144         * sysdeps/pthread/timer_getoverr.c: ... here.
27145         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27146         * sysdeps/pthread/timer_gettime.c: ... here.
27147         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27148         * sysdeps/pthread/timer_routines.c: ... here.
27149         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27150         * sysdeps/pthread/timer_settime.c: ... here.
27151         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27152         * sysdeps/pthread/tst-timer.c: ... here.
27153         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27154         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27156         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27157         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27159         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27160         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27161         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27162         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27163         Update #include target.
27164         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27165         * sysdeps/i386/i686/nptl/Makefile: ... here.
27166         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27167         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27168         Update #include target.
27169         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27170         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27171         * nptl/sysdeps/i386/Makefile: Moved ...
27172         * sysdeps/i386/nptl/Makefile: ... here.
27173         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27174         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27175         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27176         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27177         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27178         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27179         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27180         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27181         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27182         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27183         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27184         * nptl/sysdeps/i386/tls.h: Moved ...
27185         * sysdeps/i386/nptl/tls.h: ... here.
27187         * sysdeps/sh/Makefile [$(subdir) = csu]
27188         (gen-as-const-headers): Add tcb-offsets.sym.
27189         * nptl/sysdeps/sh/Makefile: File removed.
27190         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27191         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27192         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27193         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27194         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27195         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27196         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27197         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27198         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27199         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27200         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27201         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27202         * nptl/sysdeps/sh/tls.h: Moved ...
27203         * sysdeps/sh/nptl/tls.h: ... here.
27204         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27205         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27206         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27207         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27208         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27209         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27210         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27211         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27212         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27213         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27214         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27215         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27216         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27217         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27218         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27219         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27220         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27221         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27222         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27223         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27224         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27225         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27226         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27227         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27228         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27229         Moved ...
27230         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27231         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27232         Moved ...
27233         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27234         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27235         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27236         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27237         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27238         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27239         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27240         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27241         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27242         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27243         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27244         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27245         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27246         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27247         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27248         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27249         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27250         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27251         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27253 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27255         * posix/spawn_faction_addopen.c: Include string.h.
27257 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27259         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27260         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27261         * nptl/sysdeps/x86_64/Makefile: Moved ...
27262         * sysdeps/x86_64/nptl/Makefile: ... here.
27263         * nptl/sysdeps/x86_64/configure: Moved ...
27264         * sysdeps/x86_64/nptl/configure: ... here.
27265         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27266         * sysdeps/x86_64/nptl/configure.ac: ... here.
27267         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27268         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27269         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27270         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27271         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27272         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27273         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27274         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27275         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27276         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27277         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27278         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27279         * nptl/sysdeps/x86_64/tls.h: Moved ...
27280         * sysdeps/x86_64/nptl/tls.h: ... here.
27281         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27282         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27283         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27284         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27286         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27288 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27292 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
27294         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27295         type.
27296         [POSIX] (off_t): Likewise.
27297         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27298         [POSIX] (S_ISBLK): Require macro.
27299         [POSIX] (S_ISCHR): Likewise.
27300         [POSIX] (S_ISDIR): Likewise.
27301         [POSIX] (S_ISFIFO): Likewise.
27302         [POSIX] (S_ISREG): Likewise.
27303         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27304         optional-macro.
27305         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27306         type.
27307         [POSIX] (time_t): Likewise.
27308         [POSIX] (timer_t): Likewise.
27310 2014-06-11  Florian Weimer  <fweimer@redhat.com>
27312         [BZ #17048]
27313         * posix/spawn_int.h (struct __spawn_action): Make the path string
27314         non-const to support deallocation.
27315         * posix/spawn_faction_addopen.c
27316         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27317         * posix/spawn_faction_destroy.c
27318         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
27319         path in all spawn_do_open actions.
27320         * posix/tst-spawn.c (do_test): Exercise the copy operation in
27321         posix_spawn_file_actions_addopen.
27323 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
27325         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27326         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27327         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27328         conditional code always true.
27329         (__libc_vfork): New alias.
27331 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27333         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27334         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27336         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27338         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27339         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27341         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27342         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27344         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27345         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27347 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27349         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27350         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27351         multiarch strcmp for PPC64.
27352         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27353         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27355         multiarch optimizations.
27356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27357         (__libc_ifunc_impl_list): Likewise.
27359 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27361         * benchtests/scripts/validate_benchout.py: New script.
27362         * benchtests/Makefile (bench-func): Call it.
27363         * benchtests/scripts/benchout.schema.json: New file.
27365 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27367         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27368         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27369         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27370         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27371         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27372         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27373         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27374         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27375         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27376         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27377         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27378         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27379         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27380         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27381         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27382         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27384         Moved ...
27385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27386         ... here.
27387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27388         Moved ...
27389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27391         Moved ...
27392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27393         ... here.
27394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27395         Moved ...
27396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27397         ... here.
27398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27399         Moved ...
27400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27402         Moved ...
27403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27404         ... here.
27405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27406         Moved ...
27407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27408         ... here.
27409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27410         Moved ...
27411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27413         Moved ...
27414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27415         ... here.
27416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27417         Moved ...
27418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27419         ... here.
27420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27421         Moved ...
27422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27423         ... here.
27424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27425         Moved ...
27426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27428         Moved ...
27429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27430         ... here.
27431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27432         Moved ...
27433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27434         ... here.
27435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27436         Moved ...
27437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27438         ... here.
27439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27440         Moved ...
27441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27443         Moved ...
27444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27445         ... here.
27446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27447         Moved ...
27448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27449         ... here.
27450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27451         Moved ...
27452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27454         Moved ...
27455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27456         ... here.
27457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27458         Moved ...
27459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27461         Moved ...
27462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27464         Moved ...
27465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27466         ... here.
27467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27468         Moved ...
27469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27470         ... here.
27471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27472         Moved ...
27473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27474         ... here.
27475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27476         Moved ...
27477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27479         Moved ...
27480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27481         ... here.
27482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27483         Moved ...
27484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27485         ... here.
27486         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27487         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27489         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27490         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27491         Moved ...
27492         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27493         ... here.
27494         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27495         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27497         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27498         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27499         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27500         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27501         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27502         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27503         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27504         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27505         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27506         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27507         Moved ...
27508         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27509         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27510         Moved ...
27511         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27512         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27513         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27514         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27515         Moved ...
27516         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27517         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27518         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27519         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27520         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27521         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27522         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27524 2014-06-10  Wilco  <wdijkstr@arm.com>
27526         * math/test-fenv-return.c: New file.
27527         * math/Makefile: Add new test test-fenv-return.
27529 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27531         [BZ #17042]
27532         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27533         when x - 1 is zero.
27534         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27535         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27536         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27537         0.0L for an argument of 1.0L.
27538         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27539         Likewise.
27540         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27541         value when x - 1 is zero.
27542         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27543         * sysdeps/i386/fpu/libm-test-ulps: Update.
27544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27546 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27548         [BZ #15119]
27549         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27551 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27553         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27554         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27556 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27558         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27559         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27561         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27562         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27564         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27565         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27567         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27568         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27570         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27571         if not already defined.
27572         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27573         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27574         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27575         (TLS_INIT_TP): Use it.
27576         (TLS_DEFINE_INIT_TP): New macro.
27577         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27579 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27581         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27582         constant.
27583         [POSIX] (IXANY): Likewise.
27584         [POSIX] (OLCUC): Likewise.
27585         [POSIX || POSIX2008] (CBAUD): Do not allow.
27586         [POSIX || POSIX2008] (DEFECHO): Likewise.
27587         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27588         [POSIX || POSIX2008] (ECHOKE): Likewise.
27589         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27590         [POSIX || POSIX2008] (EXTA): Likewise.
27591         [POSIX || POSIX2008] (EXTB): Likewise.
27592         [POSIX || POSIX2008] (FLUSHO): Likewise.
27593         [POSIX || POSIX2008] (LOBLK): Likewise.
27594         [POSIX || POSIX2008] (PENDIN): Likewise.
27595         [POSIX || POSIX2008] (SWTCH): Likewise.
27596         [POSIX || POSIX2008] (VDISCARD): Likewise.
27597         [POSIX || POSIX2008] (VDSUSP): Likewise.
27598         [POSIX || POSIX2008] (VLNEXT): Likewise.
27599         [POSIX || POSIX2008] (VREPRINT): Likewise.
27600         [POSIX || POSIX2008] (VSTATUS): Likewise.
27601         [POSIX || POSIX2008] (VWERASE): Likewise.
27602         (B*): Change to B[0123456789]*.
27603         * conform/data/time.h-data [POSIX || UNIX98]
27604         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27605         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27606         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27607         [POSIX] (tm_*): Do not allow.
27609 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27611         * Makefile (install): Don't set LANGUAGE.
27612         * Makefile.in (install): Likewise.
27613         * assert/Makefile (test-assert-ENV): Remove variable.
27614         (test-assert-perr-ENV): Likewise.
27615         * elf/Makefile (neededtest4-ENV): Likewise.
27616         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27617         [$(cross-compiling) = no]: Don't set LANGUAGE.
27618         * io/ftwtest-sh (LANG): Remove variable.
27619         * libio/Makefile (tst-widetext-ENV): Likewise.
27620         * manual/install.texi (Running make install): Don't refer to
27621         environment settings for make install.
27622         * INSTALL: Regenerated.
27623         * nptl/tst-tls6.sh: Don't set LANG.
27624         * posix/globtest.sh (LANG): Remove variable.
27625         * string/Makefile (tester-ENV): Likewise.
27626         (inl-tester-ENV): Likewise.
27627         (noinl-tester-ENV): Likewise.
27628         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27629         [$(cross-compiling) = no]: Don't set LANGUAGE.
27630         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27631         without explicit environment settings.
27633 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27635         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27636         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27637         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27638         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27640 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27642         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27643         other files in the crypt directory.
27644         * crypt/crypt.c: Remove duplicate includes.
27645         * crypt/crypt-entry.c: Likewise.
27646         * crypt/crypt_util.c: Likewise.
27648 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27650         * Makeconfig (run-program-env): New variable.
27651         (run-program-prefix-before-env): Likewise.
27652         (run-program-prefix-after-env): Likewise.
27653         (run-program-prefix): Define in terms of new variables.
27654         (built-program-cmd-before-env): New variable.
27655         (built-program-cmd-after-env): Likewise.
27656         (built-program-cmd): Define in terms of new variables.
27657         (test-program-prefix-before-env): New variable.
27658         (test-program-prefix-after-env): Likewise.
27659         (test-program-prefix): Define in terms of new variables.
27660         (test-program-cmd-before-env): New variable.
27661         (test-program-cmd-after-env): Likewise.
27662         (test-program-cmd): Define in terms of new variables.
27663         * Rules (make-test-out): Use $(run-program-env).
27664         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27665         (help): Do not mention environment variables.  Mention
27666         --timeoutfactor option.
27667         (timeoutfactor): New variable.
27668         (blacklist_exports): Remove function.
27669         (exports): Remove variable.
27670         (command): Do not include ${exports}.
27671         * manual/install.texi (Configuring and compiling): Do not mention
27672         test wrappers preserving environment variables.  Mention that last
27673         assignment to a variable must take precedence.
27674         * INSTALL: Regenerated.
27675         * benchtests/Makefile (run-bench): Use $(run-program-env).
27676         * catgets/Makefile ($(objpfx)test1.cat): Use
27677         $(built-program-cmd-before-env), $(run-program-env) and
27678         $(built-program-cmd-after-env).
27679         ($(objpfx)test2.cat): Do not specify environment variables
27680         explicitly.
27681         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27682         $(run-program-env) and $(built-program-cmd-after-env).
27683         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27684         $(run-program-env) and $(test-program-cmd-after-env).
27685         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27686         explicitly.
27687         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27688         run_program_env and test_program_cmd_after_env arguments.
27689         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27690         * elf/tst-pathopt.sh: Use run_program_env argument.
27691         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27692         $(test-wrapper-env) and $(run-program-env).
27693         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27694         run_program_env arguments.
27695         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27696         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27697         $(test-program-prefix-before-env), $(run-program-env) and
27698         $(test-program-prefix-after-env).
27699         ($(objpfx)tst-gettext2.out): Likewise.
27700         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27701         run_program_env and test_program_prefix_after_env arguments.
27702         * intl/tst-gettext2.sh: Likewise.
27703         * intl/tst-gettext4.sh: Do not set environment variables
27704         explicitly.
27705         * intl/tst-gettext6.sh: Likewise.
27706         * intl/tst-translit.sh: Likewise.
27707         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27708         $(test-program-prefix-before-env), $(run-program-env) and
27709         $(test-program-prefix-after-env).
27710         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27711         run_program_env and test_program_prefix_after_env arguments.
27712         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27713         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27714         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27715         explicitly with each use of ${test_wrapper_env}.
27716         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27717         $(test-program-prefix-before-env), $(run-program-env) and
27718         $(test-program-prefix-after-env).
27719         * posix/tst-getconf.sh: Do not set environment variables
27720         explicitly.
27721         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27722         run_program_env and test_program_prefix_after_env arguments.
27723         * stdio-common/tst-printf.sh: Do not set environment variables
27724         explicitly.
27725         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27726         $(test-program-prefix-before-env), $(run-program-env) and
27727         $(test-program-prefix-after-env).
27728         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27729         run_program_env and test_program_prefix_after_env arguments.
27730         Split $test calls into $test_pre and $test.
27731         * timezone/Makefile (build-testdata): Use
27732         $(built-program-cmd-before-env), $(run-program-env) and
27733         $(built-program-cmd-after-env).
27735 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27737         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27738         strlen for non SHARED builds.
27740 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27742         * nptl/allocatestack.c (check_list): Inlined function...
27743         (__reclaim_stacks): ... here.
27745 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27747         [BZ #15698]
27748         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27749         memory overrun.
27751 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
27753         * Rules (make-test-out): Include
27754         LOCPATH=$(common-objpfx)localedata in default environment.
27755         * debug/Makefile (tst-chk1-ENV): Remove variable.
27756         (tst-chk2-ENV): Likewise.
27757         (tst-chk3-ENV): Likewise.
27758         (tst-chk4-ENV): Likewise.
27759         (tst-chk5-ENV): Likewise.
27760         (tst-chk6-ENV): Likewise.
27761         (tst-lfschk1-ENV): Likewise.
27762         (tst-lfschk2-ENV): Likewise.
27763         (tst-lfschk3-ENV): Likewise.
27764         (tst-lfschk4-ENV): Likewise.
27765         (tst-lfschk5-ENV): Likewise.
27766         (tst-lfschk6-ENV): Likewise.
27767         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27768         (tst-iconv7-ENV): Likewise.
27769         * intl/Makefile (LOCPATH-ENV): Likewise.
27770         (tst-codeset-ENV): Likewise.
27771         (tst-gettext3-ENV): Likewise.
27772         (tst-gettext5-ENV): Likewise.
27773         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27774         (tst-fopenloc-ENV): Likewise.
27775         (tst-fgetws-ENV): Remove variable.
27776         (tst-ungetwc1-ENV): Likewise.
27777         (tst-ungetwc2-ENV): Likewise.
27778         (bug-ungetwc2-ENV): Likewise.
27779         (tst-swscanf-ENV): Likewise.
27780         (bug-ftell-ENV): Likewise.
27781         (tst-fgetwc-ENV): Likewise.
27782         (tst-fseek-ENV): Likewise.
27783         (tst-ftell-partial-wide-ENV): Likewise.
27784         (tst-ftell-active-handler-ENV): Likewise.
27785         (tst-ftell-append-ENV): Likewise.
27786         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27787         (tst-regexloc-ENV): Likewise.
27788         (bug-regex1-ENV): Likewise.
27789         (tst-regex-ENV): Likewise.
27790         (tst-regex2-ENV): Likewise.
27791         (bug-regex5-ENV): Likewise.
27792         (bug-regex6-ENV): Likewise.
27793         (bug-regex17-ENV): Likewise.
27794         (bug-regex18-ENV): Likewise.
27795         (bug-regex19-ENV): Likewise.
27796         (bug-regex20-ENV): Likewise.
27797         (bug-regex22-ENV): Likewise.
27798         (bug-regex23-ENV): Likewise.
27799         (bug-regex25-ENV): Likewise.
27800         (bug-regex26-ENV): Likewise.
27801         (bug-regex30-ENV): Likewise.
27802         (bug-regex32-ENV): Likewise.
27803         (bug-regex33-ENV): Likewise.
27804         (bug-regex34-ENV): Likewise.
27805         (bug-regex35-ENV): Likewise.
27806         (tst-rxspencer-ENV): Likewise.
27807         (tst-rxspencer-no-utf8-ENV): Likewise.
27808         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
27809         (tst-sscanf-ENV): Likewise.
27810         (tst-swprintf-ENV): Likewise.
27811         (tst-swscanf-ENV): Likewise.
27812         (test-vfprintf-ENV): Likewise.
27813         (scanf13-ENV): Likewise.
27814         (bug14-ENV): Likewise.
27815         (tst-grouping-ENV): Likewise.
27816         * stdlib/Makefile (tst-strtod-ENV): Likewise.
27817         (tst-strtod3-ENV): Likewise.
27818         (tst-strtod4-ENV): Likewise.
27819         (tst-strtod5-ENV): Likewise.
27820         (testmb2-ENV): Likewise./
27821         * string/Makefile (tst-strxfrm-ENV): Likewise.
27822         (tst-strxfrm2-ENV): Likewise.
27823         (bug-strcoll1-ENV): Likewise.
27824         (test-strcasecmp-ENV): Likewise.
27825         (test-strncasecmp-ENV): Likewise.
27826         * time/Makefile (tst-strptime-ENV): Likewise.
27827         (tst-ftime_l-ENV): Likewise.
27828         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
27829         (tst-mbrtowc-ENV): Likewise.
27830         (tst-wcrtomb-ENV): Likewise.
27831         (tst-mbrtowc2-ENV): Likewise.
27832         (tst-c16c32-1-ENV): Likewise.
27833         (tst-mbsnrtowcs-ENV): Likewise.
27835 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27837         * manual/resource.texi (How to get information about the memory
27838         subsystem?): Fix typo.
27839         Reported by Peon de la Parra Ivan <peon@keba.com>
27841 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
27843         [BZ #16882]
27844         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
27845         (pthread_spin_lock): Branch out of spin loop to proper location.
27846         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
27847         (pthread_spin_lock): Likewise.
27849         * nptl/tst-spin4.c: New test.
27850         * nptl/Makefile (tests): Add tst-spin4.
27852 2014-06-03  Andreas Schwab  <schwab@suse.de>
27854         [BZ #15946]
27855         * resolv/res_send.c (send_dg): Reload file descriptor after
27856         calling reopen.
27858 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
27860         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27862 2014-06-03  Richard Henderson  <rth@redhat.com>
27864         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
27865         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
27866         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
27867         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
27868         in the SAVE_PID block.
27869         (__libc_vfork): New alias.
27870         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
27872         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
27873         child in registers, not on the stack.  Remove RESET_PID conditionals.
27874         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
27876 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27878         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27880 2014-06-03  Wilco  <wdijkstr@arm.com>
27882         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
27883         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
27884         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27885         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
27886         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
27887         Likewise.
27889 2014-06-03  Wilco  <wdijkstr@arm.com>
27891         * sysdeps/aarch64/fpu/math_private.h
27892         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
27893         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
27894         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
27895         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
27896         Fix declarations.
27898 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27900         * crypt/crypt-private.h: Include ufc-crypt.h.
27901         (__b64_from_24bit): Declare extern.
27902         * crypt/crypt_util.c(__b64_from_24bit): New function.
27903         (b64t): New static const variable.
27904         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
27905         (b64t): Remove variable.
27906         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
27907         * crypt/sha256-crypt.c: Include crypt-private.h.
27908         (b64t): Remove variable.
27909         (__sha256_crypt_r): Remove b64_from_24bit and replace
27910         with __b64_from_24bit.
27911         * crypt/sha512-crypt.c: Likewise.
27913 2014-06-02  Roland McGrath  <roland@hack.frob.com>
27915         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
27916         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
27917         Label the code __libc_vfork rather than __vfork.
27918         [!NOT_IN_libc] (vfork): Define as weak alias.
27919         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
27920         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
27921         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
27923 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27925         * malloc/malloc.c (malloc_info): Fix format specifier for
27926         n_mmaps.
27928 2014-06-02  Wilco  <wdijkstr@arm.com>
27930         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
27931         FPCR write.
27933 2014-06-02  Wilco  <wdijkstr@arm.com>
27935         [BZ #17009]
27936         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
27937         Rewrite to reduce FPCR/FPSR accesses.
27939 2014-06-01  David S. Miller  <davem@davemloft.net>
27941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27943 2014-05-31  David S. Miller  <davem@davemloft.net>
27945         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
27946         to occur in round to nearest mode when |x| >= 2.0
27948 2014-05-30  Richard Henderson  <rth@twiddle.net>
27950         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
27951         (PSEUDO_RET_NOERRNO): Remove.
27952         (ret): Don't redefine.
27953         (ret_NOERRNO): Define in terms of ret.
27954         (ret_ERRVAL): Likewise.
27956         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
27957         use of PSEUDO_RET; perform the error check directly.
27959 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
27961         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
27962         with __int128_t.
27964 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27966         * malloc/malloc (malloc_info): Fix formatting.
27968 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27969             Roland McGrath  <roland@hack.frob.com>
27971         * malloc/malloc (malloc_info): Also print mmapped statistics.
27973 2014-05-30  Roland McGrath  <roland@hack.frob.com>
27975         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
27976         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
27978 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
27980         * malloc/malloc.c (malloc_info): Inline mi_arena.
27982 2014-05-29  Richard Henderson  <rth@twiddle.net>
27984         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
27985         Remove comma before expanding ASM_ARGS_##nr.
27986         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
27987         Make _x0 a strict output; make _x8 a strict input; adjust expansion
27988         of ASM_ARGS_##nr.
27989         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
27990         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
27991         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
27992         (ASM_ARGS_1): Add leading comma.
27994         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
27995         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
27996         to __errno_location.
27997         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
27998         Remove the expected plt for __errno_location.
28000         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28001         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28002         call to __read_tp.
28004         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28005         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
28006         it and break it down.
28007         (DOCARGS_0, DOCARGS_1): Do nothing.
28008         (DOCARGS_2): Update to store into the new stack frame.
28009         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28010         (UNDOCARGS_1): Update to restore from the new stack frame.
28011         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28012         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28014         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28015         (SINGLE_THREAD_P): New parameter for result regno.
28016         (PSEUDO): Update to match; use cbz instead of beq.
28018         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28019         Use ENTRY to define the _nocancel entry point.  Share the syscall
28020         and syscall error check paths with the cancel path.
28021         (PSEUDO_END): New.
28023         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28024         whitespace; tabs before and after asm mnemonics.
28026 2014-05-29  Eric Wong  <normalperson@yhbt.net>
28028         [BZ #15132]
28029         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28030         Call fstat64 or stat64 internally, depending on arguments passed.
28031         Replace stat buffer argument with file descriptor argument.
28032         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28033         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28034         Pass fd to __internal_statvfs instead of calling fstat64.
28035         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28036         Pass fd to __internal_statvfs64 instead of calling fstat64.
28037         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28038         Pass -1 to __internal_statvfs instead of calling stat64.
28039         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28040         Pass -1 to __internal_statvfs64 instead of calling stat64.
28042 2014-05-28  Roland McGrath  <roland@hack.frob.com>
28044         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28045         that was previously under [RESET_PID].
28046         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28048         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28049         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28051 2014-05-27  Roland McGrath  <roland@hack.frob.com>
28053         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28055         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28056         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28058 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
28060         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28062 2014-05-27  Andreas Schwab  <schwab@suse.de>
28064         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28065         TLS_INIT_TP macro.
28066         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28067         * elf/rtld.c (init_tls, dl_main): Likewise.
28068         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28069         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28070         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28071         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28072         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28073         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28074         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28075         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28076         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28077         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28078         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28079         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28080         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28081         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28082         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28083         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28084         * sysdeps/generic/tls.h: Update description.
28086 2014-05-27  Will Newton  <will.newton@linaro.org>
28088         [BZ #16990]
28089         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28090         and restore r2 rather than just restoring.
28092 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28094         [BZ #16724]
28095         * libio/tst-ftell-append.c: New test case.
28096         * libio/Makefile (tests): Add test case.
28097         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28098         append mode.
28099         * libio/wfileops.c (do_ftell_wide): Likewise.
28101 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28105         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28106         ...
28107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28109         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28110         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28111         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28112         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28113         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28114         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28116         Moved ...
28117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28118         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28119         Moved ...
28120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28121         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28122         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28123         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28124         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28125         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28126         ...
28127         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28128         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28129         Moved ...
28130         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28131         here.
28132         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28133         ...
28134         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28135         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28136         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28138         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28139         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28140         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28141         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28143         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28144         merge into ...
28145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28147         ...
28148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28150         ...
28151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28152         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28153         Moved ...
28154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28155         here.
28156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28157         Moved ...
28158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28159         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28160         Moved ...
28161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28164         conditional [RESET_PID].
28165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28167         removed.
28168         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28169         removed.
28171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28172         <tcb-offsets.h>.
28173         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28174         (__libc_vfork): New strong alias.
28175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28176         removed.
28177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28178         Removed.
28180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28181         <tcb-offsets.h>.
28182         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28183         (__libc_vfork): New strong alias.
28184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28185         removed.
28186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28187         removed.
28189 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28191         * malloc/malloc.c (mi_arena): New function.
28192         (malloc_info): Remove nested function mi_arena. Call non-nosted
28193         function mi_arena.
28195 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28197         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28198         by insrwi.
28199         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28200         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28201         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28202         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28203         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28204         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28205         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28207 2014-05-26  Andreas Schwab  <schwab@suse.de>
28209         [BZ #16984]
28210         * locale/programs/repertoire.c (repertoire_read): Add slash
28211         between I18NPATH element and file name.
28212         * locale/programs/locfile.c (locfile_read): Likewise.
28214 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28216         * nptl/pthread_mutexattr_settype.c
28217         (__pthread_mutexattr_settype):
28218         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28220 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28222         * nptl/tst-mutex5 (do_test):
28223         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28225 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28227         * benchtests/README: Document 'init' directive.
28228         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28229         BENCH_INIT.
28230         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28231         (parse_file): Recognize 'init' directive.
28233 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28235         [BZ #16796]
28236         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28237         alignment of struct pthread.
28239 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28241         [BZ #16878]
28242         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28243         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28244         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28245         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28247 2014-05-25  Richard Henderson  <rth@twiddle.net>
28249         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28250         (SINGLE_THREAD_P_PIC): Remove.
28251         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28252         (SINGLE_THREAD_P_PIC): Remove.
28254         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28255         branch to syscall error ...
28256         (PSEUDO): ... here.
28257         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28258         from __local_syscall_error to .Lsyscall_error.
28259         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28260         (SYSCALL_ERROR): Update label name.
28262         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28263         Do not use DOARGS/UNDOARGS.
28264         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28265         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28266         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28267         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28268         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28270         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28271         block comment.
28273         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28274         define if !NOT_IN_libc.
28275         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28276         define with non-default symbol versions.
28278 2014-05-23  Richard Henderson  <rth@twiddle.net>
28280         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28281         (vfork, __vfork): Define via compat_symbol.
28283         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28284         [!HAVE_IFUNC] (vfork_compat): Remove.
28285         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28287 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28289         [BZ #16978]
28290         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28291         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28292         variable.
28294 2014-05-23  Richard Henderson  <rth@twiddle.net>
28296         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28297         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28298         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28299         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28301         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28302         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28303         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28304         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28305         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28306         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28307         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28308         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28309         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28310         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28311         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28312         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28313         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28314         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28315         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28316         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28317         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28318         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28319         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28320         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28321         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28322         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28323         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28324         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28325         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28326         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28327         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28328         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28329         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28330         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28331         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28332         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28333         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28334         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28335         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28336         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28337         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28338         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28339         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28340         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28341         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28342         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28343         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28344         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28345         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28346         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28347         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28348         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28349         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28350         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28351         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28352         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28353         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28354         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28355         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28356         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28358         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28359         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28360         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28361         before exiting on error.
28362         (__libc_vfork): New strong alias.
28363         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28364         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28366         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28367         that was previously under [RESET_PID].
28368         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28370         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28372 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28374         [BZ #16977]
28375         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28376         value when x - 1 is zero.
28377         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28378         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28379         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28380         0.0L for an argument of 1.0L.
28381         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28382         Likewise.
28383         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28384         value when x - 1 is zero.
28385         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28386         * sysdeps/i386/fpu/libm-test-ulps: Update.
28387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28389 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28391         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28392         alphasort and versionsort.
28394 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28396         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28397         macro.
28398         [copysignf]: Likewise.
28400 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28402         * crypt/md5-crypt.c: Fix formatting.
28404 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28406         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28407         (b64_from_24bit): New function.
28409 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28411         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28412         libc_hidden_builtin_def to ifunc.
28413         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28414         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28416 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28418         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28419         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28421 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28423         * nscd/Depend (linuxthreads): Remove.
28424         (nptl): Add.
28425         * resolv/Depend (linuxthreads): Remove.
28426         * rt/Depend (linuxthreads): Remove.
28428         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28429         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28430         $(common-objpfx)elf/.
28431         (link-libc-before-gnulib): Likewise.
28432         (elfobjdir): Remove variable.
28433         * Makefile (install): Use $(elf-objpfx) instead of
28434         $(common-objpfx)elf/.
28435         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28436         $(elfobjdir)/.
28437         (link-libc-deps): Likewise.
28438         ($(common-objpfx)libc.so): Likewise.
28439         ($(common-objpfx)linkobj/libc.so): Likewise.
28440         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28441         instead of $(common-objpfx)elf/.
28442         (symbolic-link-list): Likewise.
28443         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28444         [$(cross-compiling) = no]: Likewise.
28445         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28446         $(elfobjdir)/.
28447         (static-gnulib-arch): Likewise.
28448         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28449         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28450         $(common-objpfx)elf/.
28452 2014-05-21  Richard Henderson  <rth@redhat.com>
28454         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28455         (SINGLE_THREAD_P): Use the correct width load.  Fold
28456         into the ldr offset.
28458         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28459         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28461 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28463         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28464         (libgcc_s_resume): Use __attribute_used__.
28465         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28466         Likewise.
28468 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28470         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28471         optimization when used with float constants.
28473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28475 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28477         [BZ #16915]
28478         * locale/nl_langinfo_l.c: Make direct reference to every
28479         _nl_current_CATEGORY symbol.
28480         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28481         (tests-static): Add tst-langinfo-static.
28482         (tests-special): Add tst-langinfo-static.out.
28483         ($(objpfx)tst-langinfo.out): Redirect output.
28484         ($(objpfx)tst-langinfo-static.out): New.
28485         * localedata/tst-langinfo.sh: Send output to stdout.
28486         * localedata/tst-langinfo-static.c: New file.
28488         [BZ #16965]
28489         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28490         when the shift amount is modulo the limb size.
28492 2014-05-20  Richard Henderson  <rth@redhat.com>
28494         [BZ #16967]
28495         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28496         Change type of sa_flags from unsigned int to int.
28498         [BZ #16966]
28499         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28501         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28503 2014-05-20  Will Newton  <will.newton@linaro.org>
28505         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28506         Test the return value of the system call in the nocancel case.
28508 2014-05-20  Will Newton  <will.newton@linaro.org>
28509             Yvan Roux  <yvan.roux@linaro.org>
28511         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28512         #include of asm/ptrace.h.
28513         (PTRACE_GET_THREAD_AREA): Remove #undef.
28514         (PTRACE_GETHBPREGS): Likewise.
28515         (PTRACE_SETHBPREGS): Likewise.
28516         (struct user_regs_struct): New structure.
28517         (struct user_fpsimd_struct): New structure.
28518         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28519         #include of asm/ptrace.h and second #include of sys/user.h.
28520         (PTRACE_GET_THREAD_AREA): Remove #undef.
28521         (PTRACE_GETHBPREGS): Likewise.
28522         (PTRACE_SETHBPREGS): Likewise.
28523         (ELF_NGREG): Use new struct user_regs_struct.
28524         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28526 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28528         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28529         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28531 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28533         [BZ #16958]
28534         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28535         membar to avoid block loads/stores to overlap previous stores.
28537 2014-05-17  Richard Henderson  <rth@redhat.com>
28539         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28540         Create the __##syscall_name##_nocancel entry point.
28541         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28542         Remove; let the sysdep-cancel.h code create it.
28544 2014-05-17  David S. Miller  <davem@davemloft.net>
28546         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28547         Protect with __USE_GNU.
28548         (TIOCSET_TEMPT): Likewise.
28549         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28550         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28551         these are already provided in bits/ioctl-types.h
28553 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28555         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28556         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28558         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28559         Use wait4 regardless of [__NR_waitpid].
28561 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28563         PR libgcc/60166
28564         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28565         (_FP_NANSIGN_Q): Set the quiet bit.
28567 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28569         * benchtests/Makefile
28570         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28571         not $(common-objpfx)math/libm.so.
28572         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28573         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28574         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28575         $(common-objpfx)dlfcn/libdl.so.
28576         ($(objpfx)tst-audit8): Depend on $(libm), not
28577         $(common-objpfx)math/libm.so.
28578         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28579         not $(common-objpfx)dlfcn/libdl.so.
28580         * math/Makefile
28581         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28582         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28583         [$(build-shared) = yes].
28584         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28585         $(common-objpfx)nptl/libpthread.so.
28586         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28587         $(common-objpfx)math/libm.so$(libm.so-version) or
28588         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28589         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28590         $(common-objpfx)dlfcn/libdl.so.
28591         * setjmp/Makefile (link-libm): Remove variable.
28592         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28593         * stdio-common/Makefile (link-libm): Remove variable.
28594         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28595         * stdlib/Makefile (link-libm): Remove variable.
28596         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28597         ($(objpfx)tst-strtod-round): Likewise.
28598         ($(objpfx)tst-tininess): Likewise.
28599         ($(objpfx)tst-strtod-underflow): Likewise.
28600         ($(objpfx)tst-strtod6): Likewise.
28601         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28602         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28603         $(common-objpfx)dlfcn/libdl.so.
28605 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28607         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28608         BSD terminal modes definitions.
28610 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28612         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28613         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28615         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28616         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28617         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28618         Don't do #include_next.
28619         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28620         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28621         Don't do #include_next.
28622         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28623         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28624         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28625         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28627 2014-05-16  Allan McRae  <allan@archlinux.org>
28629         * po/sv.po: Update Swedish translation from translation project.
28631         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28632         in sed expression.
28634 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28636         [BZ #16917]
28637         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28638         errno if the TIOCGPTN ioctl fails with an error different than
28639         EINVAL.
28640         * login/tst-ptsname.c: New file.
28641         * login/Makefile (tests): Add tst-ptsname.
28643         [BZ #16943]
28644         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28645         and prlimit64.
28647 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28649         [BZ #16849]
28650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28651         herrno to return EAI_AGAIN.
28653 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28655         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28656         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28657         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28658         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28659         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28660         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28661         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28662         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28663         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28664         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28665         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28666         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28667         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28668         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28669         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28670         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28671         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28672         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28673         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28674         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28675         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28676         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28677         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28678         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28679         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28680         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28681         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28682         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28683         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28684         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28686         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28688         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28690         Moved ...
28691         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28693         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28695         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28697         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28699         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28701         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28703         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28705         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28707         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28709         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28711         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28713         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28715         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28717         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28719         Moved ...
28720         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28722         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28724         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28726         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28728         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28730         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28732         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28734         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28736         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28738         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28740         Moved ...
28741         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28743         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28745         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28746         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28747         (libpthread-sysdep_routines): Add elision-related stuff here instead.
28748         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28749         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28750         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28751         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28752         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28753         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28754         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28755         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28756         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28757         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28758         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28759         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28760         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28761         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28762         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28763         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28764         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28765         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28766         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28767         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28768         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28769         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28770         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28771         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28772         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28773         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28774         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28775         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28777         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28778         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28780         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28781         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28782         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28783         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28784         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28785         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28786         Moved ...
28787         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28788         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28789         Moved ...
28790         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28791         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28792         Moved ...
28793         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28794         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28795         Moved ...
28796         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28797         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28798         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28799         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28800         Moved ...
28801         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
28802         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
28803         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
28804         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28805         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
28806         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
28807         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
28808         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28809         Moved ...
28810         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
28811         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28812         Moved ...
28813         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
28814         ... here.
28815         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
28816         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
28817         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
28818         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
28819         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28820         Moved ...
28821         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
28822         ... here.
28823         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
28824         Moved ...
28825         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
28826         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
28827         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
28828         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
28829         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
28830         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
28831         Moved ...
28832         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
28833         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28834         Moved ...
28835         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
28836         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28837         Moved ...
28838         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
28839         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
28840         Moved ...
28841         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
28842         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
28843         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
28844         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
28845         Moved ...
28846         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
28847         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
28848         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
28849         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
28850         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
28851         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
28852         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
28853         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28854         Moved ...
28855         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
28856         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28857         Moved ...
28858         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
28859         ... here.
28860         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
28861         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
28862         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
28863         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
28864         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28865         Moved ...
28866         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
28867         ... here.
28868         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
28869         Moved ...
28870         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
28871         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
28872         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
28873         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
28874         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
28875         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
28876         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
28877         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
28878         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
28879         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
28880         Moved ...
28881         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
28882         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28883         Moved ...
28884         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
28885         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28886         Moved ...
28887         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
28888         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
28889         Moved ...
28890         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
28891         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
28892         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
28893         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
28894         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
28895         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28896         Moved ...
28897         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
28898         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
28899         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
28900         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
28901         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
28902         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
28903         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
28904         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28905         Moved ...
28906         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
28907         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28908         Moved ...
28909         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
28910         ... here.
28911         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
28912         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
28913         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
28914         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
28915         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28916         Moved ...
28917         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
28918         ... here.
28919         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
28920         Moved ...
28921         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
28922         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
28923         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
28924         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
28925         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
28926         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
28927         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
28928         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
28929         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
28930         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
28931         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
28933         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
28934         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
28936         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
28937         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
28939         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
28940         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
28941         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
28942         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
28943         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
28944         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
28945         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
28946         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
28947         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
28948         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
28949         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
28950         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
28951         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
28952         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
28953         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
28954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
28955         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
28956         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
28957         Moved ...
28958         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
28959         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
28960         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
28961         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
28962         Moved ...
28963         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
28964         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
28965         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
28966         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
28967         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
28968         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
28969         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
28970         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
28971         Moved ...
28972         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
28973         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
28974         Moved ...
28975         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
28976         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
28977         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
28978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
28979         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
28980         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
28981         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
28982         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
28983         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
28984         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
28985         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
28986         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
28987         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
28988         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
28989         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
28990         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
28991         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
28993         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
28994         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
28995         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
28996         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
28997         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
28999         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29000         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29001         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29002         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29003         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29004         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29005         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29006         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29007         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29008         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29010         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29011         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29013         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29014         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29015         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29016         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29017         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29018         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29019         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29020         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29021         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29022         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29023         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29024         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29025         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29026         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29027         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29028         Update #include.
29029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29030         Likewise.
29031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29032         Likewise.
29033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29034         Likewise.
29035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29036         Likewise.
29037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29038         Likewise.
29039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29040         Likewise.
29041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29042         Likewise.
29043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29044         Likewise.
29045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29046         Likewise.
29047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29048         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29050         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29051         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29052         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29053         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29054         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29055         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29056         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29057         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29058         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29059         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29060         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
29061         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
29063         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29064         that was previously under [RESET_PID].
29065         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29066         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29067         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29069         * sysdeps/i386/nptl/Implies: New file.
29070         * sysdeps/x86_64/nptl/Implies: New file.
29071         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29072         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29073         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29074         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29076         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29077         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29078         (__libc_vfork): New strong alias.
29079         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29080         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29082         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29083         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29084         (__libc_vfork): New strong alias.
29085         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29086         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29088         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29089         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29090         (__libc_vfork): New strong alias.
29091         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29092         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29093         * nptl/pt-vfork.c: New file.
29094         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29095         (libpthread: GLIBC_2.20): New version set (empty).
29097 2014-05-14  Will Newton  <will.newton@linaro.org>
29099         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29100         rather than #if.
29102 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29104         [BZ #16564]
29105         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29106         arguments with exponent 65 or above.
29107         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29108         arguments 0x1p113L or above.
29109         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29110         to arguments 0x1p107L or above.
29111         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29112         positive arguments with exponent 65 or above.
29113         * math/auto-libm-test-in: Add more tests of log1p.
29114         * math/auto-libm-test-out: Regenerated.
29116         [BZ #16928]
29117         * math/s_cacos.c (__cacos): Ensure zero real part of result from
29118         non-finite arguments is +0.
29119         * math/s_cacosf.c (__cacosf): Likewise.
29120         * math/s_cacosl.c (__cacosl): Likewise.
29121         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29122         * sysdeps/i386/fpu/libm-test-ulps: Update.
29123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29125         [BZ #16927]
29126         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29127         value.
29128         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29129         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29130         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29131         for explicit high bit of mantissa when testing for argument equal
29132         to 1.
29133         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29134         * sysdeps/i386/fpu/libm-test-ulps: Update.
29135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29137         [BZ #16516]
29138         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29139         (__erf): Scale by 16 instead of 8 in potentially underflowing
29140         case.  Ensure exception if result actually underflows.
29141         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29142         (__erff): Scale by 16 instead of 8 in potentially underflowing
29143         case.  Ensure exception if result actually underflows.
29144         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29145         (efx8): Remove variable.
29146         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29147         case.  Ensure exception if result actually underflows.
29148         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29149         (efx8): Remove variable.
29150         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29151         case.  Ensure exception if result actually underflows.
29152         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29153         (efx8): Remove variable.
29154         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29155         case.  Ensure exception if result actually underflows.
29156         * math/auto-libm-test-in: Add more tests of erf.
29157         * math/auto-libm-test-out: Regenerated.
29159 2014-05-14  Andreas Schwab  <schwab@suse.de>
29161         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29162         Remove code conditionalized on USE___THREAD.
29164         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29165         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29166         not definedness.
29168 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29170         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29171         Define unconditionally.
29172         (__ASSUME_O_CLOEXEC): Likewise.
29173         (__ASSUME_SOCK_CLOEXEC): Likewise.
29174         (__ASSUME_IN_NONBLOCK): Likewise.
29175         (__ASSUME_PIPE2): Likewise.
29176         (__ASSUME_EVENTFD2): Likewise.
29177         (__ASSUME_SIGNALFD4): Likewise.
29178         (__ASSUME_DUP3): Likewise.
29179         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29180         (__ASSUME_DUP3): Do not define.
29181         (__ASSUME_EVENTFD2): Likewise.
29182         (__ASSUME_IN_NONBLOCK): Likewise.
29183         (__ASSUME_O_CLOEXEC): Likewise.
29184         (__ASSUME_PIPE2): Likewise.
29185         (__ASSUME_SIGNALFD4): Likewise.
29186         (__ASSUME_SOCK_CLOEXEC): Likewise.
29187         (__ASSUME_UTIMES): Undefine.
29188         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29189         (__ASSUME_UTIMES): Do not define.
29190         (__ASSUME_O_CLOEXEC): Likewise.
29191         (__ASSUME_SOCK_CLOEXEC): Likewise.
29192         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29193         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29194         0x020621].
29195         (__ASSUME_PIPE2): Likewise.
29196         (__ASSUME_EVENTFD2): Likewise.
29197         (__ASSUME_SIGNALFD4): Likewise.
29198         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29199         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29200         Do not define.
29201         (__ASSUME_EVENTFD2): Likewise.
29202         (__ASSUME_SIGNALFD4): Likewise.
29203         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29204         (__ASSUME_32BITUIDS): Likewise.
29205         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29206         (__ASSUME_IPC64): Likewise.
29207         (__ASSUME_ST_INO_64_BIT): Likewise.
29208         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29209         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29210         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29211         (__ASSUME_UTIMES): Do not define.
29212         (__ASSUME_PSELECT): Likewise.
29213         (__ASSUME_PPOLL): Likewise.
29214         (__ASSUME_O_CLOEXEC): Likewise.
29215         (__ASSUME_SOCK_CLOEXEC): Likewise.
29216         (__ASSUME_IN_NONBLOCK): Likewise.
29217         (__ASSUME_PIPE2): Likewise.
29218         (__ASSUME_EVENTFD2): Likewise.
29219         (__ASSUME_SIGNALFD4): Likewise.
29220         (__ASSUME_DUP3): Likewise.
29221         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29222         (__ASSUME_UTIMES): Likewise.
29223         (__ASSUME_O_CLOEXEC): Likewise.
29224         (__ASSUME_SOCK_CLOEXEC): Likewise.
29225         (__ASSUME_IN_NONBLOCK): Likewise.
29226         (__ASSUME_PIPE2): Likewise.
29227         (__ASSUME_EVENTFD2): Likewise.
29228         (__ASSUME_SIGNALFD4): Likewise.
29229         (__ASSUME_DUP3): Likewise.
29230         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29231         (__ASSUME_UTIMES): Likewise.
29232         (__ASSUME_O_CLOEXEC): Likewise.
29233         (__ASSUME_SOCK_CLOEXEC): Likewise.
29234         (__ASSUME_IN_NONBLOCK): Likewise.
29235         (__ASSUME_PIPE2): Likewise.
29236         (__ASSUME_EVENTFD2): Likewise.
29237         (__ASSUME_SIGNALFD4): Likewise.
29238         (__ASSUME_DUP3): Likewise.
29239         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29240         Likewise.
29241         (__ASSUME_UTIMES): Likewise.
29242         (__ASSUME_EVENTFD2): Likewise.
29243         (__ASSUME_SIGNALFD4): Likewise.
29244         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29245         (__ASSUME_O_CLOEXEC): Likewise.
29246         (__ASSUME_SOCK_CLOEXEC): Likewise.
29247         (__ASSUME_IN_NONBLOCK): Likewise.
29248         (__ASSUME_PIPE2): Likewise.
29249         (__ASSUME_EVENTFD2): Likewise.
29250         (__ASSUME_SIGNALFD4): Likewise.
29251         (__ASSUME_DUP3): Likewise.
29252         (__ASSUME_UTIMES): Undefine.
29254         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29255         feclearexcept.  Remove symbol versioning code.
29256         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29257         symbol versioning code.
29258         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29259         symbol versioning code.
29260         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29261         feupdateenv.  Remove symbol versioning code.
29262         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29263         fegetexceptflag.  Remove symbol versioning code.
29264         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29265         fesetexceptflag.  Remove symbol versioning code.
29266         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29267         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
29268         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29269         (__posix_fadvise64_l32): Remove prototype.
29270         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29271         code.
29273 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29275         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29276         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29277         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29278         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29280 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
29282         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29283         current working directory
29285 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29287         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29288         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29289         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29290         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29291         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29292         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29293         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29294         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29295         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29296         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29297         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29298         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29299         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29300         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29301         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29302         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29303         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29304         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29305         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29306         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29307         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29308         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29309         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29310         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29311         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29312         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29313         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29314         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29315         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29316         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29317         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29318         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29319         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29320         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29321         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29322         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29323         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29324         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29325         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29326         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29327         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29328         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29330         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29331         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29333         * sysdeps/unix/sysv/linux/arm/Makefile
29334         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29335         Add rt-aeabi_unwind_cpp_pr1.
29336         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29337         Add nptl-aeabi_unwind_cpp_pr1.
29338         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29339         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29340         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29341         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29342         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29343         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29345         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29346         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29347         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29348         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29350         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29351         Deconditionalize the code that was previously under [RESET_PID].
29352         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29354         * sysdeps/generic/exit-thread.h: New file.
29355         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29356         * include/unistd.h (__exit_thread): Remove declaration.
29357         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29358         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29359         * csu/libc-start.c: Include <exit-thread.h>.
29360         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29361         * nptl/pthread_create.c: Include <exit-thread.h>.
29362         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29363         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29364         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29365         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29366         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29367         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29368         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29369         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29370         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29371         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29372         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29373         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29374         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29375         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29376         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29377         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29378         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29380 2014-05-13  Andreas Schwab  <schwab@suse.de>
29382         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29384 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29386         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29387         (__ASSUME_UTIMES): Do not condition on kernel version.
29388         (__ASSUME_PSELECT): Define unconditionally.
29389         (__ASSUME_PPOLL): Likewise.
29390         (__ASSUME_ATFCTS): Likewise.
29391         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29392         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29393         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29394         (__ASSUME_UTIMENSAT): Define unconditionally.
29395         (__ASSUME_PRIVATE_FUTEX): Likewise.
29396         (__ASSUME_FALLOCATE): Likewise.
29397         (__ASSUME_O_CLOEXEC): Likewise.
29398         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29399         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29400         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29401         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29402         (__ASSUME_IN_NONBLOCK): Likewise.
29403         (__ASSUME_PIPE2): Likewise.
29404         (__ASSUME_EVENTFD2): Likewise.
29405         (__ASSUME_SIGNALFD4): Likewise.
29406         (__ASSUME_DUP3): Likewise.
29407         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29408         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29409         (__ASSUME_AT_RANDOM): Likewise.
29410         (__ASSUME_PREADV): Likewise.
29411         (__ASSUME_PWRITEV): Likewise.
29412         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29413         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29414         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29415         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29416         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29417         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29418         (__ASSUME_O_CLOEXEC): Define unconditionally.
29419         (__ASSUME_PSELECT): Do not undefine conditionally.
29420         (__ASSUME_PPOLL): Likewise.
29421         (__ASSUME_ATFCTS): Likewise.
29422         (__ASSUME_SET_ROBUST_LIST): Likewise.
29423         (__ASSUME_UTIMENSAT): Likewise.
29424         (__ASSUME_FDATASYNC): Define unconditionally.
29425         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29426         (__ASSUME_SIGFRAME_V2): Likewise.
29427         )__ASSUME_EVENTFD2): Likewise.
29428         (__ASSUME_SIGNALFD4): Likewise.
29429         (__ASSUME_PSELECT): Do not undefine conditionally.
29430         (__ASSUME_PPOLL): Likewise.
29431         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29432         (__ASSUME_PSELECT): Define unconditionally.
29433         (__ASSUME_PPOLL): Likewise.
29434         (__ASSUME_O_CLOEXEC): Likewise.
29435         (__ASSUME_SOCK_CLOEXEC): Likewise.
29436         (__ASSUME_IN_NONBLOCK): Likewise.
29437         (__ASSUME_PIPE2): Likewise.
29438         (__ASSUME_EVENTFD2): Likewise.
29439         (__ASSUME_SIGNALFD4): Likewise.
29440         (__ASSUME_DUP3): Likewise.
29441         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29442         (__ASSUME_O_CLOEXEC): Likewise.
29443         (__ASSUME_SOCK_CLOEXEC): Likewise.
29444         (__ASSUME_IN_NONBLOCK): Likewise.
29445         (__ASSUME_PIPE2): Likewise.
29446         (__ASSUME_EVENTFD2): Likewise.
29447         (__ASSUME_SIGNALFD4): Likewise.
29448         (__ASSUME_DUP3): Likewise.
29449         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29450         (__ASSUME_EVENTFD2): Likewise.
29451         (__ASSUME_SIGNALFD4): Likewise.
29452         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29454 2014-05-12  Andreas Schwab  <schwab@suse.de>
29456         [BZ #16932]
29457         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29458         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29459         than maximum RPC packet size.
29460         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29461         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29462         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29463         (_nss_nis_getservbyport_r): Likewise.
29465 2014-05-12  Will Newton  <will.newton@linaro.org>
29467         * malloc/Makefile (tests): Add tst-mallopt.
29468         * malloc/tst-mallopt.c: New file.
29470 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29472         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29473         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29475 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29477         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29478         (tst-tlsmod6.so): Likewise.
29480 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29482         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29484 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29486         [BZ #16064]
29487         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29488         and <dl-procinfo.h>.
29489         (__fegetenv): Save SSE state in envp->__eip if supported.
29490         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29491         envp->__eip if supported.
29492         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29493         and <dl-procinfo.h>.
29494         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29495         __data_offset and __data_selector in environment to 0.  Set SSE
29496         state if supported.
29497         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29498         test-fenv-sse.
29499         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29500         -mfpmath=sse.
29501         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29503 2014-05-09  Will Newton  <will.newton@linaro.org>
29505         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29506         and libc_relro_required for ARM.
29507         * sysdeps/arm/preconfigure: Regenerate.
29509 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29510             Stefan Liebler  <stli@linux.vnet.ibm.com>
29512         * config.make.in (enable-lock-elision): New Makefile variable.
29513         * configure.ac: Likewise.
29514         * configure: Regenerate.
29515         * sysdeps/s390/configure.ac:
29516         Add check for gcc transactions support.
29517         * sysdeps/s390/configure: Regenerate.
29518         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29519         Build elision files if enabled.
29520         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29521         Add lock elision support for s390.
29522         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29523         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29524         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29525         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29526         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29527         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29528         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29529         Likewise.
29530         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29531         Likewise.
29532         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29533         Likewise.
29534         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29535         Likewise.
29536         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29537         (__lll_timedlock_elision, __lll_lock_elision)
29538         (__lll_unlock_elision, __lll_trylock_elision)
29539         (lll_timedlock_elision, lll_lock_elision)
29540         (lll_unlock_elision, lll_trylock_elision): Add.
29541         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29542         (pthread_mutex_t): Add lock elision support for s390.
29544 2014-05-14  Wilco  <wdijkstr@arm.com>
29546         * sysdeps/arm/fclrexcpt.c: Cleanup.
29547         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29548         * sysdeps/arm/feenablxcpt.c: Cleanup.
29549         * sysdeps/arm/fegetenv.c: Cleanup.
29550         * sysdeps/arm/fegetexcept.c: Cleanup.
29551         * sysdeps/arm/fegetround.c: Cleanup.
29552         * sysdeps/arm/feholdexcpt.c: Cleanup.
29553         * sysdeps/arm/fesetenv.c: Cleanup.
29554         * sysdeps/arm/fesetround.c: Cleanup.
29555         * sysdeps/arm/feupdateenv.c: Cleanup.
29556         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29557         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29558         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29559         * sysdeps/arm/ftestexcept.c: Cleanup.
29560         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29561         * sysdeps/arm/setfpucw.c: Cleanup.
29563 2014-05-09  Will Newton  <will.newton@linaro.org>
29565         * sysdeps/arm/armv7/strcmp.S: New file.
29566         * NEWS: Mention addition of ARMv7 optimized strcmp.
29568 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29570         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29571         look for %.ac rather than %.in.
29573         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29574         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29575         * sysdeps/mach/hurd/configure: Regenerated.
29576         * sysdeps/unix/sysv/linux/configure: Regenerated.
29578         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29580 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29582         [BZ# 16922]
29583         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29584         (LONG_SUB): Ditto.
29585         (PTR_SUB): Ditto.
29587 2014-05-07  Andreas Schwab  <schwab@suse.de>
29589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29590         when skipping over non-matching result from nscd.
29592 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29594         [BZ #16876]
29595         * nptl/sockperf.c (client): Check socket return value.
29597         [BZ #16877]
29598         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29599         nscd security class.
29601 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29603         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29604         * sysdeps/arm/unwind.h: ... here.
29606 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29608         [BZ# 16916]
29609         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29610         Define.
29612 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29614         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29615         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29616         multiarch strncpy for PPC64.
29617         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29618         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29620         multiarch optimizations.
29621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29622         (__libc_ifunc_impl_list): Likewise.
29623         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29624         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29625         multiarch stpncpy for PPC64.
29626         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29627         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29629 2014-05-06  Andreas Schwab  <schwab@suse.de>
29631         [BZ #16912]
29632         * gmon/mcount.c (_MCOUNT_DECL): Use
29633         atomic_compare_and_exchange_bool_acq instead of
29634         catomic_compare_and_exchange_bool_acq.
29636 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29638         * elf/Makefile (others, install-bin): Remove pldd.
29639         (pldd-modules): Variable removed.
29640         ($(objpfx)pldd): Target removed.
29641         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29642         (others, install-bin): Append pldd here.
29643         ($(objpfx)pldd): New target.
29645         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29646         to 0, so the first #if test emitted later doesn't see it undefined.
29647         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29648         * sysdeps/gnu/errlist.c: Regenerated.
29650 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29652         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29653         [libc_hidden_builtin_def]: Define to empty value.
29654         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29655         [libc_hidden_builtin_def]: Likewise.
29656         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29657         [libc_hidden_builtin_def]: Likewise.
29658         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29659         [libc_hidden_builtin_def]: Likewise.
29660         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29661         __redirect_memcpy and define ifunc as default hidden symbol.
29662         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29663         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29665 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29667         * locale/iso-4217.def: Reintroduce XDR currency.
29669 2014-05-04  Allan McRae  <allan@archlinux.org>
29671         * po/eo.po: Update Esperanto translation from translation project.
29673 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29675         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29676         and FEATURE_INDEX_MAX to 1.
29677         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29679 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29681         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29682         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29683         * iconvdata/big5.c (ONE_DIRECTION): Define.
29684         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29685         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29686         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29687         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29688         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29689         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29690         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29691         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29692         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29693         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29694         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29695         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29696         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29697         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29698         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29699         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29700         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29701         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29702         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29703         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29704         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29705         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29706         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29707         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29708         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29709         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29710         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29711         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29712         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29713         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29714         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29715         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29716         * iconvdata/johab.c (ONE_DIRECTION): Define.
29717         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29718         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29719         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29720         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29721         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29722         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29723         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29724         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29725         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29726         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29728 2014-05-01  Roland McGrath  <roland@hack.frob.com>
29730         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29731         (_IO_JUMPS_OFFSET): Define to 0.
29733         * nptl/sysdeps/pthread/bits/libc-lock.h
29734         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29735         (__libc_lock_define_initialized_recursive): Always define using
29736         initializer.  Modern compilers treat uninitialized (implicit zero) and
29737         explicit zero initializers the same (i.e. put the datum in bss).
29739 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29741         * nscd/nscd-client.h: Include <string.h>.
29743 2014-05-01  David S. Miller  <davem@davemloft.net>
29745         [BZ #16885]
29746         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29747         multiple zero bytes exist at the end of a string.
29748         Reported by Aurelien Jarno <aurelien@aurel32.net>
29750         * string/test-strcmp.c (check): Add explicit test for situations where
29751         there are multiple zero bytes after the first.
29753 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29755         [BZ #16890]
29756         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29757         when compiling wprintf.
29758         * stdio-common/tstdiomisc.c (t3): New function.
29759         (main): Call it.
29761 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29763         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29764         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29765         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29766         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29768 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29770         * stdlib/longlong.h: Updated from GCC.
29772 2014-05-01  Will Newton  <will.newton@linaro.org>
29773             Bernard Ogden  <bernie.ogden@linaro.org>
29775         * NEWS: Update fixed bug list.
29777         [BZ #15119]
29778         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29780 2014-04-30  David S. Miller  <davem@davemloft.net>
29782         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29783         (libc_feholdexcept_setround_sparc_ctx): New function.
29784         (libc_fesetenv_sparc_ctx): Likewise.
29785         (libc_feupdateenv_sparc_ctx): Likewise.
29786         (libc_feholdsetround_sparc_ctx): Likewise.
29787         (libc_feholdexcept_setround_ctx): Define.
29788         (libc_feholdexcept_setroundf_ctx): Likewise.
29789         (libc_feholdexcept_setroundl_ctx): Likewise.
29790         (libc_fesetenv_ctx): Likewise.
29791         (libc_fesetenvf_ctx): Likewise.
29792         (libc_fesetenvl_ctx): Likewise.
29793         (libc_feupdateenv_ctx): Likewise.
29794         (libc_feupdateenvf_ctx): Likewise.
29795         (libc_feupdateenvl_ctx): Likewise.
29796         (libc_feresetround_ctx): Likewise.
29797         (libc_feresetroundf_ctx): Likewise.
29798         (libc_feresetroundl_ctx): Likewise.
29799         (libc_feholdsetround_ctx): Likewise.
29800         (libc_feholdsetroundf_ctx): Likewise.
29801         (libc_feholdsetroundl_ctx): Likewise.
29803         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29804         with __USE_GNU instead of XOPEN cpp guards.
29806         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
29807         0.
29809         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
29810         with XOPEN cpp guards.
29812 2014-04-30  Julian Brown  <julian@codesourcery.com>
29814         [BZ #16888]
29815         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
29816         handling.
29818 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
29820         [BZ #9894]
29821         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
29822         Change to 2.6.32.
29823         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
29824         * sysdeps/unix/sysv/linux/configure: Regenerated.
29825         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
29826         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
29827         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
29828         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
29829         * README: Update reference to required Linux kernel version.
29830         * manual/install.texi (Linux): Update reference to required Linux
29831         kernel headers version.
29832         * INSTALL: Regenerated.
29834         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29835         header inclusion.
29836         [POSIX] (limits.h): Likewise.
29837         [POSIX] (math.h): Likewise.
29838         [POSIX] (sys/wait.h): Likewise.
29839         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
29840         function.
29841         [POSIX] (stddef.h): Do not allow header inclusion.
29843 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29845         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
29847 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
29849         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29850         Return immediately after lll_futex_wake.
29852 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29854         [BZ #16791]
29855         * nscd/nscd-client.h (datahead_init_common): Initialize entire
29856         structure.
29857         (datahead_init_pos): Call datahead_init_common early.
29858         (datahead_init_neg): Likewise.
29860         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
29861         datahead_init_neg): New functions.
29862         * nscd/aicache.c (addhstaiX): Use them.
29863         * nscd/grpcache.c (cache_addgr): Likewise.
29864         * nscd/hstcache.c (cache_addhst): Likewise.
29865         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29866         * nscd/netgroupcache.c (do_notfound): Likewise.
29867         (addgetnetgrentX): Likewise.
29868         (addinnetgrX): Likewise.
29869         * nscd/pwdcache.c (cache_addpw): Likewise.
29870         * nscd/servicescache.c (cache_addserv): Likewise.
29872 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29873             Atsushi Onoe  <atsushi@onoe.org>
29875         [BZ #14308]
29876         [BZ #12994]
29877         [BZ #13651]
29878         * resolv/res_query.c (__libc_res_nsearch): Return if at least
29879         one response is valid.
29880         * resolv/res_send.c (send_dg): Check for validity of other
29881         response if the current response is a referral.
29883 2014-04-29  Steve Ellcey  <sellcey@mips.com>
29885         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
29887 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
29889         [BZ #16823]
29890         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
29891         Always divide by positive zero when computing -Inf result.
29892         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29893         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29895 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29897         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
29898         FPSCR if value do not change.
29899         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29900         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
29901         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29902         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29903         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
29904         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
29905         function.
29907 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
29909         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
29910         * sysdeps/unix/sysv/linux/hppa: Move directory from
29911         ports/systeps/unix/sysv/linux/hppa.
29912         * README: Update listing for hppa-*-linux-gnu.
29914 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
29916         [BZ #16754]
29917         * manual/stdio.texi (Hook functions): Fix types of stream hook
29918         functions.
29919         [BZ #16854]
29920         * socket/sys/socket.h: Fix typo in comment.
29922 2014-04-28  Wilco  <wdijkstr@arm.com>
29924         * sysdeps/arm/fenv_private.h: New file.
29925         * sysdeps/arm/math_private.h: New file.
29926         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
29928 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
29930         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
29931         with __int128_t.
29932         (La_x86_64_retval): Likewise.
29934 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
29936         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
29937         fpsr if value didn't change.
29938         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
29939         to fpcr if value didn't change.
29940         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
29941         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
29942         fpsr or fpcr if value didn't change.
29943         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29944         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
29945         fpcr if value didn't change.
29946         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
29947         to fpsr if value didn't change.
29949 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29951         * nptl/tst-sem3.c: Use test-skeleton.c
29952         (main): Rename to do_test.  Use return instead of
29953         exit.
29954         * nptl/tst-sem4.c: Use test-skeleton.c
29955         (main): Rename to do_test.
29957 2014-04-22  David S. Miller  <davem@davemloft.net>
29959         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29960         (struct sigaction): New struct member __glibc_reserved0, change
29961         type of sa_flags to int.
29963 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
29965         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
29966         (COUNT_LEADING_ZEROS_0): Define for AArch64.
29968 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29970         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
29971         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
29973 2014-04-22  Will Newton  <will.newton@linaro.org>
29974             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
29976         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
29977         (__longjmp): Add longjmp and longjmp_target SystemTap
29978         probes.
29979         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
29980         (__sigsetjmp): Add setjmp SystemTap probe.
29982 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
29984         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
29985         match manual order.
29987 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29989         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
29991         * sysdeps/powerpc/fpu/fenv_private.h
29992         (libc_feholdexcept_setroundl_ctx): Define to
29993         libc_feholdexcept_setround_ppc_ctx.
29994         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
29995         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
29996         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
29997         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
29999 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30001         * sysdeps/aarch64/math-tests.h: New file.
30003 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
30005         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30006         New.
30007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30008         Check and set bit_AVX2_Usable.
30009         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30010         macro.
30011         (bit_AVX2): Likewise.
30012         (index_AVX2_Usable): Likewise.
30013         (CPUID_AVX2): Likewise.
30014         (HAS_AVX2): Likewise.
30016 2014-04-17  Will Newton  <will.newton@linaro.org>
30018         * manual/setjmp.texi (System V contexts): Add note that
30019         calling setcontext on a context created by a call to a
30020         signal handler is undefined.  Update text to note that
30021         setcontext from a signal handler is possible but not
30022         recommended.
30024         [BZ #16629]
30025         * stdlib/tst-setcontext.c: Include signal.h.
30026         (main): Check that the signal stack before and
30027         after swapcontext is the same.
30029         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30030         Re-implement to restore registers in user code and avoid
30031         rt_sigreturn system call.
30033 2014-04-17  Wilco  <wdijkstr@arm.com>
30035         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30036         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30037         * math/test-fenv.c: Skip exception trap tests on targets which only
30038         support non-stop mode.
30040 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30041             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30043         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30044         (libc_feholdsetround_aarch64_ctx)
30045         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30046         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30047         (libc_feresetround_ctx, libc_feresetroundf_ctx)
30048         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30049         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30050         (libc_feresetround_noexl_ctx): Define.
30052 2014-04-16  Richard Henderson  <rth@redhat.com>
30054         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30056         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30057         unwind tables.
30059         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30060         const from the non-libc, non-ldso copy.
30062         * sysdeps/alpha/libm-test-ulps: Regenerate.
30064 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
30065             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30067         * sysdeps/aarch64/fpu/math_private.h: New file.
30069 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30071         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30073 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
30075         [BZ #16275]
30076         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30077         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30078         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30079         Intel MPX bound registers before _dl_profile_fixup.
30080         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30081         registers after _dl_profile_fixup.  Save and restore bound
30082         registers bnd0/bnd1 when calling _dl_call_pltexit.
30083         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30084         (LR_BND_OFFSET): Likewise.
30085         (LRV_BND0_OFFSET): Likewise.
30086         (LRV_BND1_OFFSET): Likewise.
30088 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30090         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30091         to...
30092         * sysdeps/mach/hurd/i386/tls.h: ... here.
30093         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30094         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30095         fields.
30097 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30099         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30101 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30103         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30105 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30107         [BZ #14770]
30108         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30109         * sysdeps/s390/configure: Regenerate.
30111         [BZ #16824]
30112         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30113         Set round-to-nearest internally to reduce error accumulation.
30115 2014-04-16  Alan Modra  <amodra@gmail.com>
30117         [BZ #16740]
30118         [BZ #16619]
30119         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30120         * math/libm-test.inc (frexp_test_data): Add tests.
30121         * NEWS: Update fixed bug list.
30123 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30125         * benchtests/Makefile: Depend on libraries in build directory.
30126         (bench-math): Separate out math tests.
30127         (bench-pthread): Separate out pthread tests.
30128         (bench): Include math and pthread tests.
30130 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
30132         [BZ #16831]
30133         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30134         _dl_debug_initialize.
30136         * configure.ac: Remove SELinux header check.
30137         * configure: Regenerate.
30138         * nscd/selinux.c (perms): Array of const char* to permission names.
30139         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30140         default policy. Call string_to_security_class and string_to_av_perm to
30141         translate strings. Enforce default policy and call avs_has_perm with
30142         results of translated strings.
30144 2014-04-13  David S. Miller  <davem@davemloft.net>
30146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30148 2014-04-12  Allan McRae  <allan@archlinux.org>
30150         [BZ #16838]
30151         * manual/string.texi (Collation Functions): Fix qsort argument
30152         order in example.
30153         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30155 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30157         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30158         Make the test a no-op if there are no exceptions defined.
30160 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30162         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30163         enable-hardcoded-path-in-tests
30165 2014-04-11  Will Newton  <will.newton@linaro.org>
30167         * benchtests/Makefile (extra-objs): Add json-lib.o.
30168         (bench-func): Tidy up JSON output.
30169         * benchtests/bench-skeleton.c: Include json-lib.h.
30170         (main): Use JSON library functions to do output of
30171         benchmark results.
30172         * benchtests/bench-timing-type.c (main): Output the
30173         timing type simply, leaving formatting to the user.
30174         * benchtests/json-lib.c: New file.
30175         * benchtests/json-lib.h: Likewise.
30177 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30179         [BZ #15215]
30180         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30181         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30182         memory barriers.  Add comments.
30183         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30184         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30185         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30186         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30187         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30188         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30190 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30192         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30193         * sysdeps/s390/s390-64/configure.ac: ... this ...
30194         * sysdeps/s390/configure.ac: ... to here.
30195         * sysdeps/s390/s390-32/configure: Delete file.
30196         * sysdeps/s390/s390-64/configure: Delete file.
30197         * sysdeps/s390/configure: Regenerate.
30199 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30201         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30203 2014-04-11  Will Newton  <will.newton@linaro.org>
30205         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30206         to zero if it is not defined elsewhere.  (mtrim): Test
30207         the value of MALLOC_DEBUG with #if rather than #ifdef.
30209 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30211         * benchtests/pthread_once-inputs: New file.
30212         * benchtests/pthread_once-source.c: New file.
30213         * benchtests/README: Update documentation.
30215 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30216             H.J. Lu  <hongjiu.lu@intel.com>
30218         [BZ #16275]
30219         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30220         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30221         * sysdeps/x86_64/configure: Regenerated.
30222         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30223         macro.
30224         (REGISTER_SAVE_RAX): Likewise.
30225         (REGISTER_SAVE_RCX): Likewise.
30226         (REGISTER_SAVE_RDX): Likewise.
30227         (REGISTER_SAVE_RSI): Likewise.
30228         (REGISTER_SAVE_RDI): Likewise.
30229         (REGISTER_SAVE_R8): Likewise.
30230         (REGISTER_SAVE_R9): Likewise.
30231         (REGISTER_SAVE_BND0): Likewise.
30232         (REGISTER_SAVE_BND1): Likewise.
30233         (REGISTER_SAVE_BND2): Likewise.
30234         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30235         bound registers when calling _dl_fixup.
30237 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30239         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30240         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30241         of its definition.
30242         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30243         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30244         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30245         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30246         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30247         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30248         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30250 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30252         [BZ #15514]
30253         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30254         pathconf(_PC_NAME_MAX).
30256 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30258         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30259         Remove macro usage.
30260         (__PTHREAD_SPINS): Move definition to ...
30261         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30262         (__PTHREAD_SPINS): ... here.
30263         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30264         (__PTHREAD_SPIN): Likewise.
30265         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30266         (__PTHREAD_SPIN): Likewise.
30267         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30268         (__PTHREAD_SPIN): Likewise.
30269         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30270         (__PTHREAD_SPIN): Likewise.
30271         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30272         (__PTHREAD_SPIN): Likewise.
30273         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30274         (__PTHREAD_SPIN): Likewise.
30275         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30276         (__PTHREAD_SPIN): Likewise.
30277         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30278         (__PTHREAD_SPIN): Likewise.
30279         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30280         (__PTHREAD_SPIN): Likewise.
30281         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30282         (__PTHREAD_SPIN): Likewise.
30283         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30284         (__PTHREAD_SPIN): Likewise.
30285         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30286         (__PTHREAD_SPIN): Likewise.
30288         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30289         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30290         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30291         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30292         imply folder.
30293         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30294         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30295         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30296         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30297         correct imply path.
30298         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30299         strlen symbol for non multi-arch builds.
30300         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30301         missing hidden_def and weak_alias.
30303 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
30305         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30307 2014-04-07  Will Newton  <will.newton@linaro.org>
30309         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30310         and contents.  [!_LIBC] Remove #ifndef and contents.
30311         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
30312         * string/memccpy.c (__memccpy): Use ANSI prototype.
30313         * string/memfrob.c (memfrob): Likewise.
30314         * string/strcoll.c (STRCOLL): Likewise.
30315         * string/strlen.c (strlen): Likewise.
30316         * string/strtok.c (STRTOK): Likewise.
30317         * string/strcat.c: Remove unused #include of memcopy.h.
30318         (strcat): Use ANSI prototype.
30319         * string/strchr.c: Remove unused #include of memcopy.h.
30320         (strchr): Use ANSI prototype.
30321         * string/strcmp.c: Remove unused #include of memcopy.h.
30322         (strcmp): Use ANSI prototype.
30323         * string/strcpy.c: Remove unused #include of memcopy.h.
30324         (strcpy): Use ANSI prototype.
30326 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30328         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30329         * config.make.in (config-extra-cppflags): Set it from
30330         libc_extra_cppflags.
30331         * configure.ac (libc_extra_cflags): Make it accumulate over
30332         configure fragments.
30333         (libc_extra_cppflags): New flag.
30334         * configure. Regenerate.
30335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30336         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30337         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30340         [BZ #16815]
30341         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30342         result for FE_DOWNWARD rounding mode.
30343         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30344         Likewise.
30345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30347 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30349         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30350         in function argument name.
30352 2014-04-03  David Svoboda  <svoboda@cert.org>
30354         [BZ #5666]
30355         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30356         explicitly.
30358 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30360         * elf/dl-unmap-segments.h: New file.
30361         * sysdeps/generic/ldsodefs.h
30362         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30363         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30364         * elf/dl-fptr.c: Likewise.
30365         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30366         * sysdeps/aarch64/tlsdesc.c: Likewise.
30367         * sysdeps/arm/tlsdesc.c: Likewise.
30368         * sysdeps/i386/tlsdesc.c: Likewise.
30369         * sysdeps/tile/dl-runtime.c: Likewise.
30370         * sysdeps/x86_64/tlsdesc.c: Likewise.
30371         * elf/dl-load.h: New file.
30372         * elf/dl-load.c: Include it.
30373         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30374         Macros moved to dl-load.h.
30375         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30376         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30377         Use _dl_unmap_segments in place of __munmap.
30378         Break out segment-mapping loop into ...
30379         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30381 2014-04-03  Will Newton  <will.newton@linaro.org>
30383         * elf/dl-lookup.c (do_lookup_x): Remove comment
30384         referring to nested function and move variable
30385         declarations down to before first use.
30387 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30389         [BZ #16799]
30390         [BZ #16800]
30391         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30392         with 0 numerator.
30393         * math/s_catanf.c (__catanf): Likewise.
30394         * math/s_catanh.c (__catanh): Likewise.
30395         * math/s_catanhf.c (__catanhf): Likewise.
30396         * math/s_catanhl.c (__catanhl): Likewise.
30397         * math/s_catanl.c (__catanl): Likewise.
30398         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30399         by positive zero when computing -Inf result.
30400         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30401         (catanh_test): Likewise.
30402         * sysdeps/i386/fpu/libm-test-ulps: Update.
30403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30405         [BZ #16789]
30406         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30407         instead of using underflowing value in computing result.
30408         * math/s_clog10.c (__clog10): Likewise.
30409         * math/s_clog10f.c (__clog10f): Likewise.
30410         * math/s_clog10l.c (__clog10l): Likewise.
30411         * math/s_clogf.c (__clogf): Likewise.
30412         * math/s_clogl.c (__clogl): Likewise.
30413         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30414         (clog10_test): Likewise.
30415         * sysdeps/i386/fpu/libm-test-ulps: Update.
30416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30418 2014-04-02  Alan Modra  <amodra@gmail.com>
30420         [BZ #16739]
30421         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30422         output when value is near a power of two.  Use int64_t for lx and
30423         remove casts.  Use decimal rather than hex exponent constants.
30424         Don't use long double multiplication when double will suffice.
30425         * math/libm-test.inc (nextafter_test_data): Add tests.
30426         * NEWS: Add 16739 and 16786 to bug list.
30428         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30430         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30432 2014-04-01  Will Newton  <will.newton@linaro.org>
30434         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30435         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30437 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30439         [BZ #13347]
30440         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30441         * nptl/tst-setuid2.c: New file.
30442         * nptl/Makefile (xtests): Add tst-setuid2.
30444 2014-04-01  Alan Modra  <amodra@gmail.com>
30446         [BZ #16786]
30447         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30449 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30451         [BZ #6803]
30452         [BZ #6804]
30453         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30454         set errno as appropriate.
30455         * math/w_scalbf.c (__scalbf): Likewise.
30456         * math/w_scalbl.c (__scalbl): Likewise.
30457         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30458         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30459         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30460         Add more NaN tests.
30462         [BZ #16349]
30463         * math/w_atan2.c: Include <errno.h>.
30464         (__atan2): Set errno for result underflowing to zero.
30465         * math/w_atan2f.c: Include <errno.h>.
30466         (__atan2f): Set errno for result underflowing to zero.
30467         * math/w_atan2l.c: Include <errno.h>.
30468         (__atan2l): Set errno for result underflowing to zero.
30469         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30470         tests.
30471         * math/auto-libm-test-out: Regenerated.
30473 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30475         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30476         Encode instruction correctly in little endian.
30477         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30478         Likewise.
30479         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30480         Likewise.
30481         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30482         Likewise.
30483         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30484         Likewise.
30486 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30488         [BZ #9894]
30489         * sysdeps/unix/sysv/linux/kernel-features.h
30490         [__sparc__ && !__arch64__ && !__sparc_v9__]
30491         (__ASSUME_SET_ROBUST_LIST): Do not define.
30492         [__sparc__ && !__arch64__ && !__sparc_v9__]
30493         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30494         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30495         Likewise.
30496         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30497         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30498         (__ASSUME_REQUEUE_PI): Likewise.
30499         (__ASSUME_SET_ROBUST_LIST): Likewise.
30500         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30501         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30502         Undefine.
30503         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30504         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30505         Likewise.
30506         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30507         Likewise.
30508         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30509         Likewise.
30510         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30511         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30512         Undefine.
30513         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30514         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30515         Likewise.
30517         [BZ #16648]
30518         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30519         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30520         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30522 2014-03-31  Will Newton  <will.newton@linaro.org>
30524         * benchtests/Makefile (bench): Add ffs and ffsll to list
30525         of tests.
30526         * benchtests/ffs-inputs: New file.
30527         * benchtests/ffsll-inputs: Likewise.
30529 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30531         [BZ #16770]
30532         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30533         too large before casting to int.
30534         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30535         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30536         * math/libm-test.inc (scalb_test_data): Add more tests.
30538 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30540         * benchtests/Makefile (DETAILED_OPT): New make option.
30541         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30542         set.
30543         * benchtests/bench-skeleton.c: Include stdbool.h.
30544         (main): Store and print timings per input.
30545         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30546         member to each argument value.
30547         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30548         (_print_arg_data): Initialize per-input timing to 0.
30550         * benchtests/Makefile (timing-type): New binary.
30551         (bench-clean): Also remove bench-timing-type.
30552         (bench): New target for timing-type.
30553         (bench-func): Print output in JSON format.
30554         * benchtests/bench-skeleton.c (main): Print output in JSON
30555         format.
30556         * benchtests/bench-timing-type.c: New file.
30557         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30558         (TIMING_PRINT_STATS): Remove.
30559         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30560         name separately.
30562         * benchtests/bench-modf.c: Remove.
30563         * benchtests/modf-inputs: New inputs file.
30565 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30567         [BZ #16362]
30568         * math/s_clog10.c (M_PI_LOG10E): New macro.
30569         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30570         imaginary parts are 0.
30571         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30572         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30573         imaginary parts are 0.
30574         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30575         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30576         imaginary parts are 0.
30577         * math/libm-test.inc (clog10_test_data): Update expected results
30578         for when real and imaginary parts are 0.
30580 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30582         * elf/dl-load.c: Finish conversion of __builtin_expect into
30583         __glibc_{un}likely.
30585 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30587         [BZ #16348]
30588         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30589         1+x for argument with exponent below -67.
30590         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30591         Likewise.
30592         * math/auto-libm-test-in: Add more tests of exp.
30593         * math/auto-libm-test-out: Regenerated.
30595 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30597         [BZ #16759]
30598         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30599         (nscd_getnetgrent): Use it.
30601         [BZ #16760]
30602         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30603         of stpcpy.
30605 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30607         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30608         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30609         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30610         (lll_robust_unlock): Remove out of line section. Use cfi
30611         intrinsics.
30612         (LLL_STUB_UNWIND_INFO*): Remove.
30613         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30614         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30615         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30616         (lll_robust_unlock): Remove out of line section. Use cfi
30617         intrinsics.
30618         (LLL_STUB_UNWIND_INFO*): Remove.
30620 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30622         [BZ #16758]
30623         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30624         blank values.
30626 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30628         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30630 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30632         [BZ #16198]
30633         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30634         fnstenv.
30635         * math/test-fenv-preserve.c: New file.
30636         * math/Makefile (tests): Add test-fenv-preserve.
30638 2014-03-26  Will Newton <will.newton@linaro.org>
30640         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30642 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30644         * scripts/versionlist.awk: Partition the version sets and emit all
30645         GLIBC_* (sorted) before all others (sorted).
30647 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30649         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30650         GLIBC_2.2.5 version.
30652 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30654         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30655         calls.
30657         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30658         previous change.
30660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30662 2014-03-25  Andreas Schwab  <schwab@suse.de>
30664         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30665         label to be used after in6ailist is initialized.
30667 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30669         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30670         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30672 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30674         [BZ #16357]
30675         [BZ #16599]
30676         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30677         min_plus_half.
30678         (fp_formats): Update initializers.
30679         (init_fp_formats): Initialize new field.
30680         (output_for_one_input_case): Allow underflow for results up to
30681         min_plus_half.
30682         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30683         * math/auto-libm-test-in: Don't mark some underflows from asin and
30684         atanh as spurious.
30685         * math/auto-libm-test-out: Regenerated.
30686         * sysdeps/i386/fpu/libm-test-ulps: Update.
30687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30689 2014-03-25  Andreas Schwab  <schwab@suse.de>
30691         * libio/Makefile (tst-ftell-partial-wide-ENV)
30692         (tst-ftell-active-handler-ENV): Define.
30694 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30696         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30698 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30700         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30702 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30704         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30705         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30706         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30708 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30710         [BZ #16634]
30711         * elf/dl-load.c (open_verify): Add mode parameter.
30712         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30713         (open_path): Change from boolean 'secure' to complete flag 'mode'
30714         (_dl_map_object): Adjust.
30715         * elf/Makefile (tests): Add tst-dlopen-aout.
30716         * elf/tst-dlopen-aout.c: New test.
30718 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30720         [BZ #16714]
30721         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30722         (struct stat): Rename member pad0 to __glibc_reserved0.
30724         [BZ #16712]
30725         * sysdeps/s390/s390-32/bits/wordsize.h
30726         (__WORDSIZE32_SIZE_ULONG): New define.
30727         * sysdeps/s390/s390-64/bits/wordsize.h
30728         (__WORDSIZE32_SIZE_ULONG): Likewise.
30729         * sysdeps/generic/stdint.h (SIZE_MAX):
30730         Define as UL if __WORDSIZE32_SIZE_ULONG.
30732         [BZ #16713]
30733         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30734         (__glibc_reserved0): New variable.
30735         (sa_flags): Change type to int.
30737         * posix/Makefile (before-compile): Use += before-compile instead
30738         of a :=.
30740         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30741         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30743 2014-03-20  Andreas Schwab  <schwab@suse.de>
30745         [BZ #16743]
30746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30747         non-matching result from nscd.
30749 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30751         * scripts/bench.py: Moved to ...
30752         * benchtests/scripts/bench.py: ... here.
30753         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30755 2014-03-24  Andreas Schwab  <schwab@suse.de>
30757         [BZ #16002]
30758         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30759         alloca_account and account alloca use for struct in6ailist.
30761 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30763         [BZ #16284]
30764         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30765         rounding mode to recompute results that overflow to infinity or
30766         underflow to zero.
30767         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30768         bug 16284.
30769         * math/auto-libm-test-out: Regenerated.
30770         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30771         (ccosh_test): Likewise.
30772         (csin_test_data): Use plus_oflow.
30773         (csin_test): Use ALL_RM_TEST.
30774         (csinh_test_data): Use plus_oflow.
30775         (csinh_test): Use ALL_RM_TEST.
30776         * sysdeps/i386/fpu/libm-test-ulps: Update.
30777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30779 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30781         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30782         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30783         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30785         [BZ #16731]
30786         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30787         when x - 1 is zero.
30788         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30789         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30790         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30791         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30792         argument is 1.
30793         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30794         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30795         zero.
30796         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30797         * sysdeps/i386/fpu/libm-test-ulps: Update.
30798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30800 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30802         * scripts/bench.pl: Remove file.
30803         * scripts/bench.py: New benchmark script.
30804         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
30805         * benchtests/README: Mention python dependency.
30806         * scripts/pylintrc: New file.
30807         * scripts/pylint: New file.
30809         * bits/mathdef.h: Use #ifdef instead of #if.
30810         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
30811         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30812         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
30813         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30814         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
30815         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
30817 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30818             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30820         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
30821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
30822         and strpbrk-ppc64 objects.
30823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30824         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
30825         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
30826         multiarch strpbrk for POWER7.
30827         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
30828         multiarch strpbrk for PPC64.
30829         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
30830         ifunc selector.
30831         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
30832         strpbrk for POWER7.
30834 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30836         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
30837         (atan_test): Likewise.
30838         (atanh_test_data): Use NO_TEST_INLINE for two tests.
30839         (atanh_test): Use ALL_RM_TEST.
30840         (atan2_test_data): Likewise.
30841         (cabs_test): Likewise.
30842         (cacosh_test): Likewise.
30843         (carg_test): Likewise.
30844         (casin_test): Likewise.
30845         (casinh_test): Likewise.
30846         (cbrt_test): Likewise.
30847         (csqrt_test): Likewise.
30848         (erf_test): Likewise.
30849         (erfc_test): Likewise.
30850         (pow10_test): Likewise.
30851         (exp2_test): Likewise.
30852         (hypot_test): Likewise.
30853         (j0_test): Likewise.
30854         (j1_test): Likewise.
30855         (lgamma_test): Likewise.
30856         (gamma_test): Likewise.
30857         (sincos_test): Likewise.
30858         (tanh_test): Likewise.
30859         (y0_test): Likewise.
30860         (y1_test): Likewise.
30861         * sysdeps/i386/fpu/libm-test-ulps: Update.
30862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30864 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30866         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
30867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
30868         and strcspn-ppc64 objects.
30869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30870         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
30871         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
30872         multiarch strcspn for POWER7.
30873         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
30874         multiarch strcspn for PPC64.
30875         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
30876         ifunc selector.
30877         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
30878         strcspn for POWER7.
30880 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
30882         * math/gen-libm-test.pl (generate_testfile): Expect only function
30883         name as argument to AUTO_TESTS_* and pass results for all rounding
30884         modes to parse_args.
30885         (parse_auto_input): Separate inputs of automatic tests from
30886         outputs before storing in %auto_tests.
30887         * math/libm-test.inc (acos_test_data): Update call to
30888         AUTO_TESTS_f_f.
30889         (acos_test): Use ALL_RM_TEST.
30890         (acos_tonearest_test_data): Remove.
30891         (acos_test_tonearest): Likewise.
30892         (acos_towardzero_test_data): Likewise.
30893         (acos_test_towardzero): Likewise.
30894         (acos_downward_test_data): Likewise.
30895         (acos_test_downward): Likewise.
30896         (acos_upward_test_data): Likewise.
30897         (acos_test_upward): Likewise.
30898         (acosh_test_data): Update call to AUTO_TESTS_f_f.
30899         (asin_test_data): Likewise.
30900         (asin_test): Use ALL_RM_TEST.
30901         (asin_tonearest_test_data): Remove.
30902         (asin_test_tonearest): Likewise.
30903         (asin_towardzero_test_data): Likewise.
30904         (asin_test_towardzero): Likewise.
30905         (asin_downward_test_data): Likewise.
30906         (asin_test_downward): Likewise.
30907         (asin_upward_test_data): Likewise.
30908         (asin_test_upward): Likewise.
30909         (asinh_test_data): Update call to AUTO_TESTS_f_f.
30910         (atan_test_data): Likewise.
30911         (atanh_test_data): Likewise.
30912         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
30913         (cabs_test_data): Update call to AUTO_TESTS_c_f.
30914         (carg_test_data): Likewise.
30915         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
30916         (ccos_test_data): Update call to AUTO_TESTS_c_c.
30917         (ccosh_test_data): Likewise.
30918         (cexp_test_data): Likewise.
30919         (clog_test_data): Likewise.
30920         (clog10_test_data): Likewise.
30921         (cos_test_data): Update call to AUTO_TESTS_f_f.
30922         (cos_test): Use ALL_RM_TEST.
30923         (cos_tonearest_test_data): Remove.
30924         (cos_test_tonearest): Likewise.
30925         (cos_towardzero_test_data): Likewise.
30926         (cos_test_towardzero): Likewise.
30927         (cos_downward_test_data): Likewise.
30928         (cos_test_downward): Likewise.
30929         (cos_upward_test_data): Likewise.
30930         (cos_test_upward): Likewise.
30931         (cosh_test_data): Update call to AUTO_TESTS_f_f.
30932         (cosh_test): Use ALL_RM_TEST.
30933         (cosh_tonearest_test_data): Remove.
30934         (cosh_test_tonearest): Likewise.
30935         (cosh_towardzero_test_data): Likewise.
30936         (cosh_test_towardzero): Likewise.
30937         (cosh_downward_test_data): Likewise.
30938         (cosh_test_downward): Likewise.
30939         (cosh_upward_test_data): Likewise.
30940         (cosh_test_upward): Likewise.
30941         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
30942         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
30943         (ctan_test_data): Likewise.
30944         (ctan_test): Use ALL_RM_TEST.
30945         (ctan_tonearest_test_data): Remove.
30946         (ctan_test_tonearest): Likewise.
30947         (ctan_towardzero_test_data): Likewise.
30948         (ctan_test_towardzero): Likewise.
30949         (ctan_downward_test_data): Likewise.
30950         (ctan_test_downward): Likewise.
30951         (ctan_upward_test_data): Likewise.
30952         (ctan_test_upward): Likewise.
30953         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
30954         (ctanh_test): Use ALL_RM_TEST.
30955         (ctanh_tonearest_test_data): Remove.
30956         (ctanh_test_tonearest): Likewise.
30957         (ctanh_towardzero_test_data): Likewise.
30958         (ctanh_test_towardzero): Likewise.
30959         (ctanh_downward_test_data): Likewise.
30960         (ctanh_test_downward): Likewise.
30961         (ctanh_upward_test_data): Likewise.
30962         (ctanh_test_upward): Likewise.
30963         (erf_test_data): Update call to AUTO_TESTS_f_f.
30964         (erfc_test_data): Likewise.
30965         (exp_test_data): Likewise.
30966         (exp_test): Use ALL_RM_TEST.
30967         (exp_tonearest_test_data): Remove.
30968         (exp_test_tonearest): Likewise.
30969         (exp_towardzero_test_data): Likewise.
30970         (exp_test_towardzero): Likewise.
30971         (exp_downward_test_data): Likewise.
30972         (exp_test_downward): Likewise.
30973         (exp_upward_test_data): Likewise.
30974         (exp_test_upward): Likewise.
30975         (exp10_test_data): Update call to AUTO_TESTS_f_f.
30976         (exp10_test): Use ALL_RM_TEST.
30977         (exp10_tonearest_test_data): Remove.
30978         (exp10_test_tonearest): Likewise.
30979         (exp10_towardzero_test_data): Likewise.
30980         (exp10_test_towardzero): Likewise.
30981         (exp10_downward_test_data): Likewise.
30982         (exp10_test_downward): Likewise.
30983         (exp10_upward_test_data): Likewise.
30984         (exp10_test_upward): Likewise.
30985         (exp2_test_data): Update call to AUTO_TESTS_f_f.
30986         (expm1_test_data): Likewise.
30987         (expm1_test): Use ALL_RM_TEST.
30988         (expm1_tonearest_test_data): Remove.
30989         (expm1_test_tonearest): Likewise.
30990         (expm1_towardzero_test_data): Likewise.
30991         (expm1_test_towardzero): Likewise.
30992         (expm1_downward_test_data): Likewise.
30993         (expm1_test_downward): Likewise.
30994         (expm1_upward_test_data): Likewise.
30995         (expm1_test_upward): Likewise.
30996         (fma_test_data): Update call to AUTO_TESTS_fff_f.
30997         (fma_test): Use ALL_RM_TEST.
30998         (fma_towardzero_test_data): Remove.
30999         (fma_test_towardzero): Likewise.
31000         (fma_downward_test_data): Likewise.
31001         (fma_test_downward): Likewise.
31002         (fma_upward_test_data): Likewise.
31003         (fma_test_upward): Likewise.
31004         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31005         (j0_test_data): Update call to AUTO_TESTS_f_f.
31006         (j1_test_data): Likewise.
31007         (jn_test_data): Update call to AUTO_TESTS_if_f.
31008         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31009         (log_test_data): Update call to AUTO_TESTS_f_f.
31010         (log10_test_data): Likewise.
31011         (log1p_test_data): Likewise.
31012         (log2_test_data): Likewise.
31013         (pow_test_data): Update call to AUTO_TESTS_ff_f.
31014         (pow_tonearest_test_data): Likewise.
31015         (sin_test_data): Update call to AUTO_TESTS_f_f.
31016         (sin_test): Use ALL_RM_TEST.
31017         (sin_tonearest_test_data): Remove.
31018         (sin_test_tonearest): Likewise.
31019         (sin_towardzero_test_data): Likewise.
31020         (sin_test_towardzero): Likewise.
31021         (sin_downward_test_data): Likewise.
31022         (sin_test_downward): Likewise.
31023         (sin_upward_test_data): Likewise.
31024         (sin_test_upward): Likewise.
31025         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31026         (sinh_test_data): Update call to AUTO_TESTS_f_f.
31027         (sinh_test): Use ALL_RM_TEST.
31028         (sinh_tonearest_test_data): Remove.
31029         (sinh_test_tonearest): Likewise.
31030         (sinh_towardzero_test_data): Likewise.
31031         (sinh_test_towardzero): Likewise.
31032         (sinh_downward_test_data): Likewise.
31033         (sinh_test_downward): Likewise.
31034         (sinh_upward_test_data): Likewise.
31035         (sinh_test_upward): Likewise.
31036         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31037         (sqrt_test): Use ALL_RM_TEST.
31038         (sqrt_tonearest_test_data): Remove.
31039         (sqrt_test_tonearest): Likewise.
31040         (sqrt_towardzero_test_data): Likewise.
31041         (sqrt_test_towardzero): Likewise.
31042         (sqrt_downward_test_data): Likewise.
31043         (sqrt_test_downward): Likewise.
31044         (sqrt_upward_test_data): Likewise.
31045         (sqrt_test_upward): Likewise.
31046         (tan_test_data): Update call to AUTO_TESTS_f_f.
31047         (tan_test): Use ALL_RM_TEST.
31048         (tan_tonearest_test_data): Remove.
31049         (tan_test_tonearest): Likewise.
31050         (tan_towardzero_test_data): Likewise.
31051         (tan_test_towardzero): Likewise.
31052         (tan_downward_test_data): Likewise.
31053         (tan_test_downward): Likewise.
31054         (tan_upward_test_data): Likewise.
31055         (tan_test_upward): Likewise.
31056         (tanh_test_data): Update call to AUTO_TESTS_f_f.
31057         (tgamma_test_data): Likewise.
31058         (y0_test_data): Likewise.
31059         (y1_test_data): Likewise.
31060         (yn_test_data): Update call to AUTO_TESTS_if_f.
31061         (main): Do not call removed functions.
31063 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31065         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31066         (ldexp_test_data): Remove.
31067         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
31068         scalbn_test_data.
31069         (scalb_test): Use ALL_RM_TEST.
31071 2014-03-19  Andreas Schwab  <schwab@suse.de>
31073         * nscd/nscd.service: Also invalidate netgroup cache on reload.
31075 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31077         [BZ #16649]
31078         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31079         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31080         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31081         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31082         (__ASSUME_PREADV): Undefine.
31083         (__ASSUME_PWRITEV): Likewise.
31085 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31087         * bits/mman-linux.h: Add comment about non-Linux use.
31088         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31089         bits/mman-linux.h resting place.
31091         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31092         * bits/mman-linux.h: ... here.
31094 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31096         * conform/conformtest.pl: Add standard definition when calling C
31097         preprocessor on data files.
31098         (checknamespace): Remove unused variable.
31100 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31102         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31103         minus_oflow, plus_uflow and minus_uflow in expected results.
31104         * math/libm-test.inc (scalbn_test_data): Add more tests of
31105         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
31106         minus_uflow.
31107         (scalbn_test): Use ALL_RM_TEST.
31108         (scalbln_test_data): Add more tests of negative arguments.  Use
31109         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31110         (scalbln_test): Use ALL_RM_TEST.
31112 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31114         * scripts/abilist.awk: Ignore symbols marked with .hidden.
31116 2014-03-18  Will Newton  <will.newton@linaro.org>
31118         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31119         inaccurate comment.
31121 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31123         * Makerules [!subdir] (check-abi): Exit with error status if a
31124         test failed.
31126 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31128         * math/libm-test.inc (nearbyint_test_data): Include all tests used
31129         for rint.  Include results for all rounding modes.
31130         (nearbyint_test): Use ALL_RM_TEST.
31131         (rint_test_data): Include all tests used for nearbyint.
31133 2014-03-17  Will Newton  <will.newton@linaro.org>
31135         * nptl/sysdeps/pthread/pthread.h: Revert previous
31136         change.
31138         * sysdeps/generic/ldsodefs.h: Revert previous
31139         change.
31141         * libio/genops.c: Revert previous change.
31142         * libio/libioP.h: Likewise.
31143         * stdio-common/vfprintf.c: Likewise.
31145         * sysdeps/generic/math_private.h: Revert previous
31146         change.
31148         * sysdeps/generic/math_private.h: Check whether
31149         HAVE_RM_CTX is defined with #ifdef rather
31150         than #if.
31152         * argp/argp-fmtstream.h: Check whether
31153         __STRICT_ANSI__ is defined with #ifdef rather
31154         than #if.
31155         * argp/argp.h: Likewise.
31157         * libio/genops.c: Check whether
31158         _IO_JUMPS_OFFSET is defined with #ifdef rather
31159         than #if.
31160         * libio/libioP.h: Likewise.
31161         * stdio-common/vfprintf.c: Likewise.
31163         * sysdeps/generic/ldsodefs.h: Check whether
31164         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31165         than #if.
31167         * nptl/sysdeps/pthread/pthread.h: Check
31168         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31169         its value.
31171 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31173         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31174         setting O_APPEND.
31175         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31176         test case.
31178         [BZ #16680]
31179         * libio/fileops.c (_IO_file_open): Seek to end of file but
31180         don't cache the offset.
31181         (get_file_offset): Remove function.
31182         (do_ftell): Use cached offset when available.
31183         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31184         don't cache the offset.
31185         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31186         case.
31187         (do_one_test): Call it.
31188         (do_ftell_test): Fix up expected old offset for a+ mode.
31189         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31190         available.
31192         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31193         up test status with function return status.
31194         (do_write_test): Likewise.
31195         (do_append_test): Likewise.
31197         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31198         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31199         Remove.
31201 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31203         * math/gen-libm-test.pl (parse_args): Handle results specified for
31204         each rounding mode separately.
31205         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31206         tests and results from lrint_tonearest_test_data,
31207         lrint_towardzero_test_data, lrint_downward_test_data and
31208         lrint_upward_test_data.
31209         (lrint_test): Use ALL_RM_TEST.
31210         (lrint_tonearest_test_data): Remove.
31211         (lrint_test_tonearest): Likewise.
31212         (lrint_towardzero_test_data): Likewise.
31213         (lrint_test_towardzero): Likewise.
31214         (lrint_downward_test_data): Likewise.
31215         (lrint_test_downward): Likewise.
31216         (lrint_upward_test_data): Likewise.
31217         (lrint_test_upward): Likewise.
31218         (llrint_test_data): Merge in per-rounding-mode tests and results
31219         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31220         llrint_downward_test_data and llrint_upward_test_data.
31221         (llrint_test): Use ALL_RM_TEST.
31222         (llrint_tonearest_test_data): Remove.
31223         (llrint_test_tonearest): Likewise.
31224         (llrint_towardzero_test_data): Likewise.
31225         (llrint_test_towardzero): Likewise.
31226         (llrint_downward_test_data): Likewise.
31227         (llrint_test_downward): Likewise.
31228         (llrint_upward_test_data): Likewise.
31229         (llrint_test_upward): Likewise.
31230         (rint_test_data): Merge in per-rounding-mode tests and results
31231         from rint_tonearest_test_data, rint_towardzero_test_data,
31232         rint_downward_test_data and rint_upward_test_data.  Add
31233         per-rounding-mode results for tests not in those arrays.
31234         (rint_test): Use ALL_RM_TEST.
31235         (rint_tonearest_test_data): Remove.
31236         (rint_test_tonearest): Likewise.
31237         (rint_towardzero_test_data): Likewise.
31238         (rint_test_towardzero): Likewise.
31239         (rint_downward_test_data): Likewise.
31240         (rint_test_downward): Likewise.
31241         (rint_upward_test_data): Likewise.
31242         (rint_test_upward): Likewise.
31243         (main): Don't call removed functions.
31245 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31247         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31248         "Compiled on ..." crapola.  It is anti-useful.
31250 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31252         * scripts/evaluate-test.sh: Handle fourth argument to determine
31253         whether test run should stop on failure.
31254         * Makeconfig (stop-on-test-failure): New variable.
31255         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31256         $(stop-on-test-failure).
31257         * Makefile (tests): Give a summary of results from testing and
31258         exit with failure status if they include an ERROR or FAIL.
31259         (xtests): Likewise.
31260         * manual/install.texi (Configuring and compiling): Mention
31261         stop-on-test-failure=y.
31262         * INSTALL: Regenerated.
31264 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31266         * scripts/versionlist.awk: New file.
31267         * Makerules [$(build-shared) = yes]
31268         (postclean-generated): Add Versions.def, not Versions.def.v and
31269         Versions.def.v.i.
31270         ($(common-objpfx)Versions.def.v.i): Target removed.
31271         ($(common-objpfx)Versions.def): New target.
31272         ($(common-objpfx)Versions.all): Depend on that rather that
31273         $(common-objpfx)Versions.def.v.
31274         * Versions.def: File removed.
31276         * Makeconfig (+gccwarn): Add -Wundef.
31277         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31278         a dl-sysdep.h breaking its contract.
31279         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31280         * include/stackinfo.h: New file.
31281         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31282         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31283         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31284         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31285         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31286         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31287         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31288         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31289         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31290         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31291         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31292         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31293         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31294         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31295         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31297 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31299         [BZ #16707]
31300         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31301         implementation.
31302         * math/libm-test.inc (round_test_data): Add more tests.
31304         [BZ #16706]
31305         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31306         implementation.
31307         * math/libm-test.inc (nearbyint_test_data): Add more tests.
31309         [BZ #16701]
31310         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31311         implementation.
31312         * math/libm-test.inc (ceil_test_data): Add more tests.
31314         * math/libm-test.inc (trunc_test_data): Add more tests related to
31315         BZ#16414.
31317 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31319         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31320         with #if rather than #ifdef.
31321         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31323 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
31325         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31326         first.  Disable AVX-512 GCC support if assembler doesn't support
31327         it.
31328         * sysdeps/x86_64/configure: Regenerated.
31330 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
31332         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31333         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31334         (__old_pthread_attr_setstack): Likewise.
31335         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31336         [!_STACK_GROWS_DOWN]: Likewise.
31338 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31340         * config.make.in (have-bash2): Delete.
31341         * configure.ac (libc_cv_have_bash2): Delete.
31342         * configure: Regenerate.
31343         * elf/Makefile (common-ldd-rewrite): Rename to ...
31344         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31345         (sh-ldd-rewrite): Delete.
31346         (bash-ldd-rewrite): Delete.
31347         (have-bash2): Delete checks.
31348         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31349         ldd-rewrite.
31351         * config.make.in (have-ksh): Delete.
31352         (KSH): Delete.
31353         * configure.ac (libc_cv_have_ksh): Delete.
31354         * configure: Regenerate.
31356         * elf/Makefile: Delete $(have-ksh) check.
31357         ($(objpfx)sotruss): Change KSH to BASH.
31358         * elf/sotruss.ksh: Rename to ...
31359         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31360         function style to match POSIX.  Drop ksh vim mode setting.
31362         * manual/time.texi (Specifying the Time Zone with TZ): Change
31363         Tuesday to Thursday.
31365         * debug/tst-longjmp_chk2.c: Update header comment.
31366         (stackoverflow_handler): Add comment.  Call assert on pass value.
31368 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31370         [BZ #16194]
31371         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31372         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31373         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31374         (La_x86_64_vector): Add zmm.
31375         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31376         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31377         ($(objpfx)tst-audit10): New target.
31378         ($(objpfx)tst-audit10.out): Likewise.
31379         (tst-audit10-ENV): New.
31380         (AVX512-CFLAGS): Likewise.
31381         (CFLAGS-tst-audit10.c): Likewise.
31382         (CFLAGS-tst-auditmod10a.c): Likewise.
31383         (CFLAGS-tst-auditmod10b.c): Likewise.
31384         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31385         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31386         * sysdeps/x86_64/configure: Regenerated.
31387         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31388         AVX-512 zmm register support.
31389         (_dl_x86_64_save_sse): Likewise.
31390         (_dl_x86_64_restore_sse): Likewise.
31391         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31392         size vector registers.
31393         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31394         (ZMM_SIZE): Likewise.
31395         * sysdeps/x86_64/tst-audit10.c: New file.
31396         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31397         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31399 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31401         * configure.ac (HAVE_EHDR_START): New check.
31402         * configure: Regenerated.
31403         * config.h.in (HAVE_EHDR_START): New #undef.
31404         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31405         assuming the lowest-addressed segment maps the start of the file.
31407 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31409         * INSTALL: Regenerated.
31411 2014-03-13  Will Newton  <will.newton@linaro.org>
31413         * manual/setjmp.texi (System V contexts): Improve
31414         clarity and grammar of documentation.
31416 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31418         [BZ #16381]
31419         * elf/Makefile (tests): Add tst-pie2.
31420         (tests-pie): Add tst-pie2.
31421         * elf/tst-pie2.c: New file.
31422         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31423         for ET_EXEC.
31424         * elf/rtld.c (map_doit): Load executable as lt_executable.
31425         (dl_main): Likewise.
31427 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31429         [BZ #16642]
31430         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31431         (__ASSUME_PSELECT): Undefine.
31433 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31435         [BZ #16689]
31436         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31437         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31438         static build.
31439         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31440         selector for static builds.
31442 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31444         [BZ #16695]
31445         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31446         key in the buffer.
31448 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31450         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31451         IFUNC selector for static builds.
31453 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31455         * sysdeps/mips/math_private.h [__mips_hard_float]
31456         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31457         libc_feresetround_mips_ctx.
31458         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31459         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31460         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31462         [BZ #16677]
31463         * math/s_nextafter.c (__nextafter): Do not return value from
31464         overflowing computation.
31465         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31466         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31467         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31468         Likewise.
31469         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31470         Likewise.
31471         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31472         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31474 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31476         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31477         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31478         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31479         the new mov targetting sp.
31481 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31483         [BZ #16683]
31484         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31485         Define it for static builds as well.
31486         (NO_BZERO_IMPL): Likewise.
31488 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31490         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31491         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31492         multiarch strspn for PPC64.
31493         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31494         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31496         (__libc_ifunc_impl_list): Likewise.
31497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31498         multiarch optimizations
31499         * string/strspn.c (strspn): Using macro to redefine symbol name.
31501 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31502             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31504         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31505         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31506         multiarch strncat for PPC64.
31507         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31508         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31510         (__libc_ifunc_impl_list): Likewise.
31511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31512         multiarch optimizations
31514 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31516         [BZ #16639]
31517         * nscd/nscd.service: Make service type forking.
31519 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31521         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31522         sign in non default rounding modes.
31523         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31525 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31527         * math/libm-test.inc (ALL_RM_TEST): New macro.
31528         (ceil_test): Use ALL_RM_TEST.
31529         (cimag_test): Likewise.
31530         (conj_test): Likewise.
31531         (copysign_test): Likewise.
31532         (cproj_test): Likewise.
31533         (creal_test): Likewise.
31534         (fabs_test): Likewise.
31535         (floor_test): Likewise.
31536         (fmax_test): Likewise.
31537         (fmin_test): Likewise.
31538         (fmod_test): Likewise.
31539         (fpclassify_test): Likewise.
31540         (frexp_test): Likewise.
31541         (ilogb_test): Likewise.
31542         (isfinite_test): Likewise.
31543         (finite_test): Likewise.
31544         (isgreater_test): Likewise.
31545         (isgreaterequal_test): Likewise.
31546         (isinf_test): Likewise.
31547         (isless_test): Likewise.
31548         (islessequal_test): Likewise.
31549         (islessgreater_test): Likewise.
31550         (isnan_test): Likewise.
31551         (isnormal_test): Likewise.
31552         (issignaling_test): Likewise.
31553         (isunordered_test): Likewise.
31554         (logb_test): Likewise.
31555         (logb_downward_test_data): Remove.
31556         (logb_test_downward): Likewise.
31557         (lround_test): Use ALL_RM_TEST.
31558         (llround_test): Likewise.
31559         (modf_test): Likewise.
31560         (nexttoward_test): Likewise.
31561         (remainder_test): Likewise.
31562         (drem_test): Likewise.
31563         (remainder_tonearest_test_data): Likewise.
31564         (remainder_test_tonearest): Likewise.
31565         (drem_test_tonearest): Likewise.
31566         (remainder_towardzero_test_data): Likewise.
31567         (remainder_test_towardzero): Likewise.
31568         (drem_test_towardzero): Likewise.
31569         (remainder_downward_test_data): Likewise.
31570         (remainder_test_downward): Likewise.
31571         (drem_test_downward): Likewise.
31572         (remainder_upward_test_data): Likewise.
31573         (remainder_test_upward): Likewise.
31574         (drem_test_upward): Likewise.
31575         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31576         (round_test): Use ALL_RM_TEST.
31577         (signbit_test): Likewise.
31578         (trunc_test): Likewise.
31579         (significand_test): Likewise.
31580         (main): Don't call removed functions.
31582 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31584         [BZ #16674]
31585         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31586         || __USE_XOPEN2K8].
31587         (ILL_ILLOPN): Likewise.
31588         (ILL_ILLADR): Likewise.
31589         (ILL_ILLTRP): Likewise.
31590         (ILL_PRVOPC): Likewise.
31591         (ILL_PRVREG): Likewise.
31592         (ILL_COPROC): Likewise.
31593         (ILL_BADSTK): Likewise.
31594         (FPE_INTDIV): Likewise.
31595         (FPE_INTOVF): Likewise.
31596         (FPE_FLTDIV): Likewise.
31597         (FPE_FLTOVF): Likewise.
31598         (FPE_FLTUND): Likewise.
31599         (FPE_FLTRES): Likewise.
31600         (FPE_FLTINV): Likewise.
31601         (FPE_FLTSUB): Likewise.
31602         (SEGV_MAPERR): Likewise.
31603         (SEGV_ACCERR): Likewise.
31604         (BUS_ADRALN): Likewise.
31605         (BUS_ADRERR): Likewise.
31606         (BUS_OBJERR): Likewise.
31607         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31608         (TRAP_TRACE): Likewise.
31609         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31610         __USE_XOPEN2K8].
31611         (CLD_KILLED): Likewise.
31612         (CLD_DUMPED): Likewise.
31613         (CLD_TRAPPED): Likewise.
31614         (CLD_STOPPED): Likewise.
31615         (CLD_CONTINUED): Likewise.
31616         (POLL_IN): Likewise.
31617         (POLL_OUT): Likewise.
31618         (POLL_MSG): Likewise.
31619         (POLL_ERR): Likewise.
31620         (POLL_PRI): Likewise.
31621         (POLL_HUP): Likewise.
31622         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31623         Likewise.
31624         (ILL_ILLOPN): Likewise.
31625         (ILL_ILLADR): Likewise.
31626         (ILL_ILLTRP): Likewise.
31627         (ILL_PRVOPC): Likewise.
31628         (ILL_PRVREG): Likewise.
31629         (ILL_COPROC): Likewise.
31630         (ILL_BADSTK): Likewise.
31631         (FPE_INTDIV): Likewise.
31632         (FPE_INTOVF): Likewise.
31633         (FPE_FLTDIV): Likewise.
31634         (FPE_FLTOVF): Likewise.
31635         (FPE_FLTUND): Likewise.
31636         (FPE_FLTRES): Likewise.
31637         (FPE_FLTINV): Likewise.
31638         (FPE_FLTSUB): Likewise.
31639         (SEGV_MAPERR): Likewise.
31640         (SEGV_ACCERR): Likewise.
31641         (BUS_ADRALN): Likewise.
31642         (BUS_ADRERR): Likewise.
31643         (BUS_OBJERR): Likewise.
31644         (BUS_MCEERR_AR): Likewise.
31645         (BUS_MCEERR_AO): Likewise.
31646         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31647         (TRAP_TRACE): Likewise.
31648         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31649         __USE_XOPEN2K8].
31650         (CLD_KILLED): Likewise.
31651         (CLD_DUMPED): Likewise.
31652         (CLD_TRAPPED): Likewise.
31653         (CLD_STOPPED): Likewise.
31654         (CLD_CONTINUED): Likewise.
31655         (POLL_IN): Likewise.
31656         (POLL_OUT): Likewise.
31657         (POLL_MSG): Likewise.
31658         (POLL_ERR): Likewise.
31659         (POLL_PRI): Likewise.
31660         (POLL_HUP): Likewise.
31661         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): 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/ia64/bits/siginfo.h (ILL_ILLOPC):
31700         Likewise.
31701         (ILL_ILLOPN): Likewise.
31702         (ILL_ILLADR): Likewise.
31703         (ILL_ILLTRP): Likewise.
31704         (ILL_PRVOPC): Likewise.
31705         (ILL_PRVREG): Likewise.
31706         (ILL_COPROC): Likewise.
31707         (ILL_BADSTK): Likewise.
31708         (ILL_BADIADDR): Likewise.
31709         (ILL_BREAK): Likewise.
31710         (FPE_INTDIV): Likewise.
31711         (FPE_INTOVF): Likewise.
31712         (FPE_FLTDIV): Likewise.
31713         (FPE_FLTOVF): Likewise.
31714         (FPE_FLTUND): Likewise.
31715         (FPE_FLTRES): Likewise.
31716         (FPE_FLTINV): Likewise.
31717         (FPE_FLTSUB): Likewise.
31718         (FPE_DECOVF): Likewise.
31719         (FPE_DECDIV): Likewise.
31720         (FPE_DECERR): Likewise.
31721         (FPE_INVASC): Likewise.
31722         (FPE_INVDEC): Likewise.
31723         (SEGV_MAPERR): Likewise.
31724         (SEGV_ACCERR): Likewise.
31725         (SEGV_PSTKOVF): Likewise.
31726         (BUS_ADRALN): Likewise.
31727         (BUS_ADRERR): Likewise.
31728         (BUS_OBJERR): Likewise.
31729         (BUS_MCEERR_AR): Likewise.
31730         (BUS_MCEERR_AO): Likewise.
31731         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31732         (TRAP_TRACE): Likewise.
31733         (TRAP_BRANCH): Likewise.
31734         (TRAP_HWBKPT): Likewise.
31735         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31736         __USE_XOPEN2K8].
31737         (CLD_KILLED): Likewise.
31738         (CLD_DUMPED): Likewise.
31739         (CLD_TRAPPED): Likewise.
31740         (CLD_STOPPED): Likewise.
31741         (CLD_CONTINUED): Likewise.
31742         (POLL_IN): Likewise.
31743         (POLL_OUT): Likewise.
31744         (POLL_MSG): Likewise.
31745         (POLL_ERR): Likewise.
31746         (POLL_PRI): Likewise.
31747         (POLL_HUP): Likewise.
31748         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31749         (ILL_ILLOPN): Likewise.
31750         (ILL_ILLADR): Likewise.
31751         (ILL_ILLTRP): Likewise.
31752         (ILL_PRVOPC): Likewise.
31753         (ILL_PRVREG): Likewise.
31754         (ILL_COPROC): Likewise.
31755         (ILL_BADSTK): Likewise.
31756         (FPE_INTDIV): Likewise.
31757         (FPE_INTOVF): Likewise.
31758         (FPE_FLTDIV): Likewise.
31759         (FPE_FLTOVF): Likewise.
31760         (FPE_FLTUND): Likewise.
31761         (FPE_FLTRES): Likewise.
31762         (FPE_FLTINV): Likewise.
31763         (FPE_FLTSUB): Likewise.
31764         (SEGV_MAPERR): Likewise.
31765         (SEGV_ACCERR): Likewise.
31766         (BUS_ADRALN): Likewise.
31767         (BUS_ADRERR): Likewise.
31768         (BUS_OBJERR): Likewise.
31769         (BUS_MCEERR_AR): Likewise.
31770         (BUS_MCEERR_AO): Likewise.
31771         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31772         (TRAP_TRACE): 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/s390/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/sparc/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/tile/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         (ILL_DBLFLT): Likewise.
31871         (ILL_HARDWALL): Likewise.
31872         (FPE_INTDIV): Likewise.
31873         (FPE_INTOVF): Likewise.
31874         (FPE_FLTDIV): Likewise.
31875         (FPE_FLTOVF): Likewise.
31876         (FPE_FLTUND): Likewise.
31877         (FPE_FLTRES): Likewise.
31878         (FPE_FLTINV): Likewise.
31879         (FPE_FLTSUB): Likewise.
31880         (SEGV_MAPERR): Likewise.
31881         (SEGV_ACCERR): Likewise.
31882         (BUS_ADRALN): Likewise.
31883         (BUS_ADRERR): Likewise.
31884         (BUS_OBJERR): Likewise.
31885         (BUS_MCEERR_AR): Likewise.
31886         (BUS_MCEERR_AO): Likewise.
31887         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31888         (TRAP_TRACE): Likewise.
31889         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31890         __USE_XOPEN2K8].
31891         (CLD_KILLED): Likewise.
31892         (CLD_DUMPED): Likewise.
31893         (CLD_TRAPPED): Likewise.
31894         (CLD_STOPPED): Likewise.
31895         (CLD_CONTINUED): Likewise.
31896         (POLL_IN): Likewise.
31897         (POLL_OUT): Likewise.
31898         (POLL_MSG): Likewise.
31899         (POLL_ERR): Likewise.
31900         (POLL_PRI): Likewise.
31901         (POLL_HUP): Likewise.
31902         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
31903         (ILL_ILLOPN): Likewise.
31904         (ILL_ILLADR): Likewise.
31905         (ILL_ILLTRP): Likewise.
31906         (ILL_PRVOPC): Likewise.
31907         (ILL_PRVREG): Likewise.
31908         (ILL_COPROC): Likewise.
31909         (ILL_BADSTK): 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         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
31941         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
31943         [BZ #16670]
31944         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
31945         before #include of <time.h>.
31946         [!__USE_XOPEN2K] (__need_timespec): Likewise.
31947         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
31948         (test-xfail-UNIX98/sched.h/conform): Likewise.
31950 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31952         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
31953         error absence of trapping exception support.
31954         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31956 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31958         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
31959         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
31960         * timezone/Makefile (testdata): Move definition above include of
31961         Rules.
31962         (test-zones): New variable.
31963         (tests-special): Add zone files.
31964         (build-testdata): Use $(evaluate-test).
31966         * elf/Makefile (tests-special): Rename tests to end with .out.
31967         ($(objpfx)noload-mem): Likewise.
31968         ($(objpfx)tst-leaks1-mem): Likewise.
31969         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
31970         * iconv/Makefile (xtests-special): Change test-iconvconfig to
31971         $(objpfx)test-iconvconfig.out.
31972         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
31973         set -e inside subshell and redirect output to file.
31974         * iconvdata/Makefile (generated): Rename tests to end with .out.
31975         Correct type.
31976         (tests-special): Rename tests to end with .out.
31977         ($(objpfx)mtrace-tst-loading): Likewise.
31978         * intl/Makefile (generated): Likewise.
31979         (tests-special): Likewise.
31980         ($(objpfx)mtrace-tst-gettext): Likewise.
31981         * misc/Makefile (generated): Likewise.
31982         (tests-special): Likewise.
31983         ($(objpfx)tst-error1-mem): Likewise.
31984         * nptl/Makefile (tests-special): Likewise.
31985         ($(objpfx)tst-stack3-mem): Likewise.
31986         (generated): Likewise.
31987         * posix/Makefile (generated): Likewise.
31988         (tests-special): Likewise.
31989         (xtests-special): Likewise.
31990         ($(objpfx)tst-fnmatch-mem): Likewise.
31991         ($(objpfx)bug-regex2-mem): Likewise.
31992         ($(objpfx)bug-regex14-mem): Likewise.
31993         ($(objpfx)bug-regex21-mem): Likewise.
31994         ($(objpfx)bug-regex31-mem): Likewise.
31995         ($(objpfx)tst-vfork3-mem): Likewise.
31996         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31997         ($(objpfx)tst-pcre-mem): Likewise.
31998         ($(objpfx)tst-boost-mem): Likewise.
31999         ($(objpfx)bug-ga2-mem): Likewise.
32000         ($(objpfx)bug-glob2-mem): Likewise.
32001         * resolv/Makefile (generate): Likewise.
32002         (tests-special): Likewise.
32003         (xtests-special): Likewise.
32004         (generated): Likewise.
32005         ($(objpfx)mtrace-tst-leaks): Likewise.
32006         ($(objpfx)mtrace-tst-leaks2): Likewise.
32008         * scripts/merge-test-results.sh: New file.
32009         * Makefile (tests-special-notdir): New variable.
32010         (tests): Run merge-test-results.sh.
32011         (xtests): Likewise.
32012         * Rules (tests-special-notdir): New variable.
32013         (xtests-special-notdir): Likewise.
32014         (tests): Run merge-test-results.sh
32015         (xtests): Likewise.
32017         * Makeconfig (test-xfail-name): New variable.
32018         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32019         compute variable name for expected failures.
32020         * conform/Makefile (conformtest-headers-data): New variable.
32021         (conformtest-standards): Likewise.
32022         (conformtest-headers-ISO): Likewise.
32023         (conformtest-headers-ISO99): Likewise.
32024         (conformtest-headers-ISO11): Likewise.
32025         (conformtest-headers-POSIX): Likewise.
32026         (conformtest-headers-XPG3): Likewise.
32027         (conformtest-headers-XPG4): Likewise.
32028         (conformtest-headers-UNIX98): Likewise.
32029         (conformtest-headers-XOPEN2K): Likewise.
32030         (conformtest-headers-POSIX2008): Likewise.
32031         (conformtest-headers-XOPEN2K8): Likewise.
32032         (conformtest-header-list-base): Likewise.
32033         (conformtest-header-list-tests): Likewise.
32034         (conformtest-header-base): Likewise.
32035         (conformtest-header-tests): Likewise.
32036         (tests-special): Add $(conformtest-header-list-tests).  If
32037         [$(fast-check) && !$(cross-compiling)], add
32038         $(conformtest-header-tests) instead of
32039         $(objpfx)run-conformtest.out.
32040         (generated): Add $(conformtest-header-list-base).  If
32041         [$(fast-check) && !$(cross-compiling)], add
32042         $(conformtest-header-base).  Remove previous setting.
32043         ($(conformtest-header-list-tests)): New target.
32044         (test-xfail-run-conformtest): Remove variable.
32045         ($(objpfx)run-conformtest.out): Remove target.
32046         (test-xfail-ISO11/complex.h/conform): New variable.
32047         (test-xfail-ISO11/stdalign.h/conform): Likewise.
32048         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32049         (test-xfail-XPG3/varargs.h/conform): Likewise.
32050         (test-xfail-XPG4/varargs.h/conform): Likewise.
32051         (test-xfail-UNIX98/varargs.h/conform): Likewise.
32052         (test-xfail-XPG4/ndbm.h/conform): Likewise.
32053         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32054         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32055         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32056         (test-xfail-XPG3/fcntl.h/conform): Likewise.
32057         (test-xfail-XPG3/ftw.h/conform): Likewise.
32058         (test-xfail-XPG3/grp.h/conform): Likewise.
32059         (test-xfail-XPG3/langinfo.h/conform): Likewise.
32060         (test-xfail-XPG3/limits.h/conform): Likewise.
32061         (test-xfail-XPG3/pwd.h/conform): Likewise.
32062         (test-xfail-XPG3/search.h/conform): Likewise.
32063         (test-xfail-XPG3/signal.h/conform): Likewise.
32064         (test-xfail-XPG3/stdio.h/conform): Likewise.
32065         (test-xfail-XPG3/stdlib.h/conform): Likewise.
32066         (test-xfail-XPG3/string.h/conform): Likewise.
32067         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32068         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32069         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32070         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32071         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32072         (test-xfail-XPG3/sys/types.h/conform): Likewise.
32073         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32074         (test-xfail-XPG3/termios.h/conform): Likewise.
32075         (test-xfail-XPG3/time.h/conform): Likewise.
32076         (test-xfail-XPG3/unistd.h/conform): Likewise.
32077         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32078         (test-xfail-XPG4/fcntl.h/conform): Likewise.
32079         (test-xfail-XPG4/langinfo.h/conform): Likewise.
32080         (test-xfail-XPG4/netdb.h/conform): Likewise.
32081         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32082         (test-xfail-XPG4/signal.h/conform): Likewise.
32083         (test-xfail-XPG4/stdio.h/conform): Likewise.
32084         (test-xfail-XPG4/stdlib.h/conform): Likewise.
32085         (test-xfail-XPG4/stropts.h/conform): Likewise.
32086         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32087         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32088         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32089         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32090         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32091         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32092         (test-xfail-XPG4/sys/time.h/conform): Likewise.
32093         (test-xfail-XPG4/sys/types.h/conform): Likewise.
32094         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32095         (test-xfail-XPG4/termios.h/conform): Likewise.
32096         (test-xfail-XPG4/ucontext.h/conform): Likewise.
32097         (test-xfail-XPG4/unistd.h/conform): Likewise.
32098         (test-xfail-XPG4/utmpx.h/conform): Likewise.
32099         (test-xfail-POSIX/sched.h/conform): Likewise.
32100         (test-xfail-POSIX/signal.h/conform): Likewise.
32101         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32102         (test-xfail-POSIX/tar.h/conform): Likewise.
32103         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32104         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32105         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32106         (test-xfail-UNIX98/netdb.h/conform): Likewise.
32107         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32108         (test-xfail-UNIX98/sched.h/conform): Likewise.
32109         (test-xfail-UNIX98/signal.h/conform): Likewise.
32110         (test-xfail-UNIX98/stdio.h/conform): Likewise.
32111         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32112         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32113         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32114         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32115         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32116         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32117         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32118         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32119         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32120         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32121         (test-xfail-UNIX98/unistd.h/conform): Likewise.
32122         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32123         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32124         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32125         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32126         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32127         (test-xfail-XOPEN2K/math.h/conform): Likewise.
32128         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32129         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32130         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32131         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32132         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32133         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32134         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32135         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32136         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32137         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32138         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32139         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32140         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32141         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32142         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32143         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32144         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32145         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32146         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32147         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32148         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32149         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32150         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32151         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32152         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32153         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32154         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32155         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32156         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32157         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32158         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32159         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32160         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32161         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32162         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32163         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32164         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32165         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32166         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32167         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32168         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32169         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32170         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32171         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32172         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32173         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32174         (conformtest-cc-flags): Likewise.
32175         ($(conformtest-header-tests): New target.
32176         * conform/check-header-lists.sh: New file.
32177         * conform/run-conformtest.sh: Remove.
32179         * conform/conformtest.pl: Allow ' and \ in values given for
32180         constants.
32181         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32182         inclusion.
32183         [POSIX] (sys/types.h): Likewise.
32184         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32185         inclusion.
32186         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32187         inclusion.
32188         * conform/data/signal.h-data (SIGIO): Remove expectation.
32189         [XPG3] (SIGBUS): Do not expect.
32190         [POSIX || XPG3] (SIGPOLL): Likewise.
32191         [POSIX || XPG3] (SIGPROF): Likewise.
32192         [POSIX || XPG3] (SIGSYS): Likewise.
32193         [XPG3] (SIGTRAP): Likewise.
32194         [POSIX || XPG3] (SIGURG): Likewise.
32195         [POSIX || XPG3] (SIGVTALRM): Likewise.
32196         [POSIX || XPG3] (SIGXCPU): Likewise.
32197         [POSIX || XPG3] (SIGXFSZ): Likewise.
32198         [POSIX] (SA_SIGINFO): Expect.
32199         [XPG3] (siginfo_t): Do not expect type or contents.
32200         [POSIX] (si_pid): Do not expect element.
32201         [POSIX] (si_uid): Likewise.
32202         [POSIX] (si_addr): Likewise.
32203         [POSIX] (si_status): Likewise.
32204         [POSIX] (si_band): Likewise.
32205         [XPG4] (si_value): Likewise.
32206         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32207         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32208         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32209         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32210         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32211         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32212         [POSIX || XPG3] (ILL_COPROC): Likewise.
32213         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32214         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32215         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32216         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32217         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32218         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32219         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32220         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32221         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32222         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32223         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32224         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32225         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32226         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32227         [POSIX || XPG3] (CLD_EXITED): Likewise.
32228         [POSIX || XPG3] (CLD_KILLED): Likewise.
32229         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32230         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32231         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32232         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32233         [POSIX || XPG3] (POLL_IN): Likewise.
32234         [POSIX || XPG3] (POLL_OUT): Likewise.
32235         [POSIX || XPG3] (POLL_MSG): Likewise.
32236         [POSIX || XPG3] (POLL_ERR): Likewise.
32237         [POSIX || XPG3] (POLL_PRI): Likewise.
32238         [POSIX || XPG3] (POLL_HUP): Likewise.
32239         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32240         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32241         (SIG*): Do not allow.
32242         [XPG3] (si_*): Likewise.
32243         [XPG3] (SI_*): Likewise.
32244         [XPG3 || XPG4] (sigev_*): Likewise.
32245         [XPG3 || XPG4] (SIGEV_*): Likewise.
32246         [XPG3 || XPG4] (sival_*): Likewise.
32247         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32248         [POSIX || XPG3] (BUS_*): Likewise.
32249         [POSIX || XPG3] (CLD_*): Likewise.
32250         [POSIX || XPG3] (FPE_*): Likewise.
32251         [POSIX || XPG3] (ILL_*): Likewise.
32252         [POSIX || XPG3] (POLL_*): Likewise.
32253         [POSIX || XPG3] (SEGV_*): Likewise.
32254         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32255         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32256         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32257         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32258         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32259         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32260         Specify type and value.
32261         (TVERSLEN): Likewise.
32262         (REGTYPE): Likewise.
32263         (AREGTYPE): Likewise.
32264         (LNKTYPE): Likewise.
32265         (SYMTYPE): Likewise.
32266         (CHRTYPE): Likewise.
32267         (BLKTYPE): Likewise.
32268         (DIRTYPE): Likewise.
32269         (FIFOTYPE): Likewise.
32270         (CONTTYPE): Likewise.
32271         (TSUID): Likewise.
32272         (TSGID): Likewise.
32273         (TSVTX): Likewise.
32274         (TUREAD): Likewise.
32275         (TUWRITE): Likewise.
32276         (TUEXEC): Likewise.
32277         (TGREAD): Likewise.
32278         (TGWRITE): Likewise.
32279         (TGEXEC): Likewise.
32280         (TOREAD): Likewise.
32281         (TOWRITE): Likewise.
32282         (TOEXEC): Likewise.
32283         [POSIX] (TSVTX): Expect constant.
32285 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
32287         * Makefile (tests): Change dependencies to ....
32288         (tests-special): ... additions to this variable.
32289         (tests): Depend on $(tests-special).
32290         * Makerules (check-abi-list): New variable.
32291         (check-abi): Depend on $(check-abi-list).
32292         [$(subdir) = elf] (tests-special): Add
32293         $(objpfx)check-abi-libc.out.
32294         [$(build-shared) = yes && subdir] (tests-special): Add
32295         $(check-abi-list).
32296         [$(build-shared) = yes && subdir] (tests): Do not depend on
32297         check-abi.
32298         * Rules (tests): Depend on $(tests-special).
32299         (xtests): Depend on $(xtests-special).
32300         * catgets/Makefile (tests): Change dependencies to ....
32301         (tests-special): ... additions to this variable.
32302         * conform/Makefile (tests): Change dependencies to ....
32303         (tests-special): ... additions to this variable.
32304         * elf/Makefile (tests): Change dependencies to ....
32305         (tests-special): ... additions to this variable.
32306         * grp/Makefile (tests): Change dependencies to ....
32307         (tests-special): ... additions to this variable.
32308         * iconv/Makefile (xtests): Change dependencies to ....
32309         (xtests-special): ... additions to this variable.
32310         * iconvdata/Makefile (tests): Change dependencies to ....
32311         (tests-special): ... additions to this variable.
32312         * intl/Makefile (tests): Change dependencies to ....
32313         (tests-special): ... additions to this variable.  Also add
32314         $(objpfx)tst-gettext.out.
32315         * io/Makefile (tests): Change dependencies to ....
32316         (tests-special): ... additions to this variable.
32317         * libio/Makefile (tests): Change dependencies to ....
32318         (tests-special): ... additions to this variable.
32319         * malloc/Makefile (tests): Change dependencies to ....
32320         (tests-special): ... additions to this variable.
32321         * misc/Makefile (tests): Change dependencies to ....
32322         (tests-special): ... additions to this variable.
32323         * nptl/Makefile (tests): Change dependencies to ....
32324         (tests-special): ... additions to this variable.
32325         * nptl_db/Makefile (tests): Change dependencies to ....
32326         (tests-special): ... additions to this variable.
32327         * posix/Makefile (tests): Change dependencies to ....
32328         (tests-special): ... additions to this variable.
32329         (xtests): Change dependencies to ....
32330         (xtests-special): ... additions to this variable.
32331         * resolv/Makefile (tests): Change dependencies to ....
32332         (tests-special): ... additions to this variable.
32333         (xtests): Change dependencies to ....
32334         (xtests-special): ... additions to this variable.
32335         * stdio-common/Makefile (tests): Change dependencies to ....
32336         (tests-special): ... additions to this variable.
32337         (do-tst-unbputc): Remove target.
32338         (do-tst-printf): Likewise.
32339         * stdlib/Makefile (tests): Change dependencies to ....
32340         (tests-special): ... additions to this variable.
32341         * string/Makefile (tests): Change dependencies to ....
32342         (tests-special): ... additions to this variable.
32343         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32344         (tests-special): ... additions to this variable.
32346         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32347         whole file.
32348         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32349         whole file.
32350         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32351         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32353         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32354         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32355         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32356         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32357         * conform/data/libgen.h-data [XPG3]: Likewise.
32358         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32359         * conform/data/ndbm.h-data [XPG3]: Likewise.
32360         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32361         * conform/data/netdb.h-data [XPG3]: Likewise.
32362         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32363         * conform/data/poll.h-data [XPG3]: Likewise.
32364         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32365         * conform/data/strings.h-data [XPG3]: Likewise.
32366         * conform/data/stropts.h-data [XPG3]: Likewise.
32367         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32368         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32369         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32370         Likewise.
32371         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32372         * conform/data/sys/time.h-data [XPG3]: Likewise.
32373         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32374         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32375         * conform/data/sys/un.h-data [XPG3]: Likewise.
32376         * conform/data/syslog.h-data [XPG3]: Likewise.
32377         * conform/data/ucontext.h-data [XPG3]: Likewise.
32378         * conform/data/utmpx.h-data [XPG3]: Likewise.
32379         * conform/data/varargs.h-data [UNIX98]: Enable file.
32381         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32383         * math/libm-test.inc (struct test_f_f_data): Move expected results
32384         into structure for each rounding mode.
32385         (struct test_ff_f_data): Likewise.
32386         (struct test_ff_f_data_nexttoward): Likewise.
32387         (struct test_fi_f_data): Likewise.
32388         (struct test_fl_f_data): Likewise.
32389         (struct test_if_f_data): Likewise.
32390         (struct test_fff_f_data): Likewise.
32391         (struct test_c_f_data): Likewise.
32392         (struct test_f_f1_data): Likewise.
32393         (struct test_fF_f1_data): Likewise.
32394         (struct test_ffI_f1_data): Likewise.
32395         (struct test_c_c_data): Likewise.
32396         (struct test_cc_c_data): Likewise.
32397         (struct test_f_i_data): Likewise.
32398         (struct test_ff_i_data): Likewise.
32399         (struct test_f_l_data): Likewise.
32400         (struct test_f_L_data): Likewise.
32401         (struct test_fFF_11_data): Likewise.
32402         (RM_): New macro.
32403         (RM_FE_DOWNWARD): Likewise.
32404         (RM_FE_TONEAREST): Likewise.
32405         (RM_FE_TOWARDZERO): Likewise.
32406         (RM_FE_UPWARD): Likewise.
32407         (RUN_TEST_LOOP_f_f): Update references to expected results.
32408         (RUN_TEST_LOOP_2_f): Likewise.
32409         (RUN_TEST_LOOP_fff_f): Likewise.
32410         (RUN_TEST_LOOP_c_f): Likewise.
32411         (RUN_TEST_LOOP_f_f1): Likewise.
32412         (RUN_TEST_LOOP_fF_f1): Likewise.
32413         (RUN_TEST_LOOP_fI_f1): Likewise.
32414         (RUN_TEST_LOOP_ffI_f1): Likewise.
32415         (RUN_TEST_LOOP_c_c): Likewise.
32416         (RUN_TEST_LOOP_cc_c): Likewise.
32417         (RUN_TEST_LOOP_f_i): Likewise.
32418         (RUN_TEST_LOOP_f_i_tg): Likewise.
32419         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32420         (RUN_TEST_LOOP_f_b): Likewise.
32421         (RUN_TEST_LOOP_f_b_tg): Likewise.
32422         (RUN_TEST_LOOP_f_l): Likewise.
32423         (RUN_TEST_LOOP_f_L): Likewise.
32424         (RUN_TEST_LOOP_fFF_11): Likewise.
32425         * math/gen-libm-test.pl (parse_args): Output four copies of
32426         expected results for each test.
32428         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32429         (__ASSUME_UTIMES): Remove.
32430         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32431         (__ASSUME_UTIMES): Likewise.
32433         * math/gen-auto-libm-tests.c: Update comment on output format.
32434         (output_for_one_input_case): Generate before-rounding and
32435         after-rounding information as conditions on output flags not
32436         floating-point format.
32437         * math/auto-libm-test-out: Regenerated.
32438         * math/gen-libm-test.pl (cond_value): New function.
32439         (or_cond_value): Use cond_value.
32440         (generate_testfile): Handle conditional exceptions.
32442 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32444         * math/libm-test.inc (max_valid_error): New variable.
32445         (init_max_error): Take new argument specifying whether function
32446         results are exactly determined.  Set max_valid_error and bound
32447         other variables for errors based on this argument.
32448         (set_max_error): Do not record results above max_valid_error.
32449         (check_float_internal): Only accept errors of up to 0.5ulps if
32450         also at most max_valid_error.
32451         (START): Take new argument EXACT and pass it to init_max_error.
32452         (acos_test): Update call to START.
32453         (acos_test_tonearest): Likewise.
32454         (acos_test_towardzero): Likewise.
32455         (acos_test_downward): Likewise.
32456         (acos_test_upward): Likewise.
32457         (acosh_test): Likewise.
32458         (asin_test): Likewise.
32459         (asin_test_tonearest): Likewise.
32460         (asin_test_towardzero): Likewise.
32461         (asin_test_downward): Likewise.
32462         (asin_test_upward): Likewise.
32463         (asinh_test): Likewise.
32464         (atan_test): Likewise.
32465         (atanh_test): Likewise.
32466         (atan2_test): Likewise.
32467         (cabs_test): Likewise.
32468         (cacos_test): Likewise.
32469         (cacosh_test): Likewise.
32470         (carg_test): Likewise.
32471         (casin_test): Likewise.
32472         (casinh_test): Likewise.
32473         (catan_test): Likewise.
32474         (catanh_test): Likewise.
32475         (cbrt_test): Likewise.
32476         (ccos_test): Likewise.
32477         (ccosh_test): Likewise.
32478         (ceil_test): Likewise.
32479         (cexp_test): Likewise.
32480         (cimag_test): Likewise.
32481         (clog_test): Likewise.
32482         (clog10_test): Likewise.
32483         (conj_test): Likewise.
32484         (copysign_test): Likewise.
32485         (cos_test): Likewise.
32486         (cos_test_tonearest): Likewise.
32487         (cos_test_towardzero): Likewise.
32488         (cos_test_downward): Likewise.
32489         (cos_test_upward): Likewise.
32490         (cosh_test): Likewise.
32491         (cosh_test_tonearest): Likewise.
32492         (cosh_test_towardzero): Likewise.
32493         (cosh_test_downward): Likewise.
32494         (cosh_test_upward): Likewise.
32495         (cpow_test): Likewise.
32496         (cproj_test): Likewise.
32497         (creal_test): Likewise.
32498         (csin_test): Likewise.
32499         (csinh_test): Likewise.
32500         (csqrt_test): Likewise.
32501         (ctan_test): Likewise.
32502         (ctan_test_tonearest): Likewise.
32503         (ctan_test_towardzero): Likewise.
32504         (ctan_test_downward): Likewise.
32505         (ctan_test_upward): Likewise.
32506         (ctanh_test): Likewise.
32507         (ctanh_test_tonearest): Likewise.
32508         (ctanh_test_towardzero): Likewise.
32509         (ctanh_test_downward): Likewise.
32510         (ctanh_test_upward): Likewise.
32511         (erf_test): Likewise.
32512         (erfc_test): Likewise.
32513         (exp_test): Likewise.
32514         (exp_test_tonearest): Likewise.
32515         (exp_test_towardzero): Likewise.
32516         (exp_test_downward): Likewise.
32517         (exp_test_upward): Likewise.
32518         (exp10_test): Likewise.
32519         (exp10_test_tonearest): Likewise.
32520         (exp10_test_towardzero): Likewise.
32521         (exp10_test_downward): Likewise.
32522         (exp10_test_upward): Likewise.
32523         (pow10_test): Likewise.
32524         (exp2_test): Likewise.
32525         (expm1_test): Likewise.
32526         (expm1_test_tonearest): Likewise.
32527         (expm1_test_towardzero): Likewise.
32528         (expm1_test_downward): Likewise.
32529         (expm1_test_upward): Likewise.
32530         (fabs_test): Likewise.
32531         (fdim_test): Likewise.
32532         (floor_test): Likewise.
32533         (fma_test): Likewise.
32534         (fma_test_towardzero): Likewise.
32535         (fma_test_downward): Likewise.
32536         (fma_test_upward): Likewise.
32537         (fmax_test): Likewise.
32538         (fmin_test): Likewise.
32539         (fmod_test): Likewise.
32540         (fpclassify_test): Likewise.
32541         (frexp_test): Likewise.
32542         (hypot_test): Likewise.
32543         (ilogb_test): Likewise.
32544         (isfinite_test): Likewise.
32545         (finite_test): Likewise.
32546         (isgreater_test): Likewise.
32547         (isgreaterequal_test): Likewise.
32548         (isinf_test): Likewise.
32549         (isless_test): Likewise.
32550         (islessequal_test): Likewise.
32551         (islessgreater_test): Likewise.
32552         (isnan_test): Likewise.
32553         (isnormal_test): Likewise.
32554         (issignaling_test): Likewise.
32555         (isunordered_test): Likewise.
32556         (j0_test): Likewise.
32557         (j1_test): Likewise.
32558         (jn_test): Likewise.
32559         (ldexp_test): Likewise.
32560         (lgamma_test): Likewise.
32561         (gamma_test): Likewise.
32562         (lrint_test): Likewise.
32563         (lrint_test_tonearest): Likewise.
32564         (lrint_test_towardzero): Likewise.
32565         (lrint_test_downward): Likewise.
32566         (lrint_test_upward): Likewise.
32567         (llrint_test): Likewise.
32568         (llrint_test_tonearest): Likewise.
32569         (llrint_test_towardzero): Likewise.
32570         (llrint_test_downward): Likewise.
32571         (llrint_test_upward): Likewise.
32572         (log_test): Likewise.
32573         (log10_test): Likewise.
32574         (log1p_test): Likewise.
32575         (log2_test): Likewise.
32576         (logb_test): Likewise.
32577         (logb_test_downward): Likewise.
32578         (lround_test): Likewise.
32579         (llround_test): Likewise.
32580         (modf_test): Likewise.
32581         (nearbyint_test): Likewise.
32582         (nextafter_test): Likewise.
32583         (nexttoward_test): Likewise.
32584         (pow_test): Likewise.
32585         (pow_test_tonearest): Likewise.
32586         (pow_test_towardzero): Likewise.
32587         (pow_test_downward): Likewise.
32588         (pow_test_upward): Likewise.
32589         (remainder_test): Likewise.
32590         (drem_test): Likewise.
32591         (remainder_test_tonearest): Likewise.
32592         (drem_test_tonearest): Likewise.
32593         (remainder_test_towardzero): Likewise.
32594         (drem_test_towardzero): Likewise.
32595         (remainder_test_downward): Likewise.
32596         (drem_test_downward): Likewise.
32597         (remainder_test_upward): Likewise.
32598         (drem_test_upward): Likewise.
32599         (remquo_test): Likewise.
32600         (rint_test): Likewise.
32601         (rint_test_tonearest): Likewise.
32602         (rint_test_towardzero): Likewise.
32603         (rint_test_downward): Likewise.
32604         (rint_test_upward): Likewise.
32605         (round_test): Likewise.
32606         (scalb_test): Likewise.
32607         (scalbn_test): Likewise.
32608         (scalbln_test): Likewise.
32609         (signbit_test): Likewise.
32610         (sin_test): Likewise.
32611         (sin_test_tonearest): Likewise.
32612         (sin_test_towardzero): Likewise.
32613         (sin_test_downward): Likewise.
32614         (sin_test_upward): Likewise.
32615         (sincos_test): Likewise.
32616         (sinh_test): Likewise.
32617         (sinh_test_tonearest): Likewise.
32618         (sinh_test_towardzero): Likewise.
32619         (sinh_test_downward): Likewise.
32620         (sinh_test_upward): Likewise.
32621         (sqrt_test): Likewise.
32622         (sqrt_test_tonearest): Likewise.
32623         (sqrt_test_towardzero): Likewise.
32624         (sqrt_test_downward): Likewise.
32625         (sqrt_test_upward): Likewise.
32626         (tan_test): Likewise.
32627         (tan_test_tonearest): Likewise.
32628         (tan_test_towardzero): Likewise.
32629         (tan_test_downward): Likewise.
32630         (tan_test_upward): Likewise.
32631         (tanh_test): Likewise.
32632         (tgamma_test): Likewise.
32633         (trunc_test): Likewise.
32634         (y0_test): Likewise.
32635         (y1_test): Likewise.
32636         (yn_test): Likewise.
32637         (significand_test): Likewise.
32639         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32640         individual tests in comment.
32641         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32642         (prev_max_error): New variable.
32643         (prev_real_max_error): Likewise.
32644         (prev_imag_max_error): Likewise.
32645         (compare_ulp_data): Don't refer to test names in comment.
32646         (find_test_ulps): Remove function.
32647         (find_function_ulps): Likewise.
32648         (find_complex_function_ulps): Likewise.
32649         (init_max_error): Take function name as argument.  Look up ulps
32650         for that function.
32651         (print_ulps): Remove function.
32652         (print_max_error): Use prev_max_error instead of calling
32653         find_function_ulps.
32654         (print_complex_max_error): Use prev_real_max_error and
32655         prev_imag_max_error instead of calling find_complex_function_ulps.
32656         (check_float_internal): Take max_ulp parameter instead of calling
32657         find_test_ulps.  Don't call print_ulps.
32658         (check_float): Update call to check_float_internal.
32659         (check_complex): Update calls to check_float_internal.
32660         (START): Pass argument to init_max_error.
32661         * math/gen-libm-test.pl (%results): Don't include "kind"
32662         information.
32663         (parse_ulps): Don't handle ulps of individual tests.
32664         (print_ulps_file): Likewise.
32665         (output_ulps): Likewise.
32666         * math/README.libm-test: Update.
32667         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32668         individual tests.
32669         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32670         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32671         * sysdeps/arm/libm-test-ulps: Likewise.
32672         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32673         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32674         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32675         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32676         * sysdeps/microblaze/libm-test-ulps: Likewise.
32677         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32678         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32679         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32680         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32681         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32682         * sysdeps/sh/libm-test-ulps: Likewise.
32683         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32684         * sysdeps/tile/libm-test-ulps: Likewise.
32685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32687 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32689         * math/libm-test.inc (print_complex_max_error): Check separately
32690         whether real and imaginary errors are within allowed range and
32691         pass 0 to print_complex_function_ulps instead of value within
32692         allowed range.
32694 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32696         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32697         formatting.
32698         (get_handles_fopen): Likewise.
32699         (do_write_test): Likewise.
32701         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32703         * libio/fileops.c (do_ftell): Use cached offset when
32704         available.
32705         * libio/iofwide.c (do_ftell_wide): Likewise.
32706         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32707         _IO_file_attach.
32708         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32710         [BZ #16532]
32711         * libio/libioP.h (get_file_offset): New function.
32712         * libio/fileops.c (get_file_offset): Likewise.
32713         (do_ftell): Likewise.
32714         (_IO_new_file_seekoff): Split out ftell logic.
32715         * libio/wfileops.c (do_ftell_wide): Likewise.
32716         (_IO_wfile_seekoff): Split out ftell logic.
32717         * libio/tst-ftell-active-handler.c: New test case.
32718         * libio/Makefile (tests): Add it.
32720 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32722         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32723         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32725 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32727         [BZ #16639]
32728         * nscd/connections.c (nscd_init): Call do_exit.
32729         (start_threads): Call do_exit and notify_parent.
32730         (begin_drop_privileges): Call do_exit.
32731         (finish_drop_privileges): Likewise.
32732         * nscd/selinux.c (preserve_capabilities): Likewise.
32733         (install_real_capabilities): Likewise.
32734         (nscd_selinux_enabled): Likewise.
32735         (avc_create_thread): Likewise.
32736         (avc_alloc_lock): Likewise.
32737         (nscd_avc_init): Likewise.
32738         * nscd/nscd.c (parent_fd): New static variable.
32739         (main): Create a pipe between parent and child processes.
32740         Skip closing parent_fd.
32741         (monitor_child): New function.
32742         (do_exit): Likewise.
32743         (notify_parent): Likewise.
32744         * nscd/nscd.h (notify_parent): Likewise.
32745         (do_exit): Likewise.
32747 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
32749         * malloc/malloc.c (__libc_calloc): Revert last change.
32751 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32755 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32757         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32759         implementation.
32760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32761         (__libc_ifunc_impl_list): Likewise.
32762         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32763         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32764         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32765         * string/strrchr.c: Define STRRCHR.
32767 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32769         * benchtest/bench-strtok.c (simple_strtok): Delete.
32770         (strtok_string): Use as benchmark.
32771         * string/strtok (STRTOK): New macro.
32773 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32775         * manual/threads.texi: Add header and standard comments to all
32776         functions.
32778         * elf/dl-lookup.c (check_match): New function.
32779         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32780         (do_lookup_x): Remove nested function check_match. Use non-nested
32781         function check_match.
32783 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32785         * csu/Makefile (generated, before-compile): Use += rather than =.
32786         * catgets/Makefile (generated, generated-dirs): Likewise.
32787         * debug/Makefile (generated): Likewise.
32788         * dlfcn/Makefile (generated): Likewise.
32789         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32790         * iconvdata/Makefile (before-compile, generated): Likewise.
32791         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32792         * libio/Makefile (generated): Likewise.
32793         * malloc/Makefile (generated): Likewise.
32794         * manual/Makefile (generated, generated-dirs): Likewise.
32795         * misc/Makefile (generated): Likewise.
32796         * posix/Makefile (generated): Likewise.
32797         * resolv/Makefile (generated): Likewise.
32798         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32799         * timezone/Makefile (generated, generated-dirs): Likewise.
32801         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
32803 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32805         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32806         power8 implementation.
32807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
32808         file: POWER8 llround ifunc implementation.
32809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
32810         (__lllround): Add POWER8 implementation.
32811         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
32812         POWER8 llround implementation.
32814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
32815         power8 implementation.
32816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
32817         file: POWER8 llrint ifunc implementation.
32818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
32819         Add POWER8 implementation.
32820         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
32821         POWER8 llrint implementation.
32823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
32824         power8 implementation.
32825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
32826         file: POWER8 finite ifunc implementation.
32827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
32828         Add POWER8 implementation.
32829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
32830         Likewise.
32831         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
32832         POWER8 finite implementation.
32833         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
32835         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
32836         power8 implementation.
32837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
32838         file: POWER8 isinf ifunc implementation.
32839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
32840         POWER8 implementation.
32841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
32842         Likewise.
32843         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
32844         isinf implementation.
32845         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
32847         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
32848         (INIT_ARCH): Add hwcap2 initialization.
32849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32850         power8 implementation.
32851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
32852         file: POWER8 isnan ifunc implementation.
32853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
32854         POWER8 implementation.
32855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
32856         Likewise.
32857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
32858         isnan implementation.
32859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
32861 2014-02-27  Joey Ye  <joey.ye@arm.com>
32863         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32864         (_FP_NANFRAC_Q): Set to zero.
32866 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32868         [BZ #16623]
32869         * math/auto-libm-test-in: New test inputs.
32870         * math/auto-libm-test-out: Regenerate.
32871         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
32872         and DA.
32873         (__cos): Likewise.
32874         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32876 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
32878         * scripts/evaluate-test.sh: Take new argument indicating whether
32879         failure is expected.
32880         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
32881         indicating whether failure is expected.
32882         * conform/Makefile (test-xfail-run-conformtest): New variable.
32883         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
32884         level.
32885         * posix/Makefile (test-xfail-annexc): New variable.
32886         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
32888 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
32890         * argp/Makefile: Include Makeconfig immediately after defining
32891         subdir.
32892         * assert/Makefile: Likewise.
32893         * benchtests/Makefile: Likewise.
32894         * catgets/Makefile: Likewise.
32895         * conform/Makefile: Likewise.
32896         * crypt/Makefile: Likewise.
32897         * csu/Makefile: Likewise.
32898         (all): Remove target.
32899         * ctype/Makefile: Include Makeconfig immediately after defining
32900         subdir.
32901         * debug/Makefile: Likewise.
32902         * dirent/Makefile: Likewise.
32903         * dlfcn/Makefile: Likewise.
32904         * gmon/Makefile: Likewise.
32905         * gnulib/Makefile: Likewise.
32906         * grp/Makefile: Likewise.
32907         * gshadow/Makefile: Likewise.
32908         * hesiod/Makefile: Likewise.
32909         * hurd/Makefile: Likewise.
32910         (all): Remove target.
32911         * iconvdata/Makefile: Include Makeconfig immediately after
32912         defining subdir.
32913         * inet/Makefile: Likewise.
32914         * intl/Makefile: Likewise.
32915         * io/Makefile: Likewise.
32916         * libio/Makefile: Likewise.
32917         (all): Remove target.
32918         * locale/Makefile: Include Makeconfig immediately after defining
32919         subdir.
32920         * login/Makefile: Likewise.
32921         * mach/Makefile: Likewise.
32922         (all): Remove target.
32923         * malloc/Makefile: Include Makeconfig immediately after defining
32924         subdir.
32925         (all): Remove target.
32926         * manual/Makefile: Include Makeconfig immediately after defining
32927         subdir.
32928         * math/Makefile: Likewise.
32929         * misc/Makefile: Likewise.
32930         * nis/Makefile: Likewise.
32931         * nss/Makefile: Likewise.
32932         * po/Makefile: Likewise.
32933         (all): Remove target.
32934         * posix/Makefile: Include Makeconfig immediately after defining
32935         subdir.
32936         * pwd/Makefile: Likewise.
32937         * resolv/Makefile: Likewise.
32938         * resource/Makefile: Likewise.
32939         * rt/Makefile: Likewise.
32940         * setjmp/Makefile: Likewise.
32941         * shadow/Makefile: Likewise.
32942         * signal/Makefile: Likewise.
32943         * socket/Makefile: Likewise.
32944         * soft-fp/Makefile: Likewise.
32945         * stdio-common/Makefile: Likewise.
32946         * stdlib/Makefile: Likewise.
32947         * streams/Makefile: Likewise.
32948         * string/Makefile: Likewise.
32949         * sunrpc/Makefile: Likewise.
32950         (all): Remove target.
32951         * sysvipc/Makefile: Include Makeconfig immediately after defining
32952         subdir.
32953         * termios/Makefile: Likewise.
32954         * time/Makefile: Likewise.
32955         * timezone/Makefile: Likewise.
32956         (all): Remove target.
32957         * wcsmbs/Makefile: Include Makeconfig immediately after defining
32958         subdir.
32959         * wctype/Makefile: Likewise.
32961 2014-02-26  Steve Ellcey  <sellcey@mips.com>
32963         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
32964         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
32965         (libc_feholdexcept_setround_mips): Ditto.
32966         (libc_feholdsetround): New.
32967         (libc_feholdsetroundf): New.
32968         (libc_feholdsetroundl): New.
32969         (libc_feupdateenv_test_mips): New.
32970         (libc_feupdateenv_test): New.
32971         (libc_feupdateenv_testf): New.
32972         (libc_feupdateenv_testl): New.
32973         (libc_feresetround): New.
32974         (libc_feresetroundf): New.
32975         (libc_feresetroundl): New.
32976         (libc_fetestexcept_mips): New.
32977         (libc_fetestexcept): New.
32978         (libc_fetestexceptf): New.
32979         (libc_fetestexceptl): New.
32980         (HAVE_RM_CTX): New.
32981         (libc_feholdexcept_setround_mips_ctx): New.
32982         (libc_feholdexcept_setround_ctx): New.
32983         (libc_feholdexcept_setroundf_ctx): New.
32984         (libc_feholdexcept_setroundl_ctx): New.
32985         (libc_fesetenv_mips_ctx): New.
32986         (libc_fesetenv_ctx): New.
32987         (libc_fesetenv_ctxf): New.
32988         (libc_fesetenv_ctxl): New.
32989         (libc_feupdateenv_mips_ctx): New.
32990         (libc_feupdateenv_ctx): New.
32991         (libc_feupdateenvf_ctx): New.
32992         (libc_feupdateenvl_ctx): New.
32993         (libc_feholdsetround_mips_ctx): New.
32994         (libc_feholdsetround_ctx): New.
32995         (libc_feholdsetroundf_ctx): New.
32996         (libc_feholdsetroundl_ctx): New.
32997         (libc_feresetround_mips_ctx): New.
32998         (libc_feresetround_ctx): New.
32999         (libc_feresetroundf_ctx): New.
33000         (libc_feresetroundl_ctx): New.
33002 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
33004         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33006         * manual/ipc.texi: New file.
33007         * manual/Makefile (chapters): Add ipc.
33008         * manual/job.texi: Add "Inter-Process Communication" to next.
33009         * manual/process.texi: Add "Inter-Process Communication" to prev.
33011 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33015 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
33017         * malloc/malloc.c (__libc_calloc): Simplify implementation.
33019         * manual/arith.texi: Fix spaces after sentences.
33020         * manual/charset.texi: Likewise.
33021         * manual/errno.texi: Likewise.
33022         * manual/install.texi: Likewise.
33023         * manual/llio.texi: Likewise.
33024         * manual/locale.texi: Likewise.
33025         * manual/maint.texi: Likewise.
33026         * manual/math.texi: Likewise.
33027         * manual/memory.texi: Likewise.
33028         * manual/message.texi: Likewise.
33029         * manual/probes.texi: Likewise.
33030         * manual/resource.texi: Likewise.
33031         * manual/signal.texi: Likewise.
33032         * manual/socket.texi: Likewise.
33033         * manual/stdio.texi: Likewise.
33034         * manual/string.texi: Likewise.
33035         * manual/time.texi: Likewise.
33036         * manual/users.texi: Likewise.
33038 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
33040         [BZ #16632]
33041         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33042         _DEFAULT_SOURCE is defined.
33044 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
33045             Carlos O'Donell  <carlos@redhat.com>
33047         [BZ #16613]
33048         * elf/dl-tls.c (_dl_count_modids): New function.
33049         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33050         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33051         audit library and increment generation counter.
33052         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33053         * elf/tst-audit9.c: New file.
33054         * elf/tst-auditmod9a.c: New file.
33055         * elf/tst-auditmod9b.c: New file.
33056         * elf/Makefile: Add rules to build and run tst-audit9.
33058 2014-02-25  Florian Weimer  <fweimer@redhat.com>
33060         [BZ #15347]
33061         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33063 2014-02-25  Will Newton  <will.newton@linaro.org>
33065         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33066         (__longjmp): Restore sp and lr before restoring callee
33067         saved registers.  Add longjmp and longjmp_target
33068         SystemTap probe point.
33069         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33070         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33071         Define to zero to match jmpbuf layout.
33072         * sysdeps/arm/setjmp.S: Include stap-probe.h.
33073         (__sigsetjmp): Save sp and lr before saving callee
33074         saved registers.  Add setjmp SystemTap probe point.
33076 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33078         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33080 2014-02-24  Andreas Schwab  <schwab@suse.de>
33082         [BZ #15804]
33083         * elf/pldd.c (wait_for_ptrace_stop): New function.
33084         (main): Call it after attaching.
33086 2014-02-22  Roland McGrath  <roland@hack.frob.com>
33088         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33089         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33090         Versions files is now verboten.
33091         * hurd/Versions (libc: GLIBC_2.0):
33092         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33093         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33094         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33095         * mach/Versions: Likewise.
33097         * csu/Versions: Remove unused %include.
33098         * resolv/Versions: Likewise.
33100 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
33102         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33103         ($(objpfx)check-local-headers.out): Likewise.
33104         ($(objpfx)begin-end-check.out): Likewise.
33105         * Makerules (check-abi-%.out): Likewise.
33106         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33107         ($(objpfx)test2.cat): Likewise.
33108         ($(objpfx)de/libc.cat): Likewise.
33109         ($(objpfx)test-gencat.out): Likewise.
33110         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33111         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33112         ($(objpfx)noload-mem): Likewise.
33113         ($(objpfx)tst-pathopt.out): Likewise.
33114         ($(objpfx)tst-rtld-load-self.out): Likewise.
33115         ($(objpfx)tst-array1-cmp.out): Likewise.
33116         ($(objpfx)tst-array1-static-cmp.out): Likewise.
33117         ($(objpfx)tst-array2-cmp.out): Likewise.
33118         ($(objpfx)tst-array3-cmp.out): Likewise.
33119         ($(objpfx)tst-array4-cmp.out): Likewise.
33120         ($(objpfx)tst-array5-cmp.out): Likewise.
33121         ($(objpfx)tst-array5-static-cmp.out): Likewise.
33122         ($(objpfx)check-textrel.out): Likewise.
33123         ($(objpfx)check-execstack.out): Likewise.
33124         ($(objpfx)check-localplt.out): Likewise.
33125         ($(objpfx)order2-cmp.out): Likewise.
33126         ($(objpfx)tst-leaks1-mem): Likewise.
33127         ($(objpfx)tst-leaks1-static-mem): Likewise.
33128         ($(objpfx)tst-initorder-cmp.out): Likewise.
33129         ($(objpfx)tst-initorder2-cmp.out): Likewise.
33130         ($(objpfx)tst-unused-dep.out): Likewise.
33131         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33132         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33133         * iconv/Makefile (test-iconvconfig): Likewise.
33134         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33135         ($(objpfx)iconv-test.out): Likewise.
33136         ($(objpfx)tst-tables.out): Likewise.
33137         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33138         ($(objpfx)tst-gettext.out): Likewise.
33139         ($(objpfx)tst-translit.out): Likewise.
33140         ($(objpfx)tst-gettext2.out): Likewise.
33141         ($(objpfx)tst-gettext4.out): Likewise.
33142         ($(objpfx)tst-gettext6.out): Likewise.
33143         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33144         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33145         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33146         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33147         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33148         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33149         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33150         ($(objpfx)wordexp-tst.out): Likewise.
33151         ($(objpfx)annexc.out): Likewise.
33152         ($(objpfx)tst-fnmatch-mem): Likewise.
33153         ($(objpfx)bug-regex2-mem): Likewise.
33154         ($(objpfx)bug-regex14-mem): Likewise.
33155         ($(objpfx)bug-regex21-mem): Likewise.
33156         ($(objpfx)bug-regex31-mem): Likewise.
33157         ($(objpfx)tst-vfork3-mem): Likewise.
33158         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33159         ($(objpfx)tst-pcre-mem): Likewise.
33160         ($(objpfx)tst-boost-mem): Likewise.
33161         ($(objpfx)tst-getconf.out): Likewise.
33162         ($(objpfx)bug-ga2-mem): Likewise.
33163         ($(objpfx)bug-glob2-mem): Likewise.
33164         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33165         ($(objpfx)mtrace-tst-leaks2): Likewise.
33166         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33167         ($(objpfx)tst-printf.out): Likewise.
33168         ($(objpfx)tst-setvbuf1.out): Likewise.
33169         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33170         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33171         ($(objpfx)tst-fmtmsg.out): Likewise.
33172         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33173         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33175         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33176         * bits/sigaction.h [__USE_MISC]: Likewise.
33177         * bits/waitstatus.h: Update #endif comments.
33178         * ctype/ctype.h: Likewise.
33179         * dirent/dirent.h: Likewise.
33180         [__USE_MISC]: Remove redundant conditionals.
33181         * grp/grp.h: Update #endif comments.
33182         [__USE_GNU]: Remove redundant conditionals.
33183         [__USE_MISC]: Likewise.
33184         * inet/netinet/in.h [__USE_GNU]: Likewise.
33185         * io/sys/stat.h [__USE_MISC]: Likewise.
33186         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33187         * libio/bits/stdio.h: Update #endif comments.
33188         [__USE_MISC]: Remove redundant conditionals.
33189         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33190         * libio/stdio.h: Update #endif comments.
33191         [__USE_MISC]: Remove redundant conditionals.
33192         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33193         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33194         * math/math.h: Update #else and #endif comments.
33195         [__USE_MISC]: Remove redundant conditionals.
33196         * misc/sys/uio.h: Update #endif comments.
33197         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33198         * posix/glob.h [__USE_MISC]: Likewise.
33199         * posix/sys/types.h: Update #endif comments.
33200         [__USE_MISC]: Remove redundant conditionals.
33201         * posix/sys/wait.h: Update #endif comments.
33202         [__USE_MISC]: Remove redundant conditionals.
33203         * posix/unistd.h: Update #endif comments.
33204         [__USE_MISC]: Remove redundant conditionals.
33205         * pwd/pwd.h [__USE_GNU]: Likewise.
33206         [__USE_MISC]: Likewise.
33207         * resolv/netdb.h [__USE_GNU]: Likewise.
33208         * signal/signal.h: Update #endif comments.
33209         [__USE_MISC]: Remove redundant conditionals.
33210         * stdlib/stdlib.h: Update #else and #endif comments.
33211         [__USE_MISC]: Remove redundant conditionals.
33212         [__USE_GNU]: Likewise.
33213         * string/bits/string2.h [__USE_MISC]: Likewise.
33214         * string/string.h: Update #endif comments.
33215         [__USE_MISC]: Remove redundant conditionals.
33216         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33217         Likewise.
33218         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33219         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33220         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33221         Likewise.
33222         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33223         Likewise.
33224         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33225         comments.
33226         [__USE_MISC]: Remove redundant conditionals.
33227         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33228         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33229         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33230         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33231         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33232         Likewise.
33233         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33234         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33235         Likewise.
33236         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33237         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33238         Likewise.
33239         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33240         Likewise.
33241         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33242         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33243         Likewise.
33244         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33245         Likewise.
33246         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33247         * sysdeps/x86/bits/string.h: Update #endif comments.
33248         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33249         conditionals.
33250         * time/sys/time.h: Update #endif comments.
33251         * time/time.h: Likewise.
33252         [__USE_MISC]: Remove redundant conditionals.
33254 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33256         [BZ #16600]
33257         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33259 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33261         * Versions.def (librt): Add GLIBC_2.17.
33263 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33265         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33266         synonym for _SYS_AUXV_H to allow direct inclusion.
33267         * sysdeps/sparc/bits/hwcap.h: Likewise.
33268         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33269         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33270         * sysdeps/sparc/sysdep.h: Likewise.
33272 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33274         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33276 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33278         * benchtests/bench-strrchr.c: Print length instead of position.
33280 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
33282         [BZ #16611]
33283         * sysdeps/unix/sysv/linux/kernel-features.h
33284         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33285         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33286         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33287         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33288         Likewise.
33289         [__i386__ || __powerpc__ || __sh__ || __sparc__]
33290         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33291         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33292         (__ASSUME_SENDMMSG): Define instead of using previous
33293         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33294         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33295         (__ASSUME_SENDMMSG_SYSCALL): Define.
33296         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33297         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33298         Likewise.
33299         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33300         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33301         Likewise.
33302         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33303         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33304         Likewise.
33305         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33306         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33307         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33308         [__ASSUME_SENDMMSG]: Change conditionals to
33309         [__ASSUME_SENDMMSG_SOCKETCALL].
33310         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33311         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33312         Define.
33313         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33314         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33315         Likewise.
33316         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33317         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33318         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33319         [!__ASSUME_SENDMMSG]: Change conditional to
33320         [!__ASSUME_SENDMMSG_SOCKETCALL].
33321         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33322         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33323         Define.
33325         [BZ #16610]
33326         * sysdeps/unix/sysv/linux/kernel-features.h
33327         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33328         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33329         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33330         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33331         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33332         [__i386__ || __sparc__]
33333         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33334         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33335         (__ASSUME_RECVMMSG): Define instead of using previous
33336         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33337         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33338         (__ASSUME_RECVMMSG_SYSCALL): Define.
33339         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33340         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33341         Likewise.
33342         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33343         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33344         Likewise.
33345         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33346         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33347         Likewise.
33348         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33349         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33350         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33351         [__ASSUME_RECVMMSG]: Change condition to
33352         [__ASSUME_RECVMMSG_SOCKETCALL].
33353         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33354         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33355         Define.
33356         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33357         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33358         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33359         Likewise.
33360         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33361         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33362         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33363         [!__ASSUME_RECVMMSG]: Change condition to
33364         [!__ASSUME_RECVMMSG_SOCKETCALL].
33365         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33366         (__ASSUME_RECVMMSG_SYSCALL): Define.
33368         [BZ #16609]
33369         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33370         __powerpc__ || __s390__ || __sh__ || __sparc__]
33371         (__ASSUME_SOCKETCALL): Define.
33372         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33373         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33374         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33375         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33376         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33377         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33378         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33379         (__ASSUME_ACCEPT4): Define instead of using previous
33380         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33381         __powerpc__ || __sparc__ || __s390__)] condition.
33382         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33383         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33384         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33385         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33386         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33387         [!__ASSUME_ACCEPT4]: Change condition to
33388         [!__ASSUME_ACCEPT4_SOCKETCALL].
33389         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33390         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33391         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33392         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33393         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33394         __ASSUME_ACCEPT4_SYSCALL.
33395         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33396         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33397         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33398         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33399         __ASSUME_ACCEPT4_SYSCALL.
33400         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33401         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33402         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33403         [__ASSUME_ACCEPT4]: Change condition to
33404         [__ASSUME_ACCEPT4_SOCKETCALL].
33405         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33406         (__ASSUME_SOCKETCALL): Define.
33407         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33408         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33409         (__ASSUME_SOCKETCALL): Define.
33410         (__ASSUME_ACCEPT4): Remove.
33411         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33412         Define.
33413         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33414         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33415         Likewise.
33416         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33417         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33419         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33420         macro.
33421         (HWCAP_ARM_LPAE): Likewise.
33422         (HWCAP_ARM_EVTSTRM): Likewise.
33423         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33424         Add vpfd32, lpae and evtstrm.
33425         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33426         Increase to 22.
33428 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33430         * math/auto-libm-test-in: Add tests of clog10.
33431         * math/auto-libm-test-out: Regenerated.
33432         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33433         * sysdeps/i386/fpu/libm-test-ulps: Update.
33434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33436 2014-02-18  Andreas Schwab  <schwab@suse.de>
33438         [BZ #16574]
33439         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33440         Store non-zero if the second buffer was newly allocated.
33441         (send_dg): Likewise.
33442         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33443         to send_vc and send_dg.
33444         (res_nsend): Pass NULL for ansp2_malloced.
33445         * resolv/res_query.c (__libc_res_nquery): Add parameter
33446         answerp2_malloced and pass it down to __libc_res_nsend.
33447         (res_nquery): Pass additional NULL to __libc_res_nquery.
33448         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33449         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33450         second answer buffer if answerp2_malloced was set.
33451         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33452         (__libc_res_nquerydomain): Add parameter
33453         answerp2_malloced and pass it down to __libc_res_nquery.
33454         (res_nquerydomain): Pass additional NULL to
33455         __libc_res_nquerydomain.
33456         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33457         additional NULL to __libc_res_nsend and __libc_res_nquery.
33458         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33459         additional NULL to __libc_res_nsearch.
33460         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33461         parameter of __libc_res_nsearch to check for separately allocated
33462         second buffer.
33463         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33464         __libc_res_nquery.
33465         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33466         additional NULL to __libc_res_nquery.
33467         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33468         __libc_res_nsearch.
33469         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33470         * include/resolv.h: Update prototypes of __libc_res_nquery,
33471         __libc_res_nsearch, __libc_res_nsend.
33473 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33475         * math/auto-libm-test-in: Add tests of fma.
33476         * math/auto-libm-test-out: Regenerated.
33477         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33478         (fma_towardzero_test_data): Likewise.
33479         (fma_downward_test_data): Likewise.
33480         (fma_upward_test_data): Likewise.
33481         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33482         mpc_mode.
33483         (rounding_modes): Add values for new field.
33484         (func_calc_method): Add value mpfr_fff_f.
33485         (func_calc_desc): Add mpfr_fff_f union field.
33486         (test_function): Add field exact_args.
33487         (FUNC): Add macro argument EXACT_ARGS.
33488         (FUNC_mpfr_f_f): Update call to FUNC.
33489         (FUNC_mpfr_f_f): Likewise.
33490         (FUNC_mpfr_ff_f): Likewise.
33491         (FUNC_mpfr_if_f): Likewise.
33492         (FUNC_mpc_c_f): Likewise.
33493         (FUNC_mpc_c_c): Likewise.
33494         (test_functions): Add fma.  Update calls to FUNC.
33495         (handle_input_arg): Add argument exact_args.
33496         (add_test): Update call to handle_input_arg.
33497         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33498         (output_for_one_input_case): Update call to calc_generic_results.
33499         Recalculate exact zero results in each rounding mode.
33501         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33502         non-negative before setting low bit.
33503         * math/auto-libm-test-in: Mark one asin test possibly having
33504         spurious underflow.
33505         * math/auto-libm-test-out: Regenerated.
33506         * sysdeps/i386/fpu/libm-test-ulps: Update.
33507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33509 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33511         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33512         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33513         ports/sysdeps/unix/sysv/linux/microblaze.
33514         * README: Add missing listing for microblaze*-*-linux-gnu.
33516 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33518         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33519         duplicate code
33521 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33523         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33524         * sysdeps/unix/sysv/linux/ia64: Move directory from
33525         ports/sysdeps/unix/sysv/linux/ia64.
33526         * README: Update listing for ia64-*-linux-gnu.
33528 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33529             Joseph Myers  <joseph@codesourcery.com>
33531         * Makeconfig (test-name): New variable.
33532         (evaluate-test): Likewise.
33533         * Makerules (do-test-clean): Remove .test-result files.
33534         (common-mostlyclean): Likewise.
33535         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33536         * scripts/evaluate-test.sh: New file.
33538 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33540         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33541         separate $(objpfx)tst-fopenloc-cmp.out and
33542         $(objpfx)tst-fopenloc-mem.out targets.
33543         (tests): Update dependencies.
33544         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33545         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33546         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33547         (tst-rxspencer-no-utf8-ARGS): New variable.
33548         (tst-rxspencer-no-utf8-ENV): Likewise.
33549         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33550         instead of $(objpfx)tst-rxspencer-mem.
33551         ($(objpfx)tst-rxspencer-mem): Change target to
33552         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33553         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33554         * posix/tst-rxspencer-no-utf8.c: New file.
33556         * elf/Makefile ($(objpfx)order.out): Remove rule.
33557         [$(run-built-tests) = yes] (tests): Depend on
33558         $(objpfx)order-cmp.out.
33559         ($(objpfx)order-cmp.out): New rule.
33560         [$(run-built-tests) = yes] (tests): Depend on
33561         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33562         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33563         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33564         $(objpfx)tst-array5-static-cmp.out.
33565         ($(objpfx)tst-array1.out): Remove rule.
33566         ($(objpfx)tst-array1-cmp.out): New rule.
33567         ($(objpfx)tst-array1-static.out): Remove rule.
33568         ($(objpfx)tst-array1-static-cmp.out): New rule.
33569         ($(objpfx)tst-array2.out): Remove rule.
33570         ($(objpfx)tst-array2-cmp.out): New rule.
33571         ($(objpfx)tst-array3.out): Remove rule.
33572         ($(objpfx)tst-array3-cmp.out): New rule.
33573         ($(objpfx)tst-array4.out): Remove rule.
33574         ($(objpfx)tst-array4-cmp.out): New rule.
33575         ($(objpfx)tst-array5.out): Remove rule.
33576         ($(objpfx)tst-array5-cmp.out): New rule.
33577         ($(objpfx)tst-array5-static.out): Remove rule.
33578         ($(objpfx)tst-array5-static-cmp.out): New rule.
33579         [$(run-built-tests) = yes] (tests): Depend on
33580         $(objpfx)order2-cmp.out.
33581         ($(objpfx)order2.out): Remove rule.
33582         ($(objpfx)order2-cmp.out): New rule.
33583         ($(objpfx)tst-initorder.out): Remove rule.
33584         [$(run-built-tests) = yes] (tests): Depend on
33585         $(objpfx)tst-initorder-cmp.out.
33586         ($(objpfx)tst-initorder-cmp.out): New rule.
33587         ($(objpfx)tst-initorder2.out): Remove rule.
33588         [$(run-built-tests) = yes] (tests): Depend on
33589         $(objpfx)tst-initorder2-cmp.out.
33590         ($(objpfx)tst-initorder2-cmp.out): New rule.
33591         [$(run-built-tests) = yes] (tests): Depend on
33592         $(objpfx)tst-unused-dep-cmp.out.
33593         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33594         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33595         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33596         on $(objpfx)tst-setvbuf1-cmp.out.
33597         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33598         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33599         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33600         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33601         ($(objpfx)tst-svc.out): Remove rule.
33602         ($(objpfx)tst-svc-cmp.out): New rule.
33604 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33606         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33607         * ctype/ctype.h [__USE_MISC]: Likewise.
33608         * dirent/dirent.h [__USE_MISC]: Likewise.
33609         * grp/grp.h [__USE_MISC]: Likewise.
33610         * io/fcntl.h [__USE_MISC]: Likewise.
33611         * io/sys/stat.h [__USE_MISC]: Likewise.
33612         * libio/stdio.h [__USE_MISC]: Likewise.
33613         * posix/unistd.h [__USE_MISC]: Likewise.
33614         * pwd/pwd.h [__USE_MISC]: Likewise.
33615         * stdlib.h [__USE_MISC]: Likewise.
33616         * string/bits/string2.h [__USE_MISC]: Likewise.
33617         * string/string.h [__USE_MISC]: Likewise.
33618         * time/time.h [__USE_MISC]: Likewise.
33620 2014-02-13  Andreas Schwab  <schwab@suse.de>
33622         [BZ #16574]
33623         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33624         second answer buffer if it was separately allocated.
33626 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33628         * sysdeps/mips/math-tests.h: Include <features.h>.
33629         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33630         (ROUNDING_TESTS_long_double): Do not define.
33631         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33632         (EXCEPTION_TESTS_long_double): Likewise.
33633         * sysdeps/mips/mips64/libm-test-ulps: Update.
33635         * include/features.h (__USE_BSD): Remove macro definitions.
33636         (__USE_SVID): Likewise.
33637         (_BSD_SOURCE): Likewise.
33638         (_SVID_SOURCE): Likewise.
33639         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33640         from definition of _DEFAULT_SOURCE.
33641         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33642         [_DEFAULT_SOURCE].
33643         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33644         * bits/mman.h [__USE_BSD]: Likewise.
33645         * bits/termios.h [__USE_BSD]: Likewise.
33646         * bits/waitstatus.h [__USE_BSD]: Likewise.
33647         * ctype/ctype.h [__USE_SVID]: Likewise.
33648         * dirent/dirent.h [__USE_BSD]: Likewise.
33649         * grp/grp.h [__USE_SVID]: Likewise.
33650         [__USE_BSD]: Likewise.
33651         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33652         * io/fcntl.h [__USE_BSD]: Likewise.
33653         * io/ftw.h [__USE_BSD]: Likewise.
33654         * io/sys/stat.h [__USE_BSD]: Likewise.
33655         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33656         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33657         * libio/stdio.h [__USE_SVID]: Likewise.
33658         [__USE_BSD]: Likewise.
33659         * math/math.h [__USE_SVID]: Likewise.
33660         [__USE_BSD]: Likewise.
33661         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33662         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33663         * misc/search.h [__USE_SVID]: Likewise.
33664         * misc/sys/mman.h [__USE_BSD]: Likewise.
33665         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33666         * misc/sys/uio.h [__USE_BSD]: Likewise.
33667         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33668         * posix/glob.h [__USE_BSD]: Likewise.
33669         * posix/regex.h [__USE_BSD]: Likewise.
33670         * posix/sys/types.h [__USE_BSD]: Likewise.
33671         [__USE_SVID]: Likewise.
33672         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33673         * posix/sys/wait.h [__USE_BSD]: Likewise.
33674         [__USE_SVID]: Likewise.
33675         * posix/unistd.h [__USE_BSD]: Likewise.
33676         [__USE_SVID]: Likewise.
33677         * pwd/pwd.h [__USE_SVID]: Likewise.
33678         * resolv/netdb.h [__USE_BSD]: Likewise.
33679         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33680         * signal/signal.h [__USE_BSD]: Likewise.
33681         [__USE_SVID]: Likewise.
33682         * socket/sys/socket.h [__USE_BSD]: Likewise.
33683         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33684         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33685         [__USE_SVID]: Likewise.
33686         * string/bits/string2.h [__USE_BSD]: Likewise.
33687         [__USE_SVID]: Likewise.
33688         * string/bits/string3.h [__USE_BSD]: Likewise.
33689         * string/endian.h [__USE_BSD]: Likewise.
33690         * string/string.h [__USE_SVID]: Likewise.
33691         [__USE_BSD]: Likewise.
33692         * string/strings.h [__USE_BSD]: Likewise.
33693         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33694         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33695         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33696         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33697         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33698         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33699         Likewise.
33700         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33701         Likewise.
33702         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33703         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33704         Likewise.
33705         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33706         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33707         Likewise.
33708         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33709         Likewise.
33710         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33711         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33712         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33713         Likewise.
33714         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33715         Likewise.
33716         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33717         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33718         * termios/termios.h [__USE_BSD]: Likewise.
33719         * time/sys/time.h [__USE_BSD]: Likewise.
33720         * time/time.h [__USE_BSD]: Likewise.
33721         [__USE_SVID]: Likewise.
33723         * Makefile (subdir_targets): Remove subdir_lint.out.
33725         * stdio-common/Makefile (do-tst-unbputc): Remove target.
33726         (do-tst-printf): Likewise.
33727         (tests): Depend directly on $(objpfx)tst-unbputc.out and
33728         $(objpfx)tst-printf.out.
33730         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33732         * Makerules (check-abi-%): Change target to
33733         $(objpfx)check-abi-%.out.
33734         (check-abi target): Update dependencies.
33735         (check-abi-pattern variable): Redirect output of diff to $@.
33736         (check-abi variable): Likewise.
33737         * elf/Makefile (check-abi): Update dependencies.
33739         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33740         unused.
33741         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33742         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33743         subnormal range.
33744         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33745         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33746         value has largest subnormal exponent.
33747         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33748         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33749         * sysdeps/aarch64/soft-fp/sfp-machine.h
33750         (_FP_TININESS_AFTER_ROUNDING): New macro.
33751         * sysdeps/alpha/soft-fp/sfp-machine.h
33752         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33753         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33754         Likewise.
33755         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33756         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33757         * sysdeps/mips/soft-fp/sfp-machine.h
33758         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33759         * sysdeps/powerpc/soft-fp/sfp-machine.h
33760         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33761         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33762         Likewise.
33763         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33764         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33765         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33766         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33767         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33768         Likewise.
33770 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33772         [BZ #16545]
33773         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33774         model 1.
33776 2014-02-12  Richard Henderson  <rth@redhat.com>
33778         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33779         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33780         * sysdeps/unix/sysv/linux/alpha: Move directory from
33781         ports/sysdeps/unix/sysv/linux/alpha.
33782         * README: Update listing for alpha-*-linux-gnu.
33784 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33786         * include/features.h: Update comment documenting feature test
33787         macros.
33788         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33789         _DEFAULT_SOURCE.
33790         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33791         (_SVID_SOURCE): Likewise.
33792         (_DEFAULT_SOURCE): Update description of default features.
33793         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33794         with _GNU_SOURCE.
33795         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33796         (S_ISVTX): Likewise.
33797         * manual/math.texi (Mathematical Constants): Likewise.
33798         * manual/signal.texi (Interrupted Primitives): Likewise.
33799         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
33800         * math/test-matherr.c (_SVID_SOURCE): Do not define.
33801         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
33802         Don't refer to _SVID_SOURCE in warning text.
33804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33806         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
33807         already defined.
33808         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
33809         * sysdeps/mips/dl-lookup.c: Remove.
33810         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
33812 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33814         [BZ #16447]
33815         * math/auto-libm-test-in: Add testcase for expl.
33816         * math/auto-libm-test-out: Regenerate.
33817         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
33818         calculation of unsafe.
33819         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
33821 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33823         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
33824         * sysdeps/unix/sysv/linux/aarch64: Move directory from
33825         ports/sysdeps/unix/sysv/linux/aarch64.
33826         * README: Update listing for aarch64*-*-linux-gnu.
33828 2014-02-11  Will Newton  <will.newton@linaro.org>
33830         * manual/probes.texi (Mathematical Function Probes): Use
33831         "triggered" instead of "hit".
33833         * manual/probes.texi (Internal Probes): Add documentation
33834         of setjmp, longjmp and longjmp_target probes.
33836         * include/stap-probe.h: Add comment about probe argument
33837         format.
33839         * malloc/mtrace.c (attribute_hidden): Remove unused macro
33840         definition.  (tr_where, tr_freehook, tr_mallochook,
33841         tr_reallochook, tr_memalignhook): Use ANSI protoype.
33843 2014-02-11  David S. Miller  <davem@davemloft.net>
33845         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
33846         processing int_tests.
33848 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
33850         * sysdeps/mips: Move directory from ports/sysdeps/mips.
33851         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
33852         * sysdeps/unix/sysv/linux/mips: Move directory from
33853         ports/sysdeps/unix/sysv/linux/mips.
33854         * README: Update listing for mips-*-linux-gnu and
33855         mips64-*-linux-gnu.
33857 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
33859         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
33860         * sysdeps/unix/sysv/linux/m68k: Move directory from
33861         ports/sysdeps/unix/sysv/linux/m68k.
33862         * README: Update listing for m68k-*-linux-gnu.
33864 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
33866         * sysdeps/tile: Move directory from ports/sysdeps/tile.
33867         * sysdeps/unix/sysv/linux/generic: Move directory from
33868         ports/sysdeps/unix/sysv/linux/generic.
33869         * sysdeps/unix/sysv/linux/tile: Move directory from
33870         ports/sysdeps/unix/sysv/linux/tile.
33871         * README: Update listing for tile*-*-linux-gnu.
33873 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
33875         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
33876         __builtin_expect.
33877         * benchtests/bench-memmem.c (simple_memmem): Likewise.
33878         * catgets/open_catalog.c (__open_catalog): Likewise.
33879         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
33880         * debug/confstr_chk.c: Likewise.
33881         * debug/fread_chk.c (__fread_chk): Likewise.
33882         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
33883         * debug/getgroups_chk.c: Likewise.
33884         * debug/mbsnrtowcs_chk.c: Likewise.
33885         * debug/mbsrtowcs_chk.c: Likewise.
33886         * debug/mbstowcs_chk.c: Likewise.
33887         * debug/memcpy_chk.c: Likewise.
33888         * debug/memmove_chk.c: Likewise.
33889         * debug/mempcpy_chk.c: Likewise.
33890         * debug/memset_chk.c: Likewise.
33891         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33892         * debug/strcat_chk.c (__strcat_chk): Likewise.
33893         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
33894         * debug/strncat_chk.c (__strncat_chk): Likewise.
33895         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
33896         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
33897         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
33898         * debug/wcpncpy_chk.c: Likewise.
33899         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33900         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
33901         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
33902         * debug/wcsncpy_chk.c: Likewise.
33903         * debug/wcsnrtombs_chk.c: Likewise.
33904         * debug/wcsrtombs_chk.c: Likewise.
33905         * debug/wcstombs_chk.c: Likewise.
33906         * debug/wmemcpy_chk.c: Likewise.
33907         * debug/wmemmove_chk.c: Likewise.
33908         * debug/wmempcpy_chk.c: Likewise.
33909         * debug/wmemset_chk.c: Likewise.
33910         * dirent/scandirat.c (SCANDIRAT): Likewise.
33911         * dlfcn/dladdr1.c (dladdr1): Likewise.
33912         * dlfcn/dladdr.c (dladdr): Likewise.
33913         * dlfcn/dlclose.c (dlclose_doit): Likewise.
33914         * dlfcn/dlerror.c (__dlerror): Likewise.
33915         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
33916         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
33917         * dlfcn/dlopen.c (dlopen_doit): Likewise.
33918         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
33919         * dlfcn/dlsym.c (dlsym_doit): Likewise.
33920         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
33921         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
33922         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
33923         Likewise.
33924         * elf/dl-conflict.c: Likewise.
33925         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33926         * elf/dl-dst.h: Likewise.
33927         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
33928         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
33929         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33930         * elf/dl-init.c (call_init, _dl_init): Likewise.
33931         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
33932         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
33933         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
33934         Likewise.
33935         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
33936         Likewise.
33937         * elf/dl-minimal.c (__libc_memalign): Likewise.
33938         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
33939         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33940         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
33941         * elf/dl-sym.c (do_sym): Likewise.
33942         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
33943         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
33944         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
33945         * elf/dl-writev.h (_dl_writev): Likewise.
33946         * elf/ldconfig.c (search_dir): Likewise.
33947         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
33948         (dl_main): Likewise.
33949         * elf/setup-vdso.h (setup_vdso): Likewise.
33950         * grp/compat-initgroups.c (compat_call): Likewise.
33951         * grp/fgetgrent.c (fgetgrent): Likewise.
33952         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
33953         * grp/putgrent.c (putgrent): Likewise.
33954         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33955         Likewise.
33956         * hurd/hurdinit.c: Likewise.
33957         * iconvdata/8bit-gap.c (struct): Likewise.
33958         * iconvdata/ansi_x3.110.c : Likewise.
33959         * iconvdata/big5.c : Likewise.
33960         * iconvdata/big5hkscs.c : Likewise.
33961         * iconvdata/cp1255.c: Likewise.
33962         * iconvdata/cp1258.c : Likewise.
33963         * iconvdata/cp932.c : Likewise.
33964         * iconvdata/euc-cn.c: Likewise.
33965         * iconvdata/euc-jisx0213.c : Likewise.
33966         * iconvdata/euc-jp.c: Likewise.
33967         * iconvdata/euc-jp-ms.c : Likewise.
33968         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
33969         * iconvdata/gb18030.c : Likewise.
33970         * iconvdata/gbbig5.c (const): Likewise.
33971         * iconvdata/gbgbk.c: Likewise.
33972         * iconvdata/gbk.c : Likewise.
33973         * iconvdata/ibm1364.c : Likewise.
33974         * iconvdata/ibm930.c : Likewise.
33975         * iconvdata/ibm932.c: Likewise.
33976         * iconvdata/ibm933.c : Likewise.
33977         * iconvdata/ibm935.c : Likewise.
33978         * iconvdata/ibm937.c : Likewise.
33979         * iconvdata/ibm939.c : Likewise.
33980         * iconvdata/ibm943.c: Likewise.
33981         * iconvdata/iso_11548-1.c: Likewise.
33982         * iconvdata/iso-2022-cn.c : Likewise.
33983         * iconvdata/iso-2022-cn-ext.c : Likewise.
33984         * iconvdata/iso-2022-jp-3.c: Likewise.
33985         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
33986         * iconvdata/iso-2022-kr.c : Likewise.
33987         * iconvdata/iso646.c (gconv_end): Likewise.
33988         * iconvdata/iso_6937-2.c : Likewise.
33989         * iconvdata/iso_6937.c : Likewise.
33990         * iconvdata/iso8859-1.c: Likewise.
33991         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
33992         * iconvdata/shift_jisx0213.c : Likewise.
33993         * iconvdata/sjis.c : Likewise.
33994         * iconvdata/t.61.c : Likewise.
33995         * iconvdata/tcvn5712-1.c : Likewise.
33996         * iconvdata/tscii.c: Likewise.
33997         * iconvdata/uhc.c : Likewise.
33998         * iconvdata/unicode.c (gconv_end): Likewise.
33999         * iconvdata/utf-16.c (gconv_end): Likewise.
34000         * iconvdata/utf-32.c (gconv_end): Likewise.
34001         * iconvdata/utf-7.c (base64): Likewise.
34002         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34003         * iconv/gconv_close.c (__gconv_close): Likewise.
34004         * iconv/gconv_open.c (__gconv_open): Likewise.
34005         * iconv/gconv_simple.c (internal_ucs4_loop_single)
34006         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34007         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34008         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34009         (ucs4le_internal_loop_single): Likewise.
34010         * iconv/iconv.c (iconv): Likewise.
34011         * iconv/iconv_close.c: Likewise.
34012         * iconv/loop.c (SINGLE): Likewise.
34013         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34014         * include/atomic.h: Likewise.
34015         * inet/inet6_option.c (option_alloc): Likewise.
34016         * intl/bindtextdom.c (set_binding_values): Likewise.
34017         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34018         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34019         * intl/localealias.c (read_alias_file): Likewise.
34020         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34021         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34022         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34023         * libio/fmemopen.c (fmemopen): Likewise.
34024         * libio/iofgets.c (_IO_fgets): Likewise.
34025         * libio/iofgets_u.c (fgets_unlocked): Likewise.
34026         * libio/iofgetws.c (fgetws): Likewise.
34027         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34028         * libio/iogetdelim.c (_IO_getdelim): Likewise.
34029         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34030         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34031         * locale/findlocale.c (_nl_find_locale): Likewise.
34032         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34033         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34034         Likewise.
34035         * locale/setlocale.c (setlocale): Likewise.
34036         * login/programs/pt_chown.c (main): Likewise.
34037         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34038         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34039         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34040         (mmap, mmap64, mremap, munmap): Likewise.
34041         * math/e_exp2l.c: Likewise.
34042         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34043         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34044         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34045         * math/s_catan.c (__catan): Likewise.
34046         * math/s_catanf.c (__catanf): Likewise.
34047         * math/s_catanh.c (__catanh): Likewise.
34048         * math/s_catanhf.c (__catanhf): Likewise.
34049         * math/s_catanhl.c (__catanhl): Likewise.
34050         * math/s_catanl.c (__catanl): Likewise.
34051         * math/s_ccosh.c (__ccosh): Likewise.
34052         * math/s_ccoshf.c (__ccoshf): Likewise.
34053         * math/s_ccoshl.c (__ccoshl): Likewise.
34054         * math/s_cexp.c (__cexp): Likewise.
34055         * math/s_cexpf.c (__cexpf): Likewise.
34056         * math/s_cexpl.c (__cexpl): Likewise.
34057         * math/s_clog10.c (__clog10): Likewise.
34058         * math/s_clog10f.c (__clog10f): Likewise.
34059         * math/s_clog10l.c (__clog10l): Likewise.
34060         * math/s_clog.c (__clog): Likewise.
34061         * math/s_clogf.c (__clogf): Likewise.
34062         * math/s_clogl.c (__clogl): Likewise.
34063         * math/s_csin.c (__csin): Likewise.
34064         * math/s_csinf.c (__csinf): Likewise.
34065         * math/s_csinh.c (__csinh): Likewise.
34066         * math/s_csinhf.c (__csinhf): Likewise.
34067         * math/s_csinhl.c (__csinhl): Likewise.
34068         * math/s_csinl.c (__csinl): Likewise.
34069         * math/s_csqrt.c (__csqrt): Likewise.
34070         * math/s_csqrtf.c (__csqrtf): Likewise.
34071         * math/s_csqrtl.c (__csqrtl): Likewise.
34072         * math/s_ctan.c (__ctan): Likewise.
34073         * math/s_ctanf.c (__ctanf): Likewise.
34074         * math/s_ctanh.c (__ctanh): Likewise.
34075         * math/s_ctanhf.c (__ctanhf): Likewise.
34076         * math/s_ctanhl.c (__ctanhl): Likewise.
34077         * math/s_ctanl.c (__ctanl): Likewise.
34078         * math/w_pow.c: Likewise.
34079         * math/w_powf.c: Likewise.
34080         * math/w_powl.c: Likewise.
34081         * math/w_scalb.c (sysv_scalb): Likewise.
34082         * math/w_scalbf.c (sysv_scalbf): Likewise.
34083         * math/w_scalbl.c (sysv_scalbl): Likewise.
34084         * misc/error.c (error_tail): Likewise.
34085         * misc/pselect.c (__pselect): Likewise.
34086         * nis/nis_callback.c (__nis_create_callback): Likewise.
34087         * nis/nis_call.c (__nisfind_server): Likewise.
34088         * nis/nis_creategroup.c (nis_creategroup): Likewise.
34089         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34090         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34091         * nis/nis_getservlist.c (nis_getservlist): Likewise.
34092         * nis/nis_lookup.c (nis_lookup): Likewise.
34093         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34094         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34095         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34096         * nis/nis_xdr.c (xdr_endpoint): Likewise.
34097         * nis/nss_compat/compat-grp.c (getgrent_next_file)
34098         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34099         * nis/nss_compat/compat-initgroups.c (add_group)
34100         (internal_getgrent_r): Likewise.
34101         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34102         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34103         * nis/nss_compat/compat-spwd.c (getspent_next_file)
34104         (internal_getspnam_r): Likewise.
34105         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34106         (_nss_nis_getaliasbyname_r): Likewise.
34107         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34108         (_nss_nis_getntohost_r): Likewise.
34109         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34110         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34111         (_nss_nis_getgrgid_r): Likewise.
34112         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34113         (internal_nis_gethostent_r, internal_gethostbyname2_r)
34114         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34115         (_nss_nis_gethostbyname4_r): Likewise.
34116         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34117         (initgroups_netid): Likewise.
34118         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34119         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34120         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34121         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34122         (_nss_nis_getprotobynumber_r): Likewise.
34123         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34124         (_nss_nis_getsecretkey): Likewise.
34125         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34126         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34127         (_nss_nis_getpwuid_r): Likewise.
34128         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34129         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34130         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34131         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34132         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34133         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34134         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34135         Likewise.
34136         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34137         (_nss_nisplus_getntohost_r): Likewise.
34138         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34139         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34140         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34141         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34142         Likewise.
34143         * nis/nss_nisplus/nisplus-initgroups.c
34144         (_nss_nisplus_initgroups_dyn): Likewise.
34145         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34146         (_nss_nisplus_getnetbyaddr_r): Likewise.
34147         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34148         (_nss_nisplus_getprotobynumber_r): Likewise.
34149         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34150         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34151         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34152         Likewise.
34153         * nis/nss_nisplus/nisplus-service.c
34154         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34155         (_nss_nisplus_getservbyport_r): Likewise.
34156         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34157         (_nss_nisplus_getspnam_r): Likewise.
34158         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34159         Likewise.
34160         * nscd/aicache.c (addhstaiX): Likewise.
34161         * nscd/cache.c (cache_search, prune_cache): Likewise.
34162         * nscd/connections.c (register_traced_file, send_ro_fd)
34163         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34164         (main_loop_epoll): Likewise.
34165         * nscd/grpcache.c (addgrbyX): Likewise.
34166         * nscd/hstcache.c (addhstbyX): Likewise.
34167         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34168         * nscd/mem.c (gc, mempool_alloc): Likewise.
34169         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34170         (addinnetgrX): Likewise.
34171         * nscd/nscd-client.h (__nscd_acquire_maplock)
34172         (__nscd_drop_map_ref): Likewise.
34173         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34174         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34175         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34176         Likewise.
34177         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34178         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34179         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34180         (__nscd_get_map_ref): Likewise.
34181         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34182         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34183         Likewise.
34184         * nscd/pwdcache.c (addpwbyX): Likewise.
34185         * nscd/selinux.c (preserve_capabilities): Likewise.
34186         * nscd/servicescache.c (addservbyX): Likewise.
34187         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34188         * posix/fnmatch.c (fnmatch): Likewise.
34189         * posix/getopt.c (_getopt_internal_r): Likewise.
34190         * posix/glob.c (glob, glob_in_dir): Likewise.
34191         * posix/wordexp.c (exec_comm_child): Likewise.
34192         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34193         (getanswer_r, gaih_getanswer_slice): Likewise.
34194         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34195         * resolv/res_init.c: Likewise.
34196         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34197         * resolv/res_query.c (__libc_res_nquery): Likewise.
34198         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34199         Likewise.
34200         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34201         * stdio-common/perror.c (perror): Likewise.
34202         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34203         * stdio-common/tmpnam.c (tmpnam): Likewise.
34204         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34205         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34206         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34207         Likewise.
34208         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34209         * stdlib/putenv.c (putenv): Likewise.
34210         * stdlib/setenv.c (__add_to_environ): Likewise.
34211         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34212         * stdlib/strtol_l.c (INTERNAL): Likewise.
34213         * string/memmem.c (memmem): Likewise.
34214         * string/strerror.c (strerror): Likewise.
34215         * string/strnlen.c (__strnlen): Likewise.
34216         * string/test-memmem.c (simple_memmem): Likewise.
34217         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34218         * sunrpc/pm_getport.c (__get_socket): Likewise.
34219         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34220         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34221         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34222         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34223         Likewise.
34224         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34225         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34226         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34227         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34228         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34229         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34230         Likewise.
34231         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34232         Likewise.
34233         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34234         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34235         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34236         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34237         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34239         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34240         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34241         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34242         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34243         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34244         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34245         Likewise.
34246         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34247         Likewise.
34248         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34249         Likewise.
34250         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34251         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34252         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34253         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34254         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34255         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34256         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34257         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34258         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34259         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34260         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34261         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34262         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34263         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34264         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34265         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34266         Likewise.
34267         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34268         Likewise.
34269         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34270         Likewise.
34271         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34272         Likewise.
34273         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34274         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34275         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34276         Likewise.
34277         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34278         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34279         * sysdeps/posix/opendir.c (__opendirat): Likewise.
34280         * sysdeps/posix/sleep.c: Likewise.
34281         * sysdeps/posix/tempname.c: Likewise.
34282         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34283         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34284         Likewise.
34285         * sysdeps/powerpc/powerpc32/dl-machine.h
34286         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34287         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34288         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34289         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34290         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34291         Likewise.
34292         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34293         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34294         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34295         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34296         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34297         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34298         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34299         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34300         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34301         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34302         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34303         (elf_machine_lazy_rel): Likewise.
34304         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34305         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34306         (elf_machine_lazy_rel): Likewise.
34307         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34308         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34309         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34310         * sysdeps/unix/grantpt.c (grantpt): Likewise.
34311         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34312         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34313         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34314         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34315         Likewise.
34316         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34317         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34318         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34319         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34320         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34321         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34322         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34323         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34324         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34325         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34326         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34327         Likewise.
34328         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34329         (__posix_fallocate64_l64): Likewise.
34330         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34331         (posix_fallocate): Likewise.
34332         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34333         Likewise.
34334         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34335         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34336         (getifaddrs_internal): Likewise.
34337         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34338         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34339         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34340         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34341         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34342         (__posix_fallocate64_l64): Likewise.
34343         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34344         Likewise.
34345         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34346         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34347         (__get_clockfreq): Likewise.
34348         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34349         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34350         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34351         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34352         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34353         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34354         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34355         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34356         Likewise.
34357         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34358         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34359         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34360         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34361         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34362         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34363         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34364         Likewise.
34365         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34366         (posix_fallocate): Likewise.
34367         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34368         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34369         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34370         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34371         (elf_machine_rela, elf_machine_rela_relative)
34372         (elf_machine_lazy_rel): Likewise.
34373         * time/asctime.c (asctime_internal): Likewise.
34374         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34375         * time/tzset.c (__tzset_parse_tz): Likewise.
34376         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34377         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34378         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34379         * wcsmbs/wcsmbsload.h: Likewise.
34381         [BZ #15894]
34382         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34384         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34385         (arena_get2): Remove THREAD_STATS conditionals.
34386         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34387         (__malloc_stats, int): Likewise.
34389 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34391         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34392         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34394         * manual/setjmp.texi: Fix typos/grammar errors.
34396         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34397         Only return early when n is <= 0.  Delete unused return statement.
34399         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34400         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34401         * debug/tst-longjmp_chk3.c: New file.
34403         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34404         (test_main): Replace code with set_fortify_handler call.
34405         * debug/test-strcpy_chk.c: Likewise.
34406         * debug/tst-chk1.c: Likewise.
34407         * debug/tst-longjmp_chk.c: Likewise.
34408         * test-skeleton.c: Include fcntl.h & paths.h
34409         (set_fortify_handler): Define.
34411         * debug/tst-longjmp_chk.c: Add header comment and include
34412         ../test-skeleton.c.
34413         (do_test): Mark static.
34414         (TEST_FUNCTION): Define.
34416         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34417         (IP_PMTUDISC_INTERFACE): Likewise.
34418         (IP_MULTICAST_IF): Likewise.
34419         (IP_MULTICAST_TTL): Likewise.
34420         (IP_MULTICAST_LOOP): Likewise.
34421         (IP_ADD_MEMBERSHIP): Likewise.
34422         (IP_DROP_MEMBERSHIP): Likewise.
34423         (IP_UNBLOCK_SOURCE): Likewise.
34424         (IP_BLOCK_SOURCE): Likewise.
34425         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34426         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34427         (IP_MSFILTER): Likewise.
34428         (MCAST_JOIN_GROUP): Likewise.
34429         (MCAST_BLOCK_SOURCE): Likewise.
34430         (MCAST_UNBLOCK_SOURCE): Likewise.
34431         (MCAST_LEAVE_GROUP): Likewise.
34432         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34433         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34434         (MCAST_MSFILTER): Likewise.
34435         (IP_MULTICAST_ALL): Likewise.
34436         (IP_UNICAST_IF): Likewise.
34438         * timezone/Makefile: Delete $(have-ksh) check.
34439         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34440         * timezone/tzselect.ksh: Add +x mode bits.
34442         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34443         (ANON_INODE_FS_MAGIC): Likewise.
34444         (BDEVFS_MAGIC): Likewise.
34445         (BINFMTFS_MAGIC): Likewise.
34446         (BTRFS_TEST_MAGIC): Likewise.
34447         (CRAMFS_MAGIC_WEND): Likewise.
34448         (DEBUGFS_MAGIC): Likewise.
34449         (ECRYPTFS_SUPER_MAGIC): Likewise.
34450         (EXT3_SUPER_MAGIC): Likewise.
34451         (EXT4_SUPER_MAGIC): Likewise.
34452         (FUTEXFS_SUPER_MAGIC): Likewise.
34453         (HOSTFS_SUPER_MAGIC): Likewise.
34454         (HUGETLBFS_MAGIC): Likewise.
34455         (MINIX3_SUPER_MAGIC): Likewise.
34456         (MTD_INODE_FS_MAGIC): Likewise.
34457         (NILFS_SUPER_MAGIC): Likewise.
34458         (OPENPROM_SUPER_MAGIC): Likewise.
34459         (PIPEFS_MAGIC): Likewise.
34460         (PSTOREFS_MAGIC): Likewise.
34461         (QNX6_SUPER_MAGIC): Likewise.
34462         (RAMFS_MAGIC): Likewise.
34463         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34464         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34465         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34466         (SECURITYFS_MAGIC): Likewise.
34467         (SELINUX_MAGIC): Likewise.
34468         (SMACK_MAGIC): Likewise.
34469         (SOCKFS_MAGIC): Likewise.
34470         (SQUASHFS_MAGIC): Likewise.
34471         (STACK_END_MAGIC): Likewise.
34472         (TMPFS_MAGIC): Likewise.
34473         (USBDEVICE_SUPER_MAGIC): Likewise.
34474         (V9FS_MAGIC): Likewise.
34475         (XENFS_SUPER_MAGIC): Likewise.
34476         (CRAMFS_MAGIC): Fix typo in comment.
34477         (EXT2_SUPER_MAGIC): Update comment.
34478         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34480 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34482         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34483         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34484         * sysdeps/unix/sysv/linux/arm: Move directory from
34485         ports/sysdeps/unix/sysv/linux/arm.
34486         * README: Update listing for arm-*-linux-gnueabi.
34488         * README: Remove mention of am33.
34490 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34492         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34493         than the comma operator, to avoid "rhs of comma has no effect"
34494         compiler warnings.
34495         (__sigfillset, __sigandset, __sigorset): Likewise.
34496         * include/signal.h (__sigemptyset): Likewise.
34497         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34499 2014-02-07  Allan McRae  <allan@archlinux.org>
34501         * version.h (RELEASE): Set to "development".
34502         (VERSION): Set to "2.19.90"
34503         * NEWS: Add 2.20 section.
34505 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34507         [BZ #16529]
34508         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34510 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34512         * manual/contrib.texi: Update entry for Carlos O'Donell,
34513         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34515 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34517         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34519         * sysdeps/unix/sysv/linux/kernel-features.h
34520         [__LINUX_KERNEL_VERSION >= 0x020621]
34521         (__ASSUME_PROC_PID_TASK_COMM): Define.
34523 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34525         [BZ #16398]
34526         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34527         conversion when destination buffer does not have enough space.
34528         * libio/tst-ftell-partial-wide.c: New test case.
34529         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34531         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34532         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34533         Leonard and Allan McRae.
34535 2014-02-04  David S. Miller  <davem@davemloft.net>
34537         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34538         32-bit.
34540 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34543         New file
34544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34545         New file
34546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34547         New file.
34548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34549         New file.
34550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34551         New file.
34552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34553         New file.
34554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34555         New file.
34556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34557         New file.
34558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34559         New file.
34560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34561         New file.
34562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34563         New file.
34564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34565         New file.
34566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34567         New file.
34569 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34571         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34572         * shlib-versions: Likewise.
34574 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34575             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34577         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34578         (abilist-pattern): New variable, set to %-le.abilist.
34580         * Makerules (abilist-pattern): New variable.
34581         (vpath): Use $(abilist-pattern) in place of %.abilist.
34582         (check-abi-% pattern rule): Likewise.
34583         (check-abi, update-abi): Likewise.
34585 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34589 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34591         * manual/startup.texi: Add next, previous, and top entries for
34592         the `Program Arguments' and `Environment Variables' nodes.
34594 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34596         * manual/macros.texi: Add comments before MTASC-safety macros.
34598         * manual/users.texi: Document MTASC-safety properties.
34600         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34601         (pthread_getspecific, pthread_setspecific): Format with
34602         @deftypefun, and add @safety note.
34603         * manual/signal.texi: Move comments that analyze the above
34604         functions to their home place.
34606 2014-02-03  Allan McRae  <allan@archlinux.org>
34608         * po/sl.po: Update Slovenian translation from translation project.
34610 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34612         * manual/time.texi (timegm): Add missing blank after @c.
34613         Reported by Joseph Myers <joseph@codesourcery.com>.
34615 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34617         * manual/check-safety.sh: New.
34618         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34620         * manual/terminal.texi: Document MTASC-safety properties.
34622         * manual/filesys.texi: Document MTASC-safety properties.
34624         * manual/errno.texi: Document MTASC-safety properties.
34626         * manual/intro.texi: Document safety identifiers and
34627         conditionals.
34629         * manual/string.texi (wcstok): Fix prototype.
34630         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34632         * manual/time.texi: Document MTASC-safety properties.
34634         * manual/string.texi: Document MTASC-safety properties.
34636         * manual/threads.texi: Document MTASC-safety properties.
34638         * manual/stdio.texi: Document MTASC-safety properties.
34640         * manual/syslog.texi: Document MTASC-safety properties.
34642         * manual/sysinfo.texi: Document MTASC-safety properties.
34644         * manual/startup.texi: Document MTASC-safety properties.
34646         * manual/socket.texi: Document MTASC-safety properties.
34648         * manual/signal.texi: Document MTASC-safety properties.
34650 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34652         * manual/setjmp.texi: Document MTASC-safety properties.
34654         * manual/search.texi: Document MTASC-safety properties.
34656         * manual/resource.texi: Document MTASC-safety properties.
34658         * manual/process.texi: Document MTASC-safety properties.
34660         * manual/platform.texi: Document MTASC-safety properties.
34662         * manual/pipe.texi: Document MTASC-safety properties.
34664         * manual/pattern.texi: Document MTASC-safety properties.
34666         * manual/message.texi: Document MTASC-safety properties.
34668         [BZ #12751]
34669         * manual/memory.texi: Document MTASC-safety properties.
34671         * manual/math.texi: Document MTASC-safety properties.
34673         * manual/locale.texi: Document MTASC-safety properties.
34675         * manual/llio.texi: Document MTASC-safety properties.
34677         * manual/libdl.texi: New.
34679         * manual/lang.texi: Document MTASC-safety properties.
34681         * manual/job.texi: Document MTASC-safety properties.
34683         * manual/getopt.texi: Document MTASC-safety properties.
34685         * manual/ctype.texi: Document MTASC-safety properties.
34687 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34689         [BZ #16046]
34690         * csu/libc-tls.c (static_map): Remove variable.
34691         (__libc_setup_tls): Use main executable's link map for TLS data.
34692         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34693         casing for LM_ID_BASE and GL(dl_nns).
34694         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34695         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34696         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34697         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34698         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34699         member.
34700         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34701         l_phnum members.
34703 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34705         * manual/debug.texi: Document MTASC-safety properties.
34707 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34709         [BZ #16510]
34710         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34711         of __x86_64__ when disabling x87 inline functions.
34713 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34715         * manual/charset.texi: Document MTASC-safety properties.
34717         * manual/crypt.texi: Document MTASC-safety properties.
34719         * manual/conf.texi: Document MTASC-safety properties.
34721         * manual/arith.texi: Document MTASC-safety properties.
34723         * manual/argp.texi: Document MTASC-safety properties.
34725         * manual/macros.texi: Introduce macros to document multi
34726         thread, asynchronous signal and asynchronous cancellation
34727         safety properties.
34728         * manual/intro.texi: Introduce the properties themselves.
34730 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34732         * sysdeps/sh/sh4/Makefile: New file.
34734 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
34736         * math/gen-libm-test.pl ($srcdir): New variable.
34737         ($auto_input): Use it.
34739 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34741         [BZ #16506]
34742         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34743         access beyond array bounds when parsing netgroups file.
34745         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34746         the old buffer before realloc.
34748 2014-01-27  Allan McRae  <allan@archlinux.org>
34750         * po/fr.po: Update French translation from translation project.
34752 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34754         * sysdeps/sh/libm-test-ulps: Regenerate.
34756 2014-01-24  David S. Miller  <davem@davemloft.net>
34758         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34760 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34762         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34763         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34765 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34767         [BZ #16474]
34768         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34769         string pointers after reallocation.
34771 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34773         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34774         __SH4A__ instead of __SH_FPU_ANY__.
34776 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34778         * sysdeps/sh/fpu_control.h: New file.
34779         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34780         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34781         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34782         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34783         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34784         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34785         * sysdeps/sh/sys/ucontext.h: Remove.
34786         * sysdeps/sh/sys: Remove directory.
34788 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34790         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34791         s390/sys/ucontext.h.
34792         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34793         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34795 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34797         [BZ #15605]
34798         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
34800 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34802         [BZ#16431]
34803         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34804         Adjust the vDSO correctly for internal calls.
34805         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
34807 2014-01-20  Allan McRae  <allan@archlinux.org>
34809         * po/ca.po: Update Catalan translation from translation project.
34811 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
34813         * sysdeps/s390/sotruss-lib.c: New file.
34815 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34817         [BZ#16430]
34818         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
34819         (__GI___gettimeofday): Alias for a different internal symbol to avoid
34820         local calls issues by not having a PLT stub required for IFUNC calls.
34821         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
34823 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
34825         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
34826         * math/test-fpucw-static.c: Likewise.
34828 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34830         [BZ #16453]
34831         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
34833 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34835         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
34836         implementation for powerpc.
34838 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
34840         [BZ #14782]
34841         * sysdeps/posix/system.c (__libc_system): Do not enable
34842         asynchronous cancellation.
34844 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34846         [BZ #16427]
34847         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
34848         handling only for numbers special also in the IEEE case.
34850 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34852         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34854 2014-01-11  Allan McRae  <allan@archlinux.org>
34856         * po/bg.po: Update Bulgarian translation from translation project.
34858         * po/de.po: Update German translation from translation project.
34860 2014-01-10  Roland McGrath  <roland@hack.frob.com>
34862         * sysdeps/generic/gcc-compat.h: New file.
34864 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34866         * benchtests/asin-inputs: Correct slow inputs.
34867         * benchtests/acos-inputs: Likewise.
34869 2014-01-10  Allan McRae  <allan@archlinux.org>
34871         * po:sv.po: Update Swedish translation from translation project.
34873         * po/vi.po: Update Vietnamese translation from translation project.
34875         * po/eo.po: Update Esperanto translation from translation project.
34877         * po/cs.po: Update Czech translation from translation project.
34879         * po/nl.po: Update Dutch translation from translation project.
34881         * po/pl.po: Update Polish translation from translation project.
34883         * po/ru.po: Update Russian translation from translation project.
34885         * po/uk.po: Update Ukrainian translation from translation project.
34887 2014-01-08  Brooks Moses  <bmoses@google.com>
34889         * elf/dl-load.c: Fix comment typo.
34891 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
34893         * po/header.pot: Rename to...
34894         * po/pot.header: ... this.
34895         * po/Makefile: Use pot.header.
34897 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
34898             Maxim Kuvyrkov  <maxim@kugelworks.com>
34900         [BZ #16394]
34901         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
34902         SRC and DEST against LEN.
34904 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34906         [BZ #16414]
34907         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
34908         implementation.
34909         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
34911 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34915 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
34917         [BZ #16408]
34918         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
34919         for large positive arguments.
34921 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
34923         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34925         * math/auto-libm-test-in: Mark various tests with
34926         xfail-rounding:ldbl-128ibm.
34927         * math/auto-libm-test-out: Regenerated.
34929         [BZ #16407]
34930         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34931         Increase overflow threshold.
34933 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
34935         [BZ #14286]
34936         * stdio-common/vfprintf.c: Check for integer overflow.
34938 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34940         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
34941         the first argument and return value of __tls_get_addr_internal.
34943 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34945         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
34946         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
34948 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34950         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
34951         * sysdeps/s390/rtld-global-offsets.sym: New file.
34952         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
34953         GLIBC_2.19 symbol.
34954         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
34955         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
34956         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34957         ... this.
34958         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
34959         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34960         ... this.
34961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34962         Regenerate.
34963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34964         Regenerate.
34965         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
34966         halfs of GPRs for high_gprs contexts.
34967         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
34968         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
34969         field.
34970         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
34971         uc_flags field.
34972         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
34973         64 bit versions:
34974         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
34975         for high GPRs (uc_high_gprs) and for future extensions
34976         (__reserved).
34977         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
34978         for future extensions (__reserved).
34979         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
34980         64 bit versions:
34981         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
34982         SC_HIGHGPRS offset definition.
34983         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
34984         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
34986         * Versions.def: Add GLIBC_2.19 for libpthread.
34987         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
34988         siglongjmp for libpthread with GLIBC_2.19 symver.
34989         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
34990         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
34991         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
34992         * sysdeps/s390/__longjmp.c: New file.
34993         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
34994         * sysdeps/s390/longjmp.c: New file.
34995         * sysdeps/s390/setjmp.S: New file.
34996         * sysdeps/s390/sigjmp.S: New file.
34997         * sysdeps/s390/v1-longjmp.c: New file.
34998         * sysdeps/s390/v1-setjmp.h: New file.
34999         * sysdeps/s390/v1-sigjmp.c: New file.
35000         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35001         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35002         GLIBC_2.19 version.
35003         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35004         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35005         versioned symbols for ____longjmp_chk.
35006         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35007         Likewise.
35008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35009         Regenerate.
35010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35011         Regenerate.
35012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35013         Regenerate.
35014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35015         Regenerate.
35016         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35017         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35018         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35019         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35020         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35021         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35022         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35023         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35024         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35025         * sysdeps/s390/rtld-__longjmp.c: New file.
35026         * sysdeps/s390/rtld-setjmp.S: New file.
35028 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
35030         [BZ #16400]
35031         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35032         Return -__logl (x) for small positive arguments without evaluating
35033         a polynomial.
35035 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
35037         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35038         Rename to ...
35039         (__ptrace_peeksiginfo_args): ... this.
35040         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35041         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35042         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35044 2014-01-06  Allan McRae  <allan@archlinux.org>
35046         * inet/netinet/in.h: Fix typo in comment.
35048 2014-01-05  Andreas Jaeger  <aj@suse.de>
35050         * sysdeps/i386/fpu/libm-test-ulps: Update.
35052 2014-01-05  Allan McRae  <allan@archlinux.org>
35054         * po/libc.pot: Regenerated.
35056         * malloc/memusagestat.c: Fix gettext call formatting.
35058 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
35060         * nscd/nscd.c: Improve usage() output.
35062 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
35064         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35065         * sysdeps/unix/sysv/linux/configure: Regenerated.
35066         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35067         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35069 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35071         [BZ #16390]
35072         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35073         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35075 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35077         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35078         extra tokens at end of #undef directive.
35079         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35080         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35081         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35083 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35085         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35087         * math/auto-libm-test-in: Mark various tests with
35088         xfail-rounding:ldbl-128ibm.
35089         * math/auto-libm-test-out: Regenerated.
35091 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
35093         [BZ #16386]
35094         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35095         numbers with subnormal high part when calculating exponent.
35097         [BZ #16385]
35098         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35099         fabs.
35101         [BZ #16384]
35102         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35103         M_LN2l.
35104         (__ieee754_acoshl): Use __log1pl not __log1p.
35106 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
35108         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35109         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35110         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35111         (grow_heap, heap_trim, _int_new_arena, get_free_list)
35112         (reused_arena, arena_get2): Convert to GNU style.
35113         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35114         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35115         (memalign_check, __malloc_set_state): Likewise.
35116         * malloc/mallocbug.c (main): Likewise.
35117         * malloc/malloc.c (__malloc_assert, malloc_init_state)
35118         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35119         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35120         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35121         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35122         (__posix_memalign, malloc_info): Likewise.
35123         * malloc/malloc.h: Likewise.
35124         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35125         (mallochook, memalignhook, reallochook, mabort): Likewise.
35126         * malloc/mcheck.h: Likewise.
35127         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35128         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35129         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35130         * malloc/morecore.c (__default_morecore): Likewise.
35131         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35132         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35133         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35134         (print_and_abort): Likewise.
35135         * malloc/obstack.h: Likewise.
35136         * malloc/set-freeres.c (__libc_freeres): Likewise.
35137         * malloc/tst-mallocstate.c (main): Likewise.
35138         * malloc/tst-mtrace.c (main): Likewise.
35139         * malloc/tst-realloc.c (do_test): Likewise.
35141 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35143         [BZ #16366]
35144         * nscd/netgroupcache.c (do_notfound): New function.
35145         (addgetnetgrentX): Use it.
35147         [BZ # 16365]
35148         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35149         NSS_STATUS_NOTFOUND.
35151 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35153         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35156 2014-01-01  Allan McRae  <allan@archlinux.org>
35158         * scripts/update-copyrights: Update configure input file suffix.
35160         * NEWS: Update copyright year.
35161         * catgets/gencat.c: Likewise.
35162         * csu/version.c: Likewise.
35163         * debug/catchsegv.sh: Likewise.
35164         * debug/pcprofiledump.c: Likewise.
35165         * debug/xtrace.sh: Likewise.
35166         * elf/ldconfig.c: Likewise.
35167         * elf/ldd.bash.in: Likewise.
35168         * elf/pldd.c: Likewise.
35169         * elf/sotruss.ksh: Likewise.
35170         * elf/sprof.c: Likewise.
35171         * iconv/iconv_prog.c: Likewise.
35172         * iconv/iconvconfig.c: Likewise.
35173         * locale/programs/locale.c: Likewise.
35174         * locale/programs/localedef.c: Likewise.
35175         * login/programs/pt_chown.c: Likewise.
35176         * malloc/memusage.sh: Likewise.
35177         * malloc/memusagestat.c: Likewise.
35178         * malloc/mtrace.pl: Likewise.
35179         * manual/libc.texinfo: Likewise.
35180         * nscd/nscd.c: Likewise.
35181         * nss/getent.c: Likewise.
35182         * nss/makedb.c: Likewise.
35183         * posix/getconf.c: Likewise.
35184         * scripts/test-installation.pl: Likewise.
35186         * All files with FSF copyright notices: Update copyright dates
35187         using scripts/update-copyrights.
35188         * intl/plural.c: Regenerated.
35189         * locale/programs/charmap-kw.h: Likewise.
35190         * locale/programs/locfile-kw.h: Likewise.
35192 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35194         * sysdeps/unix/sysv/linux/configure: Regenerated.
35195         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35196         the linux/fanotify.h header.
35197         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35198         HAVE_LINUX_FANOTIFY_H is defined.
35200 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35202         * benchtests/cos-inputs: New inputs.
35203         * benchtests/sin-inputs: Likewise.
35205         * benchtests/atan-inputs: New inputs. Fix name of multiple
35206         precision fallback inputs.
35208         * benchtests/atanh-inputs: New inputs.
35209         * benchtests/tanh-inputs: Likewise.
35211         * benchtests/acosh-inputs: New inputs.
35212         * benchtests/asinh-inputs: Likewise.
35214         * benchtests/cosh-inputs: New inputs.
35215         * benchtests/sinh-inputs: Likewise.
35217         * benchtests/acos-inputs: Add more inputs.
35218         * benchtests/asin-inputs: Likewise.
35220 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35222         [BZ #16375]
35223         * manual/arith.texi: Fix spelling.
35224         * manual/charset.texi: Likewise.
35225         * manual/errno.texi: Likewise.
35226         * manual/filesys.texi: Likewise.
35227         * manual/lang.texi: Likewise.
35228         * manual/llio.texi: Likewise.
35229         * manual/locale.texi: Likewise.
35230         * manual/message.texi: Likewise.
35231         * manual/resource.texi: Likewise.
35232         * manual/search.texi: Likewise.
35233         * manual/setjmp.texi: Likewise.
35234         * manual/stdio.texi: Likewise.
35235         * manual/string.texi: Likewise.
35236         * manual/sysinfo.texi: Likewise.
35237         * manual/time.texi: Likewise.
35239 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35241         * po/sl.po: New file.
35243 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35245         * .gitignore: Add core/.gdbinit/.gdb_history.
35247 2013-12-27  Allan McRae  <allan@archlinux.org>
35249         [BZ #16369]
35250         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35251         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35253 2013-12-24  Brooks Moses  <bmoses@google.com>
35255         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35256         all compilers that claim C++98 compliance, not just GCC.
35257         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35258         Likewise.
35260 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35262         * NEWS: Restore accidentally deleted bug-fix entries.
35264 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35265             Ondřej Bílka  <neleai@seznam.cz>
35267         [BZ #15073]
35268         * malloc/malloc.c (_int_free): Perform sanity check only if we
35269         have_lock.
35271 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35273         [BZ #12986]
35274         * manual/stdio.texi (String Input Conversions): Clarify that character
35275         classes are not supported.
35277 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35281 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
35283         [BZ #16337]
35284         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35285         Calculate results for small negative arguments directly rather
35286         than using reflection formula with special underflow handling.
35288         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35289         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35290         sysdeps/unix/bsd/bsd4.4/syscalls.list.
35291         (fchflags): Likewise.
35292         (revoke): Likewise.
35293         (setlogin): Likewise.
35294         (sigaltstack): Likewise.
35295         (wait4): Likewise.
35296         (sigblock): Remove.
35297         (sigsetmask): Likewise.
35298         (wait3): Likewise.
35299         (waitpid): Likewise.
35300         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35301         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35302         file.
35303         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35304         * sysdeps/unix/bsd/Makefile: ... here.
35305         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35306         * sysdeps/unix/bsd/Versions: ... here.
35307         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35308         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35309         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35310         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35311         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35312         * sysdeps/unix/bsd/sigblock.c: ... here.
35313         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35314         * sysdeps/unix/bsd/sigsetmask.c: ... here.
35315         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35316         * sysdeps/unix/bsd/sigvec.c: ... here.
35317         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35318         * sysdeps/unix/bsd/tcdrain.c: ... here.
35319         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35320         * sysdeps/unix/bsd/tcgetattr.c: ... here.
35321         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35322         * sysdeps/unix/bsd/tcsetattr.c: ... here.
35323         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35324         * sysdeps/unix/bsd/wait.c: ... here.
35325         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35326         * sysdeps/unix/bsd/wait3.c: ... here.
35327         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35328         * sysdeps/unix/bsd/waitpid.c: ... here.
35330 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
35332         [BZ #16356]
35333         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35334         round-to-nearest for [!USE_AS_EXPM1L].
35335         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35336         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
35337         more tests of exp and exp10.  Expect some exp10 tests to miss
35338         exceptions or fail in directed rounding modes.
35339         * math/auto-libm-test-out: Regenerated.
35340         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35341         (exp10_test_tonearest): New function.
35342         (exp10_towardzero_test_data): New array.
35343         (exp10_test_towardzero): New function.
35344         (exp10_downward_test_data): New array.
35345         (exp10_test_downward): New function.
35346         (exp10_upward_test_data): New array.
35347         (exp10_test_upward): New function.
35348         (main): Call the new functions.
35349         * sysdeps/i386/fpu/libm-test-ulps: Update.
35350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35352 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35354         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35355         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35356         * math/auto-libm-test-out: Regenerated.
35357         * math/libm-test.inc (acosh_test_data): Add more tests.
35358         (atanh_test_data): Likewise.
35359         (ceil_test_data): Likewise.
35360         (copysign_test_data): Likewise.
35361         * sysdeps/i386/fpu/libm-test-ulps: Update.
35362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35364         * timezone/checktab.awk: Update from tzcode 2013i.
35365         * timezone/private.h: Likewise.
35366         * timezone/scheck.c: Likewise.
35367         * timezone/tzfile.h: Likewise.
35368         * timezone/tzselect.ksh: Likewise.
35369         * timezone/zdump.c: Likewise.
35370         * timezone/zic.c: Likewise.
35372         * math/auto-libm-test-in: Add tests of cpow.
35373         * math/auto-libm-test-out: Regenerated.
35374         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35375         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35376         mpc_cc_c.
35377         (func_calc_desc): Add mpc_cc_c union field.
35378         (test_functions): Add cpow.
35379         (special_fill_2pi): New function.
35380         (special_real_inputs): Add 2pi.
35381         (calc_generic_results): Handle mpc_cc_c.
35382         * sysdeps/i386/fpu/libm-test-ulps: Update.
35383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35385         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35386         csqrt, ctan and ctanh.
35387         * math/auto-libm-test-out: Regenerated.
35388         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35389         (TEST_COND_x86): Likewise.
35390         (ccos_test_data): Use AUTO_TESTS_c_c.
35391         (ccosh_test_data): Likewise.
35392         (cexp_test_data): Likewise.
35393         (clog_test_data): Likewise.
35394         (csqrt_test_data): Likewise.
35395         (ctan_test_data): Likewise.
35396         (ctan_tonearest_test_data): Likewise.
35397         (ctan_towardzero_test_data): Likewise.
35398         (ctan_downward_test_data): Likewise.
35399         (ctan_upward_test_data): Likewise.
35400         (ctanh_test_data): Likewise.
35401         (ctanh_tonearest_test_data): Likewise.
35402         (ctanh_towardzero_test_data): Likewise.
35403         (ctanh_downward_test_data): Likewise.
35404         (ctanh_upward_test_data): Likewise.
35405         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35406         mpc_c_c.
35407         (func_calc_desc): Add mpc_c_c union field.
35408         (FUNC_mpc_c_c): New macro.
35409         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35410         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35411         ctanh.
35412         (special_fill_min_subnorm_p120): New function.
35413         (special_real_inputs): Add min_subnorm_p120.
35414         (calc_generic_results): Handle mpc_c_c.
35415         * sysdeps/i386/fpu/libm-test-ulps: Update.
35416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35418 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35420         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35421         (do_sin_slow): New functions.
35422         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35423         (cslow2, csloww1, csloww2): Use the new functions.
35425         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35426         Use M to change sign of result instead of X.  Assume X is
35427         positive.
35428         (csloww1): Likewise.
35429         (__sin): Adjust.
35430         (__cos): Adjust.
35432         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35433         arguments A and DA.
35434         (__sin): Adjust.
35435         (__cos): Likewise.
35437         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35438         (__cos): Likewise.
35439         (sloww1): Don't adjust sign of DX.
35440         (csloww1): Likewise.
35441         (sloww2): Use X directly and don't adjust sign of DX.
35442         (csloww2): Likewise.
35444 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35446         * math/auto-libm-test-in: Add tests of cabs and carg.
35447         * math/auto-libm-test-out: Regenerated.
35448         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35449         (carg_test_data): Likewise.
35450         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35451         mpc_c_f.
35452         (func_calc_desc): Add mpc_c_f union field.
35453         (test_functions): Add cabs and carg.
35454         (calc_generic_results): Handle mpc_c_f.
35456         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35457         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35458         as a macro and a compat symbol.
35459         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35460         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35461         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35462         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35463         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35464         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35465         not use .hidden.
35466         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35467         Likewise.
35468         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35469         Likewise.
35470         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35471         Likewise.
35472         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35473         Likewise.
35474         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35475         Likewise.
35476         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35477         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35478         from GLIBC_2.3.2.
35480 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35484 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35486         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35487         trailing whitespace removed.
35488         * scripts/config.guess: Update to version 2013-11-29.
35489         * scripts/config.sub: Update to version 2013-10-01.
35491         * math/auto-libm-test-in: Add tests of sincos.
35492         * math/auto-libm-test-out: Regenerated.
35493         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35494         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35495         mpfr_f_11.
35496         (func_calc_desc): Add mpfr_f_11 union field.
35497         (test_functions): Add sincos.
35498         (calc_generic_results): Handle mpfr_f_11.
35499         * sysdeps/i386/fpu/libm-test-ulps: Update.
35500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35502 2013-12-19  Andreas Schwab  <schwab@suse.de>
35504         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35505         CALL_MCOUNT.
35506         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35507         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35508         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35510 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35512         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35513         * sysdeps/i386/fpu/libm-test-ulps: Update.
35514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35516         [BZ #16293]
35517         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35518         round-to-nearest mode when using frndint.
35519         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35520         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35521         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35522         Likewise.
35523         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35524         sinh test to fail.
35525         * math/auto-libm-test-out: Regenerated.
35526         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35527         (TEST_COND_x86): Likewise.
35528         (expm1_tonearest_test_data): New array.
35529         (expm1_test_tonearest): New function.
35530         (expm1_towardzero_test_data): New array.
35531         (expm1_test_towardzero): New function.
35532         (expm1_downward_test_data): New array.
35533         (expm1_test_downward): New function.
35534         (expm1_upward_test_data): New array.
35535         (expm1_test_upward): New function.
35536         (main): Run the new test functions.
35537         * sysdeps/i386/fpu/libm-test-ulps: Update.
35538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35540         * include/features.h: Update comment documenting feature test
35541         macros.  Mention _DEFAULT_SOURCE in comment.
35542         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35543         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35544         _BSD_SOURCE and _SVID_SOURCE.
35545         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35546         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35547         !_SVID_SOURCE]: Likewise.
35548         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35549         (__USE_POSIX_IMPLICITLY): Define.
35550         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35551         (_POSIX_SOURCE): Undefine and redefine.
35552         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35553         (_POSIX_C_SOURCE): Likewise.
35554         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35555         (Feature Test Macros): Update documentation of default features.
35557 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35559         * benchtests/Makefile: Add bench-strtok.
35560         * benchtests/bench-strtok.c: New file: strtok benchtest.
35562 2013-12-19  Allan McRae  <allan@archlinux.org>
35564         * manual/install.texi: Suppress menu for plain text output.
35565         * INSTALL: Regenerated.
35567 2013-12-18  Brooks Moses  <bmoses@google.com>
35569         [BZ #15846]
35570         * misc/getauxval.c: Include errno.h.
35571         (__getauxval): Set errno to ENOENT if the requested type is not
35572         found.
35573         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35574         don't declare with __attribute_const__.
35575         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35576         * manual/startup.texi: Document that getauxval sets errno.
35578 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35580         * math/auto-libm-test-in: Add tests of jn and yn.
35581         * math/auto-libm-test-out: Regenerated.
35582         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35583         (yn_test_data): Likewise.
35584         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35585         mpfr_if_f.
35586         (func_calc_desc): Add mpfr_if_f union field.
35587         (FUNC_mpfr_if_f): New macro.
35588         (test_functions): Add jn and yn.
35589         (calc_generic_results): Assert type of second input for
35590         mpfr_ff_f.  Handle mpfr_if_f.
35591         (output_for_one_input_case): Disable all checking for arguments
35592         fitting floating-point types in case of an integer argument.
35593         * sysdeps/i386/fpu/libm-test-ulps: Update.
35594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35597         Don't expect fegetround reference in libm.so.
35599 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35601         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35602         $(config-cflags-nofma).
35604 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35606         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35607         * math/auto-libm-test-out: Regenerated.
35609         [BZ #16338]
35610         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35611         to determine exponent and adjust argument to have exponent of -1.
35612         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35613         log2.
35614         * math/auto-libm-test-out: Regenerated.
35615         * sysdeps/i386/fpu/libm-test-ulps: Update.
35616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35618 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35620         * manual/probes.texi: Remove cases when per-thread arenas are
35621         disabled.
35623 2013-12-18  Andreas Schwab  <schwab@suse.de>
35625         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35626         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35627         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35628         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35629         * sysdeps/i386/i686/multiarch/Makefile: Update.
35630         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35632 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35634         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35635         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35637 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35639         [BZ #15968]
35640         Support TZ transition times < 00:00:00.
35641         This is needed for version-3 tz-format files; it supports time
35642         stamps past 2037 for America/Godthab (the only entry in the tz
35643         database for which this change is relevant).
35644         * manual/time.texi (TZ Variable): Document transition times
35645         from -167:59:59 through -00:00:01.
35646         * time/tzset.c (tz_rule): Time of day is now signed.
35647         (__tzset_parse_tz): Parse negative time of day.
35649         Document TZ transition times >= 25:00:00.
35650         * manual/time.texi (TZ Variable): Document transition times from
35651         25:00:00 through 167:59:59.  These are already supported, and this
35652         support will help with version-3 tz-format files.
35654         * manual/time.texi (TZ Variable): Modernize North America example
35655         to reflect current (i.e., 2007-and-later) daylight saving rules.
35657         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35659 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35661         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35662         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35663         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35664         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35665         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35666         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35667         * sysdeps/unix/bsd/clock.c: Likewise.
35668         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35669         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35670         * sysdeps/unix/bsd/init-posix.c: Likewise.
35671         * sysdeps/unix/bsd/poll.c: Likewise.
35672         * sysdeps/unix/bsd/ptsname.c: Likewise.
35673         * sysdeps/unix/bsd/seekdir.c: Likewise.
35674         * sysdeps/unix/bsd/setegid.c: Likewise.
35675         * sysdeps/unix/bsd/seteuid.c: Likewise.
35676         * sysdeps/unix/bsd/setgid.c: Likewise.
35677         * sysdeps/unix/bsd/setrgid.c: Likewise.
35678         * sysdeps/unix/bsd/setruid.c: Likewise.
35679         * sysdeps/unix/bsd/setsid.c: Likewise.
35680         * sysdeps/unix/bsd/setuid.c: Likewise.
35681         * sysdeps/unix/bsd/sigaction.c: Likewise.
35682         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35683         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35684         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35685         * sysdeps/unix/bsd/telldir.c: Likewise.
35686         * sysdeps/unix/bsd/times.c: Likewise.
35687         * sysdeps/unix/bsd/usleep.c: Likewise.
35689         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35690         ($(objpfx)libbsd-compat.a): Remove rule.
35692         * include/features.h (__FAVOR_BSD): Do not define.
35693         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35694         features conflicting with POSIX.
35695         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35696         (_BSD_SOURCE): Remove description of not being a subset of other
35697         feature test macros.
35698         * manual/job.texi (getpgrp): Do not document BSD version.
35699         (getpgid): Do not document by reference to BSD getpgrp.
35700         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35701         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35702         * signal/signal.h [__FAVOR_BSD]: Likewise.
35703         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35704         instead of making contents conditional on [__FAVOR_BSD].
35705         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35707 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35711 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35713         [BZ #16314]
35714         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35715         values below 2**-450, not 2**-500.
35716         * math/auto-libm-test-in: Don't allow spurious underflow from
35717         hypot.
35718         * math/auto-libm-test-out: Regenerated.
35720         [BZ #16316]
35721         [BZ #16330]
35722         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35723         values of ha and hb and sort them after adjusting subnormal
35724         arguments.
35725         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35726         Likewise.
35727         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35728         values of ea and eb and sort them after adjusting subnormal
35729         arguments.
35730         * math/auto-libm-test-in: Do not expect some hypot tests of
35731         subnormals to fail.  Add more hypot tests.
35732         * math/auto-libm-test-out: Regenerated.
35734 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35736         [BZ #13304]
35737         * sysdeps/sh/s_fma.c: New file.
35738         * sysdeps/sh/s_fmaf.c: New file.
35739         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
35740         version.
35741         * sysdeps/sh/Implies: Add sh/soft-fp.
35743 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35745         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
35746         level of indirection to members `objname', `errstring', `malloced'.
35747         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35748         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
35749         it as the __longjmp argument (just pass 1 instead).
35750         (_dl_catch_error): Initialize C with argument pointers and address of
35751         volatile local ERRCODE rather than copying values out of C at return.
35753 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35755         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35756         * math/auto-libm-test-out: Regenerated.
35757         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35758         (hypot_test_data): Likewise.
35759         (pow_test_data): Likewise.
35760         (pow_tonearest_test_data): Likewise.
35761         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35762         mpfr_ff_f.
35763         (func_calc_desc): Add mpfr_ff_f union field.
35764         (FUNC_mpfr_ff_f): New macro.
35765         (test_functions): Add atan2, hypot and pow.
35766         (special_fill_min): New function.
35767         (special_fill_minus_min): Likewise.
35768         (special_fill_min_subnorm): Likewise.
35769         (special_fill_minus_min_subnorm): Likewise.
35770         (special_real_inputs): Add min, -min, min_subnorm and
35771         -min_subnorm.
35772         (calc_generic_results): Handle mpfr_ff_f.
35773         * sysdeps/i386/fpu/libm-test-ulps: Update.
35774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35776 2013-12-16  Will Newton  <will.newton@linaro.org>
35778         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35779         (Aligned Memory Blocks): Add documentation for aligned_alloc
35780         and suggest it as an alternative to posix_memalign.
35781         (Hooks for Malloc): Document __memalign_hook is also called
35782         for aligned_alloc.  (Summary of Malloc): Add summary for
35783         aligned alloc.  Document __memalign_hook is also called
35784         for aligned_alloc.
35786 2013-12-16  Will Newton  <will.newton@linaro.org>
35788         * manual/memory.texi (Malloc Examples): Clarify default
35789         alignment documentation.  Suggest posix_memalign rather
35790         than memalign or valloc.
35791         (Aligned Memory Blocks): Remove suggestion to use memalign
35792         or valloc.  Remove obsolete comment about BSD.
35793         Document memalign errno values and mark the function obsolete.
35794         Document posix_memalign returned error codes.  Mark valloc
35795         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35796         called for posix_memalign and valloc.
35797         (Summary of Malloc): Add posix_memalign to function summary.
35798         __memalign_hook is also called for posix_memalign and valloc.
35800 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35802         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
35803         TAYLOR_SIN.
35804         (__sin): Adjust.
35805         (__cos): Likewise.
35806         (sloww): Use mynumber union.  Expand ternary operator into
35807         if-else statements.
35808         (cslow): use mynumber union.
35810 2013-12-16  Allan McRae  <allan@archlinux.org>
35812         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
35813         * configure: Regenerated.
35815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
35817         [BZ #14120]
35818         * configure.ac: Added --enable-maintainer-mode. Check for
35819         autoconf when enabled.
35820         * configure: Regenerated.
35822         * nscd/nscd.service: New file.
35823         * nscd/nscd.tmpfiles: New file.
35825 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
35827         [BZ #12100]
35828         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
35829         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
35830         * sysdeps/x86_64/multiarch/strstr.c: ... here.
35831         (strstr): Add __strstr_sse2_unaligned ifunc.
35832         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
35833         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
35834         (strcasestr): Remove __strcasestr_sse42 ifunc.
35835         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
35836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35839 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35841         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
35842         * sysdeps/sh/bits/fenv.h: ... here.
35843         * sysdeps/sh/sh4/fpu/bits: Remove directory.
35845 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35847         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
35849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
35850         hypotf multiarch implementations.
35851         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
35852         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
35853         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
35854         multiarch hypot for PPC64.
35855         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
35856         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
35857         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
35858         multiarch hypotf for PPC64.
35860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
35861         modff multiarch implementations.
35862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
35863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
35864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
35865         multiarch modf for PPC64.
35866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
35867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
35868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
35869         multiarch modff for PPC64.
35871         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
35872         and logl multiarch implementations.
35873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
35874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
35875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
35876         multiarch logb for PPC64.
35877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
35878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
35879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
35880         multiarch logb for PPC64.
35881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
35882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
35883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
35884         multiarch logb for PPC64.
35886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
35887         isinff multiarch implementation.
35888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
35889         file.
35890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
35891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
35892         multiarch isinf for PPC64.
35893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
35894         file.
35895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
35896         multiarch isinff for PPC64.
35898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
35899         finitef multiarch implementation.
35900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
35901         file.
35902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
35903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
35904         multiarch finite for PPC64.
35905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
35906         file.
35907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
35908         multiarch finitef for PPC64.
35910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
35911         lrint multiarch implementation.
35912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
35913         file.
35914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
35915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
35916         multiarch llrint for PPC64.
35917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
35918         multiarch lrint for PPC64.
35920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
35921         copysignf multiarch implementation.
35922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
35923         file.
35924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
35925         file.
35926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
35927         multiarch copysign for PPC64.
35928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
35929         multiarch copysignf for PPC64.
35931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
35932         multiarch implementation.
35933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
35934         file.
35935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
35936         file.
35937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
35938         file.
35939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
35940         file.
35941         multiarch llround for PPC64.
35942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
35943         multiarch trunc for PPC64.
35944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
35945         multiarch truncf for PPC64.
35947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
35948         multiarch implementation.
35949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
35950         file.
35951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
35952         file.
35953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
35954         file.
35955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
35956         file.
35957         multiarch llround for PPC64.
35958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
35959         multiarch round for PPC64.
35960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
35961         multiarch roundf for PPC64.
35963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
35964         multiarch implementation.
35965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
35966         file.
35967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
35968         file.
35969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
35970         file.
35971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
35972         file.
35973         multiarch llround for PPC64.
35974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
35975         multiarch floor for PPC64.
35976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
35977         multiarch floorf for PPC64.
35979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
35980         multiarch implementation.
35981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
35982         file.
35983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
35984         file.
35985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
35986         file.
35987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
35988         file.
35989         multiarch llround for PPC64.
35990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
35991         multiarch ceil for PPC64.
35992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
35993         multiarch ceilf for PPC64.
35995         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35996         multiarch implementation.
35997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
35998         file.
35999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36000         file.
36001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36002         file.
36003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36004         multiarch llround for PPC64.
36005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36006         multiarch lround for PPC64.
36008         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36009         multiarch implementation.
36010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36013         file.
36014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36017         multiarch isnan for PPC64.
36018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36019         multiarch isnanf for PPC64.
36021         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36022         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36023         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36024         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36025         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36028         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36029         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36030         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36031         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36034         multiarch implementations.
36035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36036         (__libc_ifunc_impl_list): Likewise.
36037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36038         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36039         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36040         multiarch stpcpy for PPC64.
36042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36043         multiarch implementations.
36044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36045         (__libc_ifunc_impl_list): Likewise.
36046         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36047         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36048         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36049         multiarch strcpy for PPC64.
36051         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36052         redefine function name.
36053         (_wordcopy_fwd_dest_aligned): Likewise.
36054         (_wordcopy_bwd_aligned): Likewise.
36055         (_wordcopy_bwd_dest_aligned): Likewise.
36056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36057         multiarch implementations.
36058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36059         (__libc_ifunc_impl_list): Likewise.
36060         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36061         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36062         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36063         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36064         multiarch wcscpy for PPC64.
36066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36067         multiarch implementations.
36068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36069         (__libc_ifunc_impl_list): Likewise.
36070         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36071         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36072         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36073         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36074         multiarch wcscpy for PPC64.
36076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36077         multiarch implementations.
36078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36079         (__libc_ifunc_impl_list): Likewise.
36080         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36081         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36082         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36083         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36084         multiarch wcsrchr for PPC64.
36086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36087         multiarch implementations.
36088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36089         (__libc_ifunc_impl_list): Likewise.
36090         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36091         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36092         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36093         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36094         multiarch wcschr for PPC64.
36096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36097         multiarch implementations.
36098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36099         (__libc_ifunc_impl_list): Likewise.
36100         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36101         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36102         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36103         multiarch strchrnul for PPC64.
36105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36106         implementations.
36107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36108         (__libc_ifunc_impl_list): Likewise.
36109         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36110         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36111         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36112         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36113         strchr for PPC64.
36115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36116         implementations.
36117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36118         (__libc_ifunc_impl_list): Likewise.
36119         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36120         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36121         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36122         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36123         strncmp for PPC64.
36125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36126         multiarch implementations.
36127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36128         (__libc_ifunc_impl_list): Likewise.
36129         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36130         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36131         strncasecmp for PPC64.
36132         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36133         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36134         multiarch strncasecmp_l for PPC64.
36136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36137         multiarch implementations.
36138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36139         (__libc_ifunc_impl_list): Likewise.
36140         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36141         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36142         multiarch strcasecmp for PPC64.
36143         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36144         file.
36145         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36146         multiarch strcasecmp_l for PPC64.
36148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36149         implementations.
36150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36151         (__libc_ifunc_impl_list): Likewise.
36152         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36153         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36154         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36155         strnlen for PPC64.
36157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36158         implementations.
36159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36160         (__libc_ifunc_impl_list): Likewise.
36161         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36162         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36163         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36164         strlen for PPC64.
36166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36167         implementations.
36168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36169         (__libc_ifunc_impl_list): Likewise.
36170         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36171         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36172         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36173         rawmemrchr for PPC64.
36175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36176         implementation.
36177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36178         (__libc_ifunc_impl_list): Likewise.
36179         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36180         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36181         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36182         memrchr for PPC64.
36184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36185         implementation.
36186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36187         (__libc_ifunc_impl_list): Likewise.
36188         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36189         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36190         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36191         memchr for PPC64.
36193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36194         implementation.
36195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36196         (__libc_ifunc_impl_list): Likewise.
36197         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36198         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36199         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36200         mempcpy for PPC64.
36202         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36203         avoid cretion of __bzero symbol.
36204         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36205         Likewise.
36206         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36207         Likewise.
36208         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36209         Likewise.
36210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36211         multiarch implementations.
36212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36213         (__libc_ifunc_impl_list): Likewise.
36214         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36215         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36216         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36217         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36218         bzero for PPC32.
36219         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36220         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36221         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36222         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36223         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36224         memset for PPC64.
36225         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36227         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36229         implementations.
36230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36231         (__libc_ifunc_impl_list): Likewise.
36232         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36233         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36234         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36235         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36236         memcmp for PPC64.
36238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36239         multiarch for POWER/PPC64.
36240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36241         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36242         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36243         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36244         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36245         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36246         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36247         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36248         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36249         memcpy for PPC64.
36251         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36252         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36253         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36254         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36255         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36256         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36257         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36258         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36259         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36260         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36261         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36262         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36263         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36264         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36265         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36274 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36276         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36278 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36280         * benchtests/Makefile (bench): Add exp2 and log2.
36281         (LDLIBS-bench-exp2): Add -lm.
36282         (LDLIBS-bench-log2): Likewise.
36283         * benchtests/exp2-inputs: New inputs file.
36284         * benchtests/log2-inputs: New inputs file.
36285         * benchtests/log-inputs: Add new inputs.
36286         * benchtests/tan-inputs: Likewise.
36288 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36290         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36291         definition...
36292         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36293         (csloww2): ... from here.
36295         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36296         instead of structures.
36297         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36298         (POLYNOMIAL): Likewise.
36299         (TAYLOR_SLOW): Likewise.
36300         (__sin): Likewise.
36301         (__cos): Likewise.
36302         (slow1): Likewise.
36303         (slow2): Likewise.
36304         (sloww): Likewise.
36305         (sloww1); Likewise.
36306         (sloww2): Likewise.
36307         (bsloww1): Likewise.
36308         (bsloww2): Likewise.
36309         (cslow2): Likewise.
36310         (csloww): Likewise.
36311         (csloww1): Likewise.
36312         (csloww2): Likewise.
36314 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
36316         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36317         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36318         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36319         * malloc/hooks.c (realloc_check): Likewise.
36321         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36322         * malloc/arena.c: Remove PER_THREAD conditional.
36323         [!PER_THREAD]: Remove code.
36324         (ptmalloc_unlock_all2): Likewise.
36325         (ptmalloc_init): Likewise.
36326         (_int_new_arena): Likewise.
36327         (arena_get2): Likewise.
36328         * malloc/hooks.c (__malloc_get_state): Likewise.
36329         (__malloc_set_state): Likewise.
36330         * malloc/malloc.c: Likewise.
36331         (struct malloc_state): Likewise.
36332         (struct malloc_par): Likewise.
36333         (__libc_realloc): Likewise.
36334         (__libc_mallopt): Likewise.
36336 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36338         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36340 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36342         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36343         macro to a function.  Check for zero perturb_byte.
36344         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36346         * malloc/malloc.c: (force_reg): Remove.
36347         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36348         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36349         force_reg by atomic_forced_read.
36350         * malloc/arena.c (ptmalloc_init): Likewise.
36351         * malloc/hooks.c (top_check): Likewise.
36353 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36357 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36361 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36363         * math/auto-libm-test-in: Add tests of lgamma.
36364         * math/auto-libm-test-out: Regenerated.
36365         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36366         (M_LOG_2_SQRT_PIl): Likewise.
36367         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36368         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36369         mpfr_f_f1.
36370         (func_calc_desc): Add mpfr_f_f1 union field.
36371         (ARGS1): New macro.
36372         (ARGS2): Likewise.
36373         (ARGS3): Likewise.
36374         (ARGS4): Likewise.
36375         (RET1): Likewise.
36376         (RET2): Likewise.
36377         (CALC): Likewise.
36378         (FUNC): Likewise.
36379         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36380         (test_functions): Add lgamma.
36381         (calc_generic_results): Handle mpfr_f_f1.
36382         * sysdeps/i386/fpu/libm-test-ulps: Update.
36383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36385 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36387         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36388         __mpn_add_n for PowerPC64/POWER7.
36389         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36390         __mpn_sub_n for PowerPC64/POWER7.
36392         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36393         __mpn_addmul_1 for PowerPC64.
36394         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36395         __mpn_submul_1 for PowerPC64.
36396         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36397         for PowerPC64.
36398         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36399         for PowerPC64.
36401 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36403         [BZ #15089]
36404         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36406 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36408         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36410         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36411         add multiarch folders.
36412         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36413         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36414         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36415         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36416         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36417         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36418         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36419         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36420         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36421         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36422         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36431         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36433         New file.
36434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36435         New file.
36436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36437         multiarch __ieee754_hypot for PowerPC32.
36438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36439         New file.
36440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36441         New file.
36442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36443         multiarch __ieee754_hypotf for PowerPC32.
36445         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36446         long_double_symbol only if __logbl is defined.
36447         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36448         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36450         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36451         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36452         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36453         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36454         path for implementation.
36455         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36456         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36458         logb, and logbl multiarch implementations for PowerPC32.
36459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36460         file.
36461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36462         file.
36463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36464         multiarch logb for PowerPC32.
36465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36466         file.
36467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36468         file.
36469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36470         multiarch logbf for PowerPC32.
36471         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36473         file.
36474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36475         multiarch logbl implementation for PowerPC32.
36477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36478         and modff multiarch implementations.
36479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36480         New file.
36481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36482         New file.
36483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36484         multiarch modf for PowerPC32.
36485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36486         New file.
36487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36488         New file.
36489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36490         multiarch modff for PowerPC32.
36492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36493         and lrintf multiarch implementations.
36494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36495         New file.
36496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36497         New file.
36498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36499         multiarch lrint for PowerPC32.
36500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36501         file: multiarch lrintf for PowerPC32.
36503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36504         and lroundf multiarch implementations.
36505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36506         New file.
36507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36508         New file.
36509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36510         New file.
36511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36512         multiarch lround for PowerPC32.
36513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36514         file: multiarch lroundf for PowerPC32.
36516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36517         copysign and copysignf multiarch implementations.
36518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36519         New file.
36520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36521         New file.
36522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36523         file: multiarch copysign for PowerPC32.
36524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36525         file: multiarch copysignf for PowerPC32.
36527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36528         and truncf multiarch implementations.
36529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36530         New file.
36531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36532         file.
36533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36534         multiarch trunc for PowerPC32.
36535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36536         New file.
36537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36538         New file.
36539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36540         multiarch truncf for PowerPC32.
36542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36543         and roundf multiarch implementations.
36544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36545         New file.
36546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36547         file.
36548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36549         multiarch round for PowerPC32.
36550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36551         New file.
36552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36553         New file.
36554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36555         multiarch roundf for PowerPC32.
36557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36558         and floorf multiarch implementations.
36559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36560         New file.
36561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36562         file.
36563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36564         multiarch floor for PowerPC32.
36565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36566         New file.
36567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36568         New file.
36569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36570         multiarch floorf for PowerPC32.
36572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36573         and ceilf multiarch implementations.
36574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36575         New file.
36576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36577         file.
36578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36579         multiarch ceil for PowerPC32.
36580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36581         New file.
36582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36583         file.
36584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36585         multiarch ceilf for PowerPC32.
36587         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36588         is defined.
36589         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36590         FINITEF is defined.
36591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36592         and finitef multiarch implementations.
36593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36594         New file.
36595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36596         file.
36597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36598         multiarch finite for PowerPC32.
36599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36600         New file.
36601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36602         file: multiarch finitef for PowerPC32.
36604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36605         and isinff multiarch implementations.
36606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36607         file.
36608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36609         file.
36610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36611         multiarch isinf for PowerPC32.
36612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36613         New file.
36614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36615         multiarch isinff for PowerPC32.
36617         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36618         alias when __isnan is defined.
36619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36620         and isnanf multiarch implementations.
36621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36622         file.
36623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36624         file.
36625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36626         file.
36627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36628         file.
36629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36630         multiarch isnan for PowerPC32.
36631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36632         New file.
36633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36634         New file.
36635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36636         multiarch isnanf for PowerPC32.
36638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36639         and sqrtf multiarch implementations.
36640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36641         file.
36642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36643         file.
36644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36645         multiarch sqrt for PowerPC32.
36646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36647         file.
36648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36649         file.
36650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36651         multiarch sqrtf for PowerPC32.
36653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36654         and llroundf multiarch implementations.
36655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36656         New file.
36657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36658         New file.
36659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36660         New file.
36661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36662         file: multiarch llround for PowerPC32.
36663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36664         file: multiarch llroundf for PowerPC32.
36666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36667         multiarch PowerPC32 fpu implementations.
36668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36669         New file.
36670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36671         New file.
36672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36673         multiarch llrint for PowerPC32.
36674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36675         New file.
36676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36677         New file.
36678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36679         file.
36681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36683         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36684         file.
36685         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36686         file.
36687         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36688         file.
36689         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36690         multiarch wordcopy for PPC32.
36691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36692         wordcopy objects.
36693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36694         (__libc_ifunc_impl_list): Likewise.
36695         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36696         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36697         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36698         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36699         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36700         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36702         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36704         file.
36705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36706         file.
36707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36708         file.
36709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36710         multiarch wcscpy for PPC32.
36711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36712         multiarch objects.
36713         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36714         (__libc_ifunc_impl_list): Likewise.
36715         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36716         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36717         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36718         sysdeps/powerpc/power6/wcscpy.c.
36720         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36722         file.
36723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36724         file.
36725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36726         file.
36727         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36728         multiarch wcsrchr for PPC32.
36729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36730         multiarch objects.
36731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36732         (__libc_ifunc_impl_list): Likewise.
36733         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36734         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36735         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36736         sysdeps/powerpc/power6/wcsrchr.c.
36738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36739         file.
36740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36741         file.
36742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36744         multiarch wcschr for PPc32.
36745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36746         multiarch objects.
36747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36748         (__libc_ifunc_impl_list): Likewise.
36749         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36750         * sysdeps/powerpc/power6/wcschr.c: ... to here.
36751         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36752         sysdeps/powerpc/power6/wcschr.c.
36754         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36755         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36756         file.
36757         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36758         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36759         file: multiarch strchr for PPC32.
36760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36761         multiarch objects.
36762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36763         (__libc_ifunc_impl_list): Likewise.
36765         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36766         name.
36767         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36768         file.
36769         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36770         file.
36771         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36772         multiarch strchrnul for PPC32.
36773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36774         multiarch objects.
36775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36776         (__libc_ifunc_impl_list): Likewise.
36778         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36779         file.
36780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36781         multiarch strncasecmp for PPC32.
36782         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36783         file.
36784         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36785         multiarch strncasecmp_l for PPC32.
36786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36787         strncasecmp multiarch objects.
36788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36789         (__libc_ifunc_impl_list): Likewise.
36791         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36792         file.
36793         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36794         multiarch strncasecmp for PPC32.
36795         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36796         New file.
36797         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36798         multiarch strcasecmp_l for PPC32.
36799         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
36800         multiarch objects.
36801         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36802         (__libc_ifunc_impl_list): Likewise.
36804         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
36805         file.
36806         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
36807         file.
36808         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
36809         multiarch strncmp for PPC32.
36810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
36811         multiarch objects.
36812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36813         (__libc_ifunc_impl_list): Likewise.
36815         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
36816         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
36817         file.
36818         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
36819         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
36820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
36821         multiarch objects.
36822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36823         (__libc_ifunc_impl_list): Likewise.
36825         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
36826         file.
36827         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
36828         file.
36829         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
36830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
36831         multiarch objects.
36832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36833         (__libc_ifunc_impl_list): Likewise.
36835         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
36836         file.
36837         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
36838         file.
36839         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
36840         multiarch rawmemchr for PPC32.
36841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
36842         multiarch objects.
36843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36844         (__libc_ifunc_impl_list): Likewise.
36846         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
36847         file.
36848         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
36849         file.
36850         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
36851         file: memrchr multiarch for PPC32.
36852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
36853         multiarch objects.
36854         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36855         (__libc_ifunc_impl_list): Likewise.
36857         * string/memchr.c (__memchr): Using macro to redefine symbol name.
36858         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
36859         file.
36860         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
36861         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
36862         multiarch memchr for PPC32.
36863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36864         multiarch objects.
36865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36866         (__libc_ifunc_impl_list): Likewise.
36868         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
36869         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
36870         file.
36871         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
36872         file.
36873         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
36874         file: multiarch mempcpy for PPC32.
36875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
36876         multiarch objects.
36877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36878         (__libc_ifunc_impl_list): Likewise.
36880         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
36881         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
36882         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
36883         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
36884         multiarch bzero for PPC32.
36885         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36886         file.
36887         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
36888         file.
36889         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
36890         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
36891         file: multiarch memset for PPC32.
36892         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
36893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
36894         memset multiarch objects.
36895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36896         (__libc_ifunc_impl_list): Likewise.
36898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
36899         file.
36900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
36901         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
36902         memcmp for PPC32.
36903         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
36904         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
36905         multiarch objects.
36906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36907         (__libc_ifunc_impl_list): Likewise.
36909         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
36910         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
36911         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
36912         file.
36913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
36914         file.
36915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
36916         file.
36917         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
36918         multiarch memcpy for PPC32.
36919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
36920         multiarch objects.
36921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36922         (__libc_ifunc_impl_list): Likewise.
36924         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
36925         support multiarch for POWER/PPC32.
36926         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
36927         Likewise.
36928         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
36930         Implies file to make multiarch folder appers before the fpu and
36931         default folder for power4 configuration.
36933 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36935         * scripts/bench.pl: Append volatile keyword to type.
36937 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36939         * sysdeps/sh/sotruss-lib.c: New file.
36940         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
36942 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36946 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
36948         [BZ #6810]
36949         * math/w_tgamma.c: Include <errno.h>.
36950         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
36951         * math/w_tgammaf.c: Include <errno.h>.
36952         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
36953         * math/w_tgammal.c: Include <errno.h>.
36954         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
36955         * math/auto-libm-test-in: Do not allow missing errno on tgamma
36956         underflow.  Add more tgamma tests.
36957         * math/auto-libm-test-out: Regenerated.
36958         * sysdeps/i386/fpu/libm-test-ulps: Update.
36959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36961         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
36962         sin, sinh, tan, tanh, tgamma, y0 and y1.
36963         * math/auto-libm-test-out: Regenerated.
36964         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36965         (TEST_COND_x86): Likewise.
36966         (M_E2l): Remove macro.
36967         (M_E3l): Likewise.
36968         (M_2_SQRT_PIl): Likewise.
36969         (M_SQRT_PIl): Likewise.
36970         (M_1_DIV_El): Likewise.
36971         (log_test_data): Use AUTO_TESTS_f_f.
36972         (log10_test_data): Likewise.
36973         (log1p_test_data): Likewise.
36974         (log2_test_data): Likewise.
36975         (sin_test_data): Likewise.
36976         (sin_tonearest_test_data): Likewise.
36977         (sin_towardzero_test_data): Likewise.
36978         (sin_downward_test_data): Likewise.
36979         (sin_upward_test_data): Likewise.
36980         (sinh_test_data): Likewise.
36981         (sinh_tonearest_test_data): Likewise.
36982         (sinh_towardzero_test_data): Likewise.
36983         (sinh_downward_test_data): Likewise.
36984         (sinh_upward_test_data): Likewise.
36985         (tan_test_data): Likewise.
36986         (tan_tonearest_test_data): Likewise.
36987         (tan_towardzero_test_data): Likewise.
36988         (tan_downward_test_data): Likewise.
36989         (tan_upward_test_data): Likewise.
36990         (tanh_test_data): Likewise.
36991         (tgamma_test_data): Likewise.
36992         (y0_test_data): Likewise.
36993         (y1_test_data): Likewise.
36994         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
36995         (special_real_inputs): Add pi/4.
36996         * sysdeps/i386/fpu/libm-test-ulps: Update.
36997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36999 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37001         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37002         "longjmp_target" static probes.
37003         (__longjmp): Rename to __longjmp_symbol.
37004         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37005         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37006         on which longjmp to generate.
37007         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37008         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37009         probe.
37010         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37011         (__sigjmp_save): Rename to __sigjmp_save_symbol.
37012         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37013         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37014         and __sigjmp_save_symbol based on which sigsetjmp to generated.
37015         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37017         __longjmp_symbol based on which __longjmp to generate.
37018         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37019         probe.
37020         (setjmp): Rename to setjmp_symbol.
37021         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37022         (_setjmp): Rename to _setjmp_symbol.
37023         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37024         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37025         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37026         which setjmp to generate.
37027         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37028         "longjmp_target" static probes.
37030 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37032         * benchtests/README: Add note about output arguments.
37033         * benchtests/bench-sincos.c: Remove file.
37034         * benchtests/sincos-inputs: New file.
37035         * scripts/bench.pl: Identify output arguments and define
37036         static variables for them.
37038         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37040         [BZ #15941]
37041         * Makefile (INSTALL): Add install-plain.texi as the primary
37042         dependency.
37043         * manual/install-plain.texi: New file.
37044         * manual/install.texi: Include node directive only for
37045         non-plaintext output.
37047 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
37049         * stdlib/longlong.h: Update from GCC.
37051         [BZ #6807]
37052         [BZ #15901]
37053         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37054         * math/w_j0f.c (y0f): Likewise.
37055         * math/w_j0l.c (__y0l): Likewise.
37056         * math/w_j1.c (y1): Likewise.
37057         * math/w_j1f.c (y1f): Likewise.
37058         * math/w_j1l.c (__y1l): Likewise.
37059         * math/w_jn.c (yn): Likewise.
37060         * math/w_jnf.c (ynf): Likewise.
37061         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37062         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
37063         value for Bessel function domain errors outside _SVID_ mode.
37064         Adjust sign of return value for yn (negative integer, 0).
37065         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37066         by zero in return for negative x and set sign appropriately for
37067         negative n.
37068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37069         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37070         * math/libm-test.inc (y0_test_data): Add more tests and adjust
37071         expectations in error cases.
37072         (y1_test_data): Likewise.
37073         (yn_test_data): Likewise.
37074         * sysdeps/i386/fpu/libm-test-ulps: Update.
37075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37077 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37079         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37080         "64" to "64-v1".  Add "64-v2".
37081         (abi-64-options): Rename to ...
37082         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
37083         (abi-64-condition): Rename to ...
37084         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37085         (abi-64-ld-soname): Rename to ...
37086         (abi-64-v1-ld-soname): ... this.
37087         (abi-64-v2-options): Define.
37088         (abi-64-v2-condition): Likewise.
37089         (abi-64-v2-ld-soname): Likewise.
37090         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37091         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37096 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37097             Alan Modra  <amodra@gmail.com>
37099         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37100         New versions for use with the ELFv2 ABI.
37101         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37102         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37103         declaration.
37104         (struct La_ppc64v2_retval): Likewise.
37105         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37106         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37107         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37108         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37109         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37110         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37111         Do not save or restore CR.
37112         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37113         (_dl_profile_resolve): Do no save or restore CR.  Support extended
37114         return values for ELFv2 ABI.  Fix location of FPR return registers.
37115         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37116         updated values for _CALL_ELF == 2.
37117         (La_regs, La_retval, int_retval): Likewise.
37119 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37121         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37122         (FRAME_MIN_SIZE_PARM): Likewise.
37123         (FRAME_BACKCHAIN): Likewise.
37124         (FRAME_CR_SAVE): Likewise.
37125         (FRAME_LR_SAVE): Likewise.
37126         (FRAME_TOC_SAVE): Likewise.
37127         (FRAME_PARM_SAVE): Likewise.
37128         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37129         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37130         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37131         (call_mcount_parm_offset): New macro.
37132         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37133         (PROF): Use symbolic stack frame offsets.
37134         (TAIL_CALL_SYSCALL_ERROR): Likewise.
37135         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37136         Redefine in terms of FRAME_MIN_SIZE.
37137         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37138         (_dl_profile_resolve): Likewise.  Update comment.
37139         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37140         symbols stack frame offsets.
37141         (__sigsetjmp): Likewise.
37142         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37143         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37144         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37145         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37148         (FRAME_BACKCHAIN): Remove.
37149         (FRAME_CR_SAVE): Likewise.
37150         (FRAME_LR_SAVE): Likewise.
37151         (FRAME_COMPILER_DW): Likewise.
37152         (FRAME_LINKER_DW): Likewise.
37153         (FRAME_TOC_SAVE): Likewise.
37154         (FRAME_PARM_SAVE): Likewise.
37155         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37156         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37157         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37159         (CHECK_SP): Use symbolic stack frame offsets.
37160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37161         zone" instead of caller's parameter save area for temp storage.
37162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37163         Likewise.  Also, use symbolic stack frame offsets.
37164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37165         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37166         our own stack frame instead of the caller's.
37167         (__socket): Use symbolic stack frame offsets.
37169 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37170             Alan Modra  <amodra@gmail.com>
37172         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37173         Define.
37174         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37175         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37176         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37177         New function.
37178         (elf_machine_fixup_plt): Call it.
37179         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37180         reloc arguments.
37181         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37182         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37183         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37184         r2 before calling target.
37186 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37187             Alan Modra  <amodra@gmail.com>
37189         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37190         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37191         versions of macros to support ELFv2 ABI.
37192         (LOCALENTRY): New macro.
37193         (ENTRY, EALIGN): Use it.
37194         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37195         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37196         fall through into ENTRY entry point.
37197         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37198         Only define if _CALL_ELF != 2.
37200         (elf_machine_matches_host): Verify ABI version matches.
37201         (RTLD_START): Use LOCALENTRY.
37202         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37203         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37204         (PLT_ENTRY_WORDS): New macro.
37205         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37206         (elf_machine_runtime_setup): Support ELFv2 ABI.
37207         (elf_machine_fixup_plt): Likewise.
37208         (elf_machine_plt_conflict): Likewise.
37209         (resolve_ifunc): Likewise.
37210         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37211         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37212         Likewise.
37213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37214         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37216         (makecontext): Support ELFv2 ABI.
37217         * elf/elf.h (EF_PPC64_ABI): Define.
37219 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37221         * sysdeps/powerpc/powerpc64/sysdep.h
37222         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37223         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37224         (ENTRY) [ASSEMBLER]: ... but instead here ...
37225         (EALIGN) [ASSEMBLER]: ... and here.
37226         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37227         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37228         (ENTRY_2) [!ASSEMBLER]: Use it.
37229         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37230         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37231         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37232         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37233         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37235         Use PPC64_LOAD_FUNCPTR.
37237         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37239 2013-12-04  Alan Modra  <amodra@gmail.com>
37241         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37242         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37243         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37244         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37247         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37248         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37249         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37250         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37251         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37253 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37256         (__makecontext): Fix incorrect CFI when backtracing out of
37257         context created via makecontext.
37258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37259         (__setcontext): Fix incorrect CFI during switch to new context.
37260         (__novec_setcontext): Likewise.
37262 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37264         [BZ #4772]
37265         * time/strptime_l.c (__strptime_internal): Allow modifiers
37266         in strptime.
37267         * time/tst-strptime.c (day_tests): Add testcase.
37269 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37271         * scripts/bench.pl: Skip over blank lines.
37273 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
37275         [BZ #926]
37276         * manual/time.texi (Calendar Time): Clarify what timezone functions
37277         use.
37279 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37283 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37285         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37286         implementation.
37287         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37288         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37289         * debug/memset_chk.c (__memset_chk): Likewise.
37290         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37291         * debug/strncpy_chk.c: Likewise.
37293 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37295         [BZ #15268]
37296         [BZ #15425]
37297         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37298         (__ieee754_exp): For possibly underflowing results, check size of
37299         result and force underflow exception if required.
37300         * math/auto-libm-test-in: Add more tests of exp.
37301         * math/auto-libm-test-out: Regenerated.
37302         * sysdeps/i386/fpu/libm-test-ulps: Update.
37303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37305         [BZ #16283]
37306         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37307         * math/w_exp2f.c (__exp2f): Likewise.
37308         * math/w_exp2l.c (__exp2l): Likewise.
37309         * math/auto-libm-test-in: Do not allow missing errno on exp2
37310         underflow.
37311         * math/auto-libm-test-out: Regenerated.
37313 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
37315         [BZ #16274]
37316         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37317         handle filename validation.
37318         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37319         (do_open): Delete.
37321 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37323         [BZ #6786]
37324         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37325         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37326         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37327         <float.h>.
37328         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37329         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37330         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37331         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37332         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37333         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37334         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37335         * math/auto-libm-test-in: Don't allow missing errno from erfc.
37336         Add more erfc tests.
37337         * math/auto-libm-test-out: Regenerated.
37338         * sysdeps/i386/fpu/libm-test-ulps: Update.
37339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37341         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37342         exp2, expm1, j0 and j1.
37343         * math/auto-libm-test-out: Regenerated.
37344         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37345         (erfc_test_data): Likewise.
37346         (exp_test_data): Likewise.
37347         (exp_tonearest_test_data): Likewise.
37348         (exp_towardzero_test_data): Likewise.
37349         (exp_downward_test_data): Likewise.
37350         (exp_upward_test_data): Likewise.
37351         (exp10_test_data): Likewise.
37352         (exp2_test_data): Likewise.
37353         (expm1_test_data): Likewise.
37354         (j0_test_data): Likewise.
37355         (j1_test_data): Likewise.
37356         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37357         (input_flag_type): Add flag_xfail_rounding.
37358         (input_flags): Add xfail-rounding.
37359         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37360         (output_for_one_input_case): Handle flag_xfail_rounding.
37361         * sysdeps/i386/fpu/libm-test-ulps: Update.
37362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37364 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37366         [BZ #16289]
37367         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37368         division by 0.
37370 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37372         [BZ #16195]
37373         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37374         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37375         (STAP_PROBE0): New macro.
37376         (STAP_PROBE1): Likewise.
37377         (STAP_PROBE2): Likewise.
37378         (STAP_PROBE3): Likewise.
37379         (STAP_PROBE4): Likewise.
37381 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37383         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37385 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37387         * benchtests/Makefile (bench): Add sqrt.
37388         (LDLIBS-bench-sqrt): New.
37389         * benchtests/sqrt-input: New.
37391 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37393         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37394         (GAIH_EAI): Likewise.
37395         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37396         (gaih_inet): Likewise.
37397         (getaddrinfo): Don't use GAIH_EAI.
37399         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37400         (struct gaih): Remove definition.
37402 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37404         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37405         Use HERRNOP directly.
37407 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37411 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37413         * math/gen-auto-libm-tests.c (test_functions): Add more
37414         single-argument functions.
37415         (special_fill_pi_2): New function.
37416         (special_fill_minus_pi_2): Likewise.
37417         (special_fill_pi_6): Likewise.
37418         (special_fill_minus_pi_6): Likewise.
37419         (special_fill_pi_3): Likewise.
37420         (special_fill_2pi_3): Likewise.
37421         (special_fill_e): Likewise.
37422         (special_fill_1_e): Likewise.
37423         (special_fill_e_minus_1): Likewise.
37424         (special_real_inputs): Add more special inputs.
37425         (output_for_one_input_case): Do not require ERANGE on underflow to
37426         zero if round-to-nearest result does not underflow to zero, unless
37427         exact results required.
37428         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37429         atan, atanh, cbrt, cos and cosh.
37430         * math/auto-libm-test-out: Regenerated.
37431         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37432         (acos_tonearest_test_data): Likewise.
37433         (acos_towardzero_test_data): Likewise.
37434         (acos_downward_test_data): Likewise.
37435         (acos_upward_test_data): Likewise.
37436         (acosh_test_data): Likewise.
37437         (asin_test_data): Likewise.
37438         (asin_tonearest_test_data): Likewise.
37439         (asin_towardzero_test_data): Likewise.
37440         (asin_upward_test_data): Likewise.
37441         (asinh_test_data): Likewise.
37442         (atan_test_data): Likewise.
37443         (atanh_test_data): Likewise.
37444         (cbrt_test_data): Likewise.
37445         (cos_test_data): Likewise.
37446         (cos_tonearest_test_data): Likewise.
37447         (cos_towardzero_test_data): Likewise.
37448         (cos_downward_test_data): Likewise.
37449         (cos_upward_test_data): Likewise.
37450         (cosh_test_data): Likewise.
37451         (cosh_tonearest_test_data): Likewise.
37452         (cosh_towardzero_test_data): Likewise.
37453         (cosh_downward_test_data): Likewise.
37454         (cosh_upward_test_data): Likewise.
37455         * sysdeps/i386/fpu/libm-test-ulps: Update.
37456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37458 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37460         [BZ #6787]
37461         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37462         * math/w_exp10f.c (__exp10f): Likewise.
37463         * math/w_exp10l.c (__exp10l): Likewise.
37464         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37465         errno settings in existing tests.
37467         [BZ #14032]
37468         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37469         precision control set to double precision.
37470         * sysdeps/i386/fpu/w_sqrt.c: New file.
37471         * math/auto-libm-test-in: Add more tests.
37472         * math/auto-libm-test-out: Update.
37474         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37475         (sqrt_test_tonearest): New function.
37476         (sqrt_towardzero_test_data): New variable.
37477         (sqrt_test_towardzero): New function.
37478         (sqrt_downward_test_data): New variable.
37479         (sqrt_test_downward): New function.
37480         (sqrt_upward_test_data): New variable.
37481         (sqrt_test_upward): New function.
37482         (main): Call the new functions.
37484         * math/gen-auto-libm-tests.c: New file.
37485         * math/auto-libm-test-in: Likewise.
37486         * math/auto-libm-test-out: New generated file.
37487         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37488         variables.
37489         (%beautify): Add generated representations of zero.
37490         (top level): Set $auto_input and call parse_auto_input.
37491         (beautify): Remove trailing "f" from hex float constants.
37492         (parse_args): Handle XFAIL_TEST.
37493         (convert_condition): New function.
37494         (or_value): Likewise.
37495         (or_cond_value): Likewise.
37496         (generate_testfile): Handle AUTO_TESTS_* lines.
37497         (parse_auto_input): New function.
37498         * math/libm-test.inc (XFAIL_TEST): New macro.
37499         (ERRNO_UNCHANGED): Update value.
37500         (ERRNO_EDOM): Likewise.
37501         (ERRNO_ERANGE): Likewise.
37502         (IGNORE_RESULT): Likewise.
37503         (TEST_COND_flt_32): New macro.
37504         (TEST_COND_dbl_64): Likewise.
37505         (TEST_COND_ldbl_96_intel): Likewise.
37506         (TEST_COND_ldbl_96_m68k): Likewise.
37507         (TEST_COND_ldbl_128): Likewise.
37508         (TEST_COND_ldbl_128ibm): Likewise.
37509         (TEST_COND_long32): Likewise.
37510         (TEST_COND_long64): Likewise.
37511         (TEST_COND_before_rounding): Likewise.
37512         (TEST_COND_after_rounding): Likewise.
37513         (enable_test): Handle XFAIL_TEST flag.
37514         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37515         with finite results.
37516         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37517         auto-libm-test-out.
37519 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37520             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37522         [BZ #16214]
37523         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37524         __tls_get_addr_internal instead of __tls_get_offset in order to
37525         avoid GOT pointer dependency.  Make rtld export
37526         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37527         __tls_get_addr since we are a __tls_get_offset platform.
37528         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37529         GOT pointer being set up before.
37530         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37532 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37534         * manual/math.texi (Errors in Math Functions): Document accuracy
37535         goals.
37537         [BZ #15004]
37538         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37539         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37540         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37541         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37542         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37543         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37544         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37545         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37546         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37547         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37548         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37549         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37550         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37551         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37552         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37553         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37555         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37556         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37557         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37558         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37559         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37560         Likewise.
37561         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37562         Likewise.
37563         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37564         Likewise.
37565         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37566         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37567         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37568         atomic-feupdateenv and flt-rounds.
37569         * sysdeps/powerpc/nofpu/Versions (libc): Add
37570         __atomic_feholdexcept, __atomic_feclearexcept,
37571         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37572         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37573         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37574         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37575         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37576         here.
37577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37578         Update.
37580         * manual/arith.texi (FP Exceptions): Document that exceptions may
37581         not be raised when matherr is used.
37582         (Math Error Reporting): Document overflow in directed rounding
37583         modes.  Document that errno may not be set when finite values are
37584         returned on overflow.  Document intent to set errno on underflow
37585         only for underflow to zero.
37587         [BZ #16271]
37588         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37589         round-to-nearest then adjust result for other rounding modes.
37590         * include/fenv.h (fegetround): Use libm_hidden_proto.
37591         * math/fegetround.c (fegetround): Use libm_hidden_def.
37592         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37593         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37594         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37595         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37596         Likewise.
37597         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37598         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37599         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37600         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37602 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37604         [BZ #16077]
37605         * nss/Versions (libnss_files): Add
37606         _nss_files_gethostbyname3_r.
37607         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37608         New function.
37609         (HOST_DB_LOOKUP): Remove macro.
37610         (_nss_files_gethostbyname_r): Implement function without the
37611         HOST_DB_LOOKUP macro.
37612         (_nss_files_gethostbyname2_r): Likewise.
37614 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37616         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37618 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37620         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37621         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37622         warning.
37624 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37626         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37627         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37628         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37629         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37630         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37631         __fe_nomask_env_priv and attribute_hidden.
37632         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37633         (libc_feupdateenv_test_ppc): Likewise.
37634         (libc_feresetround_ppc): Likewise.
37635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37636         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37637         compat_symbol macro.
37638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37639         (__fe_nomask_env): Likewise.
37640         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37642 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37644         * string/Makefile: Remove ifunc tests.
37645         * string/test-string.h: Define TEST_IFUNC.
37646         * string/test-bcopy-ifunc.c: Remove.
37647         * string/test-bzero-ifunc.c: Likewise.
37648         * string/test-memccpy-ifunc.c: Likewise.
37649         * string/test-memchr-ifunc.c: Likewise.
37650         * string/test-memcmp-ifunc.c: Likewise.
37651         * string/test-memcpy-ifunc.c: Likewise.
37652         * string/test-memmem-ifunc.c: Likewise.
37653         * string/test-memmove-ifunc.c: Likewise.
37654         * string/test-mempcpy-ifunc.c: Likewise.
37655         * string/test-memrchr-ifunc.c: Likewise.
37656         * string/test-memset-ifunc.c: Likewise.
37657         * string/test-rawmemchr-ifunc.c: Likewise.
37658         * string/test-stpcpy-ifunc.c: Likewise.
37659         * string/test-stpncpy-ifunc.c: Likewise.
37660         * string/test-strcasecmp-ifunc.c: Likewise.
37661         * string/test-strcasestr-ifunc.c: Likewise.
37662         * string/test-strcat-ifunc.c: Likewise.
37663         * string/test-strchr-ifunc.c: Likewise.
37664         * string/test-strchrnul-ifunc.c: Likewise.
37665         * string/test-strcmp-ifunc.c: Likewise.
37666         * string/test-strcpy-ifunc.c: Likewise.
37667         * string/test-strcspn-ifunc.c: Likewise.
37668         * string/test-strlen-ifunc.c: Likewise.
37669         * string/test-strncasecmp-ifunc.c: Likewise.
37670         * string/test-strncat-ifunc.c: Likewise.
37671         * string/test-strncmp-ifunc.c: Likewise.
37672         * string/test-strncpy-ifunc.c: Likewise.
37673         * string/test-strnlen-ifunc.c: Likewise.
37674         * string/test-strpbrk-ifunc.c: Likewise.
37675         * string/test-strrchr-ifunc.c: Likewise.
37676         * string/test-strspn-ifunc.c: Likewise.
37677         * string/test-strstr-ifunc.c: Likewise.
37679 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37681         * benchtests/Makefile: Remove ifunc tests.
37682         * benchtests/bench-string.h: Define TEST_IFUNC.
37683         * benchtests/bench-bcopy-ifunc.c: Remove.
37684         * benchtests/bench-bzero-ifunc.c: Likewise.
37685         * benchtests/bench-memccpy-ifunc.c: Likewise.
37686         * benchtests/bench-memchr-ifunc.c: Likewise.
37687         * benchtests/bench-memcmp-ifunc.c: Likewise.
37688         * benchtests/bench-memcpy-ifunc.c: Likewise.
37689         * benchtests/bench-memmem-ifunc.c: Likewise.
37690         * benchtests/bench-memmove-ifunc.c: Likewise.
37691         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37692         * benchtests/bench-memrchr-ifunc.c: Likewise.
37693         * benchtests/bench-memset-ifunc.c: Likewise.
37694         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37695         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37696         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37697         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37698         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37699         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37700         * benchtests/bench-strcat-ifunc.c: Likewise.
37701         * benchtests/bench-strchr-ifunc.c: Likewise.
37702         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37703         * benchtests/bench-strcmp-ifunc.c: Likewise.
37704         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37705         * benchtests/bench-strcpy-ifunc.c: Likewise.
37706         * benchtests/bench-strcspn-ifunc.c: Likewise.
37707         * benchtests/bench-strlen-ifunc.c: Likewise.
37708         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37709         * benchtests/bench-strncat-ifunc.c: Likewise.
37710         * benchtests/bench-strncmp-ifunc.c: Likewise.
37711         * benchtests/bench-strncpy-ifunc.c: Likewise.
37712         * benchtests/bench-strnlen-ifunc.c: Likewise.
37713         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37714         * benchtests/bench-strrchr-ifunc.c: Likewise.
37715         * benchtests/bench-strsep-ifunc.c: Likewise.
37716         * benchtests/bench-strspn-ifunc.c: Likewise.
37717         * benchtests/bench-strstr-ifunc.c: Likewise.
37719 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37721         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37723 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37725         * resolv/netdb.h: Use __glibc_reserved instead __unused.
37726         * rt/aio.h: Likewise.
37727         * sysdeps/gnu/bits/utmp.h: Likewise.
37728         * sysdeps/gnu/bits/utmpx.h: Likewise.
37729         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37730         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37731         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37732         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37733         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37734         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37735         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37736         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37737         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37738         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37739         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37740         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37741         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37743         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37744         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37745         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37746         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37747         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37748         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37749         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37750         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37751         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37752         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37753         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37754         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37755         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37756         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37757         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37758         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37759         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37760         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37761         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37762         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37763         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37764         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37765         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37766         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37767         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37768         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37769         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37770         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37772 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37774         [BZ #16245]
37775         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37776         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37778 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37780         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37781         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37782         Likewise.
37784 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37786         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37787         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37788         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37789         (__fesetround): Remove define.
37790         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37791         rounding and exceptions handling.
37792         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37793         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37794         (__fe_nomask_env): Likewise.
37795         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37796         __fegetround instead of fegetround.
37797         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37798         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
37800 2013-11-21  Roland McGrath  <roland@hack.frob.com>
37802         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
37803         it's there.
37805         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
37807 2013-11-21  Meador Inge  <meadori@codesourcery.com>
37809         [BZ #11157]
37810         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
37811         (encrypt_r): Likewise.
37812         * malloc/obstack.h (obstack_free): Likewise.
37813         * posix/unistd.h (encrypt): Likewise.
37815 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
37817         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
37818         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
37819         DL_CALL_DT_FINI() that call the functions directly.
37820         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
37821         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
37822         * elf/dl-fini.c: Likewise.
37824 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
37826         * malloc/hooks.c (memalign_check): Add alignment rounding.
37827         * malloc/malloc.c (_mid_memalign): New function.
37828         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
37829         Implement by calling _mid_memalign.
37830         * manual/probes.texi (Memory Allocation Probes): Remove
37831         memory_valloc_retry and memory_pvalloc_retry.
37833 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37835         * locale/programs/locarchive.c (open_archive): Add const
37836         qualifier to ARCHIVEFNAME and copy default fname to
37837         DEFAULT_FNAME.
37839         [BZ #15601]
37840         * libio/tst-widetext.input: Rename Oriya to Odia.
37841         * locale/iso-639.def: Likewise.
37843         * manual/probes.texi (Mathematical Function Probes): Add
37844         documentation for sin, cos, asin and acos probes.
37845         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
37846         (__sin32): Add slowasin probe.
37847         (__cos32): Add slowacos probe.
37848         (__mpsin): Add slowsin probe.
37849         (__mpcos): Add slowcos probe.
37851 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
37853         [BZ #15483]
37854         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
37855         thread-local __sim_exceptions_thread and global
37856         __sim_exceptions_global.
37857         (__sim_disabled_exceptions): Change to thread-local
37858         __sim_disabled_exceptions_thread and global
37859         __sim_disabled_exceptions_global.
37860         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37861         and global __sim_round_mode_global.
37862         (__simulate_exceptions): Use thread-local floating-point state and
37863         set global state from it as needed.
37864         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
37865         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
37866         __sim_round_mode_thread.
37867         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
37868         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
37869         and global __sim_exceptions_global.
37870         (__sim_disabled_exceptions): Change to thread-local
37871         __sim_disabled_exceptions_thread and global
37872         __sim_disabled_exceptions_global.
37873         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
37874         and global __sim_round_mode_global.
37875         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
37876         (SIM_SET_GLOBAL): Likewise.
37877         * sysdeps/powerpc/soft-fp/sfp-machine.h
37878         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
37879         __sim_round_mode_thread.
37880         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
37881         __sim_disabled_exceptions_thread.
37882         (__sim_exceptions): Change to __sim_exceptions_thread.
37883         (__sim_disabled_exceptions): Change to
37884         __sim_disabled_exceptions_thread.
37885         (__sim_round_mode): Change to __sim_round_mode_thread.
37886         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
37887         thread-local floating-point state and set global state from it as
37888         needed.
37889         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
37890         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
37891         (__sim_disabled_exceptions): Remove extern declaration.
37892         (feenableexcept): Use thread-local floating-point state and set
37893         global state from it as needed.
37894         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
37895         extern declaration.
37896         (__sim_disabled_exceptions): Likewise.
37897         (__sim_round_mode): Likewise.
37898         (__fegetenv): Use thread-local floating-point state.
37899         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
37900         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37901         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
37902         floating-point state and set global state from it as needed.
37903         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
37904         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37905         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
37906         Likewise.
37907         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37908         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
37909         Likewise.
37910         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
37911         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
37912         Use __sim_round_mode_thread.
37913         * math/test-fenv-tls.c: New file.
37914         * math/Makefile (tests): Add test-fenv-tls.
37915         ($(objpfx)test-fenv-tls): Depend on
37916         $(common-objpfx)nptl/libpthread.so.
37918 2013-11-19  Andreas Schwab  <schwab@suse.de>
37920         * locale/programs/locale.c (show_info): Decode wordarray elements.
37921         * locale/categories.def (LC_MONETARY): Add element for
37922         _NL_MONETARY_CRNCYSTR.
37923         * locale/C-monetary.c (conversion_rate): New variable.
37924         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
37925         element.
37927 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
37929         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
37930         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
37932 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37934         * elf/Makefile (tst-auxv): New test.
37935         * elf/tst-auxv.c: New
37936         * elf/rtld.c (dl_main): Adjust AT_EXECFN
37938 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
37940         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
37941         (hidden_proto): Caller changed.
37942         (hidden_tls_proto): New macro.
37943         (libc_hidden_tls_proto): Likewise.
37944         (rtld_hidden_tls_proto): Likewise.
37945         (libm_hidden_tls_proto): Likewise.
37946         (libresolv_hidden_tls_proto): Likewise.
37947         (librt_hidden_tls_proto): Likewise.
37948         (libdl_hidden_tls_proto): Likewise.
37949         (libnss_files_hidden_tls_proto): Likewise.
37950         (libnsl_hidden_tls_proto): Likewise.
37951         (libnss_nisplus_hidden_tls_proto): Likewise.
37952         (libutil_hidden_tls_proto): Likewise.
37954 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
37956         [BZ #10253]
37957         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
37958         (decompose_rpath): Defer expansion to fillin_rpath.
37959         (_dl_init_paths): Pass linkmap to fillin_rpath.
37961 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37963         * benchtests/Makefile: Add strsep.
37964         * benchtests/bench-strsep.c: New file: strsep benchtest.
37965         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
37967 2013-11-18  Andreas Schwab  <schwab@suse.de>
37969         * locale/programs/locale.c (show_info) [case byte]: Check for
37970         '\377' instead of '\177'.
37971         * locale/C-monetary.c (not_available): Always use "\377".
37972         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
37973         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
37974         detect unavailable sign_posn locale elements.
37975         * locale/localeconv.c (__localeconv): For grouping and
37976         mon_grouping handle "\177" and "\377" like no grouping.
37977         (INT_ELEM): New macro.  Use it to set all numeric members.
37978         * locale/programs/ld-monetary.c (monetary_read)
37979         <tok_mon_grouping>: Normalize single -1 to the empty string.
37980         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
37981         Likewise.
37983 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
37985         [BZ #16055]
37986         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
37987         when we match (nil).
37988         * stdio-common/tst-sscanf.c (struct test): Add testcase.
37990 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
37992         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
37993         (NO_TEST_INLINE): Update value.
37994         (ERRNO_UNCHANGED): Likewise.
37995         (ERRNO_EDOM): Likewise.
37996         (ERRNO_ERANGE): Likewise.
37997         (IGNORE_RESULT): Likewise.
37998         (check_float_internal): Check signs of NaN results if
37999         TEST_NAN_SIGN used.
38000         (check_complex): Pass TEST_NAN_SIGN flag through to second
38001         check_float_internal call.
38002         (copysign_test_data): Add tests with quiet NaNs as second
38003         argument.  Use TEST_NAN_SIGN.
38004         (fabs_test_data): Add test of negative quiet NaN argument.  Use
38005         TEST_NAN_SIGN.
38006         (signbit_test_data): Add tests of quiet NaN argument.
38007         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38009         * math/gen-libm-test.pl (show_exceptions): Take extra argument
38010         $ignore_result.
38011         (parse_args): Handle function results specified as IGNORE.
38012         * math/libm-test.inc (IGNORE_RESULT): New macro.
38013         (check_float_internal): Do not check numerical result if flag
38014         IGNORE_RESULT set.
38015         (check_complex): Pass through IGNORE_RESULT to second
38016         check_float_internal call.
38017         (check_int): Do not check numerical result if flag IGNORE_RESULT
38018         set.
38019         (check_long): Likewise.
38020         (check_bool): Likewise.
38021         (check_longlong): Likewise.
38022         (lrint_test_data): Add tests of infinite and NaN arguments.
38023         (lrint_tonearest_test_data): Likewise.
38024         (lrint_towardzero_test_data): Likewise.
38025         (lrint_downward_test_data): Likewise.
38026         (lrint_upward_test_data): Likewise.
38027         (llrint_test_data): Likewise.
38028         (llrint_tonearest_test_data): Likewise.
38029         (llrint_towardzero_test_data): Likewise.
38030         (llrint_downward_test_data): Likewise.
38031         (llrint_upward_test_data): Likewise.
38032         (lround_test_data): Likewise.
38033         (llround_test_data): Likewise.
38035         * math/libm-test.inc (NO_TEST_INLINE): New macro.
38036         (ERRNO_UNCHANGED): Update value.
38037         (ERRNO_EDOM): Likewise.
38038         (ERRNO_ERANGE): Likewise.
38039         (NO_TEST_INLINE_FLOAT): New macro.
38040         (NO_TEST_INLINE_DOUBLE): Likewise.
38041         (enable_test): New function.
38042         (RUN_TEST_f_f): Check enable_test before running test.
38043         (RUN_TEST_2_f): Likewise.
38044         (RUN_TEST_fff_f): Likewise.
38045         (RUN_TEST_c_f): Likewise.
38046         (RUN_TEST_f_f1): Likewise.
38047         (RUN_TEST_fF_f1): Likewise.
38048         (RUN_TEST_fI_f1): Likewise.
38049         (RUN_TEST_ffI_f1): Likewise.
38050         (RUN_TEST_c_c): Likewise.
38051         (RUN_TEST_cc_c): Likewise.
38052         (RUN_TEST_f_i): Likewise.
38053         (RUN_TEST_f_i_tg): Likewise.
38054         (RUN_TEST_ff_i_tg): Likewise.
38055         (RUN_TEST_f_b): Likewise.
38056         (RUN_TEST_f_b_tg): Likewise.
38057         (RUN_TEST_f_l): Likewise.
38058         (RUN_TEST_f_L): Likewise.
38059         (RUN_TEST_fFF_11): Likewise.
38060         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38061         conditionals.
38062         (cosh_test_data): Likewise.
38063         (exp_test_data): Likewise.
38064         (expm1_test_data): Likewise.
38065         (hypot_test_data): Likewise.
38066         (pow_test_data): Likewise.
38067         (sinh_test_data): Likewise.
38068         (tanh_test_data): Likewise.
38069         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38070         flags argument.
38072         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38073         tests with quiet NaN input and output.
38074         (acosh_test_data): Likewise.
38075         (asin_test_data): Likewise.
38076         (asinh_test_data): Likewise.
38077         (atan_test_data): Likewise.
38078         (atanh_test_data): Likewise.
38079         (atan2_test_data): Likewise.
38080         (cbrt_test_data): Likewise.
38081         (cos_test_data): Likewise.
38082         (cosh_test_data): Likewise.
38083         (erf_test_data): Likewise.
38084         (erfc_test_data): Likewise.
38085         (exp_test_data): Likewise.
38086         (exp10_test_data): Likewise.
38087         (exp2_test_data): Likewise.
38088         (expm1_test_data): Likewise.
38089         (hypot_test_data): Likewise.
38090         (j0_test_data): Likewise.
38091         (j1_test_data): Likewise.
38092         (jn_test_data): Likewise.
38093         (lgamma_test_data): Likewise.
38094         (log_test_data): Likewise.
38095         (log10_test_data): Likewise.
38096         (log1p_test_data): Likewise.
38097         (log2_test_data): Likewise.
38098         (pow_test_data): Likewise.
38099         (scalb_test_data): Likewise.
38100         (sin_test_data): Likewise.
38101         (sincos_test_data): Likewise.
38102         (sinh_test_data): Likewise.
38103         (tan_test_data): Likewise.
38104         (tanh_test_data): Likewise.
38105         (tgamma_test_data): Likewise.
38106         (y0_test_data): Likewise.
38107         (y1_test_data): Likewise.
38108         (yn_test_data): Likewise.
38110         [BZ #16167]
38111         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38112         argument being NaN and avoid computations with second argument in
38113         that case.
38114         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38115         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38116         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38118 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
38120         * locale/iso-639.def: Add Chitwani Tharu (the).
38122 2013-11-14  Andreas Schwab  <schwab@suse.de>
38124         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38125         word instead of empty string.
38127 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38130         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38132         (__fe_nomask_env): Likewise.
38134 2013-11-13  Steve Ellcey  <sellcey@mips.com>
38136         * benchtests/bench-timing.h: Include time.h.
38138 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38140         [BZ #15997]
38141         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38142         to 3.4.0 for x32.
38143         * sysdeps/unix/sysv/linux/configure: Regenerated.
38145 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38147         [BZ #16151]
38148         * stdlib/strtod_l.c (round_and_return): Do not consider
38149         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38150         exponent one less than half the least subnormal exponent.
38151         * stdlib/test-strtod-round-data: Add more tests.
38152         * stdlib/tst-strtod-round.c (tests): Regenerated.
38154 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38156         [BZ #14143]
38157         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38158         (__fe_mask_env): Likewise.
38159         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38160         libm_hidden_proto and add function prototype.
38161         (__fe_mask_env): Add function prototype.
38162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38163         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38165         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38167         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38169 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38171         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38172         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38174 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38176         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38177         of htab_find_slot().
38179 2013-11-11  David S. Miller  <davem@davemloft.net>
38181         [BZ #16150]
38182         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38183         symbol in the non-vis3 case in static builds.
38184         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38185         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38186         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38187         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38189 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38191         [BZ #387]
38192         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38193         it is empty.
38195 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38197         * benchtests/Makefile: Add bench-strtod.
38198         * benchtests/bench-strtod.c: New file: strtod benchtest
38200 2013-11-11  Andreas Schwab  <schwab@suse.de>
38202         [BZ #16153]
38203         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38204         terminating NUL in key length.
38206 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38208         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38209         Add artificial ODP entry for vDSO symbol for PPC64.
38210         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38211         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38213 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38215         [BZ #15374]
38216         * nss/getent.c (services_keys): Recognize services starting with digit.
38218 2013-11-06  David S. Miller  <davem@davemloft.net>
38220         [BZ #15985]
38221         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38222         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38224 2013-11-06  Will Newton  <will.newton@linaro.org>
38226         * manual/memory.texi (Malloc Examples): Remove register
38227         keyword from examples.
38229 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38231         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38233 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38235         [BZ #6981]
38236         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38237         depending on [__GCC_IEC_559 > 0].
38238         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38239         depending on [__GCC_IEC_559_COMPLEX > 0].
38241 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38243         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38244         to iso-639.def.
38246 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38248         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38250 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38252         [BZ #16112]
38253         * malloc/malloc (malloc_info): Do not handle first bin as
38254         special case.
38256 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38258         * locale/iso-639.def: Add Central Nahuatl (nhn).
38260 2013-11-01  Bruno Haible  <bruno@clisp.org>
38262         [BZ #7003]
38263         * manual/math.texi (BSD Random): Specify range upper bound as
38264         in POSIX.
38266 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
38268         * locale/iso-639.def: Add Meadow Mari (mhr).
38270 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
38272         [BZ #14752], [BZ #15763]
38273         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38274         Validate name.
38275         * rt/tst_shm.c: Add test for escaping directory.
38277 2013-10-31  Andreas Schwab  <schwab@suse.de>
38279         [BZ #15917]
38280         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38281         followed by 'x' as part of digit sequence.
38282         * stdio-common/tst-sscanf.c (double_tests2): New tests.
38284 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38286         [BZ #16037]
38287         * configure.ac: allow GNU Make 4.0 and greater.
38288         * configure: Regenerated.
38290 2013-10-30  Will Newton  <will.newton@linaro.org>
38292         [BZ #16038]
38293         * malloc/hooks.c (memalign_check): Limit alignment to the
38294         maximum representable power of two.
38295         * malloc/malloc.c (__libc_memalign): Likewise.
38296         * malloc/tst-memalign.c (do_test): Add test for very
38297         large alignment values.
38298         * malloc/tst-posix_memalign.c (do_test): Likewise.
38300 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38302         [BZ #11087]
38303         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38304         (munmap_chunk): Likewise.
38305         (mremap_chunk): Likewise.
38307 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38309         [BZ #15799]
38310         * stdlib/div.c (div): Remove obsolete code.
38311         * stdlib/ldiv.c (ldiv): Likewise.
38312         * stdlib/lldiv.c (lldiv): Likewise.
38314 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38316         [BZ #16071]
38317         * nss/nss_files/files-XXX.c (get_contents_ret): New
38318         enumerator.
38319         (get_contents): New function.
38320         (internal_getent): Use it.  Expand size of LINEBUFLEN.
38322 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
38324         * configure.in: Moved to ...
38325         * configure.ac: ... here. Change reference to configure.in
38326         to configure.ac.
38327         * sysdeps/arm/preconfigure.ac: ... here.
38328         configure.in to configure.ac.
38329         * sysdeps/gnu/configure.in: Moved to ...
38330         * sysdeps/gnu/configure.ac: ... here.
38331         * sysdeps/i386/configure.in: Moved to ...
38332         * sysdeps/i386/configure.ac: ... here.
38333         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38334         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38335         * sysdeps/mach/configure.in: Moved to ...
38336         * sysdeps/mach/configure.ac: ... here.
38337         * sysdeps/mach/hurd/configure.in: Moved to ...
38338         * sysdeps/mach/hurd/configure.ac: ... here.
38339         * sysdeps/powerpc/configure.in: Moved to ...
38340         * sysdeps/powerpc/configure.ac: ... here.
38341         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38342         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38343         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38344         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38345         * sysdeps/s390/s390-32/configure.in: Moved to ...
38346         * sysdeps/s390/s390-32/configure.ac: ... here.
38347         * sysdeps/s390/s390-64/configure.in: Moved to ...
38348         * sysdeps/s390/s390-64/configure.ac: ... here.
38349         * sysdeps/sh/configure.in: Moved to ...
38350         * sysdeps/sh/configure.ac: ... here.
38351         * sysdeps/sparc/configure.in: Moved to ...
38352         * sysdeps/sparc/configure.ac: ... here.
38353         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38354         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38355         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38356         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38357         * sysdeps/x86_64/configure.in: Moved to ...
38358         * sysdeps/x86_64/configure.ac: ... here.
38359         * sysdeps/x86_64/preconfigure.in: Moved to ...
38360         * sysdeps/x86_64/preconfigure.ac: ... here.
38361         * aclocal.m4: Change reference to configure.in to configure.ac.
38362         * config.h.in: Likewise.
38363         * manual/install.texi: Likewise.
38364         * manual/maint.texi: Likewise.
38365         * Makefile: Likewise.
38366         * malloc/Makefile: Likewise.
38367         * nscd/Makefile: Likewise.
38368         * Makeconfig: Change reference to configure.in and
38369         preconfigure.in to configure.ac and preconfigure.ac
38370         respectively.
38371         * INSTALL: Regenerated.
38372         * configure: Likewise.
38373         * sysdeps/gnu/configure: Likewise.
38374         * sysdeps/i386/configure: Likewise.
38375         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38376         * sysdeps/mach/configure: Likewise.
38377         * sysdeps/mach/hurd/configure: Likewise.
38378         * sysdeps/powerpc/configure: Likewise.
38379         * sysdeps/powerpc/powerpc32/configure: Likewise.
38380         * sysdeps/powerpc/powerpc64/configure: Likewise.
38381         * sysdeps/s390/s390-32/configure: Likewise.
38382         * sysdeps/s390/s390-64/configure: Likewise.
38383         * sysdeps/sh/configure: Likewise.
38384         * sysdeps/sparc/configure: Likewise.
38385         * sysdeps/unix/sysv/linux/configure: Likewise.
38386         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38387         * sysdeps/x86_64/configure: Likewise.
38388         * sysdeps/x86_64/preconfigure: Likewise.
38390 2013-10-29  Andreas Schwab  <schwab@suse.de>
38392         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38394 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38396         * benchtests/pow-inputs: Add new inputs.
38398         * benchtests/exp-inputs: Add new inputs.
38400         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38401         conditional check for return value.
38402         (__cos32): Likewise.
38404 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38406         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38407         to provide a boost for large inputs with word alignment.
38408         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38409         implementation based on optimized PPC64 strcpy.
38410         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38411         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38412         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38413         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38415 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38417         [BZ #2801]
38418         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38420 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38422         [BZ #14876]
38423         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38424         * time/tst-strptime.c (day_tests): Add testcase.
38426 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38428         [BZ #14029]
38429         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38431 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38433         [BZ #16074]
38434         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38435         MAP_FAILED on error.
38437 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38439         [BZ #16072]
38440         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38441         heap for large requests.
38443 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38445         [BZ #9954]
38446         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38447         result if the result has no associated interface.
38448         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38449         interface for all 127.X.Y.Z addresses.
38451 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38453         * locale/iso-639.def: Add Ligurian (lij)
38455 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38457         [BZ #15825]
38458         * sunrpc/rpc_main.c: Document rpcgen -5.
38460 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38462         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38464 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38466         [BZ #10278]
38467         * posix/glob.c: Match only directories when trailing slash is present.
38468         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38469         (main): Add testcase.
38471 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38473         [BZ #15670]
38474         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38476 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38478         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38479         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38480         AUTH_DES and cindex for FIPS 140-2.
38481         (DES Encryption): Add cindex FIPS 46-3.
38483         * locale/locarchive.h (struct locarhandle): Add fname.
38484         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38485         if an optional argument was specified to --list-archive,
38486         otherwise NULL.
38487         * locale/programs/locarchive.c (show_archive_content): Take new
38488         argument fname and pass it via ah.fname to open_archive.
38489         * locale/programs/localedef.h: Update decl.
38490         (open_archive): If AH->fname is non-null, open that file
38491         rather than the default file name, and don't ignore ENOENT.
38492         (create_archive): Set AH.fname to NULL.
38493         (delete_locales_from_archive): Likewise.
38494         (add_locales_to_archive): Likewise.
38495         * locale/programs/locfile.c (write_all_categories): Likewise.
38497 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38498             Aldy Hernandez  <aldyh@redhat.com>
38500         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38501         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38502         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38503         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38504         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38505         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38506         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38507         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38508         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38509         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38510         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38511         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38512         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38513         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38514         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38515         Likewise.
38516         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38517         Likewise.
38518         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38519         Likewise.
38520         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38521         Likewise.
38522         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38523         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38524         Likewise.
38525         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38526         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38527         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38528         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38529         Likewise.
38530         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38531         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38532         * sysdeps/powerpc/preconfigure: Likewise.
38533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38534         Likewise.
38535         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38536         Replace contents of file by #include of <fenv_libc.h>.
38537         * sysdeps/powerpc/soft-fp/sfp-machine.h
38538         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38539         and <sys/prctl.h>.
38540         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38541         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38542         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38543         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38544         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38545         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38547         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38548         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38549         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38550         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38551         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38553         Allow copysignl PLT reference to be missing.
38555 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38556             Joseph Myers  <joseph@codesourcery.com
38558         [BZ #15948]
38559         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38560         single character.
38561         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38563 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38565         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38566         * elf/tst-tls1.c: Likewise.
38567         * elf/tst-tls10.h: Likewise.
38568         * elf/tst-tls14.c: Likewise.
38569         * elf/tst-tls2.c: Likewise.
38570         * elf/tst-tls3.c: Likewise.
38571         * elf/tst-tls4.c: Likewise.
38572         * elf/tst-tls5.c: Likewise.
38573         * elf/tst-tls6.c: Likewise.
38574         * elf/tst-tls7.c: Likewise.
38575         * elf/tst-tls8.c: Likewise.
38576         * elf/tst-tls9.c: Likewise.
38577         * elf/tst-tlsmod1.c: Likewise.
38578         * elf/tst-tlsmod13.c: Likewise.
38579         * elf/tst-tlsmod13a.c: Likewise.
38580         * elf/tst-tlsmod14a.c: Likewise.
38581         * elf/tst-tlsmod16a.c: Likewise.
38582         * elf/tst-tlsmod16b.c: Likewise.
38583         * elf/tst-tlsmod2.c: Likewise.
38584         * elf/tst-tlsmod3.c: Likewise.
38585         * elf/tst-tlsmod4.c: Likewise.
38586         * elf/tst-tlsmod5.c: Likewise.
38587         * elf/tst-tlsmod6.c: Likewise.
38589 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38591         [BZ #12486]
38592         * malloc/malloc.c: remove checks for statistics.
38594 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38596         [BZ #15277]
38597         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38598         * inet/tst-network.c: Add testcase.
38600 2013-10-17  Andreas Schwab  <schwab@suse.de>
38602         [BZ #15218]
38603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38604         to determine canonical name.
38606 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38608         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38609         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38610         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38611         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38612         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38613         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38614         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38615         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38616         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38617         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38618         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38619         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38620         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38621         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38622         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38623         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38624         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38625         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38626         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38627         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38628         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38629         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38630         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38631         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38632         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38633         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38634         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38635         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38636         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38637         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38638         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38639         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38640         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38641         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38642         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38643         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38644         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38645         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38646         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38647         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38648         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38649         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38650         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38651         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38652         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38653         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38654         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38655         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38656         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38657         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38658         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38659         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38660         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38661         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38662         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38663         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38664         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38665         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38667 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38669         [BZ #16041]
38670         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38671         make result into a quiet NaN.
38673 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38675         * soft-fp/adddf3.c: Fix horizontal whitespace.
38676         * soft-fp/addsf3.c: Likewise.
38677         * soft-fp/addtf3.c: Likewise.
38678         * soft-fp/divdf3.c: Likewise.
38679         * soft-fp/divsf3.c: Likewise.
38680         * soft-fp/divtf3.c: Likewise.
38681         * soft-fp/double.h: Likewise.
38682         * soft-fp/eqdf2.c: Likewise.
38683         * soft-fp/eqsf2.c: Likewise.
38684         * soft-fp/eqtf2.c: Likewise.
38685         * soft-fp/extenddftf2.c: Likewise.
38686         * soft-fp/extended.h: Likewise.
38687         * soft-fp/extendsfdf2.c: Likewise.
38688         * soft-fp/extendsftf2.c: Likewise.
38689         * soft-fp/extendxftf2.c: Likewise.
38690         * soft-fp/fixdfdi.c: Likewise.
38691         * soft-fp/fixdfsi.c: Likewise.
38692         * soft-fp/fixdfti.c: Likewise.
38693         * soft-fp/fixsfdi.c: Likewise.
38694         * soft-fp/fixsfsi.c: Likewise.
38695         * soft-fp/fixsfti.c: Likewise.
38696         * soft-fp/fixtfdi.c: Likewise.
38697         * soft-fp/fixtfsi.c: Likewise.
38698         * soft-fp/fixtfti.c: Likewise.
38699         * soft-fp/fixunsdfdi.c: Likewise.
38700         * soft-fp/fixunsdfsi.c: Likewise.
38701         * soft-fp/fixunsdfti.c: Likewise.
38702         * soft-fp/fixunssfdi.c: Likewise.
38703         * soft-fp/fixunssfsi.c: Likewise.
38704         * soft-fp/fixunssfti.c: Likewise.
38705         * soft-fp/fixunstfdi.c: Likewise.
38706         * soft-fp/fixunstfsi.c: Likewise.
38707         * soft-fp/fixunstfti.c: Likewise.
38708         * soft-fp/floatdidf.c: Likewise.
38709         * soft-fp/floatdisf.c: Likewise.
38710         * soft-fp/floatditf.c: Likewise.
38711         * soft-fp/floatsidf.c: Likewise.
38712         * soft-fp/floatsisf.c: Likewise.
38713         * soft-fp/floatsitf.c: Likewise.
38714         * soft-fp/floattidf.c: Likewise.
38715         * soft-fp/floattisf.c: Likewise.
38716         * soft-fp/floattitf.c: Likewise.
38717         * soft-fp/floatundidf.c: Likewise.
38718         * soft-fp/floatundisf.c: Likewise.
38719         * soft-fp/floatunditf.c: Likewise.
38720         * soft-fp/floatunsidf.c: Likewise.
38721         * soft-fp/floatunsisf.c: Likewise.
38722         * soft-fp/floatunsitf.c: Likewise.
38723         * soft-fp/floatuntidf.c: Likewise.
38724         * soft-fp/floatuntisf.c: Likewise.
38725         * soft-fp/floatuntitf.c: Likewise.
38726         * soft-fp/fmadf4.c: Likewise.
38727         * soft-fp/fmasf4.c: Likewise.
38728         * soft-fp/fmatf4.c: Likewise.
38729         * soft-fp/gedf2.c: Likewise.
38730         * soft-fp/gesf2.c: Likewise.
38731         * soft-fp/getf2.c: Likewise.
38732         * soft-fp/ledf2.c: Likewise.
38733         * soft-fp/lesf2.c: Likewise.
38734         * soft-fp/letf2.c: Likewise.
38735         * soft-fp/muldf3.c: Likewise.
38736         * soft-fp/mulsf3.c: Likewise.
38737         * soft-fp/multf3.c: Likewise.
38738         * soft-fp/negdf2.c: Likewise.
38739         * soft-fp/negsf2.c: Likewise.
38740         * soft-fp/negtf2.c: Likewise.
38741         * soft-fp/op-1.h: Likewise.
38742         * soft-fp/op-2.h: Likewise.
38743         * soft-fp/op-4.h: Likewise.
38744         * soft-fp/op-8.h: Likewise.
38745         * soft-fp/op-common.h: Likewise.
38746         * soft-fp/quad.h: Likewise.
38747         * soft-fp/single.h: Likewise.
38748         * soft-fp/soft-fp.h: Likewise.
38749         * soft-fp/sqrtdf2.c: Likewise.
38750         * soft-fp/sqrtsf2.c: Likewise.
38751         * soft-fp/sqrttf2.c: Likewise.
38752         * soft-fp/subdf3.c: Likewise.
38753         * soft-fp/subsf3.c: Likewise.
38754         * soft-fp/subtf3.c: Likewise.
38755         * soft-fp/truncdfsf2.c: Likewise.
38756         * soft-fp/trunctfdf2.c: Likewise.
38757         * soft-fp/trunctfsf2.c: Likewise.
38758         * soft-fp/trunctfxf2.c: Likewise.
38759         * soft-fp/unorddf2.c: Likewise.
38760         * soft-fp/unordsf2.c: Likewise.
38761         * soft-fp/unordtf2.c: Likewise.
38763 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38765         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38766         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38768 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38770         * elf/dl-libc.c: Clear initfini list after freeing.
38772 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38774         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38775         * soft-fp/addsf3.c: Likewise.
38776         * soft-fp/addtf3.c: Likewise.
38777         * soft-fp/divdf3.c: Likewise.
38778         * soft-fp/divsf3.c: Likewise.
38779         * soft-fp/divtf3.c: Likewise.
38780         * soft-fp/double.h: Likewise.
38781         * soft-fp/eqdf2.c: Likewise.
38782         * soft-fp/eqsf2.c: Likewise.
38783         * soft-fp/eqtf2.c: Likewise.
38784         * soft-fp/extenddftf2.c: Likewise.
38785         * soft-fp/extended.h: Likewise.
38786         * soft-fp/extendsfdf2.c: Likewise.
38787         * soft-fp/extendsftf2.c: Likewise.
38788         * soft-fp/extendxftf2.c: Likewise.
38789         * soft-fp/fixdfdi.c: Likewise.
38790         * soft-fp/fixdfsi.c: Likewise.
38791         * soft-fp/fixdfti.c: Likewise.
38792         * soft-fp/fixsfdi.c: Likewise.
38793         * soft-fp/fixsfsi.c: Likewise.
38794         * soft-fp/fixsfti.c: Likewise.
38795         * soft-fp/fixtfdi.c: Likewise.
38796         * soft-fp/fixtfsi.c: Likewise.
38797         * soft-fp/fixtfti.c: Likewise.
38798         * soft-fp/fixunsdfdi.c: Likewise.
38799         * soft-fp/fixunsdfsi.c: Likewise.
38800         * soft-fp/fixunsdfti.c: Likewise.
38801         * soft-fp/fixunssfdi.c: Likewise.
38802         * soft-fp/fixunssfsi.c: Likewise.
38803         * soft-fp/fixunssfti.c: Likewise.
38804         * soft-fp/fixunstfdi.c: Likewise.
38805         * soft-fp/fixunstfsi.c: Likewise.
38806         * soft-fp/fixunstfti.c: Likewise.
38807         * soft-fp/floatdidf.c: Likewise.
38808         * soft-fp/floatdisf.c: Likewise.
38809         * soft-fp/floatditf.c: Likewise.
38810         * soft-fp/floatsidf.c: Likewise.
38811         * soft-fp/floatsisf.c: Likewise.
38812         * soft-fp/floatsitf.c: Likewise.
38813         * soft-fp/floattidf.c: Likewise.
38814         * soft-fp/floattisf.c: Likewise.
38815         * soft-fp/floattitf.c: Likewise.
38816         * soft-fp/floatundidf.c: Likewise.
38817         * soft-fp/floatundisf.c: Likewise.
38818         * soft-fp/floatunsidf.c: Likewise.
38819         * soft-fp/floatunsisf.c: Likewise.
38820         * soft-fp/floatuntidf.c: Likewise.
38821         * soft-fp/floatuntisf.c: Likewise.
38822         * soft-fp/floatuntitf.c: Likewise.
38823         * soft-fp/fmadf4.c: Likewise.
38824         * soft-fp/fmasf4.c: Likewise.
38825         * soft-fp/fmatf4.c: Likewise.
38826         * soft-fp/gedf2.c: Likewise.
38827         * soft-fp/gesf2.c: Likewise.
38828         * soft-fp/getf2.c: Likewise.
38829         * soft-fp/ledf2.c: Likewise.
38830         * soft-fp/lesf2.c: Likewise.
38831         * soft-fp/letf2.c: Likewise.
38832         * soft-fp/muldf3.c: Likewise.
38833         * soft-fp/mulsf3.c: Likewise.
38834         * soft-fp/multf3.c: Likewise.
38835         * soft-fp/negdf2.c: Likewise.
38836         * soft-fp/negsf2.c: Likewise.
38837         * soft-fp/negtf2.c: Likewise.
38838         * soft-fp/op-1.h: Likewise.
38839         * soft-fp/op-2.h: Likewise.
38840         * soft-fp/op-4.h: Likewise.
38841         * soft-fp/op-8.h: Likewise.
38842         * soft-fp/op-common.h: Likewise.
38843         * soft-fp/quad.h: Likewise.
38844         * soft-fp/single.h: Likewise.
38845         * soft-fp/soft-fp.h: Likewise.
38846         * soft-fp/sqrtdf2.c: Likewise.
38847         * soft-fp/sqrtsf2.c: Likewise.
38848         * soft-fp/sqrttf2.c: Likewise.
38849         * soft-fp/subdf3.c: Likewise.
38850         * soft-fp/subsf3.c: Likewise.
38851         * soft-fp/subtf3.c: Likewise.
38852         * soft-fp/truncdfsf2.c: Likewise.
38853         * soft-fp/trunctfdf2.c: Likewise.
38854         * soft-fp/trunctfsf2.c: Likewise.
38855         * soft-fp/trunctfxf2.c: Likewise.
38856         * soft-fp/unorddf2.c: Likewise.
38857         * soft-fp/unordsf2.c: Likewise.
38858         * soft-fp/unordtf2.c: Likewise.
38860 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
38862         [BZ #15672]
38863         * misc/error.c (error_tail): Fix possible buffer overflow.
38865 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
38867         [BZ #13028]
38868         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
38869         address.
38871 2013-10-14  P. J. McDermott  <pj@pehjota.net>
38873         [BZ #832]
38874         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
38875         testing pipefail option.
38877 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38879         * soft-fp/double.h: Indent preprocessor directives inside #if.
38880         * soft-fp/extended.h: Likewise.
38881         * soft-fp/op-2.h: Likewise.
38882         * soft-fp/op-4.h: Likewise.
38883         * soft-fp/op-common.h: Likewise.
38884         * soft-fp/quad.h: Likewise.
38885         * soft-fp/single.h: Likewise.
38886         * soft-fp/soft-fp.h: Likewise.
38888 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
38890         * iconv/iconv_prog.c: Fix typos.
38891         * stdio-common/psiginfo-data.h: Likewise.
38893 2013-10-12   Reuben Thomas <rrt@sc3d.org>
38895         [BZ #15764]
38896         * locale/setlocale.c: Fix typo.
38898 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
38900         [BZ #16036]
38901         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
38902         signaling NaN arguments.
38903         * soft-fp/unordsf2.c (__unordsf2): Likewise.
38904         * soft-fp/unordtf2.c (__unordtf2): Likewise.
38906         [BZ #14910]
38907         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
38908         unordered operands.
38909         * soft-fp/gesf2.c (__gesf2): Likewise.
38910         * soft-fp/getf2.c (__getf2): Likewise.
38911         * soft-fp/ledf2.c (__ledf2): Likewise.
38912         * soft-fp/lesf2.c (__lesf2): Likewise.
38913         * soft-fp/letf2.c (__letf2): Likewise.
38915         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
38916         * soft-fp/eqsf2.c (__eqsf2): Likewise.
38917         * soft-fp/eqtf2.c (__eqtf2): Likewise.
38918         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
38919         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
38920         * soft-fp/fixdfti.c (__fixdfti): Likewise.
38921         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
38922         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
38923         * soft-fp/fixsfti.c (__fixsfti): Likewise.
38924         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
38925         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
38926         * soft-fp/fixtfti.c (__fixtfti): Likewise.
38927         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
38928         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
38929         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
38930         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
38931         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
38932         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
38933         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
38934         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
38935         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
38936         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
38937         * soft-fp/floatdisf.c (__floatdisf): Likewise.
38938         * soft-fp/floatsisf.c (__floatsisf): Likewise.
38939         * soft-fp/floattidf.c (__floattidf): Likewise.
38940         * soft-fp/floattisf.c (__floattisf): Likewise.
38941         * soft-fp/floattitf.c (__floattitf): Likewise.
38942         * soft-fp/floatundidf.c (__floatundidf): Likewise.
38943         * soft-fp/floatundisf.c (__floatundisf): Likewise.
38944         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
38945         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
38946         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
38947         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
38948         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
38949         * soft-fp/gesf2.c (__gesf2): Likewise.
38950         * soft-fp/getf2.c (__getf2): Likewise.
38951         * soft-fp/ledf2.c (__ledf2): Likewise.
38952         * soft-fp/lesf2.c (__lesf2): Likewise.
38953         * soft-fp/letf2.c (__letf2): Likewise.
38955         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
38956         Undefine and redefine.
38957         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
38958         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
38959         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
38960         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
38961         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38962         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
38963         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38964         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
38965         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38966         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
38967         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38968         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
38969         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38970         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
38971         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
38973         [BZ #16032]
38974         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
38975         without decrementing exponent if mantissa >= that for the
38976         denominator, not >.
38977         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
38978         denominator, not >.  Decrement exponent in < case instead of
38979         incrementing in >= case.
38980         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
38981         without decrementing exponent if mantissa >= that for the
38982         denominator, not >.
38984         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
38985         computing saturated result for unsigned overflow.
38987 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38988             Jeff Law  <law@redhat.com>
38990         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
38991         (atan2Mp): Add systemtap probe marker.
38992         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
38993         (__ieee754_log): Add systemtap probe marker.
38994         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
38995         (atanMp): Add systemtap probe marker.
38996         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
38997         (tanMp): Add systemtap probe marker.
38998         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
38999         (__slowexp): Add systemtap probe marker.
39000         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39001         (__slowpow): Add systemtap probe marker.
39002         * manual/probes.texi: Document probes.
39004 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
39006         [BZ #15362]
39007         * libio/fileops.c (_IO_new_file_write): Return count of bytes
39008         written.
39009         (_IO_new_file_xsputn): Don't return EOF if nothing has been
39010         written.
39011         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39012         written to buffer but not flushed.
39013         * libio/iofwrite_u.c:  Likewise.
39014         * libio/iopadn.c:  Return bytes returned even if EOF was
39015         encountered.
39016         * libio/iowpadn.c:  Likewise.
39017         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39018         if _IO_padn does not write the whole buffer.
39019         [!COMPILE_WPRINTF] (PAD): Likewise.
39021 2013-10-10  David S. Miller  <davem@davemloft.net>
39023         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39024         directory block.
39026 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39028         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
39029         instead of FSF address.
39030         * soft-fp/fixdfti.c: Likewise.
39031         * soft-fp/fixsfti.c: Likewise.
39032         * soft-fp/fixtfti.c: Likewise.
39033         * soft-fp/fixunsdfti.c: Likewise.
39034         * soft-fp/fixunssfti.c: Likewise.
39035         * soft-fp/fixunstfti.c: Likewise.
39036         * soft-fp/floattidf.c: Likewise.
39037         * soft-fp/floattisf.c: Likewise.
39038         * soft-fp/floattitf.c: Likewise.
39039         * soft-fp/floatuntidf.c: Likewise.
39040         * soft-fp/floatuntisf.c: Likewise.
39041         * soft-fp/floatuntitf.c: Likewise.
39042         * soft-fp/trunctfxf2.c: Likewise.
39044         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
39045         * soft-fp/fixdfti.c: Likewise.
39046         * soft-fp/fixsfti.c: Likewise.
39047         * soft-fp/fixtfti.c: Likewise.
39048         * soft-fp/fixunsdfti.c: Likewise.
39049         * soft-fp/fixunssfti.c: Likewise.
39050         * soft-fp/fixunstfti.c: Likewise.
39051         * soft-fp/floattidf.c: Likewise.
39052         * soft-fp/floattisf.c: Likewise.
39053         * soft-fp/floattitf.c: Likewise.
39054         * soft-fp/floatuntidf.c: Likewise.
39055         * soft-fp/floatuntisf.c: Likewise.
39056         * soft-fp/floatuntitf.c: Likewise.
39057         * soft-fp/trunctfxf2.c: Likewise.
39059 2013-10-10  David S. Miller  <davem@davemloft.net>
39061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39063 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
39065         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39066         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39067         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39068         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39069         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39070         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39071         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39073         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39074         for NaNs before doing comparisons on argument.
39075         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39076         Likewise.
39078 2013-10-10  Will Newton  <will.newton@linaro.org>
39080         * malloc/hooks.c (memalign_check): Ensure the value of bytes
39081         passed to _int_memalign does not overflow.
39083 2013-10-10  Torvald Riegel  <triegel@redhat.com>
39085         * scripts/bench.pl: Add include-sources directive.
39086         * benchtests/README: Update documentation.
39088 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39090         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39091         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39092         instead of FP_INIT_ROUNDMODE.
39093         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39094         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39096         [BZ #16034]
39097         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
39098         copy class of input value.
39099         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
39100         not handle exceptions.
39101         * soft-fp/negsf2.c (__negsf2): Likewise.
39102         * soft-fp/negtf2.c (__negtf2): Likewise.
39103         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39105 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
39107         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39108         semicolon.  From Linux kernel.
39110 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
39112         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39114 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
39116         [BZ #156]
39117         * manual/socket.texi: Added statement about buffer
39118         for gethostbyname2_r.
39120 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
39122         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39123         Use .p2align directive instead, throughout.
39124         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39125         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39126         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39127         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39128         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39129         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39130         * sysdeps/x86_64/strchr.S: Likewise.
39131         * sysdeps/x86_64/strrchr.S: Likewise.
39133 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39135         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39137         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39139         * sysdeps/generic/math_private.h (__mpsin1): Remove
39140         declaration.
39141         (__mpcos1): Likewise.
39142         (__mpsin): New argument __range_reduce.
39143         (__mpcos): Likewise.
39144         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39145         (slow): Use __mpsin and __mpcos.
39146         (slow1): Likewise.
39147         (slow2): Likewise.
39148         (sloww): Likewise.
39149         (sloww1): Likewise.
39150         (sloww2): Likewise.
39151         (bsloww): Likewise.
39152         (bsloww1): Likewise.
39153         (bsloww2): Likewise.
39154         (cslow2): Likewise.
39155         (csloww): Likewise.
39156         (csloww1): Likewise.
39157         (csloww2): Likewise.
39158         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39159         range_reduce.  Merge in __mpsin1.
39160         (__mpcos): Likewise.
39161         (__mpsin1): Remove.
39162         (__mpcos1): Likewise.
39164 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39166         * locale/loadlocale.c (_nl_intern_locale_data): Use
39167         LOCFILE_ALIGNED_P.
39168         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39169         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39170         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39171         obstack data is appropriately aligned.
39172         (obstack_int32_grow_fast): Likewise.
39173         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39174         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39175         (add_locale_uint32_array): Likewise.
39177 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39179         * benchtests/Makefile: Remove ARGLIST and RET variables.
39180         ($(objpfx)bench-%.c): Pass only function name to the script.
39181         * benchtests/README: Update documentation.
39182         * benchtests/acos-inputs: Add new directives.
39183         * benchtests/acosh-inputs: Likewise.
39184         * benchtests/asin-inputs: Likewise.
39185         * benchtests/asinh-inputs: Likewise.
39186         * benchtests/atan-inputs: Likewise.
39187         * benchtests/atanh-inputs: Likewise.
39188         * benchtests/cos-inputs: Likewise.
39189         * benchtests/cosh-inputs: Likewise.
39190         * benchtests/exp-inputs: Likewise.
39191         * benchtests/log-inputs: Likewise.
39192         * benchtests/pow-inputs: Likewise.
39193         * benchtests/rint-inputs: Likewise.
39194         * benchtests/sin-inputs: Likewise.
39195         * benchtests/sinh-inputs: Likewise.
39196         * benchtests/tan-inputs: Likewise.
39197         * benchtests/tanh-inputs: Likewise.
39198         * scripts/bench.pl: Add support for new directives.
39200 2013-10-07  Alan Modra  <amodra@gmail.com>
39202         * README: Fix careless merge.
39204 2013-10-05  Alan Modra  <amodra@gmail.com>
39206         * NEWS: Mention powerpc64le support and bugs fixed.
39207         * README: Both big-endian and little-endian powerpc64 supported.
39209 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39211         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39212         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39213         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39214         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39216 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39218         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39219         match prototype.
39221 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39223         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39224         Move -mhard-float appending from
39225         ports/sysdeps/powerpc/powerpc32/Makefile.
39226         [$(with-fp) = yes] (ASFLAGS): Likewise.
39227         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39228         * sysdeps/powerpc/nofpu: Move directory from
39229         ports/sysdeps/powerpc/nofpu.
39230         * sysdeps/powerpc/soft-fp: Move directory from
39231         ports/sysdeps/powerpc/soft-fp.
39232         * sysdeps/powerpc/powerpc32/405: Move directory from
39233         ports/sysdeps/powerpc/powerpc32/405.
39234         * sysdeps/powerpc/powerpc32/440: Move directory from
39235         ports/sysdeps/powerpc/powerpc32/440.
39236         * sysdeps/powerpc/powerpc32/464: Move directory from
39237         ports/sysdeps/powerpc/powerpc32/464.
39238         * sysdeps/powerpc/powerpc32/476: Move directory from
39239         ports/sysdeps/powerpc/powerpc32/476.
39240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39241         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39243         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39245         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39247         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39249         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39250         * README: Update for powerpc-*-linux-gnu software floating point
39251         support in libc.
39253         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39254         case to powerpc/powerpc32*.
39255         * sysdeps/unix/sysv/linux/configure: Regenerated.
39257         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39258         (_FPU_MASK_OM): Define as 0x04.
39259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39261         0x00c10080.
39262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39263         0x0000003c.
39264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39267         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39268         getcontext_e500.
39269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39270         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39271         setcontext_e500.
39272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39273         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39274         and setcontext_e500.
39276 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
39278         * locale/iso-3166.def: Update iso-1366.def and related occurrences
39280 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39282         * manual/threads.texi (Default Thread Attributes): Fix typo.
39284 2013-10-04  Will Newton  <will.newton@linaro.org>
39286         * malloc/Makefile: Add tst-memalign.
39287         * malloc/tst-memalign.c: New file.
39289         * malloc/tst-posix_memalign.c: Add comments.
39290         (do_test): Add comments and call free on all potentially
39291         allocated pointers. Add space after cast.
39293         * malloc/tst-pvalloc.c: Add comments.
39294         (do_test): Add comments and call free on all potentially
39295         allocated pointers. Remove duplicate check for NULL pointer.
39296         Add space after cast.
39298         * malloc/tst-valloc.c: Add comments.
39299         (do_test): Add comments and call free on all potentially
39300         allocated pointers. Remove duplicate check for NULL pointer.
39301         Add space after cast.
39303 2013-10-04  Alan Modra  <amodra@gmail.com>
39305         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39306         Use stdint types in rather than __attribute__((mode())).
39307         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39309 2013-10-04  Alan Modra  <amodra@gmail.com>
39311         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39312         Correct handling of unaligned relocs for little-endian.
39313         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39315 2013-10-04  Alan Modra  <amodra@gmail.com>
39317         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39318         * configure: Regenerate.
39319         * nptl/shlib-versions: Powerpc*le starts at 2.18.
39320         * shlib-versions: Likewise.
39322 2013-10-04  Alan Modra  <amodra@gmail.com>
39324         * string/tester.c (test_memrchr): Increment reported test cycle.
39326 2013-10-04  Alan Modra  <amodra@gmail.com>
39328         * string/test-memcpy.c (do_one_test): When reporting errors, print
39329         string address and don't overrun end of string.
39331 2013-10-04  Alan Modra  <amodra@gmail.com>
39333         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39334         insrdi.  Make better use of reg selection to speed exit slightly.
39335         Schedule entry path a little better.  Remove useless "are we done"
39336         checks on entry to main loop.  Handle wrapping around zero address.
39337         Correct main loop count.  Handle single left-over word from main
39338         loop inline rather than by using loop_small.  Remove extra word
39339         case in loop_small caused by wrong loop count.  Add little-endian
39340         support.
39341         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39342         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39343         cache hint.
39344         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39345         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39346         support.  Avoid rlwimi.
39347         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39349 2013-10-04  Alan Modra  <amodra@gmail.com>
39351         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39352         insrdi.  Formatting.
39353         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39354         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39355         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39356         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39357         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39358         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39360 2013-10-04  Alan Modra  <amodra@gmail.com>
39362         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39363         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39364         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39365         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39366         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39367         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39368         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39369         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39370         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39371         use of regs.  Use power7 mtocrf.  Tidy function tails.
39373 2013-10-04  Alan Modra  <amodra@gmail.com>
39375         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39376         Formatting.  Consistently use rXXX register defines or rN defines.
39377         Use early exit labels that avoid restoring unused non-volatile regs.
39378         Make cr field use more consistent with rWORDn compares.  Rename
39379         regs used as shift registers for unaligned loop, using rN defines
39380         for short lifetime/multiple use regs.
39381         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39382         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39383         addi 1,1,64 to pop stack frame.  Simplify return value code.
39384         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39386 2013-10-04  Alan Modra  <amodra@gmail.com>
39388         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39389         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39390         rather than rlwimi.
39391         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39392         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39393         little-endian support.  Correct typos.
39394         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39395         rather than rlwimi.
39396         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39397         in loop and entry code to keep "and." results.
39398         (strchr): Add little-endian support.  Comment.  Move cntlzd
39399         earlier in tail.
39400         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39402 2013-10-04  Alan Modra  <amodra@gmail.com>
39404         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39405         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39406         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39407         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39409 2013-10-04  Alan Modra  <amodra@gmail.com>
39411         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39412         (rTMP): Define as r11.
39413         (strcmp): Add little-endian support.  Optimise tail.
39414         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39415         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39416         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39417         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39418         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39419         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39420         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39422 2013-10-04  Alan Modra  <amodra@gmail.com>
39424         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39425         little-endian support.  Remove unnecessary "are we done" tests.
39426         Handle "s" wrapping around zero and extremely large "size".
39427         Correct main loop count.  Handle single left-over word from main
39428         loop inline rather than by using small_loop.  Correct comments.
39429         Delete "zero" tail, use "end_max" instead.
39430         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39432 2013-10-04  Alan Modra  <amodra@gmail.com>
39434         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39435         support.  Don't branch over align.
39436         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39437         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39438         support.  Rearrange tmp reg use to suit.  Comment.
39439         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39441 2013-10-04  Alan Modra  <amodra@gmail.com>
39443         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39445 2013-10-04  Alan Modra  <amodra@gmail.com>
39447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39448         conditional form of branch and link when obtaining pc.
39449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39451 2013-10-04  Alan Modra  <amodra@gmail.com>
39453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39454         HIWORD/LOWORD.
39455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39458 2013-10-04  Alan Modra  <amodra@gmail.com>
39460         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39461         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39462         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39463         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39464         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39465         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39466         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39467         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39468         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39469         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39471 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39472             Alistair Popple <alistair@ozlabs.au.ibm.com>
39473             Alan Modra <amodra@gmail.com>
39475         [BZ #15723]
39476         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39477         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39478         _dl_hwcap access for little-endian.
39479         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39480         destroy vmx regs when saving unaligned.
39481         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39482         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39483         destroy vmx regs when saving unaligned.
39485 2013-10-04  Alan Modra  <amodra@gmail.com>
39487         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39488         Don't use a union to pack hi/low value.
39490 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39492         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39493         for little-endian.
39494         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39495         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39496         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39497         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39498         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39500 2013-10-04  Alan Modra  <amodra@gmail.com>
39502         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39503         constants to usual value for .cst8 section, and remove redundant
39504         high address load.
39505         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39506         constant for 0x1p52.  Load little-endian words of double from
39507         correct stack offsets.
39509 2013-10-04  Alan Modra  <amodra@gmail.com>
39511         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39512         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39513         words of double from correct stack offsets.
39514         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39515         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39516         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39517         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39518         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39519         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39520         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39521         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39522         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39523         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39524         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39525         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39526         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39527         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39528         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39529         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39530         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39532 2013-10-04  Alan Modra  <amodra@gmail.com>
39534         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39535         64-bit int/double union.
39536         (_FPU_SETCW): Likewise.
39537         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39538         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39540 2013-10-04  Alan Modra  <amodra@gmail.com>
39542         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39543         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39545 2013-10-04  Alan Modra  <amodra@gmail.com>
39547         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39548         use vector int constants.
39549         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39551 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39553         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39554         array with long long.
39555         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39556         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39557         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39558         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39559         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39560         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39561         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39562         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39563         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39564         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39565         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39566         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39567         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39569 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39571         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39572         (__signbit): Likewise.  Correct for little-endian.
39573         (__signbitl): Call __signbit.
39574         (lrint): Correct for little-endian.
39575         (lrintf): Call lrint.
39577 2013-10-04  Alan Modra  <amodra@gmail.com>
39579         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39580         union 32-bit int array member with 64-bit int array.
39581         (t515, tm256): Double rather than long double.
39582         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39584 2013-10-04  Alan Modra  <amodra@gmail.com>
39586         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39587         Delete.
39588         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39589         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39590         version of math_ldbl.h.
39592 2013-10-04  Alan Modra  <amodra@gmail.com>
39594         [BZ #15734], [BZ #15735]
39595         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39596         all uses of ieee875 long double macros and unions.  Simplify test
39597         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39598         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39599         normalize after ldbl_extract_mantissa, and don't add hidden bit
39600         already handled.  Don't treat low word of ieee854 mantissa like
39601         low word of IBM long double and mask off bit when testing for
39602         zero.
39603         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39604         all uses of ieee875 long double macros and unions.  Simplify tests
39605         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39606         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39607         two1022, instead use their values.  Recognise that tests for large
39608         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39609         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39610         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39611         test for 0.0L and nan.  Correct negation.
39612         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39613         ieee875 long double macros and unions.  Correct output for large
39614         magnitude x.  Correct absolute value calculation.
39615         (__erfcl): Likewise.
39616         * math/libm-test.inc: Add tests for errors discovered in IBM long
39617         double versions of fmodl, remainderl, erfl and erfcl.
39619 2013-10-04  Alan Modra  <amodra@gmail.com>
39621         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39622         all uses of ieee854 long double macros and unions.  Simplify tests
39623         for long doubles that are fully specified by the high double.
39624         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39625         Likewise.
39626         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39627         Remove dead code too.
39628         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39629         (__ieee754_ynl): Likewise.
39630         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39631         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39632         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39633         Remove dead code too.
39634         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39635         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39636         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39637         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39638         Simplify.
39639         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39640         Simplify.
39641         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39642         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39643         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39644         Comment on variable precision.
39645         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39646         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39647         Likewise.
39648         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39649         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39650         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39651         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39652         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39654 2013-10-04  Alan Modra  <amodra@gmail.com>
39656         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39657         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39658         all uses of ieee854 long double macros and unions.
39659         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39660         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39661         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39662         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39663         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39664         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39665         Likewise.
39666         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39667         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39668         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39669         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39670         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39671         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39672         Simplify sign and nan test too.
39673         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39674         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39675         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39676         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39677         Likewise.
39678         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39679         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39680         Likewise.
39681         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39682         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39683         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39684         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39685         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39686         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39688 2013-10-04  Alan Modra  <amodra@gmail.com>
39690         * stdio-common/printf_size.c (__printf_size): Don't use
39691         union ieee854_long_double in fpnum union.
39692         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39693         signbit macro to retrieve sign from long double.
39694         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39695         retrieve sign from long double.
39696         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39697         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39698         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39699         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39700         * math/test-misc.c (main): Don't use union ieee854_long_double.
39702 2013-10-04  Alan Modra  <amodra@gmail.com>
39704         [BZ #15680]
39705         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39706         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39707         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39708         calculation.  Remove unnecessary test for denormal exponent.
39709         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39710         Correct handling of denormals.  Avoid undefined shift behaviour.
39711         Correct normalisation of low mantissa when low double is denormal.
39712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39713         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39714         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39715         Correct normalisation of low mantissa.  Test for overflow of high
39716         mantissa and normalise.
39717         (ldbl_nearbyint): Use more readable constant for two52.
39718         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39719         (__mpn_construct_long_double): Fix test for overflow of high
39720         mantissa and correct normalisation.  Avoid undefined shift.
39722 2013-10-04  Alan Modra  <amodra@gmail.com>
39724         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39725         (union ibm_extended_long_double): Define as an array of ieee754_double.
39726         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39727         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39728         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39729         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39730         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39731         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39732         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39733         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39734         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39735         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39736         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39738 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
39740         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39741         page size instead of calling getpagesize.
39743         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39744         (LOCFILE_ALIGN_MASK): Likewise.
39745         (LOCFILE_ALIGN_UP): Likewise.
39746         (LOCFILE_ALIGNED_P): Likewise.
39747         * locale/programs/ld-collate.c (collate_output): Use the new
39748         macros instead of __alignof__ (int32_t).
39749         * locale/weight.h (findidx): Likewise.
39751 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
39753         [BZ #431]
39754         * manual/string.texi: Fix strncat and wcsncat.
39756 2013-10-03  Brooks Moses  <bmoses@google.com>
39758         [BZ #15915]
39759         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39760         * Makerules: ...here, and adjust associated comments.
39762 2013-10-02  Will Newton  <will.newton@linaro.org>
39764         * malloc/Makefile: Add tst-pvalloc.
39765         * malloc/tst-pvalloc.c: New file.
39767 2013-10-02  Will Newton  <will.newton@linaro.org>
39769         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39770         improve test coverage.
39772 2013-10-02  Will Newton  <will.newton@linaro.org>
39774         * malloc/Makefile: Add tst-posix_memalign.
39775         * malloc/tst-posix_memalign.c: New file.
39777 2013-10-01  Eric Blake  <eblake@redhat.com>
39779         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39780         Use __THROWNL rather than __THROW on static functions.
39782 2013-09-30  Petr Machata  <pmachata@redhat.com>
39784         * elf/elf.h (R_AARCH64_ABS16): New macro.
39785         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39786         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39787         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39788         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39789         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39790         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39791         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39792         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39793         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39794         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39795         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39796         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39797         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39798         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39799         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
39800         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
39801         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
39802         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
39803         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
39804         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
39805         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
39806         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
39807         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
39808         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
39809         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
39810         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
39811         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
39812         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
39813         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
39814         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
39815         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
39816         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
39817         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
39818         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
39819         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
39820         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
39821         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
39822         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
39823         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
39824         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
39825         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
39826         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
39827         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
39828         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
39829         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
39830         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
39831         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
39832         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
39833         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
39834         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
39835         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
39836         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
39837         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
39838         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
39839         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
39840         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
39841         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
39842         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
39843         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
39844         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
39845         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
39846         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
39847         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
39848         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
39849         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
39850         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
39851         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
39852         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
39853         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
39854         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
39855         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
39856         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
39857         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
39858         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
39859         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
39860         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
39861         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
39862         (R_AARCH64_TLSDESC_LDR): Likewise.
39863         (R_AARCH64_TLSDESC_ADD): Likewise.
39864         (R_AARCH64_TLSDESC_CALL): Likewise.
39866 2013-09-30  Andreas Schwab  <schwab@suse.de>
39868         [BZ #15048]
39869         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
39870         the nss database lookup.
39871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39874 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
39876         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
39878 2013-09-28  P. J. McDermott  <pj@pehjota.net>
39880         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
39881         ${Bash-specific parameter/pattern/string} parameter expansion.
39882         * sysdeps/unix/make-syscalls.sh: Likewise.
39884 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39886         * sysdeps/sh/stackguard-macros.h: New file.
39888 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
39890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39891         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
39892         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
39893         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
39894         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39895         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
39897 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39899         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
39900         Fix thread ID register.
39902 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
39904         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
39905         [POSIX || UNIX98]: Require rather than permitting all symbols from
39906         <time.h>.
39907         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
39908         element of struct sched_param.
39909         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
39910         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
39911         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
39912         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
39913         constant.
39915 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
39917         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
39918         argument calculation.
39920 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39922         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
39923         Expect macro.
39924         [POSIX] (pthread_attr_t): Do not require type.
39925         [POSIX] (pthread_cond_t): Likewise.
39926         [POSIX] (pthread_condattr_t): Likewise.
39927         [POSIX] (pthread_key_t): Likewise.
39928         [POSIX] (pthread_mutex_t): Likewise.
39929         [POSIX] (pthread_mutexattr_t): Likewise.
39930         [POSIX] (pthread_once_t): Likewise.
39931         [POSIX] (pthread_t): Likewise.
39932         [POSIX-based standards] (pthread_atfork): Expect function.
39934 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
39935             Richard Sandiford  <richard@codesourcery.com>
39937         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
39938         (swap_endianness_p): New extern variable.
39939         (set_big_endian): New inline function.
39940         (maybe_swap_uint32): Likewise.
39941         (maybe_swap_uint32_array): Likewise.
39942         (maybe_swap_uint32_obstack): Likewise.
39943         * locale/programs/locfile.c: Include <stdbool.h>.
39944         (swap_endianness_p): New variable.
39945         (add_locale_uint32): Call maybe_swap_uint32.
39946         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
39947         (write_locale_data): Call maybe_swap_uint32_array.
39948         * locale/programs/ld-collate.c (obstack_int32_grow): Call
39949         maybe_swap_uint32.
39950         (obstack_int32_grow_fast): Likewise.
39951         (output_weightwc): Call maybe_swap_uint32_obstack.
39952         (collate_output): Likewise.
39953         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
39954         (OPT_LITTLE_ENDIAN): Likewise.
39955         (options): Add --little-endian and --big-endian options.
39956         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
39957         * locale/programs/locarchive.c: Include "locfile.h".
39958         (GET): New macro.
39959         (SET): Likewise.
39960         (INC): Likewise.
39961         (create_archive): Use the new macros to access fields of
39962         structures directly mapped from or written to locale archives.
39963         (oldlocrecentcmp): Likewise.
39964         (enlarge_archive): Likewise.
39965         (insert_name): Likewise.
39966         (add_alias): Likewise.
39967         (add_locale): Likewise.
39968         (delete_locales_from_archive): Likewise.
39969         (show_archive_content): Likewise.
39970         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
39971         locale data.
39973 2013-09-24  Roland McGrath  <roland@hack.frob.com>
39975         * manual/freemanuals.texi: Updated from (newly) canonical copy at
39976         http://www.gnu.org/doc/freemanuals.texi.
39977         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
39979 2013-09-24  Will Newton  <will.newton@linaro.org>
39981         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
39982         macro.
39984 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
39986         * locale/hashval.h (compute_hashval): Interpret bytes of key as
39987         unsigned char.
39989 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
39991         * manual/threads.texi (POSIX Threads): Fix a typo.
39993 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39995         [BZ #14547]
39996         * string/tst-strcoll-overflow.c: New test case.
39997         * string/Makefile (xtests): Add tst-strcoll-overflow.
39998         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
39999         cache if string sizes may cause integer overflow.
40001         [BZ #14547]
40002         * string/strcoll_l.c (coll_seq): New members rule, idx,
40003         save_idx and back_us.
40004         (get_next_seq_nocache): New function.
40005         (do_compare_nocache): New function.
40006         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40007         when malloc fails.
40009 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
40011         [BZ #15754]
40012         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40013         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40014         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40016         [BZ #15754]
40017         * elf/Makefile (tests): Add tst-ptrguard1.
40018         (tests-static): Add tst-ptrguard1-static.
40019         (tst-ptrguard1-ARGS): Define.
40020         (tst-ptrguard1-static-ARGS): Define.
40021         * elf/tst-ptrguard1.c: New file.
40022         * elf/tst-ptrguard1-static.c: New file.
40023         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40024         * sysdeps/i386/stackguard-macros.h: Likewise.
40025         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40026         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40027         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40028         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40029         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40030         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40032 2013-09-23  Hector Marco  <hecmargi@upv.es>
40033             Ismael Ripoll  <iripoll@disca.upv.es>
40034             Carlos O'Donell  <carlos@redhat.com>
40036         [BZ #15754]
40037         * sysdeps/generic/stackguard-macros.h: Define
40038         __pointer_chk_guard_local and POINTER_CHK_GUARD.
40039         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40040         Define __pointer_chk_guard_local.
40041         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40042         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40044 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
40046         [BZ #15859]
40047         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40049 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
40051         * include/string.h (__ffs): Declare as hidden.
40052         * string/ffs.c (__ffs): Define as hidden.
40053         * sysdeps/i386/ffs.c (__ffs): Likewise.
40054         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40055         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40056         * sysdeps/s390/ffs.c (__ffs): Likewise.
40057         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40059 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
40061         * NEWS: Mention malloc probes.
40063         * malloc/arena.c (new_heap): New memory_heap_new probe.
40064         (grow_heap): New memory_heap_more probe.
40065         (shrink_heap): New memory_heap_less probe.
40066         (heap_trim): New memory_heap_free probe.
40067         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40068         (systrim): New memory_sbrk_less probe.
40069         * manual/probes.texi: Document them.
40071         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40072         * manual/probes.texi: Document it.
40074         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40075         (__libc_realloc): Add memory_realloc_retry probe.
40076         (__libc_memalign): Add memory_memalign_retry probe.
40077         (__libc_valloc): Add memory_valloc_retry probe.
40078         (__libc_pvalloc): Add memory_pvalloc_retry probe.
40079         (__libc_calloc): Add memory_calloc_retry probe.
40080         * manual/probes.texi: Document them.
40082         * malloc/arena.c (get_free_list): Add probe
40083         memory_arena_reuse_free_list.
40084         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40085         and memory_arena_reuse.
40086         (arena_get2) [!PER_THREAD]: Likewise.
40087         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40088         memory_arena_reuse_realloc.
40089         * manual/probes.texi: Document them.
40091         * malloc/malloc.c (__libc_free): Add
40092         memory_mallopt_free_dyn_thresholds probe.
40093         (__libc_mallopt): Add multiple memory_mallopt probes.
40094         * manual/probes.texi: Document them.
40096         * malloc/malloc.c: Include stap-probe.h.
40097         (__libc_mallopt): Add memory_mallopt probe.
40098         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40099         * manual/probes.texi: New.
40100         * manual/Makefile (chapters): Add probes.
40101         * manual/threads.texi: Set next node.
40103 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
40105         [BZ #15963, #13985]
40106         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40107         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40108         Add `Chinese' to `nan' entry name.
40110 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40112         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40113         (POLYNOMIAL): Likewise.
40114         (TAYLOR_SINCOS): Likewise.
40115         (TAYLOR_SLOW): Likewise.
40116         (__sin): Use TAYLOR_SINCOS.
40117         (__cos): Likewise.
40118         (slow): Use TAYLOR_SLOW.
40119         (sloww): Likewise.
40120         (bsloww): Likewise.
40121         (csloww): Likewise.
40123 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40125         * stdlib/strtod_l.c: Fix buffer overrun.
40127 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40129         * benchtests/Makefile (bench): Add sincos.
40130         * benchtests/bench-sincos.c: New file.
40132         * math/libm-test.inc (cos_test_data): New test inputs.
40133         (sin_test_data): Likewise.
40135         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40136         macro.
40137         (__sin): Use it.
40138         (__cos): Likewise.
40139         (slow1): Likewise.
40140         (slow2): Likewise.
40141         (sloww1): Likewise.
40142         (sloww2): Likewise.
40143         (bsloww1): Likewise.
40144         (bsloww2): Likewise.
40145         (cslow2): Likewise.
40146         (csloww1): Likewise.
40147         (csloww2): Likewise.
40149         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40150         function.
40151         (__sin): Use it.
40152         (__cos): Likewise.
40154         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40155         gotos.
40156         (__cos): Likewise.
40158 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40160         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40161         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40162         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40163         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40164         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40165         * elf/cache.c (print_entry): Handle the new cache flags.
40167 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40168             Aldy Hernandez  <aldyh@redhat.com>
40170         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40171         Change condition to [_SOFT_FLOAT].
40172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40173         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40176         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40177         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40178         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40179         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40184         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40185         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40187         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40188         declaration.
40190 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40192         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40193         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40194         (__longjmp): Use LOAD_GP to load saved GPRs.
40195         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40196         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40197         (__sigsetjmp): Use SAVE_GP to save GPRs.
40199         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40200         Do not append -msoft-float.
40201         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40203 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40205         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40207 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40209         [BZ #15966]
40210         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40211         (_FPU_GETCW): Use initial "__" on variable and field names but not
40212         on macro parameter name.
40213         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40214         parentheses around reference to macro parameter.
40216 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40218         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40219         prototype.
40220         (ctype_startup): Use uint32_t in cast and sizeof for
40221         ctype->charnames.
40223 2013-09-11  Jia Liu  <proljc@gmail.com>
40225         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40226         __daddr_t_defined.
40227         [__FreeBSD__]: Likewise.
40229 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40231         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40232         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40233         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40234         (strchr): Remove __strchr_sse42 ifunc selection.
40235         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40236         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40238 2013-09-11  Will Newton  <will.newton@linaro.org>
40240         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40241         parameter to RES. Remove hardcoded 1000 value.
40242         * benchtests/bench-skeleton.c (main): Pass RES parameter
40243         to TIMING_INIT and multiply result by 1000.
40245 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40249 2013-09-11  Andreas Schwab  <schwab@suse.de>
40251         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40252         if not defined.
40253         (O_TMPFILE) [__USE_GNU]: Define.
40254         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40255         Define.
40257 2013-09-11  Will Newton  <will.newton@linaro.org>
40259         [BZ #15857]
40260         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40261         does not overflow.
40263 2013-09-11  Will Newton  <will.newton@linaro.org>
40265         [BZ #15856]
40266         * malloc/malloc.c (__libc_valloc): Check the value of bytes
40267         does not overflow.
40269 2013-09-11  Will Newton  <will.newton@linaro.org>
40271         [BZ #15855]
40272         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40273         does not overflow.
40275 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
40277         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40278         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40279         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40280         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40281         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40283 2013-09-10  Allan McRae  <allan@archlinux.org>
40285         [BZ #15748]
40286         * manual/arith.texi (Parsing of Floats): Clarify
40287         cross-reference.
40289         [BZ #15849]
40290         * manual/install.texi (Running make install): Mention
40291         --enable-pt-chown.
40292         * INSTALL: Regenerated.
40294 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
40296         * csu/init-first.c (_init): Remove the !SHARED condition around
40297         FPU control word initialization.
40298         * elf/dl-support.c (_dl_fpu_control): New variable.
40299         (_dl_aux_init) <AT_FPUCW>: Initialize it.
40300         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40301         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40302         * math/test-fpucw-static.c: New file.
40303         * math/test-fpucw-ieee.c: New file.
40304         * math/test-fpucw-ieee-static.c: New file.
40305         * math/Makefile (tests): Add `test-fpucw-ieee' and
40306         `$(tests-static)'.
40307         (tests-static): New variable.
40308         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40309         dependency to...
40310         [($(build-shared),yes)]
40311         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40312         ... this.
40313         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40314         New dependency.
40316 2013-09-09  Allan McRae  <allan@archlinux.org>
40318         [BZ #15939]
40319         * manual/string.texi (Collation Functions): Fix typo in
40320         strcoll example.
40321         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40323         [BZ #15893]
40324         * stdlib/isomac.c (get_null_defines): Fix memory leak.
40326         [BZ #15892]
40327         * libio/memstream.c (open_memstream): Fix memory leak.
40328         * libio/wmemstream.c (open_wmemstream): Likewise.
40330         [BZ #15895]
40331         * nscd/netgroupcache.c: Fix nesting of ifdefs.
40333 2013-09-09  Will Newton  <will.newton@linaro.org>
40335         * malloc/Makefile: Add tst-realloc to tests.
40336         * malloc/tst-realloc.c: New file.
40338 2013-09-09  Allan McRae  <allan@archlinux.org>
40340         [BZ #15844]
40341         * COPYING: Update from GNU website to fix FSF address.
40342         * COPYING.LIB: Likewise.
40344 2013-09-06  David S. Miller  <davem@davemloft.net>
40346         * po/zh_TW.po: Update Chinese (traditional) translation from
40347         translation project.
40349 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40350             Joseph Myers  <joseph@codesourcery.com>
40352         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40353         "localeinfo.h".
40354         (obstack_chunk_alloc): New macro.
40355         (obstack_chunk_free): Likewise.
40356         (record_offset): New function.
40357         (init_locale_data): Likewise.
40358         (align_locale_data): Likewise.
40359         (add_locale_empty): Likewise.
40360         (add_locale_raw_data): Likewise.
40361         (add_locale_raw_obstack): Likewise.
40362         (add_locale_string): Likewise.
40363         (add_locale_wstring): Likewise.
40364         (add_locale_uint32): Likewise.
40365         (add_locale_uint32_array): Likewise.
40366         (add_locale_char): Likewise.
40367         (start_locale_structure): Likewise.
40368         (end_locale_structure): Likewise.
40369         (start_locale_prelude): Likewise.
40370         (end_locale_prelude): Likewise.
40371         (write_locale_data): Take locale_file structure rather than an
40372         iovec.
40373         * locale/programs/locfile.h: Include "obstack.h".
40374         (struct locale_file): Change to store locale file contents instead
40375         of header.
40376         (init_locale_data): New prototype.
40377         (align_locale_data): Likewise.
40378         (add_locale_empty): Likewise.
40379         (add_locale_raw_data): Likewise.
40380         (add_locale_raw_obstack): Likewise.
40381         (add_locale_string): Likewise.
40382         (add_locale_wstring): Likewise.
40383         (add_locale_uint32): Likewise.
40384         (add_locale_uint32_array): Likewise.
40385         (add_locale_char): Likewise.
40386         (start_locale_structure): Likewise.
40387         (end_locale_structure): Likewise.
40388         (start_locale_prelude): Likewise.
40389         (end_locale_prelude): Likewise.
40390         (write_locale_data): Update prototype.
40391         * locale/programs/3level.h (struct TABLE): Remove result field.
40392         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40393         Use new locale_file interface.
40394         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40395         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40396         * locale/programs/ld-address.c (address_output): Use new
40397         locale_file interface.
40398         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40399         NO_ADD_LOCALE.
40400         (collate_finish): Don't call collseq_table_finalize.
40401         (collate_output): Use new locale_file interface.
40402         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40403         in file.
40404         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40405         (TABLE): Move defines earlier in file.
40406         (ELEMENT): Likewise.
40407         (DEFAULT): Likewise.
40408         (wctrans_table_add): Move macro and inline function earlier in
40409         file.
40410         (struct wctype_table): Move type earlier in file.
40411         (add_locale_wctype_table): New static prototype.
40412         (struct locale_ctype_t): Use logical types instead of struct iovec
40413         pointers for members.
40414         (ctype_output): Use new locale_file interface.
40415         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40416         new locale_file interface.
40417         (allocate_arrays): Update for use of new locale_file interface.
40418         * locale/programs/ld-identification.c (identification_output): Use
40419         new locale_file interface.
40420         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40421         * locale/programs/ld-messages.c (messages_output): Likewise.
40422         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40423         * locale/programs/ld-name.c (name_output): Likewise.
40424         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40425         * locale/programs/ld-paper.c (paper_output): Likewise.
40426         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40427         * locale/programs/ld-time.c (time_output): Likewise.
40429 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40431         * benchtests/Makefile: Add memrchr benchmark.
40432         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40433         benchmark as memrchr.
40434         * benchtests/bench-memrchr-ifunc.c: New file.
40435         * benchtests/bench-memrchr.c: New file.
40437 2013-09-06   Will Newton  <will.newton@linaro.org>
40439         * benchtests/Makefile (string-bench): Add memcpy.
40441 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40442             Cong Wang  <amwang@redhat.com>
40444         [BZ #15850]
40445         * sysdeps/unix/sysv/linux/bits/in.h
40446         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40447         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40448         before __USE_KERNEL_IPV6_DEFS uses.
40449         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40450         IPPROTO_BEETPH.
40451         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40452         sockaddr_in6, or ipv6_mreq.
40454 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40456         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40457         memory access for final bytes in some large inputs.
40458         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40460 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40462         * string/test-memrchr.c: New file.
40463         * string/test-memrchr-ifunc.c: New file.
40464         * string/Makefile: Add new memrchr testcase.
40466 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40468         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40469         fanotify_init returns EPERM.
40471 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40473         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40474         errors.
40475         (top level): Treat second token from macro or constant entries for
40476         allowed headers as allowed.
40477         * include/complex.h: Condition internal declarations on
40478         [!_ISOMAC].
40479         * include/fenv.h: Condition include of <stdbool.h> and internal
40480         declarations on [!_ISOMAC].
40482 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40484         [BZ #15923]
40485         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40487 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40489         * configure.in (--enable-versioning): Remove configure option.
40490         (libc_cv_asm_symver_directive): Remove configure test.
40491         (libc_cv_ld_version_script_option): Likewise.
40492         (VERSIONING): Remove variable and AC_SUBST.
40493         (DO_VERSIONING): Remove AC_DEFINE.
40494         * configure: Regenerated.
40495         * config.h.in (DO_VERSIONING): Remove macro.
40496         * Makerules [$(versioning) = yes]: Change conditionals to
40497         [$(build-shared) = yes].
40498         * config.make.in (versioning): Remove variable.
40499         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40500         [$(build-shared) = yes].
40501         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40502         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40503         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40504         [$(build-shared) = yes].
40505         * extra-lib.mk [$(versioning) = yes]: Likewise.
40506         * hurd/Makefile [$(versioning) = yes]: Likewise.
40507         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40508         [SHARED].
40509         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40510         [SHARED].
40511         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40512         [SHARED && !NO_HIDDEN].
40513         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40514         [SHARED].
40515         [SHARED && DO_VERSIONING]: Likewise..
40516         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40517         [$(build-shared) = yes].
40518         * manual/install.texi (--disable-versioning): Remove
40519         documentation.
40520         * INSTALL: Regenerated.
40521         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40522         to [SHARED].
40523         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40524         [$(build-shared) = yes].
40525         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40526         * sysdeps/i386/i686/multiarch/strstr-c.c
40527         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40528         [SHARED && !NO_HIDDEN].
40529         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40530         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40531         * sysdeps/powerpc/powerpc32/dl-machine.c
40532         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40533         * sysdeps/powerpc/powerpc32/sysdep.h
40534         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40535         to [SHARED && PIC && !NO_HIDDEN].
40536         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40537         conditional to [SHARED].
40539 2013-09-04   Will Newton  <will.newton@linaro.org>
40541         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40542         * benchtests/bench-string.h: Include bench-timing.h instead
40543         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40544         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40545         call to HP_TIMING_DIFF_INIT.
40546         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40547         instead of hp-timing.h macros.
40548         * benchtests/bench-memchr.c: Likewise.
40549         * benchtests/bench-memcmp.c: Likewise.
40550         * benchtests/bench-memcpy.c: Likewise.
40551         * benchtests/bench-memmem.c: Likewise.
40552         * benchtests/bench-memmove.c: Likewise.
40553         * benchtests/bench-memset.c: Likewise.
40554         * benchtests/bench-rawmemchr.c: Likewise.
40555         * benchtests/bench-strcasecmp.c: Likewise.
40556         * benchtests/bench-strcasestr.c: Likewise.
40557         * benchtests/bench-strcat.c: Likewise.
40558         * benchtests/bench-strchr.c: Likewise.
40559         * benchtests/bench-strcmp.c: Likewise.
40560         * benchtests/bench-strcpy.c: Likewise.
40561         * benchtests/bench-strcpy_chk.c: Likewise.
40562         * benchtests/bench-strlen.c: Likewise.
40563         * benchtests/bench-strncasecmp.c: Likewise.
40564         * benchtests/bench-strncat.c: Likewise.
40565         * benchtests/bench-strncmp.c: Likewise.
40566         * benchtests/bench-strncpy.c: Likewise.
40567         * benchtests/bench-strnlen.c: Likewise.
40568         * benchtests/bench-strpbrk.c: Likewise.
40569         * benchtests/bench-strrchr.c: Likewise.
40570         * benchtests/bench-strspn.c: Likewise.
40571         * benchtests/bench-strstr.c: Likewise.
40573 2013-09-04  Will Newton  <will.newton@linaro.org>
40575         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40577 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40579         [BZ #15427]
40580         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40581         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40582         * math/libm-test.inc (lgamma_test_data): Add more tests.
40583         * sysdeps/i386/fpu/libm-test-ulps: Update.
40584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40586 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40588         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40589         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40590         Add ifunc.
40591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40592         Add strcmp-sse2-unaligned
40593         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40595 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40597         * Versions.def (libc): Add GLIBC_2.19.
40599 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40601         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40602         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40604 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40606         [BZ #14155]
40607         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40608         intermediate calculations in recurrence.
40609         (__ieee754_ynf): Likewise.
40610         * math/libm-test.inc (jn_test_data): Do not allow spurious
40611         underflow exception.  Add more tests.
40612         (yn_test_data): Add more tests.
40613         * sysdeps/i386/fpu/libm-test-ulps: Update.
40614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40616 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
40618         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40620 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40622         * csu/init-first.c: Fix then/than typos.
40623         * locale/programs/ld-collate.c: Likewise.
40624         * locale/programs/linereader.h: Likewise.
40625         * manual/charset.texi: Likewise.
40626         * manual/filesys.texi: Likewise.
40627         * manual/stdio.texi: Likewise.
40628         * manual/string.texi: Likewise.
40629         * stdlib/fmtmsg.c: Likewise.
40630         * sysdeps/i386/stpncpy.S: Likewise.
40631         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40632         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40633         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40634         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40636 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40638         * elf/dl-open.c: Fix typos.
40639         * iconvdata/gbbig5.c: Likewise.
40640         * iconvdata/iso-2022-jp.c: Likewise.
40641         * iconv/gconv_int.h: Likewise.
40642         * iconv/loop.c: Likewise.
40643         * nis/rpcsvc/nis.h: Likewise.
40644         * resolv/ns_name.c: Likewise.
40645         * stdio-common/vfscanf.c: Likewise.
40646         * streams/stropts.h: Likewise.
40647         * sunrpc/rpc_thread.c: Likewise.
40648         * sysdeps/i386/strpbrk.S: Likewise.
40649         * sysdeps/ieee754/k_standard.c: Likewise.
40650         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40651         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40652         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40653         * sysdeps/mach/hurd/profil.c: Likewise.
40654         * sysdeps/s390/dl-procinfo.h: Likewise.
40655         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40656         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40657         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40658         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40659         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40661 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40663         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40666 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40668         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40669         aix specific files.
40670         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40671         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40672         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40673         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40674         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40675         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40676         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40677         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40679 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40680             Roland McGrath  <roland@hack.frob.com>
40682         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40683         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40685 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40687         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40688         __executable_start symbol instead of _start.
40690 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40692         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40693         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40694         Move macros to...
40695         * sysdeps/gnu/ldsodefs.h: ... this new file.
40697         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40698         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40699         instead of ELFOSABI_LINUX.
40701         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40702         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40703         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40704         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40705         Likewise.
40706         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40707         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40708         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40709         Likewise.
40710         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40711         (ibm_extended_long_double): Add ieee_nan member.
40712         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40713         (do_test): New function.
40715         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40716         TEST_TRUNC.
40717         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40718         functions, renamed from truncdfsf_test, trunctfsf_test,
40719         trunctfdf_test.
40720         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40721         functions.
40722         (do_test): Run all these.
40724 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
40726         * argp/argp-help.c: Fix typos.
40727         * argp/argp-parse.c: Likewise.
40728         * debug/backtracesyms.c: Likewise.
40729         * elf/elf.h: Likewise.
40730         * malloc/malloc.c: Likewise.
40731         * nis/nis_print.c: Likewise.
40732         * resolv/res_comp.c: Likewise.
40733         * stdlib/stdlib.h: Likewise.
40734         * sunrpc/clnt_tcp.c: Likewise.
40735         * sunrpc/clnt_udp.c: Likewise.
40736         * sunrpc/clnt_unix.c: Likewise.
40737         * sysdeps/unix/bsd/ptsname.c: Likewise.
40738         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40739         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40741         Likewise.
40742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40743         Likewise.
40744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40745         Likewise.
40746         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40748 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40750         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40753 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40755         [BZ #15897]
40756         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40757         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40758         ($(objpfx)bug-dl-leaf): New rule.
40759         ($(objpfx)bug-dl-leaf.so): Likewise.
40760         ($(objpfx)bug-dl-leaf.out): Likewise.
40761         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40762         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40763         * dlfcn/bug-dl-leaf.c: New test.
40764         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40765         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40766         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40767         (dlclose): Likewise.
40768         (dlmopen): Likewise.
40770 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40772         * include/netdb.h [!_ISOMAC]:
40773         Don't include <tls.h>.
40774         (h_errno, __libc_h_errno): Move declaration and macros out of
40775         [_LIBC_REENTRANT].
40777         * include/resolv.h [_RESOLV_H_]:
40778         Don't include <tls.h>.
40779         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40780         * resolv/res_libc.c: Don't include <tls.h>.
40781         (_res): Use __attribute__ ((nocommon)) in place of
40782         __attribute__ ((section (".bss"))).
40784         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40785         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40787         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40789         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40790         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40792         * resolv/res_mkquery.c: Include <sys/time.h>.
40794         * inet/ifreq.c: Moved to ...
40795         * sysdeps/unix/ifreq.c: ... here.
40796         * inet/ifreq.c: New file, true stub version.
40798         * socket/sa_len.c: New file.
40799         * socket/Makefile (aux): Add it.
40800         * sysdeps/unix/sysv/linux/Makefile
40801         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
40802         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
40803         and #include <socket/sa_len.c>.
40804         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
40805         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
40807         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
40808         * bits/socket.h: ... here.
40810         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
40811         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
40812         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
40814 2013-08-27  Andreas Schwab  <schwab@suse.de>
40816         [BZ #15736]
40817         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
40818         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
40819         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
40820         * string/test-strcasecmp.c (test_main): Run tests in several
40821         locales.
40822         * string/test-strncasecmp.c (test_main): Likewise.
40824         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
40825         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
40826         to __strcasecmp_nonascii and __strncasecmp_nonascii.
40827         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
40828         (__strncasecmp_ssse3) [PIC]: Likewise.
40830 2013-08-26  Roland McGrath  <roland@hack.frob.com>
40832         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
40834         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
40835         instead of explicitly declaring xdecrypt.
40836         * nis/nss_nis/nis-publickey.c: Likewise.
40838 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40840         [BZ #15890]
40841         * nscd/aicache.c: Include res_hconf.h.
40842         (addhstaiX): Initialize res_hconf.
40844 2013-08-26  Andreas Schwab  <schwab@suse.de>
40846         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
40847         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
40849 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40851         * nscd/aicache.c (addhstaiX): Fix indentation.
40853 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
40855         * configure.ac: Quote $build_pt_chown test.
40856         * configure: Regenerated.
40858 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
40860         [BZ #15532]
40861         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
40862         * math/s_cexpf.c (__cexpf): Likewise.
40863         * math/s_cexpl.c (__cexpl): Likewise.
40864         * math/libm-test.inc (cexp_test_data): Correct expected return
40865         value for NaN + i0.  Add another test.
40867 2013-08-22  David S. Miller  <davem@davemloft.net>
40869         * po/ca.po: Update Catalan translation from translation project.
40870         * po/uk.po: Add Ukrainian translations from translation project.
40872 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
40874         [BZ #15797]
40875         * math/s_fdim.c (__fdim): Check for infinite arguments if result
40876         is infinite, not alongside NaN test.
40877         * math/s_fdimf.c (__fdimf): Likewise.
40878         * math/s_fdiml.c (__fdiml): Likewise.
40879         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
40880         errno is unchanged.
40882 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
40884         * argp/argp-help.c: Fix typos.
40885         * crypt/speeds.c: Likewise.
40886         * csu/check_fds.c: Likewise.
40887         * elf/dl-load.c: Likewise.
40888         * elf/dl-open.c: Likewise.
40889         * elf/reldep3.c: Likewise.
40890         * elf/reldep.c: Likewise.
40891         * elf/sprof.c: Likewise.
40892         * iconv/iconv_charmap.c: Likewise.
40893         * iconv/skeleton.c: Likewise.
40894         * iconv/strtab.c: Likewise.
40895         * io/lockf64.c: Likewise.
40896         * libio/libioP.h: Likewise.
40897         * resolv/gai_notify.c: Likewise.
40898         * resolv/ns_name.c: Likewise.
40899         * resolv/ns_samedomain.c: Likewise.
40900         * resolv/res_send.c: Likewise.
40901         * stdlib/random.c: Likewise.
40902         * sunrpc/rpc/xdr.h: Likewise.
40903         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
40904         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40905         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40906         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40907         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40908         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40909         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40910         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40911         * sysdeps/mach/hurd/check_fds.c: Likewise.
40912         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40913         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40914         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40915         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40916         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40917         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40918         * sysdeps/pthread/aio_notify.c: Likewise.
40919         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
40920         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40921         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
40922         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40923         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40925 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40927         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
40928         version if bit_Slow_SSE4_2 is set.
40929         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40930         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40932 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40934         [BZ #15867]
40935         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
40936         trampoline stack frame information.
40937         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
40938         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
40939         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
40940         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
40941         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
40942         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40943         (_libc_vdso_platform_setup): Initialize the signal trampolines.
40944         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
40945         sa_flags value.
40946         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
40947         interrupting a syscall and set with option SA_SIGINFO.
40949 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40951         [BZ #15531]
40952         * math/s_cproj.c (__cproj): Only return an infinity if one part of
40953         argument is infinite.
40954         * math/s_cprojf.c (__cprojf): Likewise.
40955         * math/s_cprojl.c (__cprojl): Likewise.
40956         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
40957         * math/libm-test.inc (cproj_test_data): Add more tests.
40959         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
40961         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
40962         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
40963         size.  Use __ffs to determine corresponding shift.
40965 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
40966             Roland McGrath  <roland@hack.frob.com>
40968         * Makefile (INSTALL): Remove trailing blank lines from output of
40969         makeinfo.
40971 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40973         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
40974         Align 32 bit compat elf_greg to 8 bytes.
40976 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
40978         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
40980 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40982         * string/strcoll_l.c (coll_seq): New structure.
40983         (get_next_seq_cached): New function.
40984         (get_next_seq): New function.
40985         (do_compare): New function.
40986         (STRCOLL): Use GNU style definition.  Simplify implementation
40987         by using get_next_seq, get_next_seq_cached and do_compare.
40989 2013-08-16  Florian Weimer  <fweimer@redhat.com>
40991         [BZ #14699]
40992         CVE-2013-4237
40993         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
40994         member.
40995         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
40996         member.
40997         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
40998         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
40999         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41000         conditional.
41001         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41002         GETDENTS_64BIT_ALIGNED.
41003         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41004         * manual/filesys.texi (Reading/Closing Directory): Document
41005         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
41006         strongly.
41007         * manual/conf.texi (Limits for Files): Add portability note to
41008         NAME_MAX, PATH_MAX.
41009         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41011 2013-08-13  Andreas Schwab  <schwab@suse.de>
41013         [BZ #15749]
41014         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41015         of fabs.
41016         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41017         LDBL_MAX_EXP >= 16384]: Add tests for it.
41019 2013-08-12  David S. Miller  <davem@davemloft.net>
41021         * version.h (RELEASE): Set to "development".
41022         (VERSION): Set to "2.18.90".
41023         * NEWS: Add 2.19 section.
41025 2013-08-03  David S. Miller  <davem@davemloft.net>
41027         * po/ko.po: Update Korean translation from translation project.
41029 2013-08-01  David S. Miller  <davem@davemloft.net>
41031         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
41032         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41033         Bilka.
41035 2013-07-30  David S. Miller  <davem@davemloft.net>
41037         * po/fr.po: Update French translation from translation project.
41039 2013-07-28  David S. Miller  <davem@davemloft.net>
41041         * po/cs.po: Update Czech translation from translation project.
41043         * po/sv.po: Update Swedish translation from translation project.
41045 2013-07-27  David S. Miller  <davem@davemloft.net>
41047         * po/eo.po: Update Esperanto translation from translation project.
41049         * po/vi.po: Update Vietnamese translation from translation project.
41051         * po/de.po: Update German translation from translation project.
41053 2013-07-26  David S. Miller  <davem@davemloft.net>
41055         * po/bg.po: Update Bulgarian translation from translation project.
41057         * po/nl.po: Update Dutch translation from translation project.
41058         * po/pl.po: Update Polish translation from translation project.
41059         * po/ru.po: Update Russian translation from translation project.
41061 2013-07-24  David S. Miller  <davem@davemloft.net>
41063         * po/libc.pot: Update.
41065 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41067         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41068         variable page size.
41069         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41070         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41071         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41073 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41075         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41077 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41078             Andreas Schwab  <schwab@suse.de>
41079             Roland McGrath  <roland@hack.frob.com>
41080             Joseph Myers  <joseph@codesourcery.com>
41081             Carlos O'Donell  <carlos@redhat.com>
41083         [BZ #15755]
41084         * config.h.in: Define HAVE_PT_CHOWN.
41085         * config.make.in (build-pt-chown): New variable.
41086         * configure.in (--enable-pt_chown): New configure option.
41087         * configure: Regenerate.
41088         * login/Makefile: Include Makeconfig.  Build pt_chown only if
41089         build-pt-chown is enabled.
41090         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41091         pt_chown to fix pty ownership.
41092         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41093         CLOSE_ALL_FDS.
41094         * manual/install.texi (Configuring and compiling): Mention
41095         --enable-pt_chown. Add @findex for grantpt.
41096         * INSTALL: Regenerate.
41098 2013-07-20  David S. Miller  <davem@davemloft.net>
41100         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41101         difference between 32-bit and 64-bit.
41103 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
41105         [BZ #15711]
41106         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41107         Avoid system header dependency with -ffreestanding.
41108         ($(objpfx)bits/syscall%d): Likewise.
41110 2013-07-13  David S. Miller  <davem@davemloft.net>
41112         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41113         underflows from atanl/atan2l due to bug 15319.
41114         (casinh_test_data): Likewise.
41116 2013-07-07  David S. Miller  <davem@davemloft.net>
41118         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41120 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
41122         * sysdeps/i386/fpu/libm-test-ulps: Update.
41123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41125 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41127         * configure.in (--enable-lock-elision): Fix message text.
41128         * INSTALL: Regenerate.
41129         * configure: Regenerate.
41131 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41135 2013-07-03  Andreas Jaeger  <aj@suse.de>
41137         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41138         define.
41139         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41140         (ptrace_peeksiginfo_args): Add.
41141         (__ptrace_peeksiginfo_flags): Add.
41142         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41143         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41144         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41146 2013-07-03  Allan McRae  <allan@archlinux.org>
41148         * sysdeps/i386/fpu/libm-test-ulps: Update.
41150 2013-07-02  David S. Miller  <davem@davemloft.net>
41152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41154 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41156         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41158 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41160         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41163 2013-07-02  Andi Kleen <ak@linux.intel.com>
41165         * config.h.in (ENABLE_LOCK_ELISION): Add.
41166         * configure.in (--enable-lock-elision): Add option.
41167         * manual/install.texi: Document --enable lock elision.
41168         * configure: Regenerate
41169         * INSTALL: Regenerate.
41171 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41173         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41174         SSE4.2 strcasecmp for libc.a.
41175         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41177 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41179         [BZ #13304]
41180         * soft-fp/op-common.h (_FP_FMA): New macro.
41181         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41182         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41183         (_FP_MUL_MEAT_1_imm): ... here.
41184         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41185         (_FP_MUL_MEAT_1_wide): ... here.
41186         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41187         (_FP_MUL_MEAT_1_hard): ... here.
41188         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41189         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41190         (_FP_MUL_MEAT_2_wide): ... here.
41191         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41192         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41193         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41194         (_FP_MUL_MEAT_2_gmp): ... here.
41195         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41196         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41197         (_FP_MUL_MEAT_4_wide): ... here.
41198         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41199         (_FP_MUL_MEAT_4_gmp): ... here.
41200         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41201         (_FP_WFRACBITS_DW_S): Likewise.
41202         (_FP_WFRACXBITS_DW_S): Likewise.
41203         (_FP_HIGHBIT_DW_S): Likewise.
41204         (FP_FMA_S): Likewise.
41205         (_FP_FRAC_HIGH_DW_S): Likewise.
41206         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41207         (_FP_WFRACBITS_DW_D): Likewise.
41208         (_FP_WFRACXBITS_DW_D): Likewise.
41209         (_FP_HIGHBIT_DW_D): Likewise.
41210         (FP_FMA_D): Likewise.
41211         (_FP_FRAC_HIGH_DW_D): Likewise.
41212         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41213         (_FP_WFRACBITS_DW_E): Likewise.
41214         (_FP_WFRACXBITS_DW_E): Likewise.
41215         (_FP_HIGHBIT_DW_E): Likewise.
41216         (FP_FMA_E): Likewise.
41217         (_FP_FRAC_HIGH_DW_E): Likewise.
41218         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41219         (_FP_WFRACBITS_DW_Q): Likewise.
41220         (_FP_WFRACXBITS_DW_Q): Likewise.
41221         (_FP_HIGHBIT_DW_Q): Likewise.
41222         (FP_FMA_Q): Likewise.
41223         (_FP_FRAC_HIGH_DW_Q): Likewise.
41224         * soft-fp/fmasf4.c: New file.
41225         * soft-fp/fmadf4.c: Likewise.
41226         * soft-fp/fmatf4.c: Likewise.
41228 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41230         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41231         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41232         Silvermont.
41233         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41234         macro.
41235         (index_Slow_SSE4_2): Likewise.
41236         (index_Prefer_PMINUB_for_stringop): Likewise.
41237         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41238         bit_Slow_SSE4_2 is set.
41239         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41240         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41242 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41244         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41245         rtld_global._dl_hwcap2.
41246         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41247         POWER8.
41248         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41249         POWER8 feature descriptions defined in _dl_hwcap2.
41250         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41251         string handling for POWER8 feature bits.
41252         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41253         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41254         _dl_powerpc_cap_flags.
41255         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41256         * sysdeps/powerpc/rtld-global-offsets.sym
41257         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41258         _dl_hwcap2 in the rtld_global_ro structure.
41260 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41262         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41263         hardware capabilities in support of AT_HWCAP2.
41264         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41265         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41266         GLRO(dl_hwcap2).
41267         (_dl_show_auxv): Add support for calling _dl_procinfo to display
41268         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
41269         explicitly the unknown a_type display mechanism is used.
41270         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41271         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41272         struct member.
41273         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41274         to macro prototype for AT_HWCAP2 support.
41275         * sysdeps/i386/dl-procinfo.h: Likewise.
41276         * sysdeps/s390/dl-procinfo.h: Likewise.
41277         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41278         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
41279         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
41280         return -1 for unknown a_type display fallback.
41281         * sysdeps/sparc/dl-procinfo.h: Likewise.
41282         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41283         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41285 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
41287         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41288         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41290 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
41292         [BZ #12492]
41293         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41294         mprotect making __stack_prot writable.
41296 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
41297             Joseph Myers  <joseph@codesourcery.com>
41299         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41300         as being properly aligned.
41302 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
41304         * dlfcn/modstatic5.c: New file.
41305         * dlfcn/tststatic5.c: New file.
41306         * dlfcn/Makefile (tests): Add tststatic5.
41307         (tests-static): Likewise.
41308         (modules-names): Add modstatic5.
41309         (tststatic5-ENV): New variable.
41310         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41312         [BZ #15022]
41313         * elf/dl-support.c (_dl_main_map): New variable.
41314         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41315         (_dl_nns, _dl_load_adds): Set to 1.
41316         (_dl_initial_searchlist): Refer to _dl_main_map.
41317         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41318         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41319         call to _dl_get_origin.
41320         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41321         around call_map.
41322         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41323         * dlfcn/modstatic3.c: New file.
41324         * dlfcn/tststatic3.c: New file.
41325         * dlfcn/tststatic4.c: New file.
41326         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41327         (tests-static): Likewise.
41328         (modules-names): Add modstatic3.
41329         (tststatic3-ENV, tststatic4-ENV): New variables.
41330         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41331         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41333 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
41335         * configure.in (CC): Require GCC version 4.4 or later.
41336         * configure: Regenerated.
41337         * manual/install.texi (Tools for Compilation): Update GCC version
41338         requirement.
41339         * INSTALL: Regenerated.
41341 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41343         [BZ #15674]
41344         * string/test-memcmp.c (check2): New.
41345         (main): Call check2.
41347         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41349 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41351         [BZ #15022]
41352         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41353         over to...
41354         (dl_open_worker) [!SHARED]: ... here.
41356 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41358         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41360 2013-06-25  Richard Henderson  <rth@redhat.com>
41362         * locale/programs/locarchive.c: Include <libc-internal.h>
41364 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41366         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41367         trailing whitespace removed.
41369 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41371         [BZ #10283]
41372         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41373         * locale/programs/locarchive.c: Include libc-mmap.h.
41374         (prepare_address_space): Take two new outputs (the mmap base and len).
41375         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41376         values.
41377         (create_archive): Declare new mmap base and len values for
41378         prepare_address_space, and store the result in ah.
41379         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41380         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41381         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41382         Declare new mmap base and len values for
41383         prepare_address_space, and store the result in new_ah.
41384         (open_archive): Declare new mmap base and len values for
41385         prepare_address_space, and store the result in ah.
41386         (close_archive): If ah->mmap_base is not NULL, use that and
41387         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41388         * sysdeps/generic/libc-mmap.h: New file.
41390 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41392         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41393         (ALIGN_UP): Likewise.
41394         (PTR_ALIGN_DOWN): Likewise.
41395         (PTR_ALIGN_UP): Likewise.
41397 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41399         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41400         entry mapped to PPC_PLATFORM_POWER8.
41401         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41402         POWER8.
41403         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41404         (_dl_string_platform): Add case for exporting platform position for
41405         POWER8.
41406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41407         search path to sysdeps/powerpc/powerpc32/power8 directory.
41408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41409         search path to sysdeps/powerpc/powerpc64/power8 directory.
41410         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41411         power7 directories.
41412         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41413         power7 directories.
41415 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41417         * INSTALL: Regenerate.
41419         * nscd/connections.c (nscd_init): Fix comment.
41421 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41423         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41425         [BZ #15667]
41426         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41427         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41429 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41431         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41432         DL_DST_REQ_STATIC.
41433         (DL_DST_REQ_STATIC): Remove macro.
41435 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41437         [BZ #7006]
41438         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41439         with a shift of 0 bits.
41441 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41443         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41444         $(tststatic-ENV).
41446 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41448         [BZ #15655]
41449         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41451 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41453         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41454         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41455         accepts -fno-tree-loop-distribute-patterns.
41456         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41457         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41458         recursive call.
41459         * string/memset.c (memset): Likewise.
41460         * string/test-memmove.c (simple_memmove): Disable loop transformation
41461         to library calls.
41462         * string/test-memset.c (simple_memset): Likewise.
41463         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41464         * benchtests/bench-memset.c (simple_memset): Likewise.
41465         * configure: Regenerated.
41467 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41469         * math/test-misc.c (main): Ignore fesetround failure when failures
41470         of subsequent rounding tests would be ignored.
41472         [BZ #15654]
41473         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41474         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41475         * math/fegetenv.c (__fegetenv): Return 0.
41476         * math/fegetexcept.c (fegetexcept): Return 0.
41477         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41478         FE_TONEAREST.
41479         * math/feholdexcpt.c (feholdexcept): Return 0.
41480         * math/fesetenv.c (__fesetenv): Return 0.
41481         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41482         argument FE_TONEAREST.
41483         * math/feupdateenv.c (__feupdateenv): Return 0.
41484         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41486 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41488         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41489         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41490         ($(objpfx)rtld-%.os rules): Use them.
41492 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41494         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41495         fields.
41497 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41499         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41500         length of target pattern, then descending length of dependency pattern.
41501         * configure.in (AWK): Require gawk 3.1.2 or newer.
41502         * manual/install.texi (Tools for Compilation): Say that we do.
41503         * configure: Regenerated.
41505         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41506         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41507         * scripts/sysd-rules.awk: ... this new script.
41508         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41509         than a glob-style pattern.
41511 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41513         * math/test-misc.c (main): Do not treat incorrectly rounded
41514         conversions as failure unless ROUNDING_TESTS passes.
41516 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41518         [BZ #15631]
41519         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41520         restore exception state around main square root computation, then
41521         check for inexactness explicitly.
41523         * math/libm-test.inc (fma_test_data): Add another test.
41525 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41527         * manual/threads.texi (Non-POSIX Extensions): New document
41528         node.  Document pthread_getattr_default_np and
41529         pthread_setattr_default_np.
41531         * Versions.def (libpthread): Add GLIBC_2.18.
41532         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41534         Likewise.
41535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41536         Likewise.
41537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41538         Likewise.
41539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41540         Likewise.
41541         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41542         Likewise.
41543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41544         Likewise.
41545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41546         Likewise.
41547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41548         Likewise.
41549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41550         Likewise.
41552 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41554         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41555         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41557 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41558             H.J. Lu  <hjl.tools@gmail.com>
41560         [BZ #15627]
41561         * sysdeps/x86_64/rtld-memset.c: Remove file.
41562         * sysdeps/x86_64/rtld-memset.S: New file.
41564 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41566         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41567         (test_in_one_mode): Take arguments for whether the rounding mode
41568         is supported for each floating-point type.
41569         (do_test): Pass new arguments to test_in_one_mode using
41570         ROUNDING_TESTS.
41572 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41574         * posix/tst-waitid.c (do_test): Distinguish different instances of
41575         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41576         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41577         before entering the kernel for waitpid.
41579 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41581         * NEWS: Fix note on clock function precision.  Text by Roland
41582         McGrath.
41584 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41586         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41587         it into place only when and if the sanity check passes.
41589 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41591         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41592         output for whether conversion result is exact.  Take argument
41593         indicating whether type is IBM long double.
41594         (round_for_all): Change need_exact field to ibm_ld.
41595         * stdlib/tst-strtod-round.c (struct exactness): New type.
41596         (struct test): Change bool ld_ok field to struct exactness exact.
41597         (TEST): Update all definitions for change to field.
41598         (tests): Regenerate array contents.
41599         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41600         field value.  Check for IBM long double here.
41601         (do_test): Update calls to test_in_one_mode.
41603 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41605         [BZ #12515]
41606         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41607         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41609 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41611         [BZ #15605]
41612         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41613         generated by the compiler on loop optimizations.
41614         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41615         general definitions.
41617 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41619         * math/bug-nextafter.c: Include <math-tests.h>.
41620         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41621         the relevant type.
41622         * math/bug-nexttoward.c: Include <math-tests.h>.
41623         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41624         the relevant type.
41625         * math/test-misc.c: Include <math-tests.h>.
41626         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41627         the relevant type.
41629 2013-06-12  Andreas Jaeger  <aj@suse.de>
41631         * po/ia.po: Update Interlingua translation from translation
41632         project.
41634 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41636         * include/fenv.h: Include stdbool.h.
41637         (struct rm_ctx): New structure.
41638         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41639         Define macro.
41640         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41641         (SET_RESTORE_ROUNDF): Likewise.
41642         (SET_RESTORE_ROUNDL): Likewise.
41643         (SET_RESTORE_ROUND_NOEX): Likewise.
41644         (SET_RESTORE_ROUND_NOEXF): Likewise.
41645         (SET_RESTORE_ROUND_NOEXL): Likewise.
41646         (SET_RESTORE_ROUND_53BIT): Likewise.
41647         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41648         (libc_feresetround_noexf_ctx): Likewise.
41649         (libc_feresetround_noexl_ctx): Likewise.
41650         (libc_feholdsetround_53bit_ctx): Likewise.
41651         (libc_feresetround_53bit_ctx): Likewise.
41652         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41653         (libc_feholdexcept_setround_sse_ctx): New function.
41654         (libc_fesetenv_sse_ctx): Likewise.
41655         (libc_feupdateenv_sse_ctx): Likewise.
41656         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41657         (libc_feholdexcept_setround_387_ctx): Likewise.
41658         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41659         (libc_feholdsetround_387_prec_ctx): Likewise.
41660         (libc_feholdsetround_387_ctx): Likewise.
41661         (libc_feholdsetround_387_53bit_ctx): Likewise.
41662         (libc_feholdsetround_sse_ctx): Likewise.
41663         (libc_feresetround_sse_ctx): Likewise.
41664         (libc_feresetround_387_ctx): Likewise.
41665         (libc_feupdateenv_387_ctx): Likewise.
41666         (libc_feholdexcept_setroundf_ctx): Define macro.
41667         (libc_fesetenvf_ctx): Likewise.
41668         (libc_feupdateenvf_ctx): Likewise.
41669         (libc_feholdsetroundf_ctx): Likewise.
41670         (libc_feresetroundf_ctx): Likewise.
41671         (libc_feholdexcept_setround_ctx): Likewise.
41672         (libc_fesetenv_ctx): Likewise.
41673         (libc_feupdateenv_ctx): Likewise.
41674         (libc_feholdsetround_ctx): Likewise.
41675         (libc_feresetround_ctx): Likewise.
41676         (libc_feholdexcept_setroundl_ctx): Likewise.
41677         (libc_feupdateenvl_ctx): Likewise.
41678         (libc_feholdsetroundl_ctx): Likewise.
41679         (libc_feresetroundl_ctx): Likewise.
41680         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41681         (libc_feresetround_53bit_ctx): Likewise.
41683 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41685         * locale/iso-639.def: Convert to UTF-8.
41687 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41689         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41690         (EXCEPTION_TESTS_double): Likewise.
41691         (EXCEPTION_TESTS_long_double): Likewise.
41692         (EXCEPTION_TESTS): Likewise.
41693         * math/libm-test.inc (test_exceptions): Only test exceptions if
41694         EXCEPTION_TESTS (FLOAT).
41696 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41698         * benchtests/Makefile (string-bench): Add strcpy_chk and
41699         stpcpy_chk.
41700         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41701         * benchtests/bench-stpcpy_chk.c: New file.
41702         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41703         * benchtests/bench-strcpy_chk.c: New file.
41704         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41705         code.
41706         (do_test): Likewise.
41708 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41710         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41711         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41712         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41713         with tabs where appropriate.
41714         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41715         dl-procinfo.h.
41716         [PPC_PLATFORM_PPC440]: Likewise.
41717         [PPC_PLATFORM_PPC464]: Likewise.
41718         [PPC_PLATFORM_PPC476]: Likewise.
41719         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41720         ppc464, and ppc476 platform strings merging from ports/
41721         dl-procinfo.h.
41723 2013-06-11  Andreas Schwab  <schwab@suse.de>
41725         [BZ #14991]
41726         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41727         (from_ucs4_idx): Regenerate.
41728         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41729         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41730         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41731         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41732         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41733         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41734         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41735         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41736         from FROM_LOOP and TO_LOOP specific macros.
41737         (BODY): Handle combining characters.
41738         * iconvdata/BIG5HKSCS.irreversible: Update.
41739         * iconvdata/BIG5HKSCS.precomposed: New file.
41740         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41741         characters.
41742         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41744 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41746         * include/sys/time.h: Fix indentation and add copyright header.
41748         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41749         (do_test): Likewise.
41750         * string/test-memchr.c (do_one_test): Likewise.
41751         (do_test): Likewise.
41752         * string/test-memcmp.c (do_one_test): Likewise.
41753         (do_test): Likewise.
41754         * string/test-memcpy.c (do_one_test): Likewise.
41755         (do_test): Likewise.
41756         * string/test-memmem.c (do_one_test): Likewise.
41757         (do_test): Likewise.
41758         (do_random_tests): Likewise.
41759         * string/test-memmove.c (do_one_test): Likewise.
41760         (do_test): Likewise.
41761         * string/test-memset.c (do_one_test): Likewise.
41762         (do_test): Likewise.
41763         * string/test-rawmemchr.c (do_one_test): Likewise.
41764         (do_test): Likewise.
41765         * string/test-strcasecmp.c (do_one_test): Likewise.
41766         (do_test): Likewise.
41767         * string/test-strcasestr.c (do_one_test): Likewise.
41768         (do_test): Likewise.
41769         * string/test-strcat.c (do_one_test): Likewise.
41770         (do_test): Likewise.
41771         * string/test-strchr.c (do_one_test): Likewise.
41772         (do_test): Likewise.
41773         * string/test-strcmp.c (do_one_test): Likewise.
41774         (do_test): Likewise.
41775         * string/test-strcpy.c (do_one_test): Likewise.
41776         (do_test): Likewise.
41777         * string/test-string.h: Likewise.
41778         (test_init): Likewise.
41779         * string/test-strlen.c (do_one_test): Likewise.
41780         (do_test): Likewise.
41781         * string/test-strncasecmp.c (do_one_test): Likewise.
41782         (do_test): Likewise.
41783         * string/test-strncat.c (do_one_test): Likewise.
41784         (do_test): Likewise.
41785         * string/test-strncmp.c (do_one_test): Likewise.
41786         (do_test_limit): Likewise.
41787         (do_test): Likewise.
41788         * string/test-strncpy.c (do_one_test): Likewise.
41789         (do_test): Likewise.
41790         * string/test-strnlen.c (do_one_test): Likewise.
41791         (do_test): Likewise.
41792         * string/test-strpbrk.c (do_one_test): Likewise.
41793         (do_test): Likewise.
41794         * string/test-strrchr.c (do_one_test): Likewise.
41795         (do_test): Likewise.
41796         * string/test-strspn.c (do_one_test): Likewise.
41797         (do_test): Likewise.
41798         * string/test-strstr.c (do_one_test): Likewise.
41799         (do_test): Likewise.
41801         * benchtests/Makefile (string-bench): Add string benchmarks.
41802         * benchtests/bench-bcopy-ifunc.c: New file.
41803         * benchtests/bench-bcopy.c: New file.
41804         * benchtests/bench-bzero-ifunc.c: New file.
41805         * benchtests/bench-bzero.c: New file.
41806         * benchtests/bench-memccpy-ifunc.c: New file.
41807         * benchtests/bench-memccpy.c: New file.
41808         * benchtests/bench-memchr-ifunc.c: New file.
41809         * benchtests/bench-memchr.c: New file.
41810         * benchtests/bench-memcmp-ifunc.c: New file.
41811         * benchtests/bench-memcmp.c: New file.
41812         * benchtests/bench-memmem-ifunc.c: New file.
41813         * benchtests/bench-memmem.c: New file.
41814         * benchtests/bench-memmove-ifunc.c: New file.
41815         * benchtests/bench-memmove.c: New file.
41816         * benchtests/bench-mempcpy-ifunc.c: New file.
41817         * benchtests/bench-mempcpy.c: New file.
41818         * benchtests/bench-memset-ifunc.c: New file.
41819         * benchtests/bench-memset.c: New file.
41820         * benchtests/bench-rawmemchr-ifunc.c: New file.
41821         * benchtests/bench-rawmemchr.c: New file.
41822         * benchtests/bench-stpcpy-ifunc.c: New file.
41823         * benchtests/bench-stpcpy.c: New file.
41824         * benchtests/bench-stpncpy-ifunc.c: New file.
41825         * benchtests/bench-stpncpy.c: New file.
41826         * benchtests/bench-strcasecmp-ifunc.c: New file.
41827         * benchtests/bench-strcasecmp.c: New file.
41828         * benchtests/bench-strcasestr-ifunc.c: New file.
41829         * benchtests/bench-strcasestr.c: New file.
41830         * benchtests/bench-strcat-ifunc.c: New file.
41831         * benchtests/bench-strcat.c: New file.
41832         * benchtests/bench-strchr-ifunc.c: New file.
41833         * benchtests/bench-strchr.c: New file.
41834         * benchtests/bench-strchrnul-ifunc.c: New file.
41835         * benchtests/bench-strchrnul.c: New file.
41836         * benchtests/bench-strcmp-ifunc.c: New file.
41837         * benchtests/bench-strcmp.c: New file.
41838         * benchtests/bench-strcpy-ifunc.c: New file.
41839         * benchtests/bench-strcpy.c: New file.
41840         * benchtests/bench-strcspn-ifunc.c: New file.
41841         * benchtests/bench-strcspn.c: New file.
41842         * benchtests/bench-strlen-ifunc.c: New file.
41843         * benchtests/bench-strlen.c: New file.
41844         * benchtests/bench-strncasecmp-ifunc.c: New file.
41845         * benchtests/bench-strncasecmp.c: New file.
41846         * benchtests/bench-strncat-ifunc.c: New file.
41847         * benchtests/bench-strncat.c: New file.
41848         * benchtests/bench-strncmp-ifunc.c: New file.
41849         * benchtests/bench-strncmp.c: New file.
41850         * benchtests/bench-strncpy-ifunc.c: New file.
41851         * benchtests/bench-strncpy.c: New file.
41852         * benchtests/bench-strnlen-ifunc.c: New file.
41853         * benchtests/bench-strnlen.c: New file.
41854         * benchtests/bench-strpbrk-ifunc.c: New file.
41855         * benchtests/bench-strpbrk.c: New file.
41856         * benchtests/bench-strrchr-ifunc.c: New file.
41857         * benchtests/bench-strrchr.c: New file.
41858         * benchtests/bench-strspn-ifunc.c: New file.
41859         * benchtests/bench-strspn.c: New file.
41860         * benchtests/bench-strstr-ifunc.c: New file.
41861         * benchtests/bench-strstr.c: New file.
41863         * benchtests/Makefile: Disable parallel execution of targets.
41864         (string-bench): Add memcpy.
41865         (benchset): New variable to store a list of benchmark sets.
41866         (bench-func): Renamed from bench.
41867         (bench-set): New target.
41868         (bench): Depend on bench-func and bench-set.
41869         * benchtests/README: Add section on benchmark sets.
41870         * benchtests/bench-memcpy-ifunc.c: New file.
41871         * benchtests/bench-memcpy.c: New file.
41872         * benchtests/bench-string.h: New file.
41874 2013-06-11  Andreas Schwab  <schwab@suse.de>
41876         [BZ #15577]
41877         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
41878         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
41879         values in the triple.
41880         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
41881         terminator in the group key.
41883 2013-06-11  Andreas Jaeger  <aj@suse.de>
41885         * po/zh_TW.po: Update Chinese (traditional) translation from
41886         translation project.
41888 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41890         * include/time.h (__clock_gettime): Add libc_hidden_proto.
41891         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
41892         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
41893         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41894         (clock_getcpuclockid): Likewise.
41895         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
41896         Add weak_alias and libc_hidden_def.
41897         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
41898         * rt/clock_gettime.c (clock_gettime): Rename to
41899         __clock_gettime.  Add weak_alias and libc_hidden_def.
41900         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
41901         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
41902         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
41903         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
41904         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
41905         Likewise.
41906         * rt/clock_settime.c (clock_settime): Rename to
41907         __clock_settime.  Add weak_alias and libc_hidden_def.
41908         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
41910 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
41912         * mach/err_boot.sub: Remove trailing whitespace.
41913         * mach/err_ipc.sub: Likewise.
41914         * mach/err_mach.sub: Likewise.
41916         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
41917         (ROUNDING_TESTS_double): Likewise.
41918         (ROUNDING_TESTS_long_double): Likewise.
41919         (ROUNDING_TESTS): Likewise.
41920         * math/libm-test.inc: Include <math-tests.h>.
41921         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
41922         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41923         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41924         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41926 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41928         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
41929         of assigning.
41931 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
41933         * sysdeps/gnu/errlist.awk: Do not generate space at end of
41934         otherwise empty TRANS lines.
41935         * sysdeps/gnu/errlist.c: Regenerated.
41937         * catgets/gencat.c (error_print): Use (void) in function
41938         definition.
41939         * crypt/crypt_util.c (__init_des): Likewise.
41940         * crypt/speeds.c (Stop): Likewise.
41941         (main): Likewise.
41942         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
41943         * inet/ruserpass.c (token): Likewise.
41944         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
41945         * intl/localealias.c (extend_alias_table): Likewise.
41946         * intl/plural-exp.c (init_germanic_plural): Likewise.
41947         * libio/fcloseall.c (__fcloseall): Likewise.
41948         * libio/genops.c (_IO_flush_all): Likewise.
41949         (_IO_flush_all_linebuffered): Likewise.
41950         (_IO_cleanup): Likewise.
41951         (_IO_iter_begin): Likewise.
41952         (_IO_iter_end): Likewise.
41953         (_IO_list_lock): Likewise.
41954         (_IO_list_unlock): Likewise.
41955         (_IO_list_resetlock): Likewise.
41956         * libio/getchar.c (getchar): Likewise.
41957         * libio/getchar_u.c (getchar_unlocked): Likewise.
41958         * libio/getwchar.c (getwchar): Likewise.
41959         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
41960         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
41961         * login/getpt.c (__getpt): Likewise.
41962         * login/tst-utmp.c (main): Likewise.
41963         * malloc/hooks.c (__malloc_check_init): Likewise.
41964         * malloc/malloc.c (__malloc_stats): Likewise.
41965         * malloc/mtrace.c (tr_break): Likewise.
41966         (mtrace): Likewise.
41967         (muntrace): Likewise.
41968         * misc/fstab.c (endfsent): Likewise.
41969         * misc/getclktck.c (__getclktck): Likewise.
41970         * misc/getdtsz.c (__getdtablesize): Likewise.
41971         * misc/gethostid.c (gethostid): Likewise.
41972         * misc/getpagesize.c (__getpagesize): Likewise.
41973         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
41974         (__get_nprocs): Likewise.
41975         (__get_phys_pages): Likewise.
41976         (__get_avphys_pages): Likewise.
41977         * misc/getttyent.c (getttyent): Likewise.
41978         (setttyent): Likewise.
41979         (endttyent): Likewise.
41980         * misc/getusershell.c (getusershell): Likewise.
41981         (endusershell): Likewise.
41982         (setusershell): Likewise.
41983         (initshells): Likewise.
41984         * misc/hsearch.c (__hdestroy): Likewise.
41985         * misc/sync.c (sync): Likewise.
41986         * misc/syslog.c (closelog_internal): Likewise.
41987         (closelog): Likewise.
41988         * misc/ttyslot.c (ttyslot): Likewise.
41989         * misc/vhangup.c (vhangup): Likewise.
41990         * posix/fork.c (__fork): Likewise.
41991         * posix/getegid.c (__getegid): Likewise.
41992         * posix/geteuid.c (__geteuid): Likewise.
41993         * posix/getgid.c (__getgid): Likewise.
41994         * posix/getpid.c (__getpid): Likewise.
41995         * posix/getppid.c (__getppid): Likewise.
41996         * posix/getuid.c (__getuid): Likewise.
41997         * posix/pause.c (pause): Likewise.
41998         * posix/setpgrp.c (setpgrp): Likewise.
41999         * posix/setsid.c (__setsid): Likewise.
42000         * posix/test-vfork.c (noop): Likewise.
42001         * resolv/gethnamaddr.c (_endhtent): Likewise.
42002         (_gethtent): Likewise.
42003         (ht_endhostent): Likewise.
42004         (gethostent): Likewise.
42005         (dns_service): Likewise.
42006         * stdlib/drand48.c (drand48): Likewise.
42007         * stdlib/lrand48.c (lrand48): Likewise.
42008         * stdlib/mrand48.c (mrand48): Likewise.
42009         * stdlib/rand.c (rand): Likewise.
42010         * stdlib/random.c (__random): Likewise.
42011         * stdlib/setenv.c (clearenv): Likewise.
42012         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42013         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42014         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42015         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42016         (__get_nprocs): Likewise.
42017         (__get_phys_pages): Likewise.
42018         (__get_avphys_pages): Likewise.
42019         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42020         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42021         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42022         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42023         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42024         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42025         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42026         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42027         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42028         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42029         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42030         * sysdeps/mach/hurd/sync.c (sync): Likewise.
42031         * sysdeps/posix/clock.c (clock): Likewise.
42032         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42033         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42034         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42035         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42036         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42037         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42038         (__get_nprocs_conf): Likewise.
42039         (__get_phys_pages): Likewise.
42040         (__get_avphys_pages): Likewise.
42041         * time/clock.c (clock): Likewise.
42042         * time/tzset.c (__tzname_max): Likewise.
42044 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
42046         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42047         (__bswap_32): Do not use "register".
42048         * crypt/crypt.c (_ufc_doit_r): Likewise.
42049         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42050         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42051         * gmon/gmon.c (__monstartup): Likewise.
42052         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42053         * hurd/hurdmalloc.c (more_memory): Likewise.
42054         (malloc): Likewise.
42055         (free): Likewise.
42056         (realloc): Likewise.
42057         (malloc_fork_prepare): Likewise.
42058         (malloc_fork_parent): Likewise.
42059         (malloc_fork_child): Likewise.
42060         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42061         (_svcauth_des): Likewise.
42062         * inet/inet_lnaof.c (inet_lnaof): Likewise.
42063         * inet/inet_net.c (inet_network): Likewise.
42064         * inet/inet_netof.c (inet_netof): Likewise.
42065         * inet/rcmd.c (__validuser2_sa): Likewise.
42066         * io/fts.c (fts_open): Likewise.
42067         (fts_load): Likewise.
42068         (fts_close): Likewise.
42069         (fts_read): Likewise.
42070         (fts_children): Likewise.
42071         (fts_build): Likewise.
42072         (fts_stat): Likewise.
42073         (fts_sort): Likewise.
42074         (fts_alloc): Likewise.
42075         (fts_lfree): Likewise.
42076         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42077         (_IO_file_xsgetn): Likewise.
42078         (_IO_file_xsgetn_mmap): Likewise.
42079         * libio/iofopncook.c (_IO_cookie_read): Likewise.
42080         (_IO_cookie_write): Likewise.
42081         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42082         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42083         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42084         * malloc/obstack.c (_obstack_begin): Likewise.
42085         (_obstack_begin_1): Likewise.
42086         (_obstack_newchunk): Likewise.
42087         (_obstack_allocated_p): Likewise.
42088         (obstack_free): Likewise.
42089         (_obstack_memory_used): Likewise.
42090         * misc/getttyent.c (getttynam): Likewise.
42091         (getttyent): Likewise.
42092         (skip): Likewise.
42093         (value): Likewise.
42094         * misc/getusershell.c (initshells): Likewise.
42095         * misc/syslog.c (__vsyslog_chk): Likewise.
42096         * misc/ttyslot.c (ttyslot): Likewise.
42097         * nis/nis_hash.c (__nis_hash): Likewise.
42098         * posix/fnmatch_loop.c (FCT): Likewise.
42099         * posix/getconf.c (print_all): Likewise.
42100         (main): Likewise.
42101         * posix/getopt.c (exchange): Likewise.
42102         * posix/glob.c (globfree): Likewise.
42103         (prefix_array): Likewise.
42104         (__glob_pattern_type): Likewise.
42105         * resolv/arpa/nameser.h (NS_GET16): Likewise.
42106         (NS_GET32): Likewise.
42107         (NS_PUT16): Likewise.
42108         (NS_PUT32): Likewise.
42109         * resolv/gethnamaddr.c (getanswer): Likewise.
42110         (gethostbyname2): Likewise.
42111         (gethostbyaddr): Likewise.
42112         (_gethtent): Likewise.
42113         (_gethtbyname2): Likewise.
42114         (_gethtbyaddr): Likewise.
42115         * resolv/ns_print.c (dst_s_get_int16): Likewise.
42116         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42117         * resolv/res_init.c (__res_vinit): Likewise.
42118         (net_mask): Likewise.
42119         * resolv/res_mkquery.c (outchar): Likewise.
42120         (PRINT): Likewise.
42121         * stdio-common/printf_fp.c (outchar): Likewise.
42122         (PRINT): Likewise.
42123         * stdio-common/printf_fphex.c (outchar): Likewise.
42124         (PRINT): Likewise.
42125         * stdio-common/printf_size.c (outchar): Likewise.
42126         (PRINT): Likewise.
42127         * stdio-common/test_rdwr.c (main): Likewise.
42128         * stdio-common/tfformat.c (matches): Likewise.
42129         * stdio-common/vfprintf.c (outchar): Likewise.
42130         (printf_unknown): Likewise.
42131         (buffered_vfprintf): Likewise.
42132         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42133         * stdio-common/xbug.c (AppendToBuffer): Likewise.
42134         (ReadFile): Likewise.
42135         * stdlib/qsort.c (SWAP): Likewise.
42136         (_quicksort): Likewise.
42137         * stdlib/setenv.c (__add_to_environ): Likewise.
42138         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42139         * stdlib/strtol_l.c (__strtol_l): Likewise.
42140         * stdlib/tst-strtod.c (main): Likewise.
42141         * stdlib/tst-strtol.c (main): Likewise.
42142         * stdlib/tst-strtoll.c (main): Likewise.
42143         * string/bits/string2.h (__strcmp_cc): Likewise.
42144         (__strcmp_cg): Likewise.
42145         (__strcspn_c1): Likewise.
42146         (__strcspn_c2): Likewise.
42147         (__strcspn_c3): Likewise.
42148         (__strspn_c1): Likewise.
42149         (__strspn_c2): Likewise.
42150         (__strspn_c3): Likewise.
42151         (__strsep_1c): Likewise.
42152         (__strsep_2c): Likewise.
42153         (__strsep_3c): Likewise.
42154         * string/memccpy.c (__memccpy): Likewise.
42155         * string/stpcpy.c (__stpcpy): Likewise.
42156         * string/strcmp.c (strcmp): Likewise.
42157         * string/strrchr.c (strrchr): Likewise.
42158         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42159         Likewise.
42160         * sysdeps/mach/hurd/getcwd.c
42161         (_hurd_canonicalize_directory_name_internal): Likewise.
42162         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42163         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42164         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42165         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42166         Likewise, in both definitions.
42167         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42168         definitions.
42169         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42170         64] (__bswap_64): Likewise.
42171         * time/test_time.c (main): Likewise.
42172         * time/tzfile.c (__tzfile_read): Likewise.
42173         (__tzfile_compute): Likewise.
42174         * time/tzset.c (__tzset_parse_tz): Likewise.
42175         (tzset_internal): Likewise.
42176         (compute_change): Likewise.
42177         * wcsmbs/wcscat.c (__wcscat): Likewise.
42178         * wcsmbs/wcschr.c (wcschr): Likewise.
42179         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42180         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42181         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42182         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42183         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42184         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42185         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42186         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42187         * wcsmbs/wmemset.c (wmemset): Likewise.
42189 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42191         * scripts/config.guess: Update to version 2013-05-16.
42192         * scripts/config.sub: Update to version 2013-04-24.
42193         * scripts/install-sh: Update to version 2011-11-20.07.
42194         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42195         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42197 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42199         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42200         * elf/sln.c: Likewise.
42201         * hurd/hurd/ioctl.h: Likewise.
42202         * hurd/hurdmalloc.c: Likewise.
42203         * hurd/xattr.c: Likewise.
42204         * include/shlib-compat.h: Likewise.
42205         * inet/ruserpass.c: Likewise.
42206         * libio/iofgets_u.c: Likewise.
42207         * libio/iofgetws_u.c: Likewise.
42208         * locale/programs/ld-identification.c: Likewise.
42209         * locale/programs/ld-time.c: Likewise.
42210         * mach/msg-destroy.c: Likewise.
42211         * nss/nss_files/files-netgrp.c: Likewise.
42212         * resolv/res_data.c: Likewise.
42213         * soft-fp/op-1.h: Likewise.
42214         * soft-fp/op-2.h: Likewise.
42215         * soft-fp/op-4.h: Likewise.
42216         * soft-fp/op-common.h: Likewise.
42217         * stdio-common/printf_fphex.c: Likewise.
42218         * stdlib/strtod_l.c: Likewise.
42219         * sunrpc/rpc/clnt.h: Likewise.
42220         * sysdeps/generic/framestate.c: Likewise.
42221         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42222         * sysdeps/i386/bsd-setjmp.S: Likewise.
42223         * sysdeps/i386/__longjmp.S: Likewise.
42224         * sysdeps/i386/setjmp.S: Likewise.
42225         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42226         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42227         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42228         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42229         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42230         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42231         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42232         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42233         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42234         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42235         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42236         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42237         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42238         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42239         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42240         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42241         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42242         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42243         * sysdeps/ieee754/support.c: Likewise.
42244         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42245         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42246         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42247         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42248         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42249         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42250         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42251         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42252         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42253         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42254         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42255         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42256         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42257         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42258         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42259         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42260         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42263 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42265         * posix/transbug.c: Remove executable mode.
42267 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
42269         * crypt/speeds.c: Remove trailing whitespace.
42270         * dlfcn/default.c: Likewise.
42271         * elf/ifuncdep2.c: Likewise.
42272         * elf/ifuncmain1.c: Likewise.
42273         * elf/ifuncmain1vis.c: Likewise.
42274         * elf/testobj.h: Likewise.
42275         * elf/tst-stackguard1.c: Likewise.
42276         * gmon/sys/gmon.h: Likewise.
42277         * hurd/hurdmsg.c: Likewise.
42278         * hurd/new-fd.c: Likewise.
42279         * hurd/ports-get.c: Likewise.
42280         * iconvdata/ibm1008_420.c: Likewise.
42281         * inet/tst-getni1.c: Likewise.
42282         * inet/tst-getni2.c: Likewise.
42283         * libio/ioungetc.c: Likewise.
42284         * libio/wfiledoalloc.c: Likewise.
42285         * manual/libm-err-tab.pl: Likewise.
42286         * math/w_dremf.c: Likewise.
42287         * misc/ftruncate.c: Likewise.
42288         * posix/bug-glob2.c: Likewise.
42289         * posix/tst-pcre.c: Likewise.
42290         * posix/wait4.c: Likewise.
42291         * resolv/README: Likewise.
42292         * resolv/res_debug.h: Likewise.
42293         * resolv/tst-inet_ntop.c: Likewise.
42294         * setjmp/bug269-setjmp.c: Likewise.
42295         * soft-fp/extended.h: Likewise.
42296         * soft-fp/op-1.h: Likewise.
42297         * soft-fp/op-2.h: Likewise.
42298         * soft-fp/op-4.h: Likewise.
42299         * soft-fp/op-8.h: Likewise.
42300         * soft-fp/testit.c: Likewise.
42301         * stdio-common/bug16.c: Likewise.
42302         * stdlib/random.c: Likewise.
42303         * sunrpc/rpcsvc/rquota.x: Likewise.
42304         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42305         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42306         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42307         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42308         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42309         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42310         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42311         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42312         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42313         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42314         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42315         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42316         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42317         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42318         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42319         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42320         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42321         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42322         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42323         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42324         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42325         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42326         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42327         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42328         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42329         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42330         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42331         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42332         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42333         * sysdeps/ieee754/s_lib_version.c: Likewise.
42334         * sysdeps/mach/hurd/check_fds.c: Likewise.
42335         * sysdeps/mach/hurd/getsockname.c: Likewise.
42336         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42337         * sysdeps/mach/hurd/recvfrom.c: Likewise.
42338         * sysdeps/powerpc/bits/link.h: Likewise.
42339         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42340         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42341         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42342         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42343         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42344         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42345         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42346         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42347         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42348         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42349         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42350         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42351         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42352         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42353         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42354         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42355         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42356         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42357         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42358         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42359         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42360         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42361         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42362         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42363         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42364         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42365         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42366         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42367         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42368         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42369         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42370         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42371         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42372         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42373         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42374         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42375         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42376         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42377         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42378         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42379         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42380         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42381         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42382         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42383         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42384         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42385         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42386         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42387         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42388         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42389         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42390         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42391         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42392         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42393         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42394         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42395         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42396         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42397         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42398         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42399         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42400         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42401         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42402         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42403         * sysdeps/powerpc/sysdep.h: Likewise.
42404         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42405         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42406         * sysdeps/sh/dl-trampoline.S: Likewise.
42407         * sysdeps/sh/memset.S: Likewise.
42408         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42409         * sysdeps/sh/strlen.S: Likewise.
42410         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42411         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42412         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42413         * sysdeps/sparc/sparc32/rem.S: Likewise.
42414         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42415         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42416         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42417         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42418         * sysdeps/sparc/sparc32/urem.S: Likewise.
42419         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42420         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42421         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42422         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42423         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42424         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42425         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42426         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42427         * sysdeps/unix/bsd/times.c: Likewise.
42428         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42429         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42433         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42434         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42435         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42436         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42437         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42438         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42439         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42440         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42441         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42442         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42443         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42444         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42445         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42446         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42447         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42448         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42449         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42450         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42451         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42452         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42453         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42454         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42455         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42456         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42457         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42458         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42459         * sysdeps/x86_64/strcspn.S: Likewise.
42461 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42463         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42464         generated file.  Regenerate properly from gen-translit.pl.
42465         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42466         locale/C-translit.h.
42468 2013-06-05  Andreas Schwab  <schwab@suse.de>
42470         [BZ #15100]
42471         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42472         week as 6 instead of -1.
42473         * time/tst-strptime.c (day_tests): Add test case.
42475 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42477         * sysdeps/generic/math_private.h
42478         (libc_feholdexcept_setround_53bit): Replace with
42479         libc_feholdsetround_53bit.
42480         (libc_feupdateenv_53bit): Replace with
42481         libc_feresetround_53bit.
42482         (SET_RESTORE_ROUND_53BIT): Adjust.
42484 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42486         * string/test-strchrnul.c: Add copyright header.
42488         * posix/tst-getaddrinfo4.c: Increase test timeout.
42490 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42492         [BZ #15536]
42493         * math/libm-test.inc (MAX_EXP): Remove
42494         (MIN_EXP): Define.
42495         (ulp): Use MIN_EXP - MANT_DIG.
42496         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42498 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42500         * po/be.po: Revert last change.
42501         * po/zh_CN.po: Likewise.
42502         * po/header.pot: Likewise.
42504 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42506         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42507         link-libc-deps to empty as target-specific variable.
42508         * Makerules (link-libc-args): New variable.
42509         (libc-for-link): Likewise.
42510         (link-libc-deps): Likewise.
42511         (lib%.so): Depend on $(link-libc-deps).  Link with
42512         $(link-libc-args).
42513         (build-module): Link with $(link-libc-args).
42514         (build-module-asneeded): Likewise.
42515         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42516         list of objects.
42517         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42518         target-specific variable.
42519         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42520         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42521         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42522         libc.
42523         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42524         libc and ld.so.
42525         ($(objpfx)libpcprofile.so): Likewise.
42526         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42527         libc_nonshared.a.
42528         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42529         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42530         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42531         $(link-libc-deps).
42532         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42533         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42534         * login/Makefile ($(objpfx)libutil.so): Likewise.
42535         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42536         * math/Makefile ($(objpfx)libm.so): Likewise.
42537         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42538         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42539         variable instead of depending directly on libc.
42540         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42541         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42542         $(link-libc-deps).
42543         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42544         libc.
42545         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42546         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42547         ($(objpfx)libanl.so): Likewise.
42548         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42549         ld.so.
42550         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42551         $(link-libc-deps).
42552         * sysdeps/i386/fpu/Makefile: Remove file.
42553         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42554         ($(objpfx)libm.so): Remove dependency on ld.so.
42556 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42558         [BZ # 15553]
42559         * nis/yp_xdr.c (XDRMAXNAME): Define.
42560         (XDRMAXRECORD): Define.
42561         (xdr_domainname): Use XDRMAXNAME.
42562         (xdr_mapname): Likewise.
42563         (xdr_peername): Likewise.
42564         (xdr_keydat): Use XDRMAXRECORD.
42565         (xdr_valdat): Likewise.
42567 2013-05-30  Jeff Law  <law@redhat.com>
42569         [BZ #14256]
42570         * manual/errno.texi (ESTALE): Update to account for more than
42571         just NFS file systems.
42572         * sysdeps/gnu/errlist.c: Regenerated.
42574 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42576         [BZ #15465]
42577         * elf/Makefile (tests): Add tst-null-argv.
42578         (modules-names):  Add tst-null-argv-lib.
42579         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42580         (tst-null-argv-ENV): Set environment for tst-null-argv.
42581         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42582         (RTLD_PROGNAME): New macro.
42583         * elf/tst-null-argv.c: New test case.
42584         * elf/tst-null-argv-lib.c: Library for test case.
42585         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42586         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42587         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42588         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42589         * elf/dl-init.c (call_init): Likewise.
42590         (_dl_init): Likewise.
42591         * elf/dl-load.c (print_search_path): Likewise.
42592         (_dl_map_object): Likewise.
42593         * elf/dl-lookup.c (do_lookup_x): Likewise.
42594         (add_dependency): Likewise.
42595         (_dl_lookup_symbol_x): Likewise.
42596         (_dl_debug_bindings): Likewise.
42597         * elf/dl-open.c (_dl_show_scope): Likewise.
42598         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42599         * elf/dl-version.c (match_symbol): Likewise.
42600         (_dl_check_map_versions): Likewise.
42601         * elf/rtld.c (dl_main): Likewise.
42602         (print_unresolved): Use RTLD_PROGNAME.
42603         (print_missing_version): Likewise.
42604         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42605         (elf_machine_rela): Likewise.
42606         * sysdeps/powerpc/powerpc32/dl-machine.c
42607         (__process_machine_rela): Likewise.
42608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42609         Likewise.
42610         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42611         Likewise.
42612         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42613         Likewise.
42614         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42615         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42616         Likewise.
42617         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42618         Likewise.
42619         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42621 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42623         * po/be.po: Add descriptive title.
42624         * po/zh_CN.po: Likewise.
42625         * po/header.pot: Likewise.
42627 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42629         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42630         error message.
42631         (enlarge_archive): Likewise.
42633 2013-05-28  Ben North  <ben@redfrontdoor.org>
42635         * manual/arith.texi (frexp): It is the magnitude of the return
42636         value which lies in [0.5, 1), not the return value itself.
42638 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42642 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42644         * stdio-common/bug26.c (main): Correct fscanf template.
42646         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42647         declare _dl_skip_args.
42649         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42650         Don't declare.
42652         * manual/platform.texi: Add missing @end deftypefun.
42654 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42656         [BZ #15529]
42657         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42658         bit of mantissa of 2^16382.
42659         * math/libm-test.inc (hypot_test_data): Add more tests.
42661         * math/libm-test.inc: Add drem and pow10 to list of tested
42662         functions.
42663         (pow10_test): New function.
42664         (drem_test): Likewise.
42665         (drem_test_tonearest): Likewise.
42666         (drem_test_towardzero): Likewise.
42667         (drem_test_downward): Likewise.
42668         (drem_test_upward): Likewise.
42669         (main): Call the new functions.
42671         * math/libm-test.inc (finite_test_data): Remove.
42672         (finite_test): Run tests from isfinite_test_data.
42673         (gamma_test_data): Remove.
42674         (gamma_test): Run tests from lgamma_test_data.
42675         * sysdeps/i386/fpu/libm-test-ulps: Update.
42676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42678 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42680         * manual/platform.texi: Add PowerPC PPR function set documentation.
42681         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42682         implementation.
42684 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42686         * math/libm-test.inc (MAX_EXP): Define.
42687         (ULPDIFF): Define.
42688         (ulp): New function.
42689         (check_float_internal): Use ULPDIFF.
42690         (cpow_test): Disable failing test.
42691         (check_ulp): Test ulp() implemetnation.
42692         (main): Call check_ulp before starting tests.
42694 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42696         * math/gen-libm-test.pl (generate_testfile): Do not handle
42697         START_DATA and END_DATA.
42698         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42699         END_DATA.
42700         (acos_tonearest_test_data): Likewise.
42701         (acos_towardzero_test_data): Likewise.
42702         (acos_downward_test_data): Likewise.
42703         (acos_upward_test_data): Likewise.
42704         (acosh_test_data): Likewise.
42705         (asin_test_data): Likewise.
42706         (asin_tonearest_test_data): Likewise.
42707         (asin_towardzero_test_data): Likewise.
42708         (asin_downward_test_data): Likewise.
42709         (asin_upward_test_data): Likewise.
42710         (asinh_test_data): Likewise.
42711         (atan_test_data): Likewise.
42712         (atanh_test_data): Likewise.
42713         (atan2_test_data): Likewise.
42714         (cabs_test_data): Likewise.
42715         (cacos_test_data): Likewise.
42716         (cacosh_test_data): Likewise.
42717         (carg_test_data): Likewise.
42718         (casin_test_data): Likewise.
42719         (casinh_test_data): Likewise.
42720         (catan_test_data): Likewise.
42721         (catanh_test_data): Likewise.
42722         (cbrt_test_data): Likewise.
42723         (ccos_test_data): Likewise.
42724         (ccosh_test_data): Likewise.
42725         (ceil_test_data): Likewise.
42726         (cexp_test_data): Likewise.
42727         (cimag_test_data): Likewise.
42728         (clog_test_data): Likewise.
42729         (clog10_test_data): Likewise.
42730         (conj_test_data): Likewise.
42731         (copysign_test_data): Likewise.
42732         (cos_test_data): Likewise.
42733         (cos_tonearest_test_data): Likewise.
42734         (cos_towardzero_test_data): Likewise.
42735         (cos_downward_test_data): Likewise.
42736         (cos_upward_test_data): Likewise.
42737         (cosh_test_data): Likewise.
42738         (cosh_tonearest_test_data): Likewise.
42739         (cosh_towardzero_test_data): Likewise.
42740         (cosh_downward_test_data): Likewise.
42741         (cosh_upward_test_data): Likewise.
42742         (cpow_test_data): Likewise.
42743         (cproj_test_data): Likewise.
42744         (creal_test_data): Likewise.
42745         (csin_test_data): Likewise.
42746         (csinh_test_data): Likewise.
42747         (csqrt_test_data): Likewise.
42748         (ctan_test_data): Likewise.
42749         (ctan_tonearest_test_data): Likewise.
42750         (ctan_towardzero_test_data): Likewise.
42751         (ctan_downward_test_data): Likewise.
42752         (ctan_upward_test_data): Likewise.
42753         (ctanh_test_data): Likewise.
42754         (ctanh_tonearest_test_data): Likewise.
42755         (ctanh_towardzero_test_data): Likewise.
42756         (ctanh_downward_test_data): Likewise.
42757         (ctanh_upward_test_data): Likewise.
42758         (erf_test_data): Likewise.
42759         (erfc_test_data): Likewise.
42760         (exp_test_data): Likewise.
42761         (exp_tonearest_test_data): Likewise.
42762         (exp_towardzero_test_data): Likewise.
42763         (exp_downward_test_data): Likewise.
42764         (exp_upward_test_data): Likewise.
42765         (exp10_test_data): Likewise.
42766         (exp2_test_data): Likewise.
42767         (expm1_test_data): Likewise.
42768         (fabs_test_data): Likewise.
42769         (fdim_test_data): Likewise.
42770         (finite_test_data): Likewise.
42771         (floor_test_data): Likewise.
42772         (fma_test_data): Likewise.
42773         (fma_towardzero_test_data): Likewise.
42774         (fma_downward_test_data): Likewise.
42775         (fma_upward_test_data): Likewise.
42776         (fmax_test_data): Likewise.
42777         (fmin_test_data): Likewise.
42778         (fmod_test_data): Likewise.
42779         (fpclassify_test_data): Likewise.
42780         (frexp_test_data): Likewise.
42781         (gamma_test_data): Likewise.
42782         (hypot_test_data): Likewise.
42783         (ilogb_test_data): Likewise.
42784         (isfinite_test_data): Likewise.
42785         (isgreater_test_data): Likewise.
42786         (isgreaterequal_test_data): Likewise.
42787         (isinf_test_data): Likewise.
42788         (isless_test_data): Likewise.
42789         (islessequal_test_data): Likewise.
42790         (islessgreater_test_data): Likewise.
42791         (isnan_test_data): Likewise.
42792         (isnormal_test_data): Likewise.
42793         (issignaling_test_data): Likewise.
42794         (isunordered_test_data): Likewise.
42795         (j0_test_data): Likewise.
42796         (j1_test_data): Likewise.
42797         (jn_test_data): Likewise.
42798         (ldexp_test_data): Likewise.
42799         (lgamma_test_data): Likewise.
42800         (lrint_test_data): Likewise.
42801         (lrint_tonearest_test_data): Likewise.
42802         (lrint_towardzero_test_data): Likewise.
42803         (lrint_downward_test_data): Likewise.
42804         (lrint_upward_test_data): Likewise.
42805         (llrint_test_data): Likewise.
42806         (llrint_tonearest_test_data): Likewise.
42807         (llrint_towardzero_test_data): Likewise.
42808         (llrint_downward_test_data): Likewise.
42809         (llrint_upward_test_data): Likewise.
42810         (log_test_data): Likewise.
42811         (log10_test_data): Likewise.
42812         (log1p_test_data): Likewise.
42813         (log2_test_data): Likewise.
42814         (logb_test_data): Likewise.
42815         (logb_downward_test_data): Likewise.
42816         (lround_test_data): Likewise.
42817         (llround_test_data): Likewise.
42818         (modf_test_data): Likewise.
42819         (nearbyint_test_data): Likewise.
42820         (nextafter_test_data): Likewise.
42821         (nexttoward_test_data): Likewise.
42822         (pow_test_data): Likewise.
42823         (pow_tonearest_test_data): Likewise.
42824         (pow_towardzero_test_data): Likewise.
42825         (pow_downward_test_data): Likewise.
42826         (pow_upward_test_data): Likewise.
42827         (remainder_test_data): Likewise.
42828         (remainder_tonearest_test_data): Likewise.
42829         (remainder_towardzero_test_data): Likewise.
42830         (remainder_downward_test_data): Likewise.
42831         (remainder_upward_test_data): Likewise.
42832         (remquo_test_data): Likewise.
42833         (rint_test_data): Likewise.
42834         (rint_tonearest_test_data): Likewise.
42835         (rint_towardzero_test_data): Likewise.
42836         (rint_downward_test_data): Likewise.
42837         (rint_upward_test_data): Likewise.
42838         (round_test_data): Likewise.
42839         (scalb_test_data): Likewise.
42840         (scalbn_test_data): Likewise.
42841         (scalbln_test_data): Likewise.
42842         (signbit_test_data): Likewise.
42843         (sin_test_data): Likewise.
42844         (sin_tonearest_test_data): Likewise.
42845         (sin_towardzero_test_data): Likewise.
42846         (sin_downward_test_data): Likewise.
42847         (sin_upward_test_data): Likewise.
42848         (sincos_test_data): Likewise.
42849         (sinh_test_data): Likewise.
42850         (sinh_tonearest_test_data): Likewise.
42851         (sinh_towardzero_test_data): Likewise.
42852         (sinh_downward_test_data): Likewise.
42853         (sinh_upward_test_data): Likewise.
42854         (sqrt_test_data): Likewise.
42855         (tan_test_data): Likewise.
42856         (tan_tonearest_test_data): Likewise.
42857         (tan_towardzero_test_data): Likewise.
42858         (tan_downward_test_data): Likewise.
42859         (tan_upward_test_data): Likewise.
42860         (tanh_test_data): Likewise.
42861         (tgamma_test_data): Likewise.
42862         (trunc_test_data): Likewise.
42863         (y0_test_data): Likewise.
42864         (y1_test_data): Likewise.
42865         (yn_test_data): Likewise.
42866         (significand_test_data): Likewise.
42868         * math/gen-libm-test.pl (@functions): Remove variable.
42869         (generate_testfile): Don't handle START and END lines.
42870         * math/libm-test.inc (START): New macro.
42871         (END): Likewise.
42872         (END_COMPLEX): Likewise.
42873         (acos_test): Use END macro without arguments.
42874         (acos_test_tonearest): Likewise.
42875         (acos_test_towardzero): Likewise.
42876         (acos_test_downward): Likewise.
42877         (acos_test_upward): Likewise.
42878         (acosh_test): Likewise.
42879         (asin_test): Likewise.
42880         (asin_test_tonearest): Likewise.
42881         (asin_test_towardzero): Likewise.
42882         (asin_test_downward): Likewise.
42883         (asin_test_upward): Likewise.
42884         (asinh_test): Likewise.
42885         (atan_test): Likewise.
42886         (atanh_test): Likewise.
42887         (atan2_test): Likewise.
42888         (cabs_test): Likewise.
42889         (cacos_test): Use END_COMPLEX macro without arguments.
42890         (cacosh_test): Likewise.
42891         (carg_test): Use END macro without arguments.
42892         (casin_test): Use END_COMPLEX macro without arguments.
42893         (casinh_test): Likewise.
42894         (catan_test): Likewise.
42895         (catanh_test): Likewise.
42896         (cbrt_test): Use END macro without arguments.
42897         (ccos_test): Use END_COMPLEX macro without arguments.
42898         (ccosh_test): Likewise.
42899         (ceil_test): Use END macro without arguments.
42900         (cexp_test): Use END_COMPLEX macro without arguments.
42901         (cimag_test): Use END macro without arguments.
42902         (clog_test): Use END_COMPLEX macro without arguments.
42903         (clog10_test): Likewise.
42904         (conj_test): Likewise.
42905         (copysign_test): Use END macro without arguments.
42906         (cos_test): Likewise.
42907         (cos_test_tonearest): Likewise.
42908         (cos_test_towardzero): Likewise.
42909         (cos_test_downward): Likewise.
42910         (cos_test_upward): Likewise.
42911         (cosh_test): Likewise.
42912         (cosh_test_tonearest): Likewise.
42913         (cosh_test_towardzero): Likewise.
42914         (cosh_test_downward): Likewise.
42915         (cosh_test_upward): Likewise.
42916         (cpow_test): Use END_COMPLEX macro without arguments.
42917         (cproj_test): Likewise.
42918         (creal_test): Use END macro without arguments.
42919         (csin_test): Use END_COMPLEX macro without arguments.
42920         (csinh_test): Likewise.
42921         (csqrt_test): Likewise.
42922         (ctan_test): Likewise.
42923         (ctan_test_tonearest): Likewise.
42924         (ctan_test_towardzero): Likewise.
42925         (ctan_test_downward): Likewise.
42926         (ctan_test_upward): Likewise.
42927         (ctanh_test): Likewise.
42928         (ctanh_test_tonearest): Likewise.
42929         (ctanh_test_towardzero): Likewise.
42930         (ctanh_test_downward): Likewise.
42931         (ctanh_test_upward): Likewise.
42932         (erf_test): Use END macro without arguments.
42933         (erfc_test): Likewise.
42934         (exp_test): Likewise.
42935         (exp_test_tonearest): Likewise.
42936         (exp_test_towardzero): Likewise.
42937         (exp_test_downward): Likewise.
42938         (exp_test_upward): Likewise.
42939         (exp10_test): Likewise.
42940         (exp2_test): Likewise.
42941         (expm1_test): Likewise.
42942         (fabs_test): Likewise.
42943         (fdim_test): Likewise.
42944         (finite_test): Likewise.
42945         (floor_test): Likewise.
42946         (fma_test): Likewise.
42947         (fma_test_towardzero): Likewise.
42948         (fma_test_downward): Likewise.
42949         (fma_test_upward): Likewise.
42950         (fmax_test): Likewise.
42951         (fmin_test): Likewise.
42952         (fmod_test): Likewise.
42953         (fpclassify_test): Likewise.
42954         (frexp_test): Likewise.
42955         (gamma_test): Likewise.
42956         (hypot_test): Likewise.
42957         (ilogb_test): Likewise.
42958         (isfinite_test): Likewise.
42959         (isgreater_test): Likewise.
42960         (isgreaterequal_test): Likewise.
42961         (isinf_test): Likewise.
42962         (isless_test): Likewise.
42963         (islessequal_test): Likewise.
42964         (islessgreater_test): Likewise.
42965         (isnan_test): Likewise.
42966         (isnormal_test): Likewise.
42967         (issignaling_test): Likewise.
42968         (isunordered_test): Likewise.
42969         (j0_test): Likewise.
42970         (j1_test): Likewise.
42971         (jn_test): Likewise.
42972         (ldexp_test): Likewise.
42973         (lgamma_test): Likewise.
42974         (lrint_test): Likewise.
42975         (lrint_test_tonearest): Likewise.
42976         (lrint_test_towardzero): Likewise.
42977         (lrint_test_downward): Likewise.
42978         (lrint_test_upward): Likewise.
42979         (llrint_test): Likewise.
42980         (llrint_test_tonearest): Likewise.
42981         (llrint_test_towardzero): Likewise.
42982         (llrint_test_downward): Likewise.
42983         (llrint_test_upward): Likewise.
42984         (log_test): Likewise.
42985         (log10_test): Likewise.
42986         (log1p_test): Likewise.
42987         (log2_test): Likewise.
42988         (logb_test): Likewise.
42989         (logb_test_downward): Likewise.
42990         (lround_test): Likewise.
42991         (llround_test): Likewise.
42992         (modf_test): Likewise.
42993         (nearbyint_test): Likewise.
42994         (nextafter_test): Likewise.
42995         (nexttoward_test): Likewise.
42996         (pow_test): Likewise.
42997         (pow_test_tonearest): Likewise.
42998         (pow_test_towardzero): Likewise.
42999         (pow_test_downward): Likewise.
43000         (pow_test_upward): Likewise.
43001         (remainder_test): Likewise.
43002         (remainder_test_tonearest): Likewise.
43003         (remainder_test_towardzero): Likewise.
43004         (remainder_test_downward): Likewise.
43005         (remainder_test_upward): Likewise.
43006         (remquo_test): Likewise.
43007         (rint_test): Likewise.
43008         (rint_test_tonearest): Likewise.
43009         (rint_test_towardzero): Likewise.
43010         (rint_test_downward): Likewise.
43011         (rint_test_upward): Likewise.
43012         (round_test): Likewise.
43013         (scalb_test): Likewise.
43014         (scalbn_test): Likewise.
43015         (scalbln_test): Likewise.
43016         (signbit_test): Likewise.
43017         (sin_test): Likewise.
43018         (sin_test_tonearest): Likewise.
43019         (sin_test_towardzero): Likewise.
43020         (sin_test_downward): Likewise.
43021         (sin_test_upward): Likewise.
43022         (sincos_test): Likewise.
43023         (sinh_test): Likewise.
43024         (sinh_test_tonearest): Likewise.
43025         (sinh_test_towardzero): Likewise.
43026         (sinh_test_downward): Likewise.
43027         (sinh_test_upward): Likewise.
43028         (sqrt_test): Likewise.
43029         (tan_test): Likewise.
43030         (tan_test_tonearest): Likewise.
43031         (tan_test_towardzero): Likewise.
43032         (tan_test_downward): Likewise.
43033         (tan_test_upward): Likewise.
43034         (tanh_test): Likewise.
43035         (tgamma_test): Likewise.
43036         (trunc_test): Likewise.
43037         (y0_test): Likewise.
43038         (y1_test): Likewise.
43039         (yn_test): Likewise.
43040         (significand_test): Likewise.
43042 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
43044         [BZ #15381]
43045         * libio/genops.c (_IO_no_init): Initialize wide struct info.
43047 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43049         [BZ #14894]
43050         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43051         __ppc_mdoio and __ppc_mdoom.
43052         * manual/platform.texi: Document new functions __ppc_yield,
43053         __ppc_mdoio and __ppc_mdoom.
43055 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
43057         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43058         (main): Mention "tls" pseudo-hwcap is legacy.
43059         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43061 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43063         * math/gen-libm-test.pl (parse_args): Output only string of
43064         arguments as text for test name, not full call or descriptions of
43065         tests for extra outputs.
43066         (generate_testfile): Do not pass function name to parse_args.
43067         Generate this_func variable from START.
43068         * math/libm-test.inc (struct test_f_f_data): Rename test_name
43069         field to arg_str.
43070         (struct test_ff_f_data): Likewise.
43071         (test_ff_f_data_nexttoward): Likewise.
43072         (struct test_fi_f_data): Likewise.
43073         (struct test_fl_f_data): Likewise.
43074         (struct test_if_f_data): Likewise.
43075         (struct test_fff_f_data): Likewise.
43076         (struct test_c_f_data): Likewise.
43077         (struct test_f_f1_data): Likewise.  Remove field extra_name.
43078         (struct test_fF_f1_data): Likewise.
43079         (struct test_ffI_f1_data): Likewise.
43080         (struct test_c_c_data): Rename test_name field to arg_str.
43081         (struct test_cc_c_data): Likewise.
43082         (struct test_f_i_data): Likewise.
43083         (struct test_ff_i_data): Likewise.
43084         (struct test_f_l_data): Likewise.
43085         (struct test_f_L_data): Likewise.
43086         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
43087         and extra2_name.
43088         (COMMON_TEST_SETUP): New macro.
43089         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43090         (COMMON_TEST_CLEANUP): Likewise.
43091         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43092         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
43093         macros.
43094         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43095         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
43096         macros.
43097         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43098         (RUN_TEST_fff_f): Take argument string.  Call new setup and
43099         cleanup macros.
43100         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43101         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
43102         macros.
43103         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43104         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
43105         macros.
43106         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43107         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
43108         cleanup macros.
43109         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43110         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
43111         cleanup macros.
43112         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43113         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
43114         cleanup macros.
43115         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43116         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
43117         macros.
43118         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43119         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
43120         macros.
43121         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43122         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
43123         macros.
43124         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43125         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
43126         cleanup macros.
43127         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43128         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
43129         cleanup macros.
43130         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43131         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
43132         macros.
43133         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43134         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
43135         cleanup macros.
43136         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43137         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43138         macros.
43139         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43140         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43141         macros.
43142         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43143         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43144         cleanup macros.
43145         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43147 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43149         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43150         to _sifields.sigfault.
43151         (si_addr_lsb): Define new macro.
43152         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43153         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43154         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43156 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43158         [BZ #15441]
43159         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43160         returns -1.
43161         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43162         null return -1.
43163         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43164         loading the domain.
43166 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43168         * math/gen-libm-test.pl (parse_args): Do not include expected
43169         result in test name.
43170         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43171         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43172         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43173         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43174         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43177 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43179         * benchtests/Makefile: Sort function entries.
43181         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43182         tanh, asinh, acosh, atanh.
43183         * benchtests/acos-inputs: New file.
43184         * benchtests/acosh-inputs: New file.
43185         * benchtests/asin-inputs: New file.
43186         * benchtests/asinh-inputs: New file.
43187         * benchtests/atanh-inputs: New file.
43188         * benchtests/cosh-inputs: New file.
43189         * benchtests/log-inputs: New file.
43190         * benchtests/sinh-inputs: New file.
43191         * benchtests/tanh-inputs: New file.
43193 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43195         [BZ #15339]
43196         * posix/tst-getaddrinfo4.c: New test.
43197         * posix/Makefile (tests): Add it.
43199 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43201         [BZ #15339]
43202         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43203         when no services were used.
43204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43205         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43207 2013-05-21  Andreas Schwab  <schwab@suse.de>
43209         [BZ #15014]
43210         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43211         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43212         successful.
43213         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43214         redundant variable declarations and reallocation of buffer when
43215         parsing as IPv6 address.  Always set NSS status when called from
43216         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43217         buffer too small.  Correct computation of needed size.
43218         * nss/Makefile (tests): Add test-digits-dots.
43219         * nss/test-digits-dots.c: New test.
43221 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43223         * benchtests/Makefile: Remove instructions for adding
43224         benchmark tests.
43225         * benchtests/README: New file to explain how to execute and
43226         enhance the benchmark tests.
43228 2013-05-21  Andreas Schwab  <schwab@suse.de>
43230         [BZ #15493]
43231         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43232         * setjmp/tst-sigsetjmp.c: New test.
43234 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43236         * sysdeps/x86_64/memset.S (memset): New implementation.
43237         (__bzero): Likewise.
43238         (__memset_tail): New function.
43240 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43242         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43243         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43244         __memcpy_sse2_unaligned ifunc selection.
43245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43246         Add memcpy-sse2-unaligned.S.
43247         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43248         Add: __memcpy_sse2_unaligned.
43250 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43252         [BZ #15490]
43253         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43254         math_force_eval before restoring floating-point envrionment.
43255         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43256         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43257         Likewise.
43258         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43259         <math_private.h>.
43260         (__nearbyintl): Use math_force_eval before restoring
43261         floating-point environment.
43262         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43264         * math/gen-libm-test.pl (special_functions): Remove.
43265         (parse_args): Don't handle TEST_extra.  Handle functions with no
43266         return value.
43267         * math/libm-test.inc (struct test_sincos_data): Replace with
43268         struct test_fFF_11_data.
43269         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43270         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43271         (sincos_test_data): Change element type to struct
43272         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
43273         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43274         RUN_TEST_LOOP_sincos.
43275         * math/README.libm-test: Don't mention special handling of
43276         individual functions.
43277         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43278         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43279         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43280         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43281         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43284         * math/gen-libm-test.pl (get_variable): Remove function.
43285         (parse_args): Don't show pointer parameters to call in test
43286         names.  Use "extra output N" in test names for extra outputs
43287         rather than naming variables.
43289 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
43291         [BZ #15488]
43292         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43293         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43294         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43295         double tests.
43296         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43297         disable.
43298         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43299         check_long_double.
43301         * math/gen-libm-test.pl (@tests): Remove variable.
43302         ($count): Likewise.
43303         (new_test): Remove function.
43304         (show_exceptions): New function.
43305         (special_functions): Use show_exceptions instead of new_test.
43306         (parse_args): Likewise.
43307         (generate_testfile): Pass only function name in generated call to
43308         print_max_error or print_complex_max_error.
43309         (get_ulps): Do not handle complex tests specially.
43310         (output_test): Rename to ...
43311         (get_all_ulps_for_test): ... this.  Return a string rather than
43312         printing to a file.  Require ulps to be present.
43313         (output_ulps): Generate arrays rather than #defines.
43314         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43315         (struct ulp_data): New type.
43316         (BUILD_COMPLEX_ULP): Remove macro.
43317         (compare_ulp_data): New function.
43318         (find_ulps): Likewise.
43319         (find_test_ulps): Likewise.
43320         (find_function_ulps): Likewise.
43321         (find_complex_function_ulps): Likewise.
43322         (print_max_error): Determine allowed ulps using
43323         find_function_ulps.
43324         (print_complex_max_error): Determine allowed ulps using
43325         find_complex_function_ulps.
43326         (check_float_internal): Determine max ulps using find_test_ulps.
43327         (check_float): Do not take max_ulp parameter.  Update call to
43328         check_float_internal.
43329         (check_complex): Likewise.
43330         (check_int): Do not take max_ulp parameter.
43331         (check_long): Likewise.
43332         (check_bool): Likewise.
43333         (check_longlong): Likewise.
43334         (struct test_f_f_data): Remove max_ulp field.
43335         (struct test_ff_f_data): Likewise.
43336         (struct test_ff_f_data_nexttoward): Likewise.
43337         (struct test_fi_f_data): Likewise.
43338         (struct test_fl_f_data): Likewise.
43339         (struct test_if_f_data): Likewise.
43340         (struct test_fff_f_data): Likewise.
43341         (struct test_c_f_data): Likewise.
43342         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43343         (struct test_fF_f1_data): Likewise.
43344         (struct test_ffI_f1_data): Likewise.
43345         (struct test_c_c_data): Remove max_ulp field.
43346         (struct test_cc_c_data): Likewise.
43347         (struct test_f_i_data): Likewise.
43348         (struct test_ff_i_data): Likewise.
43349         (struct test_f_l_data): Likewise.
43350         (struct test_f_L_data): Likewise.
43351         (struct test_sincos_data): Likewise.
43352         (RUN_TEST_f_f): Do not handle ulps.
43353         (RUN_TEST_LOOP_f_f): Likewise.
43354         (RUN_TEST_2_f): Likewise.
43355         (RUN_TEST_LOOP_2_f): Likewise.
43356         (RUN_TEST_fff_f): Likewise.
43357         (RUN_TEST_LOOP_fff_f): Likewise.
43358         (RUN_TEST_c_f): Likewise.
43359         (RUN_TEST_LOOP_c_f): Likewise.
43360         (RUN_TEST_f_f1): Likewise.
43361         (RUN_TEST_LOOP_f_f1): Likewise.
43362         (RUN_TEST_fF_f1): Likewise.
43363         (RUN_TEST_LOOP_fF_f1): Likewise.
43364         (RUN_TEST_fI_f1): Likewise.
43365         (RUN_TEST_LOOP_fI_f1): Likewise.
43366         (RUN_TEST_ffI_f1): Likewise.
43367         (RUN_TEST_LOOP_ffI_f1): Likewise.
43368         (RUN_TEST_c_c): Likewise.
43369         (RUN_TEST_LOOP_c_c): Likewise.
43370         (RUN_TEST_cc_c): Likewise.
43371         (RUN_TEST_LOOP_cc_c): Likewise.
43372         (RUN_TEST_f_i): Likewise.
43373         (RUN_TEST_LOOP_f_i): Likewise.
43374         (RUN_TEST_f_i_tg): Likewise.
43375         (RUN_TEST_LOOP_f_i_tg): Likewise.
43376         (RUN_TEST_ff_i_tg): Likewise.
43377         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43378         (RUN_TEST_f_b): Likewise.
43379         (RUN_TEST_LOOP_f_b): Likewise.
43380         (RUN_TEST_f_b_tg): Likewise.
43381         (RUN_TEST_LOOP_f_b_tg): Likewise.
43382         (RUN_TEST_f_l): Likewise.
43383         (RUN_TEST_LOOP_f_l): Likewise.
43384         (RUN_TEST_f_L): Likewise.
43385         (RUN_TEST_LOOP_f_L): Likewise.
43386         (RUN_TEST_sincos): Likewise.
43387         (RUN_TEST_LOOP_sincos): Likewise.
43389 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43391         [BZ #15480]
43392         [BZ #15485]
43393         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43394         main case of finite arguments, set rounding mode to FE_TONEAREST
43395         and discard exceptions.
43396         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43397         exceptions.
43398         (remainder_tonearest_test_data): New variable.
43399         (remainder_test_tonearest): New function.
43400         (remainder_towardzero_test_data): New variable.
43401         (remainder_test_towardzero): New function.
43402         (remainder_downward_test_data): New variable.
43403         (remainder_test_downward): New function.
43404         (remainder_upward_test_data): New variable.
43405         (remainder_test_upward): New function.
43406         (main): Call the new test functions.
43408         * math/libm-test.inc (struct test_f_f1_data): Remove field
43409         extra_init.
43410         (struct test_fF_f1_data): Likewise.
43411         (struct test_ffI_f1_data): Likewise.
43412         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43413         based on value of EXTRA_EXPECTED.
43414         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43415         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43416         EXTRA_VAR based on value of EXTRA_EXPECTED.
43417         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43418         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43419         EXTRA_VAR based on value of EXTRA_EXPECTED.
43420         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43421         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43422         EXTRA_VAR based on value of EXTRA_EXPECTED.
43423         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43424         * math/gen-libm-test.pl (parse_args): Don't output initializers
43425         for extra output values.
43427         * math/libm-test.inc (check_int): Expect result to be exactly
43428         equal to expected value and do not handle ulps.
43429         (check_long): Likewise.
43430         (check_longlong): Likewise.
43432         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43433         exceptions.
43434         (cimag_test_data): Likewise.
43435         (conj_test_data): Likewise.
43436         (copysign_test_data): Likewise.
43437         (cproj_test_data): Likewise.
43438         (creal_test_data): Likewise.
43439         (fabs_test_data): Likewise.
43440         (fdim_test_data): Likewise.
43441         (finite_test_data): Likewise.
43442         (floor_test_data): Likewise.
43443         (fmax_test_data): Likewise.
43444         (fmin_test_data): Likewise.
43445         (fmod_test_data): Likewise.
43446         (fpclassify_test_data): Likewise.
43447         (frexp_test_data): Likewise.
43448         (ilogb_test_data): Likewise.
43449         (isfinite_test_data): Likewise.
43450         (isgreater_test_data): Likewise.
43451         (isgreaterequal_test_data): Likewise.
43452         (isinf_test_data): Likewise.
43453         (isless_test_data): Likewise.
43454         (islessequal_test_data): Likewise.
43455         (islessgreater_test_data): Likewise.
43456         (isnan_test_data): Likewise.
43457         (isnormal_test_data): Likewise.
43458         (issignaling_test_data): Likewise.
43459         (isunordered_test_data): Likewise.
43460         (ldexp_test_data): Likewise.
43461         (lrint_test_data): Likewise.
43462         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43463         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43464         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43465         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43466         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43467         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43468         test input.
43469         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43470         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43471         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43472         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43473         that test input.
43474         (lrint_downward_test_data): Test for "inexact" exceptions.
43475         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43476         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43477         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43478         test input.
43479         (lrint_upward_test_data): Test for "inexact" exceptions.
43480         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43481         test input.
43482         (llrint_test_data): Test for "inexact" exceptions.
43483         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43484         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43485         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43486         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43487         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43488         (llrint_downward_test_data): Test for "inexact" exceptions.
43489         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43490         (llrint_upward_test_data): Test for "inexact" exceptions.
43491         (logb_test_data): Likewise.
43492         (logb_downward_test_data): Likewise.
43493         (nextafter_test_data): Likewise.
43494         (nexttoward_test_data): Likewise.
43495         (remainder_test_data): Likewise.
43496         (remquo_test_data): Likewise.
43497         (scalbn_test_data): Likewise.
43498         (scalbln_test_data): Likewise.
43499         (signbit_test_data): Likewise.
43500         (sqrt_test_data): Likewise.
43501         (significand_test_data): Likewise.
43503 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43505         [BZ #15424]
43506         * benchtests/bench-modf.c (struct args): Mark arg0 as
43507         volatile.
43508         * scripts/bench.pl: Mark members of struct args as volatile.
43510 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43512         [BZ # 15497]
43513         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43514         negative infinity on POWER6 or lower.
43515         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43517 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43519         [BZ #15442]
43520         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43521         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43522         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43523         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43524         (_FP_SETQNAN): New macro.
43525         (_FP_SETQNAN_SEMIRAW): Likewise.
43526         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43527         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43528         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43529         (FP_EXTEND): Use _FP_FRAC_SNANP.
43530         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43531         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43532         into account.
43533         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43534         New macro.
43535         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43536         Likewise.
43538 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43540         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43541         with DIVIDE_BY_ZERO_EXCEPTION.
43542         (gamma_test_data): Likewise.
43543         (lgamma_test_data): Likewise.
43544         (log_test_data): Likewise.
43545         (log10_test_data): Likewise.
43546         (log2_test_data): Likewise.
43547         (tgamma_test_data): Likewise.
43549         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43550         (acos_test_tonearest): Likewise.
43551         (acos_test_towardzero): Likewise.
43552         (acos_test_downward): Likewise.
43553         (acos_test_upward): Likewise.
43554         (acosh_test): Likewise.
43555         (asin_test): Likewise.
43556         (asin_test_tonearest): Likewise.
43557         (asin_test_towardzero): Likewise.
43558         (asin_test_downward): Likewise.
43559         (asin_test_upward): Likewise.
43560         (asinh_test): Likewise.
43561         (atan_test): Likewise.
43562         (atanh_test): Likewise.
43563         (atan2_test): Likewise.
43564         (cabs_test): Likewise.
43565         (cacos_test): Likewise.
43566         (cacosh_test): Likewise.
43567         (casin_test): Likewise.
43568         (casinh_test): Likewise.
43569         (catan_test): Likewise.
43570         (catanh_test): Likewise.
43571         (cbrt_test): Likewise.
43572         (ccos_test): Likewise.
43573         (ccosh_test): Likewise.
43574         (cexp_test): Likewise.
43575         (clog_test): Likewise.
43576         (clog10_test): Likewise.
43577         (cos_test): Likewise.
43578         (cos_test_tonearest): Likewise.
43579         (cos_test_towardzero): Likewise.
43580         (cos_test_downward): Likewise.
43581         (cos_test_upward): Likewise.
43582         (cosh_test): Likewise.
43583         (cosh_test_tonearest): Likewise.
43584         (cosh_test_towardzero): Likewise.
43585         (cosh_test_downward): Likewise.
43586         (cosh_test_upward): Likewise.
43587         (cpow_test): Likewise.
43588         (csin_test): Likewise.
43589         (csinh_test): Likewise.
43590         (csqrt_test): Likewise.
43591         (ctan_test): Likewise.
43592         (ctan_test_tonearest): Likewise.
43593         (ctan_test_towardzero): Likewise.
43594         (ctan_test_downward): Likewise.
43595         (ctan_test_upward): Likewise.
43596         (ctanh_test): Likewise.
43597         (ctanh_test_tonearest): Likewise.
43598         (ctanh_test_towardzero): Likewise.
43599         (ctanh_test_downward): Likewise.
43600         (ctanh_test_upward): Likewise.
43601         (erf_test): Likewise.
43602         (erfc_test): Likewise.
43603         (exp_test): Likewise.
43604         (exp_test_tonearest): Likewise.
43605         (exp_test_towardzero): Likewise.
43606         (exp_test_downward): Likewise.
43607         (exp_test_upward): Likewise.
43608         (exp10_test): Likewise.
43609         (exp2_test): Likewise.
43610         (expm1_test): Likewise.
43611         (fmod_test): Likewise.
43612         (gamma_test): Likewise.
43613         (hypot_test): Likewise.
43614         (j0_test): Likewise.
43615         (j1_test): Likewise.
43616         (jn_test): Likewise.
43617         (lgamma_test): Likewise.
43618         (log_test): Likewise.
43619         (log10_test): Likewise.
43620         (log1p_test): Likewise.
43621         (log2_test): Likewise.
43622         (logb_test_downward): Likewise.
43623         (pow_test): Likewise.
43624         (pow_test_tonearest): Likewise.
43625         (pow_test_towardzero): Likewise.
43626         (pow_test_downward): Likewise.
43627         (pow_test_upward): Likewise.
43628         (remainder_test): Likewise.
43629         (remquo_test): Likewise.
43630         (sin_test): Likewise.
43631         (sin_test_tonearest): Likewise.
43632         (sin_test_towardzero): Likewise.
43633         (sin_test_downward): Likewise.
43634         (sin_test_upward): Likewise.
43635         (sincos_test): Likewise.
43636         (sinh_test): Likewise.
43637         (sinh_test_tonearest): Likewise.
43638         (sinh_test_towardzero): Likewise.
43639         (sinh_test_downward): Likewise.
43640         (sinh_test_upward): Likewise.
43641         (sqrt_test): Likewise.
43642         (tan_test): Likewise.
43643         (tan_test_tonearest): Likewise.
43644         (tan_test_towardzero): Likewise.
43645         (tan_test_downward): Likewise.
43646         (tan_test_upward): Likewise.
43647         (tanh_test): Likewise.
43648         (tgamma_test): Likewise.
43649         (y0_test): Likewise.
43650         (y1_test): Likewise.
43651         (yn_test): Likewise.
43653         * math/gen-libm-test.pl (adjust_arg): Remove function.
43654         (special_function): Remove argument $in_func.  Only handle
43655         generating output for tables of tests, not inside functions.
43656         (parse_args): Likewise.
43657         (generate_testfile): Remove variable $in_func.  Update call to
43658         parse_args.
43659         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43660         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43661         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43662         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43663         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43664         (MAX_VALUE_INIT): Rename macro to max_value.
43665         (MIN_VALUE_INIT): Rename macro to min_value.
43666         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43667         (plus_zero): Remove variable.
43668         (minus_zero): Likewise.
43669         (plus_infty): Likewise.
43670         (minus_infty): Likewise.
43671         (qnan_value): Likewise.
43672         (max_value): Likewise.
43673         (min_value): Likewise.
43674         (min_subnorm_value): Likewise.
43676 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43678         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43679         uint64_t or uint32_t usage.
43680         * crypt/sha256-block.c: Likewise.
43681         * crypt/sha256-crypt.c: Likewise.
43682         * crypt/sha256.c: Likewise.
43683         * crypt/sha512-block.c: Likewise.
43684         * crypt/sha512-crypt.c: Likewise.
43685         * crypt/sha512.c: Likewise.
43686         * debug/backtrace-tst.c: Likewise.
43687         * debug/pcprofiledump.c: Likewise.
43688         * elf/cache.c: Likewise.
43689         * elf/dl-cache.c: Likewise.
43690         * elf/dl-misc.c: Likewise.
43691         * elf/dl-profile.c: Likewise.
43692         * elf/dl-support.c: Likewise.
43693         * elf/ldconfig.c: Likewise.
43694         * elf/sprof.c: Likewise.
43695         * iconv/dummy-repertoire.c: Likewise.
43696         * iconv/iconv_charmap.c: Likewise.
43697         * iconv/skeleton.c: Likewise.
43698         * iconvdata/8bit-generic.c: Likewise.
43699         * iconvdata/cp737.h: Likewise.
43700         * iconvdata/cp775.h: Likewise.
43701         * iconvdata/ibm1008.h: Likewise.
43702         * iconvdata/ibm1025.h: Likewise.
43703         * iconvdata/ibm1046.h: Likewise.
43704         * iconvdata/ibm1097.h: Likewise.
43705         * iconvdata/ibm1112.h: Likewise.
43706         * iconvdata/ibm1122.h: Likewise.
43707         * iconvdata/ibm1123.h: Likewise.
43708         * iconvdata/ibm1124.h: Likewise.
43709         * iconvdata/ibm1129.h: Likewise.
43710         * iconvdata/ibm1130.h: Likewise.
43711         * iconvdata/ibm1132.h: Likewise.
43712         * iconvdata/ibm1133.h: Likewise.
43713         * iconvdata/ibm1137.h: Likewise.
43714         * iconvdata/ibm1140.h: Likewise.
43715         * iconvdata/ibm1141.h: Likewise.
43716         * iconvdata/ibm1142.h: Likewise.
43717         * iconvdata/ibm1143.h: Likewise.
43718         * iconvdata/ibm1144.h: Likewise.
43719         * iconvdata/ibm1145.h: Likewise.
43720         * iconvdata/ibm1146.h: Likewise.
43721         * iconvdata/ibm1147.h: Likewise.
43722         * iconvdata/ibm1148.h: Likewise.
43723         * iconvdata/ibm1149.h: Likewise.
43724         * iconvdata/ibm1153.h: Likewise.
43725         * iconvdata/ibm1154.h: Likewise.
43726         * iconvdata/ibm1155.h: Likewise.
43727         * iconvdata/ibm1156.h: Likewise.
43728         * iconvdata/ibm1157.h: Likewise.
43729         * iconvdata/ibm1158.h: Likewise.
43730         * iconvdata/ibm1160.h: Likewise.
43731         * iconvdata/ibm1161.h: Likewise.
43732         * iconvdata/ibm1162.h: Likewise.
43733         * iconvdata/ibm1163.h: Likewise.
43734         * iconvdata/ibm1164.h: Likewise.
43735         * iconvdata/ibm1166.h: Likewise.
43736         * iconvdata/ibm1167.h: Likewise.
43737         * iconvdata/ibm12712.h: Likewise.
43738         * iconvdata/ibm1390.h: Likewise.
43739         * iconvdata/ibm1399.h: Likewise.
43740         * iconvdata/ibm16804.h: Likewise.
43741         * iconvdata/ibm4517.h: Likewise.
43742         * iconvdata/ibm4899.h: Likewise.
43743         * iconvdata/ibm4909.h: Likewise.
43744         * iconvdata/ibm4971.h: Likewise.
43745         * iconvdata/ibm5347.h: Likewise.
43746         * iconvdata/ibm803.h: Likewise.
43747         * iconvdata/ibm856.h: Likewise.
43748         * iconvdata/ibm901.h: Likewise.
43749         * iconvdata/ibm902.h: Likewise.
43750         * iconvdata/ibm9030.h: Likewise.
43751         * iconvdata/ibm9066.h: Likewise.
43752         * iconvdata/ibm921.h: Likewise.
43753         * iconvdata/ibm922.h: Likewise.
43754         * iconvdata/ibm9448.h: Likewise.
43755         * iconvdata/isiri-3342.h: Likewise.
43756         * iconvdata/jis0201.h: Likewise.
43757         * include/link.h: Likewise.
43758         * include/netdb.h: Likewise.
43759         * inet/check_native.c: Likewise.
43760         * inet/check_pf.c: Likewise.
43761         * inet/getipv4sourcefilter.c: Likewise.
43762         * inet/getnameinfo.c: Likewise.
43763         * inet/getsourcefilter.c: Likewise.
43764         * inet/htonl.c: Likewise.
43765         * inet/setipv4sourcefilter.c: Likewise.
43766         * inet/setsourcefilter.c: Likewise.
43767         * inet/test-inet6_opt.c: Likewise.
43768         * inet/tst-network.c: Likewise.
43769         * locale/C-collate.c: Likewise.
43770         * locale/C-ctype.c: Likewise.
43771         * locale/C-time.c: Likewise.
43772         * locale/C-translit.h: Likewise.
43773         * locale/loadarchive.c: Likewise.
43774         * locale/programs/3level.h: Likewise.
43775         * locale/programs/charmap.c: Likewise.
43776         * locale/programs/charmap.h: Likewise.
43777         * locale/programs/ld-address.c: Likewise.
43778         * locale/programs/ld-collate.c: Likewise.
43779         * locale/programs/ld-ctype.c: Likewise.
43780         * locale/programs/ld-identification.c: Likewise.
43781         * locale/programs/ld-measurement.c: Likewise.
43782         * locale/programs/ld-messages.c: Likewise.
43783         * locale/programs/ld-monetary.c: Likewise.
43784         * locale/programs/ld-name.c: Likewise.
43785         * locale/programs/ld-numeric.c: Likewise.
43786         * locale/programs/ld-paper.c: Likewise.
43787         * locale/programs/ld-telephone.c: Likewise.
43788         * locale/programs/ld-time.c: Likewise.
43789         * locale/programs/linereader.c: Likewise.
43790         * locale/programs/locale.c: Likewise.
43791         * locale/programs/locarchive.c: Likewise.
43792         * locale/programs/locfile.h: Likewise.
43793         * locale/programs/repertoire.c: Likewise.
43794         * locale/programs/simple-hash.c: Likewise.
43795         * locale/programs/simple-hash.h: Likewise.
43796         * malloc/memusage.c: Likewise.
43797         * malloc/memusagestat.c: Likewise.
43798         * nis/nis_defaults.c: Likewise.
43799         * nis/nis_hash.c: Likewise.
43800         * nis/nis_print.c: Likewise.
43801         * nis/nis_xdr.c: Likewise.
43802         * nscd/connections.c: Likewise.
43803         * nscd/hstcache.c: Likewise.
43804         * nscd/nscd_gethst_r.c: Likewise.
43805         * nscd/nscd_getserv_r.c: Likewise.
43806         * nscd/nscd_helper.c: Likewise.
43807         * nscd/servicescache.c: Likewise.
43808         * nss/makedb.c: Likewise.
43809         * nss/nss_db/db-XXX.c: Likewise.
43810         * nss/nss_db/db-initgroups.c: Likewise.
43811         * nss/nss_db/db-netgrp.c: Likewise.
43812         * nss/nss_files/files-network.c: Likewise.
43813         * nss/nss_files/files-parse.c: Likewise.
43814         * posix/bug-regex5.c: Likewise.
43815         * posix/fnmatch_loop.c: Likewise.
43816         * posix/regcomp.c: Likewise.
43817         * posix/regexec.c: Likewise.
43818         * posix/tst-rfc3484-2.c: Likewise.
43819         * posix/tst-rfc3484-3.c: Likewise.
43820         * posix/tst-rfc3484.c: Likewise.
43821         * resolv/nss_dns/dns-canon.c: Likewise.
43822         * resolv/nss_dns/dns-network.c: Likewise.
43823         * resolv/res_init.c: Likewise.
43824         * resolv/res_mkquery.c: Likewise.
43825         * resolv/tst-aton.c: Likewise.
43826         * stdlib/cxa_atexit.c: Likewise.
43827         * stdlib/cxa_finalize.c: Likewise.
43828         * stdlib/gen-fpioconst.c: Likewise.
43829         * stdlib/strtol_l.c: Likewise.
43830         * string/tst-endian.c: Likewise.
43831         * sunrpc/auth_des.c: Likewise.
43832         * sunrpc/clnt_udp.c: Likewise.
43833         * sunrpc/rtime.c: Likewise.
43834         * sunrpc/svcauth_des.c: Likewise.
43835         * sunrpc/xdr.c: Likewise.
43836         * sunrpc/xdr_intXX_t.c: Likewise.
43837         * sunrpc/xdr_rec.c: Likewise.
43838         * sysdeps/generic/ldconfig.h: Likewise.
43839         * sysdeps/generic/ldsodefs.h: Likewise.
43840         * sysdeps/generic/memusage.h: Likewise.
43841         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43842         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
43843         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
43844         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43845         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43847         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43848         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43849         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43850         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43851         * sysdeps/posix/getaddrinfo.c: Likewise.
43852         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43853         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43854         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43855         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43856         * sysdeps/powerpc/test-gettimebase.c: Likewise.
43857         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43858         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
43859         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43860         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43861         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
43862         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43863         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43864         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
43865         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
43866         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
43867         * sysdeps/x86_64/dl-tls.h: Likewise.
43868         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
43869         * time/alt_digit.c: Likewise.
43870         * time/era.c: Likewise.
43871         * wcsmbs/tst-c16c32-1.c: Likewise.
43873 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43875         * math/libm-test.inc (struct test_sincos_data): New type.
43876         (RUN_TEST_LOOP_sincos): New macro.
43877         (sincos_test_data): New variable.
43878         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
43880 2013-05-16  Richard Henderson  <rth@redhat.com>
43882         * math/atest-exp2.c (LIMB64): New macro.
43883         (CONSTSZ): New macro.
43884         (mp_exp1, mp_exp_m1, mp_log2): New variables.
43885         (hexdig): Move ...
43886         (print_mpn_fp): ... to function scope.
43887         (read_mpn_hex): Remove.
43888         (get_log2): Remove.
43889         (exp2_mpn): Use mp_log2.
43890         (main): Use mp_exp1.
43892 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43894         * math/libm-test.inc: Remove comment about not testing "inexact"
43895         exceptions.
43896         (INEXACT_EXCEPTION): New macro.
43897         (NO_INEXACT_EXCEPTION): Likewise.
43898         (INVALID_EXCEPTION_OK): Update value.
43899         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43900         (OVERFLOW_EXCEPTION_OK): Likewise.
43901         (UNDERFLOW_EXCEPTION_OK): Likewise.
43902         (IGNORE_ZERO_INF_SIGN): Likewise.
43903         (ERRNO_UNCHANGED): Likewise.
43904         (ERRNO_EDOM): Likewise.
43905         (ERRNO_ERANGE): Likewise.
43906         (test_exceptions): Handle testing "inexact" exceptions.
43907         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
43908         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
43909         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
43910         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
43911         INEXACT_EXCEPTION.
43912         (rint_towardzero_test_data): Likewise.
43913         (rint_downward_test_data): Likewise.
43914         (rint_upward_test_data): Likewise.
43916         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
43917         with OVERFLOW_EXCEPTION.
43918         (exp10_test_data): Likewise.
43919         (exp2_test_data): Likewise.
43920         (expm1_test_data): Likewise.
43921         (lgamma_test_data): Likewise.
43922         (pow_test_data): Likewise.
43923         (tgamma_test_data): Likewise.
43924         (yn_test_data): Remove duplicate test of overflow.
43926         * math/libm-test.inc (struct test_cc_c_data): New type.
43927         (RUN_TEST_LOOP_cc_c): New macro.
43928         (cpow_test_data): New variable.
43929         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
43931         * math/libm-test.inc (struct test_f_L_data): New type.
43932         (RUN_TEST_LOOP_f_L): New macro.
43933         (llrint_test_data): New variable.
43934         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
43935         (llrint_tonearest_test_data): New variable.
43936         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
43937         (llrint_towardzero_test_data): New variable.
43938         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
43939         (llrint_downward_test_data): New variable.
43940         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
43941         (llrint_upward_test_data): New variable.
43942         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
43943         (llround_test_data): New variable.
43944         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
43946 2013-05-13  Peter Collingbourne  <pcc@google.com>
43948         * math/atest-exp2.c (get_log2): Remove const attribute.
43950 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43952         * math/libm-test.inc (struct test_f_l_data): New type.
43953         (RUN_TEST_LOOP_f_l): New macro.
43954         (lrint_test_data): New variable.
43955         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43956         (lrint_tonearest_test_data): New variable.
43957         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
43958         (lrint_towardzero_test_data): New variable.
43959         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
43960         (lrint_downward_test_data): New variable.
43961         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
43962         (lrint_upward_test_data): New variable.
43963         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
43964         (lround_test_data): New variable.
43965         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
43967 2013-05-15  Peter Collingbourne  <pcc@google.com>
43969         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
43970         (EXTRACT_WORDS64) Use where appropriate.
43971         (INSERT_WORDS64) Likewise.
43973         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
43974         constraints with x constraints.
43975         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
43977         * malloc/obstack.c (_obstack_compat): Add initializer.
43979 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43981         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
43982         si_trapno and add si_addr_lsb to _sifields.sigfault.
43983         (si_trapno): Remove macro.
43984         (si_addr_lsb): Define new macro.
43985         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43987 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
43989         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
43990         instead of TEST_f_l.
43991         (llrint_test_tonearest): Likewise.
43992         (llrint_test_towardzero): Likewise.
43993         (llrint_test_downward): Likewise.
43994         (llrint_test_upward): Likewise.
43995         (llround_test): Likewise.
43997         * math/libm-test.inc (struct test_f_i_data): Add comment.
43998         (RUN_TEST_LOOP_f_b): New macro.
43999         (RUN_TEST_LOOP_f_b_tg): Likewise.
44000         (finite_test_data): New variable.
44001         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44002         (isfinite_test_data): New variable.
44003         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44004         (isinf_test_data): New variable.
44005         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44006         (isnan_test_data): New variable.
44007         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44008         (isnormal_test_data): New variable.
44009         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44010         (issignaling_test_data): New variable.
44011         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44012         (signbit_test_data): New variable.
44013         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44015         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44016         with INVALID_EXCEPTION.
44017         (acosh_test_data): Likewise.
44018         (asin_test_data): Likewise.
44019         (atanh_test_data): Likewise.
44020         (fmod_test_data): Likewise.
44021         (log_test_data): Likewise.
44022         (log10_test_data): Likewise.
44023         (log2_test_data): Likewise.
44024         (pow_test_data): Likewise.
44025         (sqrt_test_data): Likewise.
44026         (y0_test_data): Likewise.
44027         (y1_test_data): Likewise.
44028         (yn_test_data): Likewise.
44030         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44031         function contents.
44033         * math/libm-test.inc (struct test_ff_i_data): New type.
44034         (RUN_TEST_LOOP_ff_i_tg): New macro.
44035         (isgreater_test_data): New variable.
44036         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44037         (isgreaterequal_test_data): New variable.
44038         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44039         (isless_test_data): New variable.
44040         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44041         (islessequal_test_data): New variable.
44042         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44043         (islessgreater_test_data): New variable.
44044         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44045         (isunordered_test_data): New variable.
44046         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44048 2013-05-14  David S. Miller  <davem@davemloft.net>
44050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44052 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
44054         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44056         * math/libm-test.inc (struct test_fF_f1_data): Change type of
44057         extra_test to int.
44058         (struct test_f_i_data): Change type of max_ulp to int.
44060         * math/libm-test.inc (test_ffI_f1_data): New type.
44061         (RUN_TEST_LOOP_ffI_f1): New macro.
44062         (remquo_test_data): New variable.
44063         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44065         * setjmp/tst-setjmp-fp.c: New file.
44066         * setjmp/Makefile (tests): Add tst-setjmp-fp.
44067         (link-libm): New variable.
44068         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44070         * math/libm-test.inc (struct test_f_i_data): New type.
44071         (RUN_TEST_LOOP_f_i): New macro.
44072         (RUN_TEST_LOOP_f_i_tg): Likewise.
44073         (fpclassify_test_data): New variable.
44074         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44075         (ilogb_test_data): New variable.
44076         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44078         * math/libm-test.inc (scalbln_test): Correct function name in END
44079         call.
44081         * math/libm-test.inc (struct test_f_f1_data): Add comment.
44082         (RUN_TEST_LOOP_fI_f1): New macro.
44083         (frexp_test_data): New variable.
44084         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44086         * math/libm-test.inc (struct test_fF_f1_data): New type.
44087         (RUN_TEST_LOOP_fF_f1): New macro.
44088         (modf_test_data): New variable.
44089         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44091         * math/libm-test.inc (struct test_f_f1_data): New type.
44092         (RUN_TEST_LOOP_f_f1): New macro.
44093         (gamma_test_data): New variable.
44094         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44095         (lgamma_test_data): New variable.
44096         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44098 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
44100         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44101         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44102         (main): Comment "tls" pseudo-hwcap.
44104 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
44106         * math/libm-test.inc (struct test_fl_f_data): New type.
44107         (RUN_TEST_LOOP_fl_f): New variable.
44108         (scalbln_test_data): New variable.
44109         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44111         * math/libm-test.inc (struct test_fi_f_data): New type.
44112         (RUN_TEST_LOOP_fi_f): New macro.
44113         (ldexp_test_data): New variable.
44114         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44115         (scalbn_test_data): New variable.
44116         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44118         * math/libm-test.inc (struct test_c_f_data): New type.
44119         (RUN_TEST_LOOP_c_f): New macro.
44120         (cabs_test_data): New variable.
44121         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44122         (carg_test_data): New variable.
44123         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44124         (cimag_test_data): New variable.
44125         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44126         (creal_test_data): New variable.
44127         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44129         * math/libm-test.inc (struct test_if_f_data): New type.
44130         (RUN_TEST_LOOP_if_f): New macro.
44131         (jn_test_data): New variable.
44132         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44133         (yn_test_data): New variable.
44134         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44136         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44138 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44140         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44141         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44143 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44145         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44146         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44147         (bench-deps): Add bench-timing.h.
44148         * benchtests-bench-skeleton.c: Include bench-timing.h.
44149         (main): Use TIMING_* macros instead of clock_gettime.
44150         * benchtests/bench-timing.h: New file.
44152         [BZ #14582]
44153         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44154         Renamed from _LIB_VERSION.
44155         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44157 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44159         * math/libm-test.inc (struct test_fff_f_data): New type.
44160         (RUN_TEST_LOOP_fff_f): New macro.
44161         (fma_test_data): New variable.
44162         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44163         (fma_towardzero_test_data): New variable.
44164         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44165         (fma_downward_test_data): New variable.
44166         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44167         (fma_upward_test_data): New variable.
44168         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44170         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44171         (struct test_c_c_data): New type.
44172         (RUN_TEST_LOOP_c_c): New macro.
44173         (cacos_test_data): New variable.
44174         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44175         (cacosh_test_data): New variable.
44176         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44177         (casin_test_data): New variable.
44178         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44179         (casinh_test_data): New variable.
44180         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44181         (catan_test_data): New variable.
44182         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44183         (catanh_test_data): New variable.
44184         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44185         (ccos_test_data): New variable.
44186         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44187         (ccosh_test_data): New variable.
44188         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44189         (cexp_test_data): New variable.
44190         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44191         (clog_test_data): New variable.
44192         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44193         (clog10_test_data): New variable.
44194         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44195         (conj_test_data): New variable.
44196         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44197         (cproj_test_data): New variable.
44198         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44199         (csin_test_data): New variable.
44200         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44201         (csinh_test_data): New variable.
44202         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44203         (csqrt_test_data): New variable.
44204         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44205         (ctan_test_data): New variable.
44206         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44207         (ctan_tonearest_test_data): New variable.
44208         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44209         (ctan_towardzero_test_data): New variable.
44210         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44211         (ctan_downward_test_data): New variable.
44212         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44213         (ctan_upward_test_data): New variable.
44214         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44215         (ctanh_test_data): New variable.
44216         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44217         (ctanh_tonearest_test_data): New variable.
44218         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44219         (ctanh_towardzero_test_data): New variable.
44220         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44221         (ctanh_downward_test_data): New variable.
44222         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44223         (ctanh_upward_test_data): New variable.
44224         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44225         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44226         of BUILD_COMPLEX.
44228         * math/libm-test.inc (struct test_ff_f_data): New type.
44229         (struct test_ff_f_data_nexttoward): Likewise.
44230         (RUN_TEST_LOOP_2_f): New macro.
44231         (RUN_TEST_LOOP_ff_f): Likewise.
44232         (atan2_test_data): New variable.
44233         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44234         (copysign_test_data): New variable.
44235         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44236         (fdim_test_data): New variable.
44237         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44238         (fmax_test_data): New variable.
44239         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44240         (fmin_test_data): New variable.
44241         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44242         (fmod_test_data): New variable.
44243         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44244         (hypot_test_data): New variable.
44245         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44246         (nextafter_test_data): New variable.
44247         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44248         (nexttoward_test_data): New variable.
44249         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44250         (pow_test_data): New variable.
44251         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44252         (pow_tonearest_test_data): New variable.
44253         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44254         (pow_towardzero_test_data): New variable.
44255         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44256         (pow_downward_test_data): New variable.
44257         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44258         (pow_upward_test_data): New variable.
44259         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44260         (remainder_test_data): New variable.
44261         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44262         (scalb_test_data): New variable.
44263         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44264         * sysdeps/i386/fpu/libm-test-ulps: Update.
44266 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
44268         * math/libm-test.inc (fma_test): Use max_value instead of local
44269         variable fltmax.
44270         (nextafter_test): Likewise.
44272         * math/libm-test.inc (acos_towardzero_test_data): New variable.
44273         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44274         (acos_downward_test_data): New variable.
44275         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44276         (acos_upward_test_data): New variable.
44277         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44278         (acosh_test_data): New variable.
44279         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44280         (asin_test_data): New variable.
44281         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44282         (asin_tonearest_test_data): New variable.
44283         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44284         (asin_towardzero_test_data): New variable.
44285         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44286         (asin_downward_test_data): New variable.
44287         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44288         (asin_upward_test_data): New variable.
44289         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44290         (asinh_test_data): New variable.
44291         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44292         (atan_test_data): New variable.
44293         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44294         (atanh_test_data): New variable.
44295         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44296         (cbrt_test_data): New variable.
44297         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44298         (ceil_test_data): New variable.
44299         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44300         (cos_test_data): New variable.
44301         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44302         (cos_tonearest_test_data): New variable.
44303         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44304         (cos_towardzero_test_data): New variable.
44305         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44306         (cos_downward_test_data): New variable.
44307         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44308         (cos_upward_test_data): New variable.
44309         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44310         (cosh_test_data): New variable.
44311         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44312         (cosh_tonearest_test_data): New variable.
44313         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44314         (cosh_towardzero_test_data): New variable.
44315         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44316         (cosh_downward_test_data): New variable.
44317         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44318         (cosh_upward_test_data): New variable.
44319         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44320         (erf_test_data): New variable.
44321         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44322         (erfc_test_data): New variable.
44323         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44324         (exp_test_data): New variable.
44325         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44326         (exp_tonearest_test_data): New variable.
44327         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44328         (exp_towardzero_test_data): New variable.
44329         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44330         (exp_downward_test_data): New variable.
44331         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44332         (exp_upward_test_data): New variable.
44333         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44334         (exp10_test_data): New variable.
44335         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44336         (exp2_test_data): New variable.
44337         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44338         (expm1_test_data): New variable.
44339         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44340         (fabs_test_data): New variable.
44341         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44342         (floor_test_data): New variable.
44343         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44344         (j0_test_data): New variable.
44345         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44346         (j1_test_data): New variable.
44347         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44348         (log_test_data): New variable.
44349         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44350         (log10_test_data): New variable.
44351         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44352         (log1p_test_data): New variable.
44353         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44354         (log2_test_data): New variable.
44355         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44356         (logb_test_data): New variable.
44357         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44358         (logb_downward_test_data): New variable.
44359         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44360         (nearbyint_test_data): New variable.
44361         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44362         (rint_test_data): New variable.
44363         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44364         (rint_tonearest_test_data): New variable.
44365         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44366         (rint_towardzero_test_data): New variable.
44367         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44368         (rint_downward_test_data): New variable.
44369         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44370         (rint_upward_test_data): New variable.
44371         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44372         (round_test_data): New variable.
44373         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44374         (sin_test_data): New variable.
44375         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44376         (sin_tonearest_test_data): New variable.
44377         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44378         (sin_towardzero_test_data): New variable.
44379         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44380         (sin_downward_test_data): New variable.
44381         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44382         (sin_upward_test_data): New variable.
44383         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44384         (sinh_test_data): New variable.
44385         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44386         (sinh_tonearest_test_data): New variable.
44387         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44388         (sinh_towardzero_test_data): New variable.
44389         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44390         (sinh_downward_test_data): New variable.
44391         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44392         (sinh_upward_test_data): New variable.
44393         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44394         (sqrt_test_data): New variable.
44395         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44396         (tan_test_data): New variable.
44397         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44398         (tan_tonearest_test_data): New variable.
44399         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44400         (tan_towardzero_test_data): New variable.
44401         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44402         (tan_downward_test_data): New variable.
44403         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44404         (tan_upward_test_data): New variable.
44405         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44406         (tanh_test_data): New variable.
44407         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44408         (tgamma_test_data): New variable.
44409         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44410         (trunc_test_data): New variable.
44411         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44412         (y0_test_data): New variable.
44413         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44414         (y1_test_data): New variable.
44415         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44416         (significand_test_data): New variable.
44417         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44419 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44421         [BZ #12387]
44422         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44424 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44426         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44428 2013-05-10  Andreas Jaeger  <aj@suse.de>
44430         [BZ #15448]
44431         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44432         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44434 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44436         * math/gen-libm-test.pl (adjust_arg): New function.
44437         (special_functions): Handle generating output in both functions
44438         and arrays.
44439         (parse_args): Likewise.
44440         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44441         $in_func argument to parse_args.
44442         * math/libm-test.inc (struct test_f_f_data): New type.
44443         (IF_ROUND_INIT_): New macro.
44444         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44445         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44446         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44447         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44448         (ROUND_RESTORE_): Likewise.
44449         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44450         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44451         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44452         (ROUND_RESTORE_FE_UPWARD): Likewise.
44453         (RUN_TEST_LOOP_f_f): New macro.
44454         (acos_test_data): New variable.
44455         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44456         (acos_tonearest_test_data): New variable.
44457         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44459 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44461         * benchtests/bench-skeleton.c (startup): Fix coding style.
44463 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44465         [BZ #6809]
44466         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44467         negative infinity argument.
44468         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44469         negative infinity argument.
44470         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44471         negative infinity argument.
44472         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44473         domain errors.
44475 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44477         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44478         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44479         * iconv/iconv_prog.c (main): Likewise.
44480         * locale/programs/charmap-dir.c (charmap_readdir)
44481         (fopen_uncompressed): Likewise.
44482         * locale/programs/locfile.c (siblings_uncached)
44483         (write_locale_data): Use lstat64 instead of lstat.
44484         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44485         stat.
44487 2013-05-10  Andreas Jaeger  <aj@suse.de>
44489         [BZ #15395]
44490         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44491         localization.
44492         Include <locale.h>.
44494 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44496         * elf/dl-close.c (_dl_close_worker): Add comments.
44498 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44500         [BZ #15359]
44501         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44502         high part of pi/2.
44503         (__ieee754_rem_pio2l): Update comments.
44505         [BZ #15429]
44506         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44507         high part of pi/2.
44508         (__ieee754_rem_pio2l): Update comments.
44510         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44511         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44513         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44514         M_PI_4l.
44516         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44517         (M_PI_34_LOG10El): Likewise.
44518         (M_PI2_LOG10El): Likewise.
44519         (M_PI4_LOG10El): Likewise.
44520         (M_PI_LOG10El): Likewise.
44522 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44526 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44528         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44529         (MINUS_ZERO_INIT): Likewise.
44530         (PLUS_INFTY_INIT): Likewise.
44531         (MINUS_INFTY_INIT): Likewise.
44532         (QNAN_VALUE_INIT): Likewise.
44533         (MAX_VALUE_INIT): Likewise.
44534         (MIN_VALUE_INIT): Likewise.
44535         (MIN_SUBNORM_VALUE_INIT): Likewise.
44536         (plus_zero): Initialize with PLUS_ZERO_INIT.
44537         (minus_zero): Initialize with MINUS_ZERO_INIT.
44538         (plus_infty): Initialize with PLUS_INFTY_INIT.
44539         (minus_infty): Initialize with MINUS_INFTY_INIT.
44540         (qnan_value): Initialize with QNAN_VALUE_INIT.
44541         (max_value): Initialize with MAX_VALUE_INIT.
44542         (min_value): Initialize with MIN_VALUE_INIT.
44543         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44545         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44546         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44547         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44548         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44550         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44551         (RUN_TEST_2_f): Likewise.
44552         (RUN_TEST_ff_f): Likewise.
44553         (RUN_TEST_fi_f): Likewise.
44554         (RUN_TEST_fl_f): Likewise.
44555         (RUN_TEST_fff_f): Likewise.
44556         (RUN_TEST_c_f): Likewise.
44557         (RUN_TEST_f_f1): Likewise.
44558         (RUN_TEST_fF_f1): Likewise.
44559         (RUN_TEST_fI_f1): Likewise.
44560         (RUN_TEST_ffI_f1): Likewise.
44561         (RUN_TEST_c_c): Likewise.
44562         (RUN_TEST_cc_c): Likewise.
44563         (RUN_TEST_f_i): Likewise.
44564         (RUN_TEST_f_i_tg): Likewise.
44565         (RUN_TEST_ff_i_tg): Likewise.
44566         (RUN_TEST_f_b): Likewise.
44567         (RUN_TEST_f_b_tg): Likewise.
44568         (RUN_TEST_f_l): Likewise.
44569         (RUN_TEST_f_L): Likewise.
44570         (RUN_TEST_sincos): Likewise.
44571         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44572         whether to show exceptions.  Do not include ");\n" in return
44573         value.
44574         (special_functions): Output call to RUN_TEST_sincos instead of
44575         check_float calls.  Update calls to new_test.
44576         (parse_args): Output call to single RUN_TEST_* macro instead of
44577         check_* calls and other assignments.  Update calls to new_test.
44579         [BZ #2546]
44580         [BZ #2560]
44581         [BZ #5159]
44582         [BZ #15426]
44583         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44584         input to result for tgamma overflow.
44585         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44586         (gamma_coeff): New variable.
44587         (NCOEFF): New macro.
44588         (gamma_positive): New function.
44589         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44590         underflow here.  Use gamma_positive instead of exp (lgamma) for
44591         other arguments.
44592         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44593         (gamma_coeff): New variable.
44594         (NCOEFF): New macro.
44595         (gammaf_positive): New function.
44596         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44597         underflow here.  Use gamma_positive instead of exp (lgamma) for
44598         other arguments.
44599         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44600         (gamma_coeff): New variable.
44601         (NCOEFF): New macro.
44602         (gammal_positive): New function.
44603         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44604         underflow here.  Use gamma_positive instead of exp (lgamma) for
44605         other arguments.
44606         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44607         (gamma_coeff): New variable.
44608         (NCOEFF): New macro.
44609         (gammal_positive): New function.
44610         (__ieee754_gammal_r): Handle positive infinity, overflow and
44611         underflow here.  Handle NaN the same as positive infinity.  Remove
44612         check x < 0xffffffff for negative integers.  Use gamma_positive
44613         instead of exp (lgamma) for other arguments.
44614         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44615         (gamma_coeff): New variable.
44616         (NCOEFF): New macro.
44617         (gammal_positive): New function.
44618         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44619         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44620         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44621         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44622         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44623         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44624         * sysdeps/generic/math_private.h (__gamma_productf): New
44625         prototype.
44626         (__gamma_product): Likewise.
44627         (__gamma_productl): Likewise.
44628         * math/Makefile (libm-calls): Add gamma_product.
44629         * math/libm-test.inc (tgamma_test): Add more tests.
44630         * sysdeps/i386/fpu/libm-test-ulps: Update.
44631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44633 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44635         * benchtests/bench-skeleton.c (main): Preheat CPU.
44637 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44639         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44641 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44643         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44644         and _dl_skip_args_internal.
44646 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44648         * manual/message.texi (Message Translation): Talk about users.
44649         Message to key mapping impacts design.
44651 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44653         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44655         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44657         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44658         * sysdeps/wordsize-64/glob64.c: ... here.
44660         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44661         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44662         New macros.
44664         * debug/getlogin_r_chk.c: Moved to ...
44665         * login/getlogin_r_chk.c: ... here.
44666         * debug/Makefile (routines): Move getlogin_r_chk to ...
44667         * login/Makefile (routines): ... here.
44668         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44669         * login/Versions (libc: GLIBC_2.4): ... here.
44671         * io/poll.c (__poll): Renamed from poll.
44672         Add libc_hidden_def.
44673         (poll): Define as weak alias.
44675         * debug/ptsname_r_chk.c: Moved to ...
44676         * login/ptsname_r_chk.c: ... here.
44677         * debug/Makefile (routines): Move ptsname_r_chk to ...
44678         * login/Makefile (routines): ... here.
44679         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44680         * login/Versions (libc: GLIBC_2.4): ... here.
44682         * posix/getlogin.c: Moved to ...
44683         * login/getlogin.c: ... here.
44684         * posix/getlogin_r.c: Moved to ...
44685         * login/getlogin_r.c: ... here.
44686         * posix/getlogin_r.c: Moved to ...
44687         * login/getlogin_r.c: ... here.
44688         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44689         * login/Makefile (routines): ... here.
44690         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44691         * login/Versions (libc: GLIBC_2.0): ... here.
44693         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44694         (setrlimit): Define as weak alias.
44696         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44697         Call __ names for open, ftruncate, and close.
44698         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44699         (truncate): Define as weak alias.
44701 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44703         * math/gen-libm-test.pl (parse_args): Initialize x before each
44704         test of frexp, modf and remquo.
44706         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44707         test signgam value.
44709 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44711         [BZ #15418]
44712         [BZ #15419]
44713         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44714         internal tests.
44715         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44717 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44719         * elf/dl-writev.h: New file.
44720         * elf/dl-misc.c: Include it.
44721         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44722         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44724 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
44726         * math/libm-test.inc (noXFails): Remove variable.
44727         (noXPasses): Likewise.
44728         (BUILD_COMPLEX_INT): Remove macro.
44729         (print_screen): Remove xfail argument.
44730         (print_screen_max_error): Likewise.
44731         (update_stats): Likewise.
44732         (print_max_error): Likewise.  Update calls to other affected
44733         functions.
44734         (print_complex_max_error): Likewise.
44735         (test_single_exception): Update calls to print_screen.
44736         (test_single_errno): Likewise.
44737         (check_float_internal): Remove xfail argument.  Update calls to
44738         other affected functions.
44739         (check_float): Likewise.
44740         (check_complex): Likewise.
44741         (check_int): Likewise.
44742         (check_long): Likewise.
44743         (check_bool): Likewise.
44744         (check_longlong): Likewise.
44745         (main): Don't print noXFails and noXPasses.
44746         * math/gen-libm-test.pl (top level): Don't mention expected
44747         failure handling in comment.
44748         (new_test): Don't handle expected failures.
44749         (parse_args): Don't mention expected failure handling in comment.
44750         (generate_testfile): Don't handle expected failures.
44751         (parse_ulps): Likewise.
44752         (print_ulps_file): Likewise.
44753         (get_failure): Remove function.
44754         (output_test): Don't handle expected failures.
44755         * make/README.libm-test: Don't mention expected failure handling.
44757         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44758         (minus_zero): Likewise.
44759         (plus_infty): Likewise.
44760         (minus_infty): Likewise.
44761         (qnan_value): Likewise.
44762         (max_value): Likewise.
44763         (min_value): Likewise.
44764         (min_subnorm_value): Likewise.
44765         (initialize): Do not initialize those variables dynamically.
44767 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44769         * io/open.c (__open_2): Moved to ...
44770         * io/open_2.c: ... this new file.
44771         * io/open64.c (__open64_2): Moved to ...
44772         * io/open64_2.c: ... this new file.
44773         * io/openat.c (__openat_2): Moved to ...
44774         * io/openat_2.c: ... this new file.
44775         * io/openat64.c (__openat64_2): Moved to ...
44776         * io/openat64_2.c: ... this new file.
44777         * io/Makefile (routines): Add them.
44778         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44779         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44780         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44781         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44782         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44783         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44784         (__openat64): Add hidden_ver.
44785         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44786         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44788         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44789         Separately conditionalize setting of GLRO(dl_sysinfo) so
44790         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44791         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44793 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44795         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44796         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44797         definition.
44798         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44799         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44800         (_libc_vdso_platform_setup): Add __vdso_time initialization.
44801         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
44802         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
44804 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
44806         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
44807         test signgam value.
44809         * math/libm-test.inc (hypot_test): Do not use
44810         IGNORE_ZERO_INF_SIGN.
44812 2013-05-03  Andreas Jaeger  <aj@suse.de>
44814         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
44815         Linux 3.9.
44816         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
44817         (PF_MAX): Adjust for VSOCK change.
44819 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44823 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
44825         [BZ #15264]
44826         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
44827         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
44828         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
44830 2013-05-02  David S. Miller  <davem@davemloft.net>
44832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44834 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
44836         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
44838 2013-05-01  Roland McGrath  <roland@hack.frob.com>
44840         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
44842 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
44844         [BZ #14952]
44845         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
44846         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44847         Use __attribute__ ((__gnu_inline__)).
44848         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
44849         Don't use __attribute__ ((__gnu_inline__)).
44851 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
44853         [BZ #15423]
44854         * math/s_catan.c (__catan): Handle small real or imaginary part of
44855         input specially to avoid spurious underflow.
44856         * math/s_catanf.c (__catanf): Likewise.
44857         * math/s_catanh.c (__catanh): Likewise.
44858         * math/s_catanhf.c (__catanhf): Likewise.
44859         * math/s_catanhl.c (__catanhl): Likewise.
44860         * math/s_catanl.c (__catanl): Likewise.
44861         * math/libm-test.inc (catan_test): Add more tests.
44862         (catanh_test): Likewise.
44863         * sysdeps/i386/fpu/libm-test-ulps: Update.
44864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44866 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44870 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
44872         [BZ #15416]
44873         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
44874         accurately for denominator in atan2.
44875         * math/s_catanf.c (__catanf): Likewise.
44876         * math/s_catanh.c (__catanh): Likewise.
44877         * math/s_catanhf.c (__catanhf): Likewise.
44878         * math/s_catanhl.c (__catanhl): Likewise.
44879         * math/s_catanl.c (__catanl): Likewise.
44880         * math/libm-test.inc (catan_test): Add more tests.
44881         (catanh_test): Likewise.
44882         * sysdeps/i386/fpu/libm-test-ulps: Update.
44883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44885 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44887         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
44889         * benchtests/Makefile (bench): Remove slow benchmarks.
44890         * benchtests/atan-inputs: Add slow benchmark inputs.
44891         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
44892         (BENCH_FUNC): Accept variant offset.
44893         (VARIANT): Define.
44894         * benchtests/bench-skeleton.c (main): Run benchmark for each
44895         variant.
44896         * benchtests/cos-inputs: Add slow benchmark inputs.
44897         * benchtests/exp-inputs: Likewise.
44898         * benchtests/pow-inputs: Likewise.
44899         * benchtests/sin-inputs: Likewise.
44900         * benchtests/slowatan-inputs: Remove.
44901         * benchtests/slowatan.c: Remove.
44902         * benchtests/slowcos-inputs: Remove.
44903         * benchtests/slowcos.c: Remove.
44904         * benchtests/slowexp-inputs: Remove.
44905         * benchtests/slowexp.c: Remove.
44906         * benchtests/slowpow-inputs: Remove.
44907         * benchtests/slowpow.c: Remove.
44908         * benchtests/slowsin-inputs: Remove.
44909         * benchtests/slowsin.c: Remove.
44910         * benchtests/slowtan-inputs: Remove.
44911         * benchtests/slowtan.c: Remove.
44912         * benchtests/tan-inputs: Add slow benchmark inputs.
44913         * scripts/bench.pl: Parse comments and directives.
44915         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
44916         in CPPFLAGS.
44917         ($(objpfx)bench-%.c): Remove *-ITER.
44918         * benchtests/bench-modf.c: Remove definition of ITER.
44919         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
44920         (main): Loop for DURATION seconds instead of fixed number of
44921         iterations.
44922         * scripts/bench.pl: Don't expect iterations in parameters.
44924 2013-04-29  Roland McGrath  <roland@hack.frob.com>
44926         * io/fchdir.c (__fchdir): Renamed from fchdir.
44927         (fchdir): Define as weak alias.
44929 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44931         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
44932         (ERRNO_EDOM): Likewise.
44933         (ERRNO_ERANGE): Likewise.
44934         (noErrnoTests): New variable.
44935         (init_max_error): Set errno to 0.
44936         (test_single_errno): New function.
44937         (test_errno): Likewise.
44938         (check_float_internal): Call test_errno.  Set errno to 0.
44939         (check_complex): Refer to errno tests in comment.
44940         (check_int): Call test_errno.  Set errno to 0.
44941         (check_long): Likewise.
44942         (check_bool): Likewise.
44943         (check_longlong): Likewise.
44944         (cos_test): Use ERRNO_* flags for errno tests instead of
44945         check_int.
44946         (expm1_test): Likewise.
44947         (fmod_test): Likewise.
44948         (ilogb_test): Likewise.
44949         (lgamma_test): Likewise.
44950         (pow_test): Likewise.
44951         (remainder_test): Likewise.
44952         (sin_test): Likewise.
44953         (tan_test): Likewise.
44954         (yn_test): Likewise.
44955         (initialize): Set errno to 0.
44956         (main): Print number of errno tests.
44957         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
44959 2013-04-29  Andreas Jaeger  <aj@suse.de>
44961         [BZ #15084]
44962         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
44963         and RES_USEVC.
44965         [BZ #15085]
44966         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
44967         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
44968         unimplemented.
44970         [BZ #15380]
44971         * stdlib/random.c (__initstate): Return NULL if
44972         __initstate fails.
44974         [BZ #15086]
44975         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
44976         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
44977         RES_SNGLKUPREOP.
44979 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44983 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
44985         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
44986         of individual tests.
44987         (casin_test): Likewise.
44988         (casinh_test): Likewise.
44990 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
44992         [BZ #15409]
44993         * math/s_catan.c (__catan): Handle arguments with large real or
44994         imaginary part separately without squaring.
44995         * math/s_catanf.c (__catanf): Likewise.
44996         * math/s_catanh.c (__catanh): Likewise.
44997         * math/s_catanhf.c (__catanhf): Likewise.
44998         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
44999         and redefine.
45000         (__catanhl): Handle arguments with large real or imaginary part
45001         separately without squaring.
45002         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45003         and redefine.
45004         (__catanl): Handle arguments with large real or imaginary part
45005         separately without squaring.
45006         * math/libm-test.inc (catan_test): Add more tests.
45007         (catanh_test): Likewise.
45008         * sysdeps/i386/fpu/libm-test-ulps: Update.
45009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45011 2013-04-27  Andreas Jaeger  <aj@suse.de>
45013         [BZ #15007]
45014         * stdlib/stdlib.h: Update guards for qecvt.
45015         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45016         <stdlib.h>.
45018 2013-04-27  Allan McRae  <allan@archlinux.org>
45020         * sysdeps/i386/fpu/libm-test-ulps: Update.
45022 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
45024         [BZ #15406]
45025         * math/s_catan.c: Include <float.h>.
45026         (__catan): Ensure underflow exception occurs for underflowed
45027         result.
45028         * math/s_catanf.c: Include <float.h>.
45029         (__catanf): Ensure underflow exception occurs for underflowed
45030         result.
45031         * math/s_catanh.c: Include <float.h>.
45032         (__catanh): Ensure underflow exception occurs for underflowed
45033         result.
45034         * math/s_catanhf.c: Include <float.h>.
45035         (__catanhf): Ensure underflow exception occurs for underflowed
45036         result.
45037         * math/s_catanhl.c: Include <float.h>.
45038         (__catanhl): Ensure underflow exception occurs for underflowed
45039         result.
45040         * math/s_catanl.c: Include <float.h>.
45041         (__catanl): Ensure underflow exception occurs for underflowed
45042         result.
45043         * math/libm-test.inc (catan_test): Add more tests.
45044         (catanh_test): Likewise.
45046         [BZ #15405]
45047         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45048         underflowed result.
45049         * math/s_ccoshf.c (__ccoshf): Likewise.
45050         * math/s_ccoshl.c (__ccoshl): Likewise.
45051         * math/s_csin.c (__csin): Likewise.
45052         * math/s_csinf.c (__csinf): Likewise.
45053         * math/s_csinh.c (__csinh): Likewise.
45054         * math/s_csinhf.c (__csinhf): Likewise.
45055         * math/s_csinhl.c (__csinhl): Likewise.
45056         * math/s_csinl.c (__csinl): Likewise.
45057         * math/libm-test.inc (ccos_test): Add more tests.
45058         (ccosh_test): Likewise.
45059         (csin_test): Likewise.
45060         (csinh_test): Likewise.
45062 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45064         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45065         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45066         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45067         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45068         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45069         powerpc/power5+/fpu folders.
45070         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45073 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45077 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
45079         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45080         additions to variable.
45081         [$(config-machine) = x86_64] (modules-names): Likewise.
45082         ($(objpfx)tst-audit3): Remove dependency.
45083         ($(objpfx)tst-audit3.out): Likewise.
45084         ($(objpfx)tst-audit4): Likewise.
45085         ($(objpfx)tst-audit4.out): Likewise.
45086         ($(objpfx)tst-audit5): Likewise.
45087         ($(objpfx)tst-audit5.out): Likewise.
45088         ($(objpfx)tst-audit6): Likewise.
45089         ($(objpfx)tst-audit6.out): Likewise.
45090         ($(objpfx)tst-audit7): Likewise.
45091         ($(objpfx)tst-audit7.out): Likewise.
45092         (tst-audit3-ENV): Remove variable.
45093         (tst-audit4-ENV): Likewise.
45094         (tst-audit5-ENV): Likewise.
45095         (tst-audit6-ENV): Likewise.
45096         (tst-audit7-ENV): Likewise.
45097         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45098         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45099         addition to variable.
45100         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45101         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45102         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45103         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45104         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45105         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45106         tst-audit3, tst-audit4 and tst-audit5.
45107         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45108         tst-audit6 and tst-audit7.
45109         [$(subdir) = elf] (modules-names): Add audit modules for those
45110         tests.
45111         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45112         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45113         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45114         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45115         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45116         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45117         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45118         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45119         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45120         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45121         [$(subdir) = elf] (tst-audit3-ENV): New variable.
45122         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45123         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45124         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45125         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45126         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45127         Likewise.
45128         [$(subdir) = elf && $(config-cflags-avx) = yes]
45129         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45130         [$(subdir) = elf && $(config-cflags-avx) = yes]
45131         (CFLAGS-tst-auditmod4a.c): Likewise.
45132         [$(subdir) = elf && $(config-cflags-avx) = yes]
45133         (CFLAGS-tst-auditmod4b.c): Likewise.
45134         [$(subdir) = elf && $(config-cflags-avx) = yes]
45135         (CFLAGS-tst-auditmod6b.c): Likewise.
45136         [$(subdir) = elf && $(config-cflags-avx) = yes]
45137         (CFLAGS-tst-auditmod6c.c): Likewise.
45138         [$(subdir) = elf && $(config-cflags-avx) = yes]
45139         (CFLAGS-tst-auditmod7b.c): Likewise.
45140         * elf/tst-audit3.c: Move to ...
45141         * sysdeps/x86_64/tst-audit3.c: ... here.
45142         * elf/tst-audit4.c: Move to ...
45143         * sysdeps/x86_64/tst-audit4.c: ... here.
45144         * elf/tst-audit5.c: Move to ...
45145         * sysdeps/x86_64/tst-audit5.c: ... here.
45146         * elf/tst-audit6.c: Move to ...
45147         * sysdeps/x86_64/tst-audit6.c: ... here.
45148         * elf/tst-audit7.c: Move to ...
45149         * sysdeps/x86_64/tst-audit7.c: ... here.
45150         * elf/tst-auditmod3a.c: Move to ...
45151         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45152         * elf/tst-auditmod3b.c: Move to ...
45153         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45154         * elf/tst-auditmod4a.c: Move to ...
45155         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45156         * elf/tst-auditmod4b.c: Move to ...
45157         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45158         * elf/tst-auditmod5a.c: Move to ...
45159         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45160         * elf/tst-auditmod5b.c: Move to ...
45161         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45162         * elf/tst-auditmod6a.c: Move to ...
45163         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45164         * elf/tst-auditmod6b.c: Move to ...
45165         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45166         * elf/tst-auditmod6c.c: Move to ...
45167         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45168         * elf/tst-auditmod7a.c: Move to ...
45169         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45170         * elf/tst-auditmod7b.c: Move to ...
45171         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45173 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45175         [BZ #15366]
45176         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45177         define unconditionally.
45178         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45179         define unconditionally.
45180         (INT8_C, INT16_C, etc.): Likewise.
45182 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45184         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45185         __ehdr_start with hidden visibility.
45187         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45189 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45191         * math/libm-test.inc (cos_test): Use accurate hex constants.
45192         (sincost_test): Likewise.
45194 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45196         * math/libm-test.inc (catan_test): Add more tests.
45197         (catanh_test): Likewise.
45199         * math/s_catanf.c (__catanf): Use suffixed floating-point
45200         constants.
45201         * math/s_catanhf.c (__catanhf): Likewise.
45202         * math/s_catanhl.c (__catanhl): Likewise.
45203         * math/s_catanl.c (__catanl): Likewise.
45205         [BZ #15394]
45206         * math/s_catan.c (__catan): Calculate imaginary part of result
45207         with log1p not log unless computing log of number close to 0.
45208         * math/s_catanf.c (__catanf): Likewise.
45209         * math/s_catanl.c (__catanl): Likewise.
45210         * math/s_catanh.c (__catanh): Calculate real part of result with
45211         log1p not log unless computing log of number close to 0.
45212         * math/s_catanhf.c (__catanhf): Likewise.
45213         * math/s_catanhl.c (__catanhl): Likewise.
45214         * math/libm-test.inc (catan_test): Add more tests.
45215         (catanh_test): Likewise.
45216         * sysdeps/i386/fpu/libm-test-ulps: Update.
45217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45219 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45221         * benchtests/Makefile: Mention files in which fast and slow
45222         paths of math functions are implemented.
45224 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45226         * sysdeps/posix/timespec_get.c: New file.
45228 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45230         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45231         POWER.
45232         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45233         for POWER.
45234         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45235         powerpc/power5/fpu folders.
45236         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45237         * benchtests/Makefile: Add modf testcase.
45238         * benchtests/bench-modf.c: New file: Benchmark test for mo
45240 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45242         [BZ #14888]
45243         * time/Makefile (tests): Add tst-strptime-whitespace.
45244         * time/strptime_l.c (get_number): Use ISSPACE.
45245         (__strptime_internal): Likewise.
45246         * time/tst-strptime-whitespace.c: New test case.
45248 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45250         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45251         member.
45252         (_nss_files_init): Set it here.
45254 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45256         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45257         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45258         unsigned.
45260 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45262         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45264 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45266         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45267         size just once.
45269 2013-04-21  David S. Miller  <davem@davemloft.net>
45271         * po/ru.po: Update Russion translation from translation project.
45273 2013-04-17  Adam Conrad  <adconrad@0c3.net>
45275         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45276         and setfsgid.
45278 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
45280         * configure.in: Remove i386 configure warning. Remove i386 case.
45281         * configure: Regenerate.
45282         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45283         Add example to error message.
45284         * sysdeps/i386/configure: Regenerate.
45286 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45288         * benchtests/Makefile (bench): Add cos, tan, slowcos and
45289         slowtan.
45290         * benchtests/cos-inputs: New file.
45291         * benchtests/slowcos-inputs: New file.
45292         * benchtests/slowcos.c: New file.
45293         * benchtests/slowtan-inputs: New file.
45294         * benchtests/slowtan.c: New file.
45295         * benchtests/tan-inputs: New file.
45297 2013-04-16  Roland McGrath  <roland@hack.frob.com>
45299         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45300         considered kosher.
45302 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45304         * benchtests/Makefile: Include cppflags-iterator.mk to add
45305         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45307         * Makefile.in (bench-clean): New target.
45308         * benchtests/Makefile (bench-clean): Likewise.
45310 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
45312         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45314 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
45316         * stdio-common/tstdiomisc.c: Fix coding-style violation.
45318 2013-04-15  Andreas Schwab  <schwab@suse.de>
45320         * nscd/grpcache.c (cache_addgr): Properly check for short write.
45321         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45322         * nscd/pwdcache.c (cache_addpw): Likewise.
45323         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
45324         more than recsize.
45326 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45328         * benchtests/Makefile (bench): Write all output to
45329         bench-out.tmp together.
45331 2013-04-15  Andreas Schwab  <schwab@suse.de>
45333         * nscd/nscd.c (main): Don't fork again after closing files.
45335 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45337         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45339         * benchtests/Rules (bench-deps): Collect dependencies into a
45340         single variable.  Add Makefile to dependencies.
45341         ($(objpfx)bench-%.c): Depend on bench-deps.
45343 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45344             Xavier Roche  <roche+kml2@exalead.com>
45346         [BZ #15361]
45347         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45348         just that it's a file descriptor.
45349         * manual/llio.texi (Synchronizing AIO Operations): Update description
45350         for EBADF error from aio_fsync.
45352 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45354         * Rules (bench): Move target definition...
45355         * benchtests/Makefile: ... here.
45357 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45359         * math/libm-test.inc (cos_test): Fix PI/2 test.
45360         (sincos_test): Likewise.
45361         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45362         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45364 2013-04-11  Andreas Schwab  <schwab@suse.de>
45366         [BZ #13988]
45367         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45368         accept exponent character only when digits were seen.
45369         * stdio-common/Makefile (tests): Add bug26.
45370         * stdio-common/bug26.c: New file.
45372         [BZ #14293]
45373         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45374         non-freeable.
45376 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45378         * Makeconfig (rtld-prefix): Define built linker prefix.
45379         * Rules (run-bench): Use it.
45380         * math/Makefile (run-regen-ulps): Likewise.
45382         * Rules (bench): Remove eval.
45384 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45385             Roland McGrath  <roland@hack.frob.com>
45386             Ondrej Bilka  <neleai@seznam.cz>
45388         [BZ #15346]
45389         * time/getdate.c: Include ctype.h and alloca.h.
45390         (__getdate_r): Trim leading and trailing spaces of input.
45391         * time/tst-getdate.c (tests): Add tests with leading and
45392         trailing spaces.
45394 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45396         [BZ #14280]
45397         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45398         when computing value.
45400 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45402         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45403         Use testrun.sh to run libm tests.
45405         [BZ #15309]
45406         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45408 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45410         [BZ #15264]
45411         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45413 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45415         * Makefile.in (regen-ulps): New target.
45416         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45417         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45418         [ifneq (no,$(PERL)] (regen-ulps): New target.
45419         [ifeq (no,$(PERL)] (regen-ulps): New target.
45420         * math/libm-test.inc (ulps_file_name): Define.
45421         (output_dir): New variable.
45422         (options): Add "output-dir" option.
45423         (parse_opt): Handle 'o' case.
45424         (main): If output_dir is non-NULL use it as a prefix
45425         otherwise use "".
45426         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45428 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45430         [BZ #10060, #10062]
45431         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45432         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45433         fail configure if __sync_val_compare_and_swap is not inlined.
45434         * sysdeps/i386/configure: Regenerate.
45435         * configure.in: Build for i686 when configured for i386.
45436         * configure: Regenerate.
45437         * README: Remove i386 reference.
45439 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45441         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45442         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45444 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45446         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45447         (lmsnanval): New variables.
45448         (F): Add conversion tests.
45449         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45450         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45452         * stdio-common/tstdiomisc.c (F): Properly collect individual
45453         tests' results.
45455         [BZ #14686, #15336]
45456         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45457         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45458         Instead, use input NaN values or generate a qNaN by arithmetic
45459         operation.  Also fix bugs to comply with the standard.
45460         * math/libm-test.inc (remainder_test): Add more tests.
45462         [BZ #15335, #15342]
45463         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45464         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45465         input NaN values or generate a qNaN by arithmetic operation.
45467         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45468         unreachable code.
45470         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45471         definitions.
45473 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45475         [BZ #14478]
45476         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45477         underflowed result.
45478         * math/s_cexpf.c (__cexpf): Likewise.
45479         * math/s_cexpl.c (__cexpl): Likewise.
45480         * math/libm-test.inc (cexp_test): Add more tests.
45482 2013-04-03  Andreas Schwab  <schwab@suse.de>
45484         [BZ #15330]
45485         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45486         order arrays from heap if bigger than alloca cutoff.
45488 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45490         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45491         (SNAN_TESTS_double): Refer to GCC PR56831.
45492         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45493         GCC PR56828.
45495 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45497         * Rules (bench): Move bench.out after the run is complete.
45499         * Rules (bench): Echo currently running benchmark.
45501         * benchtests/Makefile (bench): Add atan and slowatan.
45502         * benchtests/atan-inputs: New file.
45503         * benchtests/slowatan-inputs: New file.
45504         * benchtests/slowatan.c: New file.
45506         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45507         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45508         its value.
45510         [BZ #15305]
45511         * sysdeps/unix/sysv/linux/kernel-features.h
45512         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45513         __ASSUME_XFS_RESTRICTED_CHOWN.
45514         * sysdeps/unix/sysv/linux/pathconf.c
45515         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45516         Save and restore errno.
45518 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45520         [BZ #15327]
45521         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45522         arguments using __kernel_casinh.
45523         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45524         arguments using __kernel_casinhf.
45525         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45526         arguments using __kernel_casinhl.
45527         * math/libm-test.inc (cacosh_test): Add more tests.
45528         * sysdeps/i386/fpu/libm-test-ulps: Update.
45529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45531 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45533         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45534         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45536         * bench/Makefile (bench): Add sin and slowsin.
45537         * benchtests/sin-inputs: New file.
45538         * benchtests/slowsin-inputs: New file.
45539         * benchtests/slowsin.c: New file.
45541         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45542         (bench): Add slowexp and slowpow.
45543         (exp-ITER): Increase iterations.
45544         (pow-ITER): Likewise.
45545         * benchtests/exp-inputs: Change input.
45546         * benchtests/pow-inputs: Likewise.
45547         * benchtests/slowexp-inputs: New file.
45548         * benchtests/slowexp.c: New file.
45549         * benchtests/slowpow-inputs: New file.
45550         * benchtests/slowpow.c: New file.
45552 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45554         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45555         instructions.
45556         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45557         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45558         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45559         * benchtests/Makefile: Add rint benchtest.
45560         * benchtests/rint-inputs: Input for rint benchtest.
45562 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45564         * Versions.def (libm): Add GLIBC_2.18.
45565         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45566         hidden libm prototypes.
45567         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45568         * math/Makefile (libm-calls): Add s_issignaling.
45569         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45570         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45571         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45572         declaration.
45573         * math/math.h [__USE_GNU] (issignaling): New macro.
45574         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45575         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45576         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45577         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45578         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45579         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45580         * manual/arith.texi (issignaling): New section.
45581         * manual/libm-err-tab.pl (@all_functions): Update comment.
45582         * math/gen-libm-test.pl (parse_args): Apply special handling for
45583         issignaling.
45584         * math/libm-test.inc (print_float, issignaling_test): New
45585         functions.
45586         (check_float_internal): Add issignaling checks.
45587         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45588         default definition.
45589         * sysdeps/powerpc/math-tests.h: New file.
45590         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45591         tests.
45592         * math/test-snan.c (TEST_FUNC): Likewise.
45594 2013-03-30  David S. Miller  <davem@davemloft.net>
45596         * po/de.po: Update from translation team.
45598 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45600         [BZ #10357]
45601         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45602         imaginary part less than 1.0 and real part less than 0.5
45603         specially.
45604         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45605         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45606         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45607         (cacos_test): Add more tests.
45608         (casin_test): Likewise.
45609         (casinh_test): Likewise.
45610         * sysdeps/i386/fpu/libm-test-ulps: Update.
45611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45613 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45615         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45616         ONE with its value.
45618         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45619         (__pow_mp): Replace ONE and MONE with their values.
45620         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45621         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45622         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45623         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45624         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45625         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45627         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45629         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45630         (__pow_mp): Replace ZERO and MZERO with their values.
45631         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45632         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45633         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45634         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45635         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45636         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45637         (__sqr): Likewise.
45639         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45641         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45643 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45645         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45646         Declare with __attribute__ ((weak)).
45647         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45648         Call __call_tls_dtors only if it's not NULL.
45650 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45652         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45653         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45654         magic __ehdr_start linker symbol if it's defined.
45655         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45656         them up here if it was already done.
45658         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45659         (_dl_aux_init): Use const in cast when setting it.
45660         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45661         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45662         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45664         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45665         Declare them here.
45666         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45667         * csu/libc-tls.c: Nor here.
45668         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45670         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45671         (__libc_message): Never call vsyslog.
45673 2013-03-28  Alan Modra  <amodra@gmail.com>
45675         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45676         Define as empty.
45677         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45678         Likewise.
45680 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45682         [BZ #15214]
45683         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45684         underflow.
45685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45687 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45689         [BZ #15304]
45690         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45691         Don't add gid passed as argument.
45693         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45695 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45697         [BZ #15307]
45698         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45699         imaginary part between 1.0 and 1.5 and real part less than 0.5
45700         specially.
45701         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45702         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45703         * math/libm-test.inc (cacos_test): Add more tests.
45704         (casin_test): Likewise.
45705         (casinh_test): Likewise.
45706         * sysdeps/i386/fpu/libm-test-ulps: Update.
45707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45709 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45711         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45712         constants.
45713         (norm): Likewise.
45714         (denorm): Likewise.
45715         (__dbl_mp): Likewise.
45716         (add_magnitudes): Likewise.
45717         (sub_magnitudes): Likewise.
45718         (__add): Likewise.
45719         (__sub): Likewise.
45720         (__mul): Likewise.
45721         (__sqr): Likewise.
45722         (__inv): Likewise.
45723         (__dvd): Likewise.
45725         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45726         commented code.
45727         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45728         (__dubcos): Likewise.
45729         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45730         (__ieee754_acos): Likewise.
45731         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45732         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45733         (__exp1): Likewise.
45734         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45735         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45736         (log1): Likewise.
45737         (my_log2): Likewise.
45738         (checkint): Likewise.
45739         * sysdeps/ieee754/dbl-64/e_remainder.c
45740         (__ieee754_remainder): Likewise.
45741         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45742         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45743         (bsloww): Likewise.
45744         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45746         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45747         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45748         MANTISSA_STORE_T to store computations on mantissa.  Use
45749         macros for rounding and division.
45750         (denorm): Likewise.
45751         (__dbl_mp): Likewise.
45752         (add_magnitudes): Likewise.
45753         (sub_magnitudes): Likewise.
45754         (__mul): Likewise.
45755         (__sqr): Likewise.
45756         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45757         powers of two in terms of TWOPOW macro.
45758         (mp_no): Make type of mantissa as MANTISSA_T.
45759         [!RADIXI]: Define RADIXI.
45760         [!TWO52]: Define TWO52.
45761         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45763 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45765         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45766         llroundl symbol when building for PPC32.
45768 2013-03-24  Mark H Weaver  <mhw@netris.org>
45770         * manual/arith.texi (Normalization Functions): Fix prototypes for
45771         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45773 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45775         [BZ #13889]
45776         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45777         high value to check if expl overflow.
45778         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45779         to check for underflow and overflow.
45780         * math/libm-test.inc: Add exp test.
45782 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45784         [BZ #11120]
45785         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45786         with NOT_IN_libc.
45788 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45790         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45791         symbol.
45793 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45795         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45796         wrap blocks consisting of several statements.
45798         * sysdeps/generic/math-tests.h: New file.
45799         * sysdeps/i386/fpu/math-tests.h: Likewise.
45800         * math/test-snan.c: Include it.
45801         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
45803 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45805         [BZ #15285]
45806         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
45807         (__ieee754_j0l): Do not improve calculations using cos of twice
45808         input for inputs above LDBL_MAX / 2.0L.
45809         (__ieee754_y0l): Likewise.
45810         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
45811         (__ieee754_j1l): Do not improve calculations using cos of twice
45812         input for inputs above LDBL_MAX / 2.0L.
45813         (__ieee754_y1l): Likewise.
45814         * math/libm-test.inc (j0_test): Add another test.
45815         (j1_test): Likewise.
45816         (y0_test): Likewise.
45817         (y1_test): Likewise.
45818         * sysdeps/i386/fpu/libm-test-ulps: Update.
45820 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45822         * Rules ($(objpfx)bench-%.c): Include code from a C source
45823         file.
45825 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
45827         [BZ #15287]
45828         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45829         imaginary part 1.0 and real part less than 0.5 specially.
45830         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45831         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45832         * math/libm-test.inc (cacos_test): Add more tests.
45833         (casin_test): Likewise.
45834         (casinh_test): Likewise.
45835         * sysdeps/i386/fpu/libm-test-ulps: Update.
45836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45838 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45840         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
45841         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
45843 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
45845         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
45846         * config.make.in (config-cflags-sse4): Remove variable.
45847         (config-cflags-avx): Likewise.
45848         (config-cflags-sse2avx): Likewise.
45849         (config-cflags-novzeroupper): Likewise.
45850         (config-asflags-i686): Likewise.
45851         (have-mfma4): Likewise.
45852         (have-as-vis3): Likewise.
45853         (MIG): Likewise.
45854         * configure.in (MIG): Do not AC_SUBST.
45855         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
45856         (libc_cv_cc_sse4): Do not AC_SUBST.
45857         (libc_cv_cc_avx): Likewise.
45858         (libc_cv_cc_sse2avx): Likewise.
45859         (libc_cv_cc_novzeroupper): Likewise.
45860         (libc_cv_cc_fma4): Likewise.
45861         (libc_cv_as_i686): Likewise.
45862         (libc_cv_sparc_as_vis3): Likewise.
45863         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
45864         LIBC_CONFIG_VAR.
45865         (config-asflags-i686): Likewise.
45866         (config-cflags-avx): Likewise.
45867         (config-cflags-sse2avx): Likewise.
45868         (have-mfma4): Likewise.
45869         (config-cflags-novzeroupper): Likewise.
45870         * sysdeps/mach/configure.in (MIG): Likewise.
45871         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
45872         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
45873         LIBC_CONFIG_VAR.
45874         (config-cflags-avx): Likewise.
45875         (config-cflags-sse2avx): Likewise.
45876         (have-mfma4): Likewise.
45877         (config-cflags-novzeroupper): Likewise.
45878         * configure: Regenerated.
45879         * sysdeps/i386/configure: Likewise.
45880         * sysdeps/mach/configure: Likewise.
45881         * sysdeps/sparc/configure: Likewise.
45882         * sysdeps/x86_64/configure: Likewise.
45884 2013-03-20  Roland McGrath  <roland@hack.frob.com>
45886         [BZ #14812]
45887         * locale/programs/localedef.c (options): Put N_ translation marker
45888         on argument names, not just descriptions.
45890 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45892         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
45894 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
45896         [BZ #14176]
45897         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
45899 2013-03-19  Roland McGrath  <roland@hack.frob.com>
45901         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
45902         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
45903         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
45904         [!BEFORE_ABORT] (before_abort): New function.
45905         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
45906         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
45907         (writev_for_fatal): New function.
45908         (WRITEV_FOR_FATAL): New macro; call that.
45909         (backtrace_and_maps): New function.
45910         (BEFORE_ABORT): New macro; call that.
45911         (struct str_list): Type removed.
45912         (__libc_message, __libc_fatal): Functions removed.
45913         Include <sysdeps/posix/libc_fatal.c> instead.
45915 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
45917         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
45918         constants.
45919         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
45920         double constants.
45922 2013-03-19  Andreas Schwab  <schwab@suse.de>
45924         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
45925         * sysdeps/gnu/configure: Regenerate.
45927         * configure.in: Substitute libc_cv_rtlddir.
45928         * configure: Regenerate.
45929         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
45930         * Makeconfig (rtlddir, inst_rtlddir): New variables.
45931         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
45932         * elf/Makefile (install-others, CFLAGS-interp.c)
45933         (ldso_install, common-ldd-rewrite): Likewise.
45934         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
45935         $(inst_slibdir)/$(rtld-installed-name).
45936         * scripts/rellns-sh: Add -p option.
45937         * Makerules (make-shlib-link): Use rellns-sh to get relative name
45938         for source.
45940 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45942         * manual/nptl.texi: Renamed to ...
45943         * manual/threads.texi: ... this.
45944         * manual/Makefile (chapters): Update.
45946 2013-03-18  Roland McGrath  <roland@hack.frob.com>
45948         [BZ #14812]
45949         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
45950         on argument names, not just descriptions.
45951         * malloc/memusagestat.c (options): Likewise.
45952         * nss/getent.c (options): Likewise.
45954 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
45956         [BZ #14812]
45957         * iconv/iconv_prog.c (options): Put N_ translation marker
45958         on argument names, not just descriptions.
45959         * iconv/iconvconfig.c (options): Likewise.
45961 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
45963         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
45964         implementation which is faster on all x86_64 architectures.
45965         Tested on AMD, Intel Nehalem, SNB, IVB.
45966         * sysdeps/x86_64/strnlen.S: Likewise.
45968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45969         Remove all multiarch strlen and strnlen versions.
45970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45971         Remove strlen and strnlen related parts.
45973         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
45974         Inline strlen part.
45975         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
45977         * sysdeps/x86_64/multiarch/strlen.S: Remove.
45978         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
45979         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
45980         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
45981         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45982         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
45984 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
45986         * manual/memory.texi (Malloc Tunable Parameters):
45987         Sort parameters alphabetically. Add comments for missing entries.
45989 2013-03-17  David S. Miller  <davem@davemloft.net>
45991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45993 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
45995         [BZ #15283]
45996         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
45997         for arguments at most half maximum finite value.
45998         * math/libm-test.inc (j0_test): Add more tests.
45999         (j1_test): Likewise.
46000         (y0_test): Likewise.
46001         (y1_test): Likewise.
46002         * sysdeps/i386/fpu/libm-test-ulps: Update.
46003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46005         [BZ #14155]
46006         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46007         1 / x and functions P and Q for arguments above 0x1p256L.
46008         (__ieee754_y0l): Likewise.
46009         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46010         (__ieee754_y1l): Likewise.
46011         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46012         (j1_test): Likewise.
46013         (y0_test): Likewise.
46014         (y1_test): Likewise.
46016 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
46018         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46019         variable.
46021 2013-03-15  Roland McGrath  <roland@hack.frob.com>
46023         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46024         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46025         zero since it's initialized to EXEC_PAGESIZE.
46027         * sysdeps/unix/sysv/linux/ldsodefs.h
46028         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46029         * sysdeps/generic/ldsodefs.h: ... here.
46031 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
46033         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46035         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46036         math/test-snan.c.
46037         * math/test-snan.c: Renamed from
46038         sysdeps/powerpc/fpu/test-powerpc-snan.c.
46039         * math/Makefile (tests): Add test-snan.
46040         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46041         test-powerpc-snan.
46043         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46044         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
46045         functions.
46046         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
46047         __builtin_nan family of functions.
46048         * math/libm-test.inc (initialize): Initialize qnan_value with
46049         __builtin_nan family of functions.
46050         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46051         Remove variables.
46052         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46053         Remove functions.
46054         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
46055         storage class.  Initialize qNaN_var and sNaN_var with
46056         __builtin_nan and __builtin_nans families of functions,
46057         respectively.
46059         * math/libm-test.inc (acosh_test): Also test with qNaN input.
46060         (sqrt_test): Remove duplicate test with qNaN input.
46061         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46062         (round_test, signbit_test, significand_test): Note missing +/-Inf
46063         as well as qNaN tests.
46065         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46066         qNaN_var.  Fix a few strings, too.
46067         * math/libm-test.inc (nan_value): Rename to qnan_value.
46068         * math/gen-libm-test.pl (%beautify): Adjust to that.
46069         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46070         * math/test-misc.c (main): Likewise.
46071         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46072         to __qnan_bytes, and __qnan_union, respectively.
46073         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46074         Likewise.
46075         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46076         and lqnanval, respectively.
46077         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46078         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46079         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46080         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46082         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46083         * math/test-misc.c (main) [__x86_64__]: Enable test for long
46084         doubles.
46086         * math/test-misc.c (main): Fix copy'n'pastos.
46087         * misc/tst-efgcvt.c (special): Likewise.
46089         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46090         Remove declarations.
46092 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46094         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46095         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46096         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46097         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46099 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46101         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46102         macro to return vdso values correctly in IFUNC implementations.
46103         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46104         Optimization by using IFUNC.
46106 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46107             Richard Henderson  <rth@redhat.com>
46108             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46110         * Makefile.in (bench): New target.
46111         * NEWS: Mention the benchmark framework.
46112         * Rules (bench): Likewise.
46113         (binaries-bench): Generate binaries for functions to
46114         benchmark.
46115         * benchtests/Makefile: New makefile for benchmark tests.
46116         * benchtests/bench-skeleton.c: New skeleton file for benchmark
46117         programs.
46118         * benchtests/exp-inputs: New input file for EXP function.
46119         * benchtests/pow-inputs: New input file for POW function.
46120         * scripts/bench.pl: New script to generate source files for
46121         benchmark programs.
46123 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46125         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46126         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46127         computations on mantissa.  Use macros for rounding and
46128         division.
46129         (denorm): Likewise.
46130         (__dbl_mp): Likewise.
46131         (add_magnitudes): Likewise.
46132         (sub_magnitudes): Likewise.
46133         (__mul): Likewise.
46134         (__sqr): Likewise.
46135         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46136         powers of two in terms of TWOPOW macro.
46137         (mp_no): Make type of mantissa as MANTISSA_T.
46138         [!RADIXI]: Define RADIXI.
46139         [!TWO52]: Define TWO52.
46140         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46142         * manual/nptl.texi (cindex): Modify threads to pthreads.
46144 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46146         * sysdeps/x86_64/preconfigure: Regenerated.
46148 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46150         [BZ #14155]
46151         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46152         0x1p28 and above.
46153         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46154         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46155         0x1p28 and above.
46156         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46157         * math/libm-test.inc (j0_test): Do not allow one spurious
46158         underflow exception.
46159         (y1_test): Likewise.
46161 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46163         * manual/Makefile (chapters): Add nptl.
46164         * manual/debug.texi (Debugging Support): Add link to Threads
46165         chapter.
46166         * manual/nptl.texi: New file.
46168         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46170 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46172         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46173         for non-NULL pointer before the memory validity test. Pointed
46174         out by Holger Brunck <holger.brunck@keymile.com>.
46176 2013-03-13  Andreas Schwab  <schwab@suse.de>
46178         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46179         instead of .os.
46181 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46183         * timezone/zic.c: Update from tzcode 2013b.
46185 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46187         * manual/install.texi (Configuring and compiling):
46188         Mention i686 and i586.
46189         * INSTALL: Regenerate.
46191 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46193         * sysdeps/init_array/elf-init.c: New file.
46194         * csu/elf-init.c
46195         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46196         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46198         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46199         __gmon_start__ as global, but as static with a .preinit_array pointer.
46200         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46201         * sysdeps/init_array/crti.S: New file, empty except for comments.
46202         * sysdeps/init_array/crtn.S: Likewise.
46204 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46206         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46207         definining bcopy.
46208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46209         Remove Prefer_SSE_for_memop.
46210         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46211         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46212         HAS_PREFER_SSE_FOR_MEMOP.
46213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46214         memset-x86-64.
46215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46216         Remove bzero, memset ifunc support.
46217         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46218         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46219         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46220         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46222 2013-03-11  Andreas Schwab  <schwab@suse.de>
46224         [BZ #15234]
46225         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46226         by SHLIB_COMPAT.
46227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46228         (GLIBC_2.16): Remove pthread_atfork.
46230 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46232         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46233         (ptestcases.h): Likewise.
46235 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46237         * Makeconfig ($(common-objpfx)config.status): Depend on
46238         sysdeps/*/preconfigure{,.in} too.
46240 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46242         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46243         (__free_hook): Use void * instead of __malloc_ptr_t.
46244         (__malloc_hook): Likewise.
46245         (__realloc_hook): Likewise.
46246         (__memalign_hook): Likewise.
46247         (__after_morecore_hook): Likewise.
46248         * malloc/arena.c (save_malloc_hook): Likewise.
46249         (save_free_hook): Likewise.
46250         * malloc/hooks.c (malloc_hook_ini): Likewise.
46251         (realloc_hook_ini): Likewise.
46252         (memalign_hook_ini): Likewise.
46253         * malloc/malloc.c (malloc_hook_ini): Likewise.
46254         (realloc_hook_ini): Likewise.
46255         (memalign_hook_ini): Likewise.
46256         (__free_hook): Likewise.
46257         (__malloc_hook): Likewise.
46258         (__realloc_hook): Likewise.
46259         (__memalign_hook): Likewise.
46260         (__libc_malloc): Likewise.
46261         (__libc_free): Likewise.
46262         (__libc_realloc): Likewise.
46263         (__libc_memalign): Likewise.
46264         (__libc_valloc): Likewise.
46265         (__libc_pvalloc): Likewise.
46266         (__libc_calloc): Likewise.
46267         (__posix_memalign): Likewise.
46268         * malloc/morecore.c (__sbrk): Likewise.
46269         (__default_morecore): Likewise.
46271         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46273         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46274         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46275         __malloc_ptrdiff_t.
46277         * malloc/malloc.h (__malloc_size_t): Remove macro.
46278         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46279         __malloc_size_t.
46280         (old_memalign_hook): Likewise.
46281         (old_realloc_hook): Likewise.
46282         (struct hdr): Likewise.
46283         (flood): Likewise.
46284         (mallochook): Likewise.
46285         (memalignhook): Likewise.
46286         (reallochook): Likewise.
46287         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46288         (tr_old_realloc_hook): Likewise.
46289         (tr_old_memalign_hook): Likewise.
46290         (tr_mallochook): Likewise.
46291         (tr_reallochook): Likewise.
46292         (tr_memalignhook): Likewise.
46294 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46296         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46297         default_ldbl_pack and using as default implementation.
46298         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46299         implementation.
46300         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46301         redundant definition.
46302         (ldbl_insert_mantissa): Likewise.
46303         (ldbl_canonicalize): Likewise.
46304         (ldbl_nearbyint): Likewise.
46305         (ldbl_pack): Rename to ldbl_pack_ppc.
46306         (ldbl_unpack): Rename to ldbl_unpack_ppc.
46307         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46308         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46310 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46312         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46313         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46314         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46315         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46317         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46318         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46319         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46321 2013-03-07  Andreas Jaeger  <aj@suse.de>
46323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46324         bits/mman-linux.h.
46326 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46328         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46329         Include mpa.h and declare __MPEXP.
46330         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46331         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46332         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46333         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46334         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46335         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46336         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46338         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46339         (__slowpow): Use long double EXPL and LOGL functions to
46340         compute POW.
46341         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46342         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46343         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46344         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46345         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46346         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46349         intermediate variable to calculate exponent.
46350         (__sqr): Likewise.
46351         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46352         Likewise.
46353         (__sqr): Likewise.
46355         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46356         [!NO__SQR]: Define __sqr.
46357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46358         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46359         sysdeps/ieee754/dbl-64/mpa.c.
46360         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46362         [BZ #12723]
46363         * posix/Makefile (tests): Add tst-pathconf.
46364         * posix/tst-pathconf.c: New test case.
46365         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46366         _PC_PIPE_BUF.
46367         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46369 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46371         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46373 2013-03-06  Andreas Jaeger  <aj@suse.de>
46375         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46376         definition via __MAP_ANONYMOUS.
46378         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46379         it's not part of Linux headers.
46381         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46382         (MAP_HUGE_MASK): Define.
46384         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46385         Define.
46386         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46387         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46388         Define.
46389         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46390         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46391         Define.
46392         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46393         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46394         Define.
46395         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46397         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46398         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46399         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46400         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46401         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46402         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46404         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46405         Handle f2fs.
46407         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46408         Handle f2fs and efivarfs.
46410         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46411         f2fs.
46413         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46414         (EFIVARFS_MAGIC): Add.
46415         (F2FS_LINK_MAX): Add.
46417 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46419         * stdio-common/vfprintf.c: Replace __builtin_expect with
46420         __glibc_unlikely.
46422 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46424         [BZ #13550]
46425         * sysdeps/generic/bp-sym.h: Remove file.
46426         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46427         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46428         <bp-sym.h> and <bp-asm.h>.
46429         (__longjmp): Don't use BP_SYM.
46430         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46431         and <bp-asm.h>.
46432         (memcpy): Don't use BP_SYM.
46433         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46434         <bp-sym.h> and <bp-asm.h>.
46435         (memcpy): Don't use BP_SYM.
46436         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46437         <bp-asm.h>.
46438         (memcpy): Don't use BP_SYM.
46439         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46440         <bp-asm.h>.
46441         (memset): Don't use BP_SYM.
46442         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46443         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46444         (__bzero): Don't use BP_SYM.
46445         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46446         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46447         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46448         <bp-sym.h> and <bp-asm.h>.
46449         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46450         pointers.
46451         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46452         <bp-sym.h> and <bp-asm.h>.
46453         (memcpy): Don't use BP_SYM.
46454         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46455         <bp-sym.h> and <bp-asm.h>.
46456         (memset): Don't use BP_SYM.
46457         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46458         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46459         (__bzero): Don't use BP_SYM.
46460         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46461         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46462         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46463         <bp-sym.h> and <bp-asm.h>.
46464         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46465         pointers.
46466         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46467         <bp-sym.h> and <bp-asm.h>.
46468         (memcpy): Don't use BP_SYM.
46469         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46470         <bp-sym.h> and <bp-asm.h>.
46471         (memset): Don't use BP_SYM.
46472         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46473         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46474         (__bzero): Don't use BP_SYM.
46475         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46476         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46477         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46478         <bp-sym.h> and <bp-asm.h>.
46479         (__memchr): Don't use BP_SYM.
46480         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46481         <bp-sym.h> and <bp-asm.h>.
46482         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46483         pointers.
46484         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46485         <bp-sym.h> and <bp-asm.h>.
46486         (memcpy): Don't use BP_SYM.
46487         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46488         <bp-sym.h> and <bp-asm.h>.
46489         (__mempcpy): Don't use BP_SYM.
46490         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46491         <bp-sym.h> and <bp-asm.h>.
46492         (__memrchr): Don't use BP_SYM.
46493         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46494         <bp-sym.h> and <bp-asm.h>.
46495         (memset): Don't use BP_SYM.
46496         (__bzero): Likewise.
46497         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46498         <bp-sym.h> and <bp-asm.h>.
46499         (__rawmemchr): Don't use BP_SYM.
46500         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46501         <bp-sym.h> and <bp-asm.h>.
46502         (__STRCMP): Don't use BP_SYM.
46503         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46504         <bp-sym.h> and <bp-asm.h>.
46505         (strchr): Don't use BP_SYM.
46506         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46507         <bp-sym.h> and <bp-asm.h>.
46508         (__strchrnul): Don't use BP_SYM.
46509         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46510         <bp-sym.h> and <bp-asm.h>.
46511         (strlen): Don't use BP_SYM.
46512         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46513         <bp-sym.h> and <bp-asm.h>.
46514         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46515         pointers.
46516         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46517         <bp-sym.h> and <bp-asm.h>.
46518         (__strnlen): Don't use BP_SYM.
46519         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46520         <bp-sym.h> and <bp-asm.h>.
46521         (__GI__setjmp): Don't use BP_SYM.
46522         (_setjmp): Likewise.
46523         (__sigsetjmp): Likewise.
46524         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46525         (L(start_addresses)): Don't use BP_SYM.
46526         (_start): Likewise.
46527         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46528         <bp-asm.h>.
46529         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46530         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46531         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46532         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46533         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46534         <bp-asm.h>.
46535         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46536         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46537         about bounded pointers.
46538         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46539         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46540         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46541         <bp-asm.h>.
46542         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46543         about bounded pointers.  Remove GKM FIXME comments.
46544         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46545         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46546         <bp-asm.h>.
46547         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46548         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46549         Remove GKM FIXME comments.
46550         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46551         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46552         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46553         <bp-asm.h>.
46554         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46555         about bounded pointers.  Remove GKM FIXME comment.
46556         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46557         and <bp-asm.h>.
46558         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46559         pointers.
46560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46561         <bp-sym.h> and <bp-asm.h>.
46562         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46564         <bp-sym.h> and <bp-asm.h>.
46565         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46566         comment.
46568 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46570         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46571         call free(NULL).
46573 2013-03-05  David S. Miller  <davem@davemloft.net>
46575         * po/es.po: Update from translation team.
46577 2013-03-05  Andreas Jaeger  <aj@suse.de>
46579         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46580         <bits/mman-linux.h>.
46581         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46582         is fine.
46583         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46584         <bits/mman-linux.h> to end of file.
46585         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46586         is fine.
46587         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46588         <bits/mman-linux.h> to end of file.
46589         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46590         is fine.
46591         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46592         <bits/mman-linux.h> to end of file.
46594         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46595         (MCL_CURRENT, MCL_FUTURE): Define here.
46597 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46599         [BZ #15232]
46600         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46601         attribute_hidden.
46602         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46604 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46606         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46607         fourth parameter needed for rt_sigprocmask syscall.
46608         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46609         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46610         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46611         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46612         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46613         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46615 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46617         [BZ #13550]
46618         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46619         comment about bounded pointers.
46620         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46621         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46623 2013-03-04  Andreas Jaeger  <aj@suse.de>
46625         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46626         common definitions.
46628         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46629         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46630         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46631         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46632         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46633         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46635 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46637         [BZ #15055]
46638         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46639         __ieee754_sqrl instead of __sqrl.
46641 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46643         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46644         * sysdeps/powerpc/fpu_control.h: ... here.
46645         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46646         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46647         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46648         * sysdeps/powerpc/bits/mathinline.h: ... here.
46650 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46652         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46653         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46654         to just [NEED_DL_SYSINFO_DSO].
46655         * elf/dl-support.c: Likewise.
46656         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46657         * elf/rtld.c (dl_main): Likewise.
46658         * elf/setup-vdso.h (setup_vdso): Likewise.
46659         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46660         * sysdeps/unix/sysv/linux/dl-sysdep.c
46661         (_dl_discover_osversion): Likewise.
46663 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46665         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46666         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46668 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46670         * NEWS: Mention libm performance improvements and non-x86 PI
46671         futex support.
46673         * csu/libc-start.c (__pthread_initialize_minimal): Change
46674         function arguments.
46675         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46677 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46679         [BZ #13550]
46680         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46681         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46682         <bp-sym.h> and <bp-asm.h>.
46683         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46684         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46685         and <bp-asm.h>.
46686         (memcpy): Don't use BP_SYM.
46687         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46688         <bp-asm.h>.
46689         (__mpn_add_n): Don't use BP_SYM.
46690         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46691         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46692         and <bp-asm.h>.
46693         (__mpn_addmul_1): Don't use BP_SYM.
46694         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46695         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46696         <bp-sym.h>.
46697         (_setjmp): Don't use BP_SYM.
46698         (__novmx_setjmp): Likewise.
46699         (__GI__setjmp): Likewise.
46700         (__vmx_setjmp): Likewise.
46701         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46702         <bp-sym.h>.
46703         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46704         (__bzero): Don't use BP_SYM.
46705         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46706         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46707         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46708         <bp-sym.h> and <bp-asm.h>.
46709         (memcpy): Don't use BP_SYM.
46710         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46711         <bp-sym.h> and <bp-asm.h>.
46712         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46713         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46714         <bp-sym.h> and <bp-asm.h>.
46715         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46716         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46717         <bp-asm.h>.
46718         (__mpn_lshift): Don't use BP_SYM.
46719         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46720         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46721         <bp-asm.h>.
46722         (memset): Don't use BP_SYM.
46723         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46724         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46725         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46726         <bp-asm.h>.
46727         (__mpn_mul_1): Don't use BP_SYM.
46728         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46729         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46730         <bp-sym.h> and <bp-asm.h>.
46731         (memcmp): Don't use BP_SYM.
46732         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46733         <bp-sym.h> and <bp-asm.h>.
46734         (memcpy): Don't use BP_SYM.
46735         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46736         <bp-sym.h> and <bp-asm.h>.
46737         (memset): Don't use BP_SYM.
46738         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46739         <bp-sym.h> and <bp-asm.h>.
46740         (strncmp): Don't use BP_SYM.
46741         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46742         <bp-sym.h> and <bp-asm.h>.
46743         (memcpy): Don't use BP_SYM.
46744         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46745         <bp-sym.h> and <bp-asm.h>.
46746         (memset): Don't use BP_SYM.
46747         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46748         <bp-sym.h> and <bp-asm.h>.
46749         (__memchr): Don't use BP_SYM.
46750         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46751         <bp-sym.h> and <bp-asm.h>.
46752         (memcmp): Don't use BP_SYM.
46753         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46754         <bp-sym.h> and <bp-asm.h>.
46755         (memcpy): Don't use BP_SYM.
46756         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46757         <bp-sym.h> and <bp-asm.h>.
46758         (__mempcpy): Don't use BP_SYM.
46759         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46760         <bp-sym.h> and <bp-asm.h>.
46761         (__memrchr): Don't use BP_SYM.
46762         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46763         <bp-sym.h> and <bp-asm.h>.
46764         (memset): Don't use BP_SYM.
46765         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46766         <bp-sym.h> and <bp-asm.h>.
46767         (__rawmemchr): Don't use BP_SYM.
46768         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46769         <bp-sym.h> and <bp-asm.h>.
46770         (__STRCMP): Don't use BP_SYM.
46771         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46772         <bp-sym.h> and <bp-asm.h>.
46773         (strchr): Don't use BP_SYM.
46774         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46775         <bp-sym.h> and <bp-asm.h>.
46776         (__strchrnul): Don't use BP_SYM.
46777         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46778         <bp-sym.h> and <bp-asm.h>.
46779         (strlen): Don't use BP_SYM.
46780         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46781         <bp-sym.h> and <bp-asm.h>.
46782         (strncmp): Don't use BP_SYM.
46783         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46784         <bp-sym.h> and <bp-asm.h>.
46785         (__strnlen): Don't use BP_SYM.
46786         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46787         <bp-asm.h>.
46788         (__mpn_rshift): Don't use BP_SYM.
46789         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46790         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46791         <bp-sym.h> and <bp-asm.h>.
46792         (__sigsetjmp): Don't use BP_SYM.
46793         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46794         (L(start_addresses)): Don't use BP_SYM.
46795         (_start): Likewise.
46796         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46797         <bp-asm.h>.
46798         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46799         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46800         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46801         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
46802         <bp-asm.h>.
46803         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
46804         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46805         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46806         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
46807         <bp-asm.h>.
46808         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46809         comments.
46810         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46811         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
46812         <bp-asm.h>.
46813         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
46814         FIXME comments.
46815         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46816         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46817         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
46818         <bp-asm.h>.
46819         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
46820         comment.
46821         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
46822         and <bp-asm.h>.
46823         (strncmp): Don't use BP_SYM,
46824         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
46825         <bp-asm.h>.
46826         (__mpn_sub_n): Don't use BP_SYM.
46827         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46828         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
46829         and <bp-asm.h>.
46830         (__mpn_submul_1): Don't use BP_SYM.
46831         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
46833         <bp-sym.h> and <bp-asm.h>.
46834         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
46836         <bp-sym.h> and <bp-asm.h>.
46837         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46838         comment.
46840 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46842         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
46843         Use ZK to minimize writes to Z.
46844         (sub_magnitudes): Simplify code a bit.
46845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
46846         Use ZK to minimize writes to Z.
46847         (sub_magnitudes): Simplify code a bit.
46849 2013-02-27  Roland McGrath  <roland@hack.frob.com>
46851         * csu/gmon-start.c: Add special exception to license text.
46853 2013-02-27  Richard Henderson  <rth@redhat.com>
46855         * scripts/config.guess: Update from config.git.
46856         * scripts/config.sub: Likewise.
46858 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46860         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
46862         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
46864         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
46866         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
46868         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
46870 2013-02-26  Roland McGrath  <roland@hack.frob.com>
46872         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
46873         [$(build-shared = yes].
46875 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46877         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
46878         (__mul): Reduce iterations for calculating mantissa.
46880         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
46881         MPTWO.
46882         (__mpranred): Likewise.
46884         [BZ #15160]
46885         * malloc/memusagestat.c (main): Draw graphs for heap and stack
46886         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
46888 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
46890         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
46891         Define __attribute__.
46893 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46895         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
46896         unused.
46897         * posix/regex_internal.h (__attribute): Remove.
46898         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
46899         (re_string_context_at): Likewise.
46900         (bitset_not): Use __attribute__ and mark function as possibly
46901         unused.
46902         (bitset_merge): Likewise.
46903         (bitset_mask): Likewise.
46904         (re_string_char_size_at): Likewise.
46905         (re_string_wchar_at): Likewise.
46906         (re_string_elem_size_at): Likewise.
46908 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46910         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
46911         code.
46912         (cc32): Likewise.
46914         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
46915         (__acr): Likewise.
46916         (__cpy): Likewise.
46917         (norm): Likewise.
46918         (denorm): Likewise.
46919         (__dbl_mp): Likewise.
46920         (add_magnitudes): Likewise.
46921         (sub_magnitudes): Likewise.
46922         (__mul): Likewise.
46923         (__inv): Likewise.
46925         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
46926         style.
46928         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
46929         style.
46931         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
46932         code.
46934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
46935         up changes with default code.
46936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
46937         Likewise.
46939 2013-02-24  Allan McRae  <allan@archlinux.org>
46941         * manual/socket.texi (The Internet Namespace): Order menu items
46942         to match that in the file.
46944         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
46945         node listing of the info page menu.
46947 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
46949         [BZ #13550]
46950         * sysdeps/i386/bp-asm.h: Remove file.
46951         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46952         (PARMS): Do not use macros from bp-asm.h.
46953         (S1): Likewise.
46954         (S2): Likewise.
46955         (SIZE): Likewise.
46956         (__mpn_add_n): Do not use BP_SYM
46957         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
46958         "bp-asm.h".
46959         (PARMS): Do not use macros from bp-asm.h.
46960         (S1): Likewise.
46961         (SIZE): Likewise.
46962         (__mpn_addmul_1): Do not use BP_SYM
46963         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
46964         "bp-asm.h".
46965         (PARMS): Do not use macros from bp-asm.h.
46966         (SIGMSK): Likewise.
46967         (_setjmp): Likewise.  Do not use BP_SYM.
46968         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
46969         "bp-asm.h".
46970         (PARMS): Do not use macros from bp-asm.h.
46971         (SIGMSK): Likewise.
46972         (setjmp): Likewise.  Do not use BP_SYM.
46973         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
46974         "bp-asm.h".
46975         (PARMS): Do not use macros from bp-asm.h.
46976         (__frexp): Do not use BP_SYM.
46977         (frexp): Likewise.
46978         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
46979         "bp-asm.h".
46980         (PARMS): Do not use macros from bp-asm.h.
46981         (__frexpf): Do not use BP_SYM.
46982         (frexpf): Likewise.
46983         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46984         "bp-asm.h".
46985         (PARMS): Do not use macros from bp-asm.h.
46986         (__frexpl): Do not use BP_SYM.
46987         (frexpl): Likewise.
46988         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
46989         "bp-asm.h".
46990         (PARMS): Do not use macros from bp-asm.h.
46991         (__remquo): Do not use BP_SYM.
46992         (remquo): Likewise.
46993         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
46994         "bp-asm.h".
46995         (PARMS): Do not use macros from bp-asm.h.
46996         (__remquof): Do not use BP_SYM.
46997         (remquof): Likewise.
46998         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
46999         "bp-asm.h".
47000         (PARMS): Do not use macros from bp-asm.h.
47001         (__remquol): Do not use BP_SYM.
47002         (remquol): Likewise.
47003         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47004         "bp-asm.h".
47005         (PARMS): Do not use macros from bp-asm.h.
47006         (DEST): Likewise.
47007         (SRC): Likewise.
47008         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
47009         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47010         "bp-asm.h".
47011         (PARMS): Do not use macros from bp-asm.h.
47012         (strlen): Do not use BP_SYM.
47013         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47014         "bp-asm.h".
47015         (PARMS): Do not use macros from bp-asm.h.
47016         (S1): Likewise.
47017         (S2): Likewise.
47018         (SIZE): Likewise.
47019         (__mpn_add_n): Do not use BP_SYM.
47020         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47021         "bp-asm.h".
47022         (PARMS): Do not use macros from bp-asm.h.
47023         (S1): Likewise.
47024         (SIZE): Likewise.
47025         (__mpn_addmul_1): Do not use BP_SYM.
47026         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47027         weak_alias.
47028         (bzero): Likewise.
47029         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47030         "bp-asm.h".
47031         (PARMS): Do not use macros from bp-asm.h.
47032         (S): Likewise.
47033         (SIZE): Likewise.
47034         (__mpn_lshift): Do not use BP_SYM.
47035         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47036         "bp-asm.h".
47037         (PARMS): Do not use macros from bp-asm.h.
47038         (DEST): Likewise.
47039         (SRC): Likewise.
47040         (LEN): Likewise.
47041         (memcpy): Likewise.  Do not use BP_SYM.
47042         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47043         libc_hidden_def and weak_alias.
47044         (mempcpy): Do not use BP_SYM in weak_alias.
47045         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47046         "bp-asm.h".
47047         (PARMS): Do not use macros from bp-asm.h.
47048         (DEST): Likewise.
47049         (LEN): Likewise.
47050         [!BZERO_P] (CHR): Likewise.
47051         (memset): Likewise.  Do not use BP_SYM.
47052         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47053         "bp-asm.h".
47054         (PARMS): Do not use macros from bp-asm.h.
47055         (S1): Likewise.
47056         (SIZE): Likewise.
47057         (__mpn_mul_1): Do not use BP_SYM.
47058         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47059         "bp-asm.h".
47060         (PARMS): Do not use macros from bp-asm.h.
47061         (S): Likewise.
47062         (SIZE): Likewise.
47063         (__mpn_rshift): Do not use BP_SYM.
47064         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47065         "bp-asm.h".
47066         (PARMS): Do not use macros from bp-asm.h.
47067         (STR): Likewise.
47068         (CHR): Likewise.
47069         (strchr): Likewise.  Do not use BP_SYM.
47070         (index): Do not use BP_SYM in weak_alias.
47071         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47072         "bp-asm.h".
47073         (PARMS): Do not use macros from bp-asm.h.
47074         (DEST): Likewise.
47075         (SRC): Likewise.
47076         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
47077         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47078         "bp-asm.h".
47079         (PARMS): Do not use macros from bp-asm.h.
47080         (strlen): Do not use BP_SYM.
47081         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47082         "bp-asm.h".
47083         (PARMS): Do not use macros from bp-asm.h.
47084         (S1): Likewise.
47085         (S2): Likewise.
47086         (SIZE): Likewise.
47087         (__mpn_sub_n): Do not use BP_SYM.
47088         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47089         "bp-asm.h".
47090         (PARMS): Do not use macros from bp-asm.h.
47091         (S1): Likewise.
47092         (SIZE): Likewise.
47093         (__mpn_submul_1): Do not use BP_SYM.
47094         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47095         "bp-asm.h".
47096         (PARMS): Do not use macros from bp-asm.h.
47097         (S1): Likewise.
47098         (S2): Likewise.
47099         (SIZE): Likewise.
47100         (__mpn_add_n): Do not use BP_SYM.
47101         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47102         weak_alias.
47103         (bzero): Likewise.
47104         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47105         "bp-asm.h".
47106         (PARMS): Do not use macros from bp-asm.h.
47107         (BLK2): Likewise.
47108         (LEN): Likewise.
47109         (memcmp): Do not use BP_SYM.
47110         (bcmp): Do not use BP_SYM in weak_alias.
47111         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47112         "bp-asm.h".
47113         (PARMS): Do not use macros from bp-asm.h.
47114         (DEST): Likewise.
47115         (SRC): Likewise.
47116         (LEN): Likewise.
47117         (memcpy): Likewise.  Do not use BP_SYM.
47118         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47119         "bp-asm.h".
47120         (PARMS): Do not use macros from bp-asm.h.
47121         (DEST): Likewise.
47122         (SRC): Likewise.
47123         (LEN): Likewise.
47124         (memmove): Likewise.  Do not use BP_SYM.
47125         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47126         "bp-asm.h".
47127         (PARMS): Do not use macros from bp-asm.h.
47128         (DEST): Likewise.
47129         (SRC): Likewise.
47130         (LEN): Likewise.
47131         (__mempcpy): Likewise.  Do not use BP_SYM.
47132         (mempcpy): Do not use BP_SYM in weak_alias.
47133         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47134         "bp-asm.h".
47135         (PARMS): Do not use macros from bp-asm.h.
47136         (DEST): Likewise.
47137         (LEN): Likewise.
47138         [!BZERO_P] (CHR): Likewise.
47139         (memset): Likewise.  Do not use BP_SYM.
47140         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47141         "bp-asm.h".
47142         (PARMS): Do not use macros from bp-asm.h.
47143         (STR2): Likewise.
47144         (strcmp): Do not use BP_SYM.
47145         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47146         "bp-asm.h".
47147         (PARMS): Do not use macros from bp-asm.h.
47148         (STR): Likewise.
47149         (DELIM): Likewise.
47150         [USE_AS_STRTOK_R] (SAVE): Likewise.
47151         (FUNCTION): Likewise.  Do not use BP_SYM.
47152         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47153         aliases.
47154         (strtok_r): Likewise.
47155         (__GI___strtok_r): Likewise.
47156         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47157         (PARMS): Do not use macros from bp-asm.h.
47158         (S): Likewise.
47159         (SIZE): Likewise.
47160         (__mpn_lshift): Do not use BP_SYM.
47161         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47162         (PARMS): Do not use macros from bp-asm.h.
47163         (STR): Likewise.
47164         (CHR): Likewise.
47165         (__memchr): Do not use BP_SYM.
47166         (memchr): Do not use BP_SYM in weak_alias.
47167         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47168         (PARMS): Do not use macros from bp-asm.h.
47169         (BLK2): Likewise.
47170         (LEN): Likewise.
47171         (memcmp): Do not use BP_SYM.
47172         (bcmp): Do not use BP_SYM in weak_alias.
47173         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47174         (PARMS): Do not use macros from bp-asm.h.
47175         (S1): Likewise.
47176         (SIZE): Likewise.
47177         (__mpn_mul_1): Do not use BP_SYM.
47178         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47179         "bp-asm.h".
47180         (PARMS): Do not use macros from bp-asm.h.
47181         (STR): Likewise.
47182         (CHR): Likewise.
47183         (__rawmemchr): Do not use BP_SYM.
47184         (rawmemchr): Do not use BP_SYM in weak_alias.
47185         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47186         (PARMS): Do not use macros from bp-asm.h.
47187         (S): Likewise.
47188         (SIZE): Likewise.
47189         (__mpn_rshift): Do not use BP_SYM.
47190         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47191         (PARMS): Do not use macros from bp-asm.h.
47192         (SIGMSK): Likewise.
47193         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47194         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47195         (_start): Do not use BP_SYM.
47196         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47197         (PARMS): Do not use macros from bp-asm.h.
47198         (DEST): Likewise.
47199         (SRC): Likewise.
47200         (__stpcpy): Likewise.  Do not use BP_SYM.
47201         (stpcpy): Do not use BP_SYM in weak_alias.
47202         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47203         "bp-asm.h".
47204         (PARMS): Do not use macros from bp-asm.h.
47205         (DEST): Likewise.
47206         (SRC): Likewise.
47207         (LEN): Likewise.
47208         (__stpncpy): Likewise.  Do not use BP_SYM.
47209         (stpncpy): Do not use BP_SYM in weak_alias.
47210         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47211         (PARMS): Do not use macros from bp-asm.h.
47212         (STR): Likewise.
47213         (CHR): Likewise.
47214         (strchr): Likewise.  Do not use BP_SYM.
47215         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47216         "bp-asm.h".
47217         (PARMS): Do not use macros from bp-asm.h.
47218         (STR): Likewise.
47219         (CHR): Likewise.
47220         (__strchrnul): Likewise.  Do not use BP_SYM.
47221         (strchrnul): Do not use BP_SYM in weak_alias.
47222         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47223         "bp-asm.h".
47224         (PARMS): Do not use macros from bp-asm.h.
47225         (STOP): Likewise.
47226         (strcspn): Do not use BP_SYM.
47227         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47228         "bp-asm.h".
47229         (PARMS): Do not use macros from bp-asm.h.
47230         (STR): Likewise.
47231         (STOP): Likewise.
47232         (strpbrk): Likewise.  Do not use BP_SYM.
47233         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47234         "bp-asm.h".
47235         (PARMS): Do not use macros from bp-asm.h.
47236         (STR): Likewise.
47237         (CHR): Likewise.
47238         (strrchr): Likewise.  Do not use BP_SYM.
47239         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47240         (PARMS): Do not use macros from bp-asm.h.
47241         (SKIP): Likewise.
47242         (strspn): Do not use BP_SYM.
47243         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47244         (PARMS): Do not use macros from bp-asm.h.
47245         (STR): Likewise.
47246         (DELIM): Likewise.
47247         (SAVE): Likewise.
47248         (FUNCTION): Likewise.  Do not use BP_SYM.
47249         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47250         aliases.
47251         (strtok_r): Likewise.
47252         (__GI___strtok_r): Likewise.
47253         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47254         (PARMS): Do not use macros from bp-asm.h.
47255         (S1): Likewise.
47256         (S2): Likewise.
47257         (SIZE): Likewise.
47258         (__mpn_sub_n): Do not use BP_SYM.
47259         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47260         "bp-asm.h".
47261         (PARMS): Do not use macros from bp-asm.h.
47262         (S1): Likewise.
47263         (SIZE): Likewise.
47264         (__mpn_submul_1): Do not use BP_SYM.
47265         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47266         <bp-sym.h>.
47267         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47268         and <bp-asm.h>.
47269         (PARMS): Do not use macros from bp-asm.h.
47270         (FLAGS): Likewise.
47271         (PTID): Likewise.
47272         (TLS): Likewise.
47273         (CTID): Likewise.
47274         (__clone): Do not use BP_SYM.
47275         (clone): Do not use BP_SYM in weak_alias.
47276         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47277         and <bp-asm.h>.
47278         (PARMS): Do not use macros from bp-asm.h.
47279         (LEN): Likewise.
47280         (__mmap64): Do not use BP_SYM.
47281         (mmap64): Do not use BP_SYM in weak_alias.
47282         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47283         <bp-sym.h> and <bp-asm.h>.
47284         (PARMS): Do not use macros from bp-asm.h.
47285         (__posix_fadvise64_l64): Do not use BP_SYM.
47286         * sysdeps/unix/sysv/linux/i386/semtimedop.S
47287         (PARMS): Do not use macros from bp-asm.h.
47288         (NSOPS): Likewise.
47289         (semtimedop): Do not use BP_SYM.
47290         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47291         and <bp-asm.h>.
47293 2013-02-21  Allan McRae  <allan@archlinux.org>
47295         * manual/message.texi (Charset conversion in gettext):
47296         Move @end statement to beginning of line.
47298 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47300         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47301         static.
47302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47303         Likewise.
47305         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47306         (denorm): Likewise.
47307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47310 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47312         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47313         tail-call to the resolved function if pltexit isn't needed.
47315 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47317         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47318         or Y being zero as being unlikely.
47319         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47320         Likewise.
47322 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
47324         * manual/nss.texi (System Databases and Name Service Switch):
47325         Remove frobnicate @pxref.
47327 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47329         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47330         __attribute__ ((unused)) to __attribute__ ((__unused__)).
47332 2013-02-20  Petr Machata  <pmachata@redhat.com>
47334         * elf/elf.h (R_ARM_TARGET1): New macro.
47335         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47336         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47337         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47338         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47339         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47340         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47341         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47342         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47343         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47344         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47345         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47346         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47347         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47348         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47349         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47350         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47351         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47352         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47353         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47354         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47355         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47356         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47357         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47358         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47359         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47360         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47361         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47362         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47363         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47364         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47365         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47366         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47367         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47368         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47369         (R_ARM_THM_GOT_BREL12): Likewise.
47370         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47371         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47372         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47373         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47374         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47375         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47376         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47377         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47378         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47380 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47382         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47383         __attribute_used__ to __attribute__ ((unused)).
47385 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47387         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47388         powerpc mpa.c.
47389         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47390         comment formatting.
47391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47393 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47395         [BZ #13550]
47396         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47397         Remove macro.
47398         (ENTER): Remove both macro definitions.
47399         (LEAVE): Likewise.
47400         (CHECK_BOUNDS_LOW): Likewise.
47401         (CHECK_BOUNDS_HIGH): Likewise.
47402         (CHECK_BOUNDS_BOTH): Likewise.
47403         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47404         (RETURN_BOUNDED_POINTER): Likewise.
47405         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47406         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47407         (POP_ERRNO_LOCATION_RETURN): Likewise.
47408         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47409         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47410         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47411         macros.
47412         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47413         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47414         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47415         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47416         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47417         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47418         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47419         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47420         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47421         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47422         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47423         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47424         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47425         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47426         removed macros.
47427         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47428         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47429         macros.
47430         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47431         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47432         * sysdeps/i386/i586/memset.S (memset): Likewise.
47433         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47434         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47435         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47436         macros.
47437         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47438         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47439         Change uses of L(2) to L(out).
47440         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47441         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47442         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47443         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47444         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47445         removed macros.
47446         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47447         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47448         macros.
47449         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47450         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47451         (RETURN): Do not use macro LEAVE.
47452         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47453         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47454         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47455         * sysdeps/i386/i686/memset.S (memset): Likewise.
47456         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47457         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47458         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47459         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47460         Likewise.
47461         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47462         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47463         L(1_2) and L(1_3) into L(1).
47464         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47465         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47466         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47467         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47468         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47469         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47470         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47471         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47472         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47473         macros.
47474         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47475         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47476         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47477         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47478         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47479         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47480         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47481         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47482         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47483         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47484         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47485         * sysdeps/i386/strspn.S (strspn): Likewise.
47486         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47487         conditional code.
47488         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47489         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47490         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47491         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47492         L(1_3) into L(1_1).
47493         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47494         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47495         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47496         macros.
47497         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47499 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47501         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47502         macro.
47504 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47506         * math/atest-exp.c (exp_mpn): Remove ROUND.
47507         * math/atest-exp2.c (exp_mpn): Likewise.
47508         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47510         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47511         * stdlib/tst-tls-atexit-lib.c: Likewise.
47512         * stdlib/tst-tls-atexit.c: Likewise.
47514 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47516         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47517         and __attribute_alloc_size__.
47519 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47521         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47522         __attribute_alloc_size__.
47523         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47524         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47526 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47528         * include/programs/xmalloc.h: New file.
47529         * catgets/gencat.c: Include it.
47530         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47531         * elf/pldd.c: Likewise.
47532         * iconv/iconv_charmap.c: Likewise.
47533         * iconv/iconvconfig.c: Likewise.
47534         * iconv/strtab.c: Likewise.
47535         * locale/programs/locale.c: Likewise.
47536         * locale/programs/localedef.h: Likewise.
47537         * locale/programs/simple-hash.c: Likewise.
47538         * nscd/nscd.h: Likewise.
47539         * nss/makedb.c: Likewise.
47540         * sysdeps/generic/ldconfig.h: Likewise.
47542 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47544         * Versions.def: Add GLIBC_2.18.
47545         * include/link.h (struct link_map): New member l_tls_dtor_count.
47546         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47547         (__call_tls_dtors): Likewise.
47548         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47549         __cxa_thread_atexit_impl.
47550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47551         Likewise.
47552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47553         Likewise.
47554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47555         Likewise.
47556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47557         Likewise.
47558         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47560         Likewise.
47561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47562         Likewise.
47563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47565         Likewise.
47566         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47567         (tests): Add test case tst-tls-atexit.
47568         (modules-names): Add shared library for tst-tls-atexit.
47569         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47570         (GLIBC_PRIVATE): Add __call_tls_dtors.
47571         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47572         for libstdc++.
47573         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47574         * stdlib/tst-tls-atexit.c: New test case.
47575         * stdlib/tst-tls-atexit-lib.c: New test case.
47577         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47579         * elf/Versions (ld): Add _dl_find_dso_for_object.
47580         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47581         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47582         (dl_open_worker): Use _dl_find_dso_for_object.
47583         * elf/dl-sym.c (do_sym): Likewise.
47584         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47586 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47588         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47589         Syntactic changes only.
47590         (_dl_runtime_profile): Do a tail-call to the resolved function.
47592 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47594         [BZ #13550]
47595         * sysdeps/x86_64/bp-asm.h: Remove file.
47596         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47597         <bp-sym.h> and <bp-asm.h>.
47598         (__clone): Do not use BP_SYM.
47599         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47600         <bp-sym.h> and <bp-asm.h>.
47601         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47602         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47603         "bp-asm.h".
47604         (_setjmp): Do not use BP_SYM.
47605         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47606         "bp-asm.h".
47607         (setjmp): Do not use BP_SYM.
47608         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47609         libc_hidden_def.
47610         (mempcpy): Do not use BP_SYM in weak_alias.
47611         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47612         "bp-asm.h".
47613         (strchr): Do not use BP_SYM.
47614         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47615         "bp-asm.h".
47616         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47617         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47618         (_start): Do not use BP_SYM.
47619         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47620         "bp-asm.h".
47621         (strcat): Do not use BP_SYM.
47622         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47623         "bp-asm.h".
47624         (STRCMP): Do not use BP_SYM.
47625         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47626         "bp-asm.h".
47627         (STRCPY): Do not use BP_SYM.
47628         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47629         "bp-asm.h".
47630         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47631         "bp-asm.h".
47632         (FUNCTION): Do not use BP_SYM.
47633         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47634         weak_alias.
47635         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47637 2013-02-17  Andreas Jaeger  <aj@suse.de>
47639         * time/Versions: Sort entries.
47640         * string/Versions: Likewise.
47641         * resolv/Versions: Likewise.
47642         * posix/Versions: Likewise.
47643         * iconv/Versions: Likewise.
47644         * elf/Versions: Likewise.
47645         * wcsmbs/Versions: Likewise.
47647 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47649         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47650         loop termination condition.
47652         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47653         variable to calculate EZ.
47654         (__sqr): Likewise.
47656         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47657         the lower precision input.
47659 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47661         [BZ #13550]
47662         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47663         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47664         (run-via-rtld-prefix): Do not handle %-bp tests.
47665         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47666         (all-object-suffixes): Remove .ob.
47667         (bppfx): Remove variable.
47668         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47669         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47670         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47671         [$(build-bounded) = yes] (libtype.ob): Likewise.
47672         * Makerules (elide-routines.ob): Remove variable.
47673         (do-tests-clean): Do not handle *-bp.out.
47674         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47675         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47676         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47677         (tests): Do not include $(tests-bp.out).
47678         (xtests): Do not include $(xtests-bp.out).
47679         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47680         [$(build-bounded) = yes] ($(addprefix
47681         $(objpfx),$(binaries-bounded))): Remove rule.
47682         ($(objpfx)%-bp.out): Remove rule.
47683         * config.make.in (build-bounded): Remove variable.
47684         * crypt/Makefile [$(build-bounded) = yes]
47685         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47686         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47687         append to variable.
47688         [$(build-bounded) = yes] (install-lib): Likewise.
47689         [$(build-bounded) = yes] (generated): Likewise.
47690         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47691         Remove rule.
47692         * intl/Makefile [$(build-bounded) = yes]
47693         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47694         * math/Makefile [$(build-bounded) = yes]
47695         ($(tests:%=$(objpfx)%-bp): Likewise.
47696         * misc/Makefile [$(build-bounded) = yes]
47697         ($(objpfx)tst-tsearch-bp): Likewise.
47698         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47699         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47700         Remove dependency.
47701         * string/Makefile (o-objects.ob): Remove variable.
47702         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47703         (CFLAGS-.ob): Remove variable.
47704         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47705         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47706         both definitions of variable.
47707         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47708         (ASFLAGS-.ob): Remove variable.
47710 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47712         [BZ #13550]
47713         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47714         Remove __BOUNDED_POINTERS__ from condition.
47715         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47716         * string/bits/string2.h [!__NO_STRING_INLINES &&
47717         !__BOUNDED_POINTERS__]: Likewise.
47718         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47719         Likewise.
47720         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47721         Remove conditional code.
47722         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47723         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47724         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47725         condition.
47727         [BZ #13550]
47728         * csu/libc-start.c: Do not include <bp-sym.h>.
47729         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47730         * elf/dl-open.c: Do not include <bp-sym.h>.
47731         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47732         * math/fegetenv.c: Do not include <bp-sym.h>.
47733         (fegetenv): Do not use BP_SYM in versioned symbols.
47734         * nptl/sysdeps/pthread/bits/libc-lockP.h
47735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47736         <bp-sym.h>.
47737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47738         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47740         (__pthread_mutex_destroy): Likewise.
47741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47742         (__pthread_mutex_lock): Likewise.
47743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47744         (__pthread_mutex_trylock): Likewise.
47745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47746         (__pthread_mutex_unlock): Likewise.
47747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47748         (__pthread_mutexattr_init): Likewise.
47749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47750         (__pthread_mutexattr_destroy): Likewise.
47751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47752         (__pthread_mutexattr_settype): Likewise.
47753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47754         (__pthread_rwlock_init): Likewise.
47755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47756         (__pthread_rwlock_destroy): Likewise.
47757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47758         (__pthread_rwlock_rdlock): Likewise.
47759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47760         (__pthread_rwlock_tryrdlock): Likewise.
47761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47762         (__pthread_rwlock_wrlock): Likewise.
47763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47764         (__pthread_rwlock_trywrlock): Likewise.
47765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47766         (__pthread_rwlock_unlock): Likewise.
47767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47768         (__pthread_key_create): Likewise.
47769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47770         (__pthread_setspecific): Likewise.
47771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47772         (__pthread_getspecific): Likewise.
47773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47774         Likewise.
47775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47776         (_pthread_cleanup_push_defer): Likewise.
47777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47778         (_pthread_cleanup_pop_restore): Likewise.
47779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47780         (pthread_setcancelstate): Likewise.
47781         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47782         <bp-sym.h>.
47783         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47784         (memchr): Do not use BP_SYM in weak_alias.
47785         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47786         (fegetenv): Do not use BP_SYM in versioned symbols.
47787         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47788         (fesetenv): Do not use BP_SYM in versioned symbols.
47789         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47790         (feupdateenv): Do not use BP_SYM in versioned symbols.
47791         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47792         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47793         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47794         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47795         (open64): Do not use BP_SYM in weak_alias.
47796         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47797         (fegetenv): Do not use BP_SYM in versioned symbols.
47798         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47799         (fesetenv): Do not use BP_SYM in versioned symbols.
47800         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47801         (feupdateenv): Do not use BP_SYM in versioned symbols.
47802         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
47803         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
47804         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
47805         (feraiseexcept): Do not use BP_SYM in versioned symbols.
47806         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47807         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47808         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
47809         <bp-sym.h>.
47810         (__libc_start_main): Do not use BP_SYM.
47812 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47814         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
47815         redundant return line.
47816         (norm): Likewise.
47817         (denorm): Likewise.
47818         (dbl_mp): Likewise.
47819         (sub_magnitudes): Likewise.
47820         (__add): Likewise.
47821         (__sub): Likewise.
47822         (__mul): Likewise.
47823         (__inv): Likewise.
47824         (__dvd): Likewise.
47825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
47826         (norm): Likewise.
47827         (denorm): Likewise.
47828         (dbl_mp): Likewise.
47829         (sub_magnitudes): Likewise.
47830         (__add): Likewise.
47831         (__sub): Likewise.
47832         (__mul): Likewise.
47833         (__inv): Likewise.
47834         (__dvd): Likewise.
47836         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
47837         instead of __mul.
47838         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47839         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
47840         (cc32): Likewise.
47842         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
47843         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
47844         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
47845         of __mul for squares.
47846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
47847         function
47848         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
47849         Likewise.
47850         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
47851         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47853 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
47855         [BZ #13550]
47856         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
47857         code.
47858         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
47859         prototype or function definition.  Rename ubp_* variables and
47860         parameters.  Remove argv definitions conditional on
47861         [__BOUNDED_POINTERS__].
47862         * debug/backtrace.c (__backtrace): Do not use __unbounded.
47863         * elf/dl-runtime.c (_dl_fixup): Likewise.
47864         * include/set-hooks.h (RUN_HOOK): Likewise.
47865         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
47866         definition.
47867         * string/strcpy.c (strcpy): Do not use __unbounded.
47868         * sysdeps/generic/frame.h (struct layout): Likewise.
47869         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
47870         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
47871         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
47872         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
47873         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
47874         (__backtrace): Likewise.
47875         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
47876         use __ptrvalue.
47877         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
47878         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47879         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
47880         Likewise.
47881         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
47882         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
47883         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47884         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47885         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
47886         Do not use __unbounded.
47887         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
47888         Rename __unboundedrlimits parameter to rlimits in prototype.
47889         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
47890         Do not use __unbounded.
47891         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
47892         not use __ptrvalue.
47893         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47894         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
47895         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47896         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
47897         __ptrvalue or __unbounded.
47898         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
47899         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
47900         use __unbounded.
47901         (__new_msgctl): Do not use __ptrvalue.
47902         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
47903         __unbounded.
47904         (__libc_msgrcv): Do not use __ptrvalue.
47905         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
47906         startup_info): Do not use __unbounded.
47907         (__libc_start_main): Likewise.  Rename ubp_* variables and
47908         parameters.  Remove argv definitions conditional on
47909         [__BOUNDED_POINTERS__].
47910         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
47911         __ptrvalue.
47912         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
47913         use __unbounded.
47914         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
47915         or __ptrvalue.
47916         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
47917         use __unbounded.
47918         (__new_shmctl): Do not use __ptrvalue.
47919         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47920         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
47921         Likewise.
47922         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
47923         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
47924         (__libc_sigaction): Likewise.
47925         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
47926         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
47927         Likewise.
47928         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47930 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
47932         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
47934         * string/mempcpy.c: Implement by calling memcpy.
47936 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47938         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
47940         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
47941         evaluation.
47943         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
47944         values in the mantissa.
47946         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
47947         minimize writes to Z.
47948         (sub_magnitudes): Simplify code a bit.
47950 2013-02-12  Roland McGrath  <roland@hack.frob.com>
47952         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
47953         from the message.  The linker prefixes all warnings with that already.
47955 2013-02-12  Andreas Schwab  <schwab@suse.de>
47957         [BZ #15078]
47958         * posix/regexec.c (extend_buffers): Add parameter min_len.
47959         (check_matching): Pass minimum needed length.
47960         (clean_state_log_if_needed): Likewise.
47961         (get_subexp): Likewise.
47962         * posix/Makefile (tests): Add bug-regex34.
47963         (bug-regex34-ENV): Define.
47964         * posix/bug-regex34.c: New file.
47966         [BZ #11561]
47967         * posix/regcomp.c (parse_bracket_exp): When looking up collating
47968         elements compare against the byte sequence of it, not its name.
47969         * posix/Makefile (tests): Add bug-regex35.
47970         (bug-regex35-ENV): Define.
47971         * posix/bug-regex35.c: New file.
47973 2013-02-11  Tom de Vries  <tom@codesourcery.com>
47975         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
47976         comment.
47977         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
47978         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
47979         (CHECK_EOL): Add undef.
47981 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
47983         * bits/stdlib-bsearch.h: New file.
47984         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
47985         * stdlib/stdlib.h: Likewise.
47987 2013-02-11  Roland McGrath  <roland@hack.frob.com>
47989         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
47990         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
47991         declaration.
47992         * manual/search.texi (Array Search Function): Add missing const in
47993         lfind prototype.
47994         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
47995         declaration to use rlim_t.
47996         (Basic Scheduling Functions): Remove erroneous const from
47997         sched_getparam prototype.  Remove erroneous * from
47998         sched_get_priority_max and sched_get_priority_min prototypes.
47999         (Resource Usage): Fix summary @comment on vtimes to refer to
48000         sys/vtimes.h rather than vtimes.h.
48001         Add missing *s in vtimes prototype.
48002         (Limits on Resources): Fix ulimit prototype to return long int.
48003         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48004         prototypes to use long int rather than double.
48005         (BSD Random): Fix initstate and setstate to use char *, not void *.
48006         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48007         prototype to make second argument 'struct aiocb64 *const[]'.
48008         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48009         (Status of AIO Operations): Remove erroneous const in aio_return and
48010         aio_return64 prototypes.
48011         (Synchronizing I/O): Fix sync prototype to return void.
48012         * manual/startup.texi (Suboptions): Remove an erroneous const in
48013         getsubopt prototype.
48014         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48015         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48016         use size_t rather than int.
48017         (Scanning All Users): Likewise for getpwent_r.
48018         (Setting Groups): Add missing const to setgroups prototype.
48019         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48020         * manual/socket.texi (Host Names): Fix gethostbyaddr and
48021         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48022         'const void *' rather than 'const char *'.
48023         (Host Address Functions): Likewise for inet_ntop.
48024         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48025         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48026         ssize_t for return value.
48027         (Sending Data): Likewise for send, sendto, sendmsg.
48028         (Socket Option Functions): Add a missing const in setsockopt prototype.
48029         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48030         use wchar_t for the argument.
48031         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48032         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48033         take no arguments.
48034         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48035         double/float/long double for second argument.
48036         Fix return types of significand, significandf, significandl.
48037         * manual/filesys.texi (Setting Permissions): Use mode_t for second
48038         argument in fchmod prototype.
48039         (File Owner): Use uid_t and gid_t in fchown prototype.
48040         (File Times): Add const to utimes, futimes, and lutimes prototypes.
48041         (Making Special Files): Use mode_t and dev_t in mknod prototype.
48042         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48043         use 'const struct dirent **' as argument types to CMP function pointer
48044         argument.
48045         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48046         (File Times): Fix summary magic @comment for struct utimbuf and utime
48047         to refer to utime.h, not time.h.
48048         * manual/string.texi (Argz Functions): Add missing const in
48049         argz_extract and argz_next prototypes.
48050         (Finding Tokens in a String): Likewise for basename.
48051         (String/Array Comparison): Fix typo in wcscasecmp prototype.
48052         (Copying and Concatenation): Fix typo in wmemmove prototype.
48053         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48054         (Signal Stack): Remove erroneous const in sigstack prototype.
48055         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48056         prototype.
48057         (Simple Calendar Time): Likewise for stime.
48058         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48059         prototype.
48060         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48061         say sys/sysctl.h instead.
48062         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48063         and vsyslog prototypes.
48065 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48067         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48068         Remove.
48070 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48072         * misc/sys/mman.h: Fix typo in mremap comment.
48074 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48076         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48077         the '\0' terminator.
48079 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48081         [BZ #13550]
48082         * debug/segfault.c: Don't include <bp-checks.h>.
48083         * sysdeps/generic/bp-checks.h: Remove file.
48084         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48085         (__GETDENTS): Don't use CHECK_N.
48086         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48087         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48088         (__getgroups): Don't use CHECK_N.
48089         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48090         (setgroups): Don't use CHECK_N.
48091         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48092         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48093         (__libc_msgrcv): Don't use CHECK_N.
48094         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48095         (__libc_msgsnd): Don't use CHECK_N.
48096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48097         <bp-checks.h>.
48098         (__libc_pread): Don't use CHECK_N.
48099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48100         include <bp-checks.h>.
48101         (__libc_pread64): Don't use CHECK_N.
48102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48103         include <bp-checks.h>.
48104         (__libc_pwrite): Don't use CHECK_N.
48105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48106         include <bp-checks.h>.
48107         (__libc_pwrite64): Don't use CHECK_N.
48108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48109         <bp-checks.h>.
48110         (__libc_pread): Don't use CHECK_N.
48111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48112         include <bp-checks.h>.
48113         (__libc_pread64): Don't use CHECK_N.
48114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48115         include <bp-checks.h>.
48116         (__libc_pwrite): Don't use CHECK_N.
48117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48118         include <bp-checks.h>.
48119         (__libc_pwrite64): Don't use CHECK_N.
48120         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48121         (do_pread): Don't use CHECK_N.
48122         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48123         (do_pread64): Don't use CHECK_N.
48124         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48125         (do_pwrite): Don't use CHECK_N.
48126         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48127         (do_pwrite64): Don't use CHECK_N.
48128         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48129         (__libc_readv): Don't use CHECK_N.
48130         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48131         (semop): Don't use CHECK_N.
48132         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48133         <bp-checks.h>.
48134         (semtimedop): Don't use CHECK_N.
48135         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48136         (__libc_pread): Don't use CHECK_N.
48137         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48138         <bp-checks.h>.
48139         (__libc_pread64): Don't use CHECK_N.
48140         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48141         <bp-checks.h>.
48142         (__libc_pwrite): Don't use CHECK_N.
48143         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48144         <bp-checks.h>.
48145         (__libc_pwrite64): Don't use CHECK_N.
48146         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48147         <bp-checks.h>.
48148         (__libc_msgrcv): Don't use CHECK_N.
48149         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48150         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48151         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48152         (__libc_writev): Don't use CHECK_N.
48154 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48156         * string/strcpy.c: Removed unused variable.
48158         * Makeconfig (+sysdep-includes): Define with := rather than =.
48159         Use an existing include/ subdir of each sysdeps dir before it.
48161 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48163         * nscd/connection.c (register_traced_file): Comment function.
48164         [HAVE_INOTIFY] (union __inev): Define.
48165         [HAVE_INOTIFY] (inotify_check_files): New function.
48166         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48167         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48168         clear_db_cache.
48169         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48171 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48173         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48174         loaded if not already and that a failure is permanent.
48176 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48178         [BZ #15006]
48179         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48180         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48182 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48184         [BZ #13550]
48185         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48186         (CHECK_1_NULL_OK): Likewise.
48187         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48188         (__fxstat): Do not use CHECK_1.
48189         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48190         <bp-checks.h>.
48191         (___fxstat64): Do not use CHECK_1.
48192         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48193         <bp-checks.h>.
48194         (__fxstatat): Do not use CHECK_1.
48195         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48196         <bp-checks.h>.
48197         (__fxstatat64): Do not use CHECK_1.
48198         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48199         <bp-checks.h>.
48200         (__fxstat): Do not use CHECK_1.
48201         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48202         <bp-checks.h>.
48203         (__fxstatat): Do not use CHECK_1.
48204         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48205         <bp-checks.h>.
48206         (__getresgid): Do not use CHECK_1.
48207         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48208         <bp-checks.h>.
48209         (__getresuid): Do not use CHECK_1.
48210         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48211         <bp-checks.h>.
48212         (__lxstat): Do not use CHECK_1.
48213         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48214         <bp-checks.h>.
48215         (__old_msgctl): Do not use CHECK_1.
48216         (__new_msgctl): Likewise.
48217         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48218         <bp-checks.h>.
48219         (__new_setrlimit): Do not use CHECK_1.
48220         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48221         <bp-checks.h>.
48222         (__old_shmctl): Do not use CHECK_1.
48223         (__new_shmctl): Likewise.
48224         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48225         <bp-checks.h>.
48226         (__xstat): Do not use CHECK_1.
48227         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48228         (__lxstat): Do not use CHECK_1.
48229         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48230         <bp-checks.h>.
48231         (___lxstat64): Do not use CHECK_1.
48232         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48233         (__old_msgctl): Do not use CHECK_1.
48234         (__new_msgctl): Likewise.
48235         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48236         <bp-checks.h>.
48237         (__gettimeofday): Do not use CHECK_1.
48238         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48239         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48240         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48241         <bp-checks.h>.
48242         (__gettimeofday): Do not use CHECK_1.
48243         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48244         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48245         (__new_shmctl): Do not use CHECK_1.
48246         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48247         <bp-checks.h>.
48248         (do_sigtimedwait): Do not use CHECK_1.
48249         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48250         <bp-checks.h>.
48251         (do_sigwaitinfo): Do not use CHECK_1.
48252         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48253         <bp-checks.h>.
48254         (msgctl): Do not use CHECK_1.
48255         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48256         <bp-checks.h>.
48257         (shmctl): Do not use CHECK_1.
48258         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48259         (ustat): Do not use CHECK_1.
48260         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48261         <bp-checks.h>.
48262         (__fxstat): Do not use CHECK_1.
48263         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48264         <bp-checks.h>.
48265         (__fxstatat): Do not use CHECK_1.
48266         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48267         <bp-checks.h>.
48268         (__lxstat): Do not use CHECK_1.
48269         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48270         <bp-checks.h>.
48271         (__xstat): Do not use CHECK_1.
48272         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48273         (__xstat): Do not use CHECK_1.
48274         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48275         (___xstat64): Do not use CHECK_1.
48277         [BZ #13550]
48278         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48279         definitions.
48280         (CHECK_BOUNDS_HIGH): Likewise.
48281         * string/strcpy.c: Do not include <bp-checks.h>.
48282         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48284 2013-02-07  Roland McGrath  <roland@hack.frob.com>
48286         * nscd/nscd-client.h (__nscd_drop_map_ref):
48287         Add __attribute__ ((unused)).
48288         * nis/nss-nisplus.h (niserr2nss): Likewise.
48290         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48291         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48293         * csu/libc-tls.c (init_static_tls, init_slotinfo):
48294         Remove inline keyword.
48295         * include/rounding-mode.h (round_away): Likewise.
48296         * libio/wfileops.c (adjust_wide_data): Likewise.
48297         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48298         (__m128i_strloadu_tolower): Likewise.
48299         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48300         (__m128i_strloadu_tolower): Likewise.
48301         * time/mktime.c (ydhms_diff): Likewise.
48302         * locale/elem-hash.h (elem_hash): Likewise.
48303         * locale/setlocale.c (setdata): Likewise.
48304         * posix/regex_internal.h (re_string_char_size_at): Likewise.
48305         (re_string_wchar_at): Likewise.
48306         (bitset_not, bitset_merge, bitset_mask): Likewise.
48307         [!(__GNUC__ > 3)] (inline): Remove macro.
48308         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48309         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48310         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48311         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48312         * string/memcmp.c (memcmp_bytes): Likewise.
48313         * locale/programs/locarchive.c (compute_hashval): Likewise.
48314         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48315         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48316         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48317         * nss/getent.c (print_rpc, print_protocols): Likewise.
48318         (print_passwd, print_group, print_aliases): Likewise.
48319         * nis/nss-nisplus.h (niserr2nss): Likewise.
48320         * nscd/connections.c (restart_p): Likewise.
48321         Change return type to bool.
48323 2013-02-05  Roland McGrath  <roland@hack.frob.com>
48325         * Makeconfig (all-Depend-files): Add existing
48326         $(sorted-subdirs:=/Depend) files.
48327         (all-subdirs): Remove nss.
48328         * sysdeps/unix/inet/Subdirs: Add it here instead.
48329         * hesiod/Depend: New file.
48331         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48332         instead of calling alloca.
48334         * io/lseek.c (__lseek): Rename to __libc_lseek.
48335         Define __lseek as an alias.
48337         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48339 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48341         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48342         else clause and remove check for non-standard endianness.
48344 2013-02-04  David S. Miller  <davem@davemloft.net>
48346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48348 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48350         [BZ #13550]
48351         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48352         (__ubp_memchr): Remove prototype.
48353         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48354         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48355         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48356         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48357         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48358         Remove alias.
48359         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48360         (__ubp_memchr): Likewise.
48361         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48362         (__ubp_memchr): Likewise.
48363         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48364         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48365         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48366         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48367         CHECK_STRING.
48368         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48369         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48370         (__getcwd): Do not use CHECK_STRING.
48371         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48372         <bp-checks.h>.
48373         (__real_chown): Do not use CHECK_STRING.
48374         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48375         <bp-checks.h>.
48376         (fchownat): Do not use CHECK_STRING.
48377         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48378         CHECK_STRING.
48379         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48380         <bp-checks.h>.
48381         (__lchown): Do not use CHECK_STRING.
48382         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48383         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48384         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48385         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48387         include <bp-checks.h>.
48388         (truncate64): Do not use CHECK_STRING.
48389         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48390         <bp-checks.h>.
48391         (__real_chown): Do not use CHECK_STRING.
48392         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48393         <bp-checks.h>.
48394         (__lchown): Do not use CHECK_STRING.
48395         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48396         <bp-checks.h>.
48397         (__chown): Do not use CHECK_STRING.
48398         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48399         <bp-checks.h>.
48400         (truncate64): Do not use CHECK_STRING.
48401         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48402         Likewise.
48403         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48404         (__xmknod): Do not use CHECK_STRING.
48405         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48406         <bp-checks.h>.
48407         (__xmknodat): Do not use CHECK_STRING.
48408         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48409         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48411 2013-02-04  Andreas Schwab  <schwab@suse.de>
48413         [BZ #14142]
48414         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48415         * include/netdb.h: Likewise for h_errno.
48416         * elf/tst-stackguard1.c: Include <tls.h>.
48418 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48420         * elf/link.h (struct link_map): Extend the l_addr comment.
48421         * include/link.h (struct link_map): Likewise.
48423 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48425         [BZ #13550]
48426         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48427         (BOUNDED_1): Remove macro.
48428         * debug/backtrace.c: Don't include <bp-checks.h>.
48429         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48430         (__backtrace): Likewise.
48431         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48432         <bp-checks.h>.
48433         (__backtrace): Don't use BOUNDED_1.
48434         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48435         <bp-checks.h>.
48436         (__backtrace): Don't use BOUNDED_1.
48437         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48438         (__backtrace): Don't use BOUNDED_1.
48439         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48440         (shmat): Don't use BOUNDED_N.
48442 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48444         [BZ #13550]
48445         * sysdeps/generic/bp-start.h: Remove file.
48446         * csu/libc-start.c: Don't include <bp-start.h>.
48447         (LIBC_START_MAIN): Set up __environ directly instead of using
48448         INIT_ARGV_and_ENVIRON.
48449         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48450         <bp-start.h>.
48452         [BZ #13550]
48453         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48454         definitions.
48455         (CHECK_FCNTL): Likewise.
48456         (CHECK_N_PAGES): Likewise.
48458         [BZ #13550]
48459         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48460         definitions.
48461         (CHECK_SIGSET_NULL_OK): Likewise.
48462         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48463         <bp-checks.h>.
48464         (sigpending): Don't use CHECK_SIGSET.
48465         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48466         <bp-checks.h>.
48467         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48468         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48469         <bp-checks.h>.
48470         (do_sigsuspend): Don't use CHECK_SIGSET.
48471         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48472         use CHECK_SIGSET.
48473         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48474         (do_sigwait): Don't use CHECK_SIGSET.
48475         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48476         use CHECK_SIGSET.
48477         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48478         include <bp-checks.h>.
48479         (sigpending): Don't use CHECK_SIGSET.
48480         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48481         include <bp-checks.h>.
48482         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48483         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48484         <bp-checks.h>.
48485         (sigpending): Don't use CHECK_SIGSET.
48486         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48487         <bp-checks.h>.
48488         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48490         [BZ #13550]
48491         * sysdeps/generic/bp-semctl.h: Remove file.
48492         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48493         <bp-checks.h> and <bp-semctl.h>.
48494         (__old_semctl): Don't use CHECK_SEMCTL.
48495         (__new_semctl): Likewise.
48496         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48497         and <bp-semctl.h>.
48498         (__old_semctl): Don't use CHECK_SEMCTL.
48499         (__new_semctl): Likewise.
48500         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48501         <bp-checks.h> and <bp-semctl.h>.
48502         (__old_semctl): Don't use CHECK_SEMCTL.
48503         (__new_semctl): Likewise.
48504         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48505         <bp-checks.h> and <bp-semctl.h>.
48506         (semctl): Don't use CHECK_SEMCTL.
48508         [BZ #13550]
48509         * Makerules (elide-bp-thunks): Remove variable.
48510         (elide-routines.oS): Don't use $(elide-bp-thunks).
48511         (elide-routines.os): Likewise.
48512         (elide-routines.o): Likewise.
48513         (elide-routines.op): Likewise.
48514         (elide-routines.og): Likewise.
48515         (objects): Don't use $(bp-thunks).
48516         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48517         include.
48518         (common-generated): Do not add s-proto-bp.d.
48519         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48520         (int): Likewise.
48521         (typ): Likewise.
48522         Do not generate makefile rules for bounded-pointer thunks.
48523         * sysdeps/generic/bp-thunks.h: Remove file.
48524         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48525         * sysdeps/unix/s-proto-bp.S: Likewise.
48527         [BZ #15062]
48528         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48529         parts of result separately when argument is not close to line from
48530         -i to i and one part of argument is small.
48531         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48532         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48533         * math/libm-test.inc (cacos_test): Add more tests.
48534         (casin_test): Likewise.
48535         (casinh_test): Likewise.
48536         * sysdeps/i386/fpu/libm-test-ulps: Update.
48537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48539 2013-01-31  David S. Miller  <davem@davemloft.net>
48541         * po/de.po: Update from translation team.
48543 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48545         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48547 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48549         * configure.in (_AC_PROG_CC_C89): New definition.
48550         * configure: Regenerate.
48552         * configure.in (AC_PROG_CPP): New definition.
48553         * configure: Regenerate.
48555 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48557         * debug/tst-backtrace.h: New file.
48558         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48559         (ret): Remove variable.
48560         (x): Likewise.
48561         (FAIL): Remove macro.
48562         (NO_INLINE): Likewise.
48563         (fn1): Use match function instead of strstr.
48564         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48565         (ret): Remove variable.
48566         (x): Likewise.
48567         (FAIL): Remove macro.
48568         (NO_INLINE): Likewise.
48569         (fn): Use match function instead of strstr.
48570         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48571         (ret): Remove variable.
48572         (x): Likewise.
48573         (FAIL): Remove macro.
48574         (NO_INLINE): Likewise.
48575         (handle_signal): Use match function instead of strstr.
48576         * debug/tst-backtrace5.c: Include tst-backtrace.h.
48577         (ret): Remove variable.
48578         (x): Likewise.
48579         (FAIL): Remove macro.
48580         (NO_INLINE): Likewise.
48581         (handle_signal): Use match function instead of strstr.
48583 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48585         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48587 2013-01-23  David S. Miller  <davem@davemloft.net>
48589         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48590         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48591         argument of CAS if possible.
48592         * sysdeps/sparc/sparc64/bits/atomic.h
48593         (__arch_compare_and_exchange_val_32_acq): Likewise.
48594         (__arch_compare_and_exchange_val_64_acq): Likewise.
48596 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48598         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48599         * sysdeps/posix/ulimit.c: ... this.
48600         Include <limits.h>.
48601         * sysdeps/unix/bsd/ulimit.c: Remove file.
48603 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48605         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48606         (LDFLAGS-tst-array5): Likewise.
48608 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48610         [BZ #15036]
48611         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48612         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48613         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48614         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48616 2013-01-21  David S. Miller  <davem@davemloft.net>
48618         * sysdeps/sparc/backtrace.c: New file.
48619         * sysdeps/sparc/sparc32/backtrace.h: New file.
48620         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48621         * sysdeps/sparc/sparc64/backtrace.h: New file.
48622         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48623         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48624         -funwind-tables.
48626 2013-01-21  Andreas Schwab  <schwab@suse.de>
48628         [BZ #15020]
48629         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48630         closed its stdout.
48632 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48635         "mpa2.h".
48636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48638 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48639             Mark Mitchell  <mark@codesourcery.com>
48640             Tom de Vries  <tom@codesourcery.com>
48641             Paul Pluzhnikov  <ppluzhnikov@google.com>
48643         * debug/tst-backtrace2.c: New file.
48644         * debug/tst-backtrace3.c: Likewise.
48645         * debug/tst-backtrace4.c: Likewise.
48646         * debug/tst-backtrace5.c: Likewise.
48647         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48648         (CFLAGS-tst-backtrace3.c): Likewise.
48649         (CFLAGS-tst-backtrace4.c): Likewise.
48650         (CFLAGS-tst-backtrace5.c): Likewise.
48651         (LDFLAGS-tst-backtrace2): Likewise.
48652         (LDFLAGS-tst-backtrace3): Likewise.
48653         (LDFLAGS-tst-backtrace4): Likewise.
48654         (LDFLAGS-tst-backtrace5): Likewise.
48655         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48656         tst-backtrace4 and tst-backtrace5.
48658 2013-01-18  Anton Blanchard  <anton@samba.org>
48659             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48661         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48662         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48663         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48664         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48666         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48667         "+r" and remove output regs list as redundant.  Add explicit inline
48668         asm to specify register of return val to work around compiler codegen
48669         bug.  Remove (int) cast on return value.  Add return type parameter to
48670         use in macro so that this macro does not truncate return value for
48671         64-bit values.
48672         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48673         pass to INTERNAL_VSYSCALL_NCS.
48674         (INLINE_VSYSCALL): Add 'long int' as return type to
48675         INTERNAL_VSYSCALL_NCS macro invocation.
48676         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48677         INTERNAL_VSYSCALL_NCS macro invocation.
48678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48680 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48682         [BZ #14496]
48683         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48684         Fix application of SIMD FP exception mask.
48686         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48687         mp_no from a power of two.
48688         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48689         __mpexp_twomm1.  Use __pow_mp.
48691         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48692         multiplication.
48694 2013-01-17  David S. Miller  <davem@davemloft.net>
48696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48698 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48700         [BZ #15023]
48701         * include/complex.h: Condition contents on [!_COMPLEX_H].
48702         (__kernel_casinhf): New prototype.
48703         (__kernel_casinh): Likewise.
48704         (__kernel_casinhl): Likewise.
48705         * math/Makefile (libm_calls): Add k_casinh.
48706         * math/k_casinh.c: New file.
48707         * math/k_casinhf.c: Likewise.
48708         * math/k_casinhl.c: Likewise.
48709         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48710         finite nonzero arguments.
48711         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48712         finite nonzero arguments.
48713         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48714         finite nonzero arguments.
48715         * math/s_casinh.c: Do not include <float.h>.
48716         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48717         * math/s_casinhf.c: Do not include <float.h>.
48718         (__casinhf): Move code for finite nonzero arguments to
48719         k_casinhf.c.
48720         * math/s_casinhl.c: Do not include <float.h>.
48721         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48722         redefine.
48723         (__casinhl): Move code for finite nonzero arguments to
48724         k_casinhl.c.
48725         * math/libm-test.inc (cacos_test): Add more tests.
48726         * sysdeps/i386/fpu/libm-test-ulps: Update.
48727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48729 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
48731         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48732         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48733         [!HAVE_MREMAP]: Remove [defined linux] case.
48734         * malloc/arena.c: Do not include <malloc-sysdep.h>.
48736 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48738         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48740 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
48742         * elf/elf.h (R_386_SIZE32): New relocation.
48743         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48744         R_386_SIZE32.
48745         (elf_machine_rela): Likewise.
48746         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48747         R_X86_64_SIZE64 and R_X86_64_SIZE32.
48749 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48751         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48752         (FP_FAST_FMA): Do not define.
48753         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48754         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48755         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48756         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48757         !_SOFT_FLOAT]: Likewise.
48758         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48759         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48760         value.
48761         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48762         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48763         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48764         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48765         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48766         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48767         file.
48769 2013-01-16  Andreas Schwab  <schwab@suse.de>
48771         [BZ #14327]
48772         * include/stdlib.h (__mktemp): Add declaration.
48773         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48774         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48776 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48778         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48779         definitions.
48780         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48781         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48782         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48783         definitions here.
48784         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48785         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48786         definitions.
48787         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48788         and ONE.
48789         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48790         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48791         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48792         definitions.
48793         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48794         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48795         definitions.
48796         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48798         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
48800 2013-01-15  David S. Miller  <davem@davemloft.net>
48802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48803         trunc{,f} to libm-sysdep_routes.
48804         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
48806         file.
48807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
48808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
48809         file.
48810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
48811         file.
48812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
48813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
48814         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
48815         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
48816         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
48817         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
48818         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
48819         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
48821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48822         nearbyint{,f} to libm-sysdep_routes.
48823         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
48825         New file.
48826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
48827         file.
48828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
48829         New file.
48830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
48831         file.
48832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
48833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
48834         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
48835         file.
48836         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
48837         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
48838         file.
48839         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
48840         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
48841         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
48843         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48844         libc_feholdexcept and libc_fesetenv.
48846 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
48848         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
48850 2013-01-14  David S. Miller  <davem@davemloft.net>
48852         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
48853         (SPARC_ASM_VIS2_IFUNC): Likewise.
48854         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
48855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
48856         use of 'siam' instruction.
48857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
48858         Likewise.
48859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
48860         Likewise.
48861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
48862         Likewise.
48863         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
48864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
48865         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
48866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
48867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
48868         file.
48869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
48870         file.
48871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
48872         file.
48873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
48874         file.
48875         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
48876         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
48877         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
48878         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
48879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
48880         new VIS2 routines.
48881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48884         Likewise.
48885         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48887         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48888         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
48890         routines to libm-sysdep_routines.
48891         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
48893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
48894         fdim/fdimf to libm-sysdep_routines.
48895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
48896         file.
48897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
48898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
48899         file.
48900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
48901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
48902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
48903         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
48904         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
48905         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
48906         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
48908 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48910         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
48911         to optimize copies.
48913         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
48914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
48918         local variable MPTWO.
48919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48920         Likewise.
48922 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48924         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
48925         GLOB_NOESCAPE.
48927 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48929         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
48931 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
48933         * manual/pattern.texi (glob_t): Document gl_flags.
48934         (glob64_t): Likewise.
48936 2013-01-11  David S. Miller  <davem@davemloft.net>
48938         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
48939         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
48940         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
48941         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
48942         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
48943         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
48944         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
48945         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
48946         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
48947         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
48948         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
48949         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
48950         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
48952         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48953         sparc V9 rather than using V8 code.
48954         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48955         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48957         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48958         Move to...
48959         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
48960         Here.
48962 2013-01-11  Roland McGrath  <roland@hack.frob.com>
48964         [BZ #14941]
48965         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
48966         not in the main loop.
48967         * configure: Regenerated.
48969 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
48971         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
48972         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
48973         to just #else.
48974         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
48975         [!__GLIBC_HAVE_LONG_LONG] case.
48976         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
48977         condition to just #else.
48978         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
48979         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
48980         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
48981         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
48982         unconditional.
48983         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
48984         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48985         #elif condition to just #else.
48986         * sysdeps/unix/sysv/linux/sys/sysmacros.h
48987         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
48988         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
48989         #elif condition to just #else.
48991 2013-01-11  Steve Ellcey  <sellcey@mips.com>
48993         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
48994         (EF_MIPS_ARCH_64): Fix value.
48995         (EF_MIPS_ARCH_32R2): New.
48996         (EF_MIPS_ARCH_64R2): New.
48998 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49000         * Makeconfig (+link-pie-before-libc): New.
49001         (+link-pie-after-libc): Likewise.
49002         (+link-pie-tests): Likewise.
49003         (+link-pie): Rewritten.
49004         (link-before-libc): Remove $(config-LDFLAGS).
49005         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49006         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49007         (config-LDFLAGS): Renamed to ...
49008         (rtld-LDFLAGS): This.
49009         (rtld-tests-LDFLAGS): New macro.
49010         (link-libc-rpath-link): Likewise.
49011         (link-libc-tests-rpath-link): Likewise.
49012         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49013         (link-libc): Prepand $(link-libc-rpath-link).
49014         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49015         (test-program-prefix): New macro.
49016         (test-via-rtld-prefix): Likewise.
49017         (test-program-cmd): Likewise.
49018         (host-test-program-cmd): Likewise.
49019         * Makefile ($(common-objpfx)testrun.sh): Replace
49020         $(run-program-prefix) with $(test-program-prefix).
49021         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49022         $(rtld-LDFLAGS).
49023         ($(common-objpfx)shlib.lds): Likewise.
49024         (build-module-helper): Likewise.
49025         ($(common-objpfx)format.lds): Likewise.
49026         * Rules (binaries-pie-tests): New.
49027         (binaries-pie-notests): Likewise.
49028         (binaries-pie): Rewritten.
49029         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49030         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49031         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49032         (make-test-out): Replace $(host-built-program-cmd) with
49033         $(host-test-program-cmd).
49034         * config.make.in (build-hardcoded-path-in-tests): New variable.
49035         * configure.in (--enable-hardcoded-path-in-tests): New configure
49036         option.
49037         (hardcoded_path_in_tests): New AC_SUBST.
49038         * configure: Regenerated.
49039         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49040         $(built-program-cmd) with $(test-program-cmd).
49041         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49042         (test_program_cmd): This.
49043         * elf/Makefile ($(objpfx)order.out): Run test with
49044         $(test-program-prefix).
49045         ($(objpfx)order2.out): Likewise.
49046         ($(objpfx)tst-initorder.out): Likewise.
49047         ($(objpfx)tst-initorder2.out): Likewise.
49048         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49049         $(test-program-cmd).
49050         ($(objpfx)tst-array1-static.out): Likewise.
49051         ($(objpfx)tst-array2.out): Likewise.
49052         ($(objpfx)tst-array3.out): Likewise.
49053         ($(objpfx)tst-array4.out): Likewise.
49054         ($(objpfx)tst-array5.out): Likewise.
49055         ($(objpfx)tst-array5-static.out): Likewise.
49056         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49057         $(test-program-cmd).
49058         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49059         $(run-program-prefix) with $(test-program-prefix).
49060         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49061         (test_program_prefix): This.
49062         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49063         $(run-program-prefix) with $(test-program-prefix).
49064         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49065         (test_program_prefix): This.
49066         * iconvdata/tst-tables.sh: Likewise.
49067         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49068         $(run-program-prefix) with $(test-program-prefix).
49069         ($(objpfx)tst-translit.out): Likewise.
49070         ($(objpfx)tst-gettext2.out): Likewise.
49071         ($(objpfx)tst-gettext4.out): Likewise.
49072         ($(objpfx)tst-gettext6.out): Likewise.
49073         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49074         (test_program_prefix): This.
49075         * intl/tst-gettext2.sh: Likewise.
49076         * intl/tst-gettext4.sh  Likewise.
49077         * intl/tst-gettext6.sh: Likewise.
49078         * intl/tst-translit.sh: Likewise.
49079         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49080         with $(test-program-cmd).
49081         * libio/Makefile ($(objpfx)test-freopen.out): Replace
49082         $(run-program-prefix) with $(test-program-prefix).
49083         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49084         (test_program_prefix): This.
49085         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49086         $(run-program-prefix) with $(test-program-prefix).
49087         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49088         (test_program_prefix): This.
49089         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49090         * posix/Makefile ($(objpfx)globtest.out): Replace
49091         $(run-via-rtld-prefix) and $(test-wrapper) with
49092         $(test-program-prefix) and $(test-via-rtld-prefix).
49093         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49094         $(test-program-prefix).
49095         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49096         $(host-test-program-cmd).
49097         (tst-spawn-ARGS): Likewise.
49098         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49099         $(test-program-prefix).
49100         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49101         (test_via_rtld_prefix): This.
49102         (test_wrapper): Renamed to ...
49103         (test_program_prefix): This.
49104         (run_program_prefix): Replaced by test_program_prefix.
49105         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49106         (test_program_prefix): This.
49107         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49108         with $(host-test-program-cmd).
49109         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49110         $(run-program-prefix) with $(test-program-prefix).
49111         ($(objpfx)tst-printf.out): Likewise.
49112         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49113         $(test-program-cmd).
49114         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49115         (test_program_prefix): This.
49116         * stdio-common/tst-unbputc.sh: Likewise.
49117         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49118         $(run-program-prefix) with $(test-program-prefix).
49119         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49120         (test_program_prefix): This.
49121         * string/Makefile ($(objpfx)tst-svc.out):  Replace
49122         $(built-program-cmd) with $(test-program-cmd).
49124 2013-01-11  Andreas Jaeger  <aj@suse.de>
49126         [BZ #15003]
49127         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49128         value. Sync with Linux 3.7.
49130 2013-01-10  David S. Miller  <davem@davemloft.net>
49132         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49133         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49134         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49136 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49138         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49139         never set.
49140         * configure: Regenerated.
49142 2013-01-10  David S. Miller  <davem@davemloft.net>
49144         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49145         sparc V9 rather than using V8 code.
49146         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49147         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49149 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49151         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49152         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49153         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49154         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49155         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49156         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49157         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49158         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49159         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49160         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49161         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49162         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49163         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49164         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49165         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49166         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49167         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49168         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49169         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49170         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49171         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49172         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49173         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49174         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49175         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49176         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49177         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49179 2013-01-10  David S. Miller  <davem@davemloft.net>
49181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49183 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49185         * posix/Makefile (tests-static): New variable.
49186         (tests): Add $(tests-static).
49187         (tst-exec-static-ARGS): New variable.
49188         (tst-spawn-static-ARGS): Likewise.
49189         * posix/tst-exec-static.c: New file.
49190         * posix/tst-spawn-static.c: Likewise.
49191         * posix/tst-exec.c: Support run directly.
49192         * posix/tst-spawn.c: Likewise.
49194 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49196         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49197         long.
49198         * math/bits/mathcalls.h (llrint): Likewise.
49199         (llround): Likewise.
49200         * stdlib/stdlib.h (struct drand48_data): Likewise.
49201         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49202         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49203         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49204         Likewise.
49205         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49206         Likewise.
49207         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49208         (elf_greg_t): Likewise.
49209         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49210         (__jmp_buf): Likewise.
49211         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49212         definitions.
49213         (llrint): Likewise, for all definitions.
49214         (llrintl): Likewise.
49216         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49217         Remove [__GNUC__] condition.
49218         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49219         condition to just [__USE_ISOC99].
49220         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49222 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49224         [BZ #14200]
49225         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49226         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49227         defined.
49228         (_POSIX_V6_ILP32_OFF32): Likewise.
49229         (_XBS5_ILP32_OFF32): Likewise.
49230         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49231         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49233 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49235         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49237         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49238         doubles __mpexp_twomm1.  Adjust usage.
49239         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49240         Remove.
49242 2013-01-10  Andreas Schwab  <schwab@suse.de>
49244         [BZ #14964]
49245         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49246         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49248 2013-01-09  David S. Miller  <davem@davemloft.net>
49250         [BZ #15003]
49251         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49252         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49253         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49254         (TCP_FASTOPEN): Define.
49255         (tcp_repair_opt): New structure.
49256         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49257         enum values.
49258         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49259         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49260         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49261         (tcp_cookie_transactions): New structure.
49263 2013-01-09  Anton Blanchard  <anton@samba.org>
49265         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49266         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49267         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49268         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49270 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
49272         * include/features.h (__USE_ANSI): Remove.
49274 2013-01-09  Roland McGrath  <roland@hack.frob.com>
49276         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49278         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49280 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
49282         * sysdeps/s390/fpu/libm-test-ulps: Update.
49284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49286         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49287         (__acr): Likewise.
49288         (__cpy): Likewise.
49289         (norm): Likewise.
49290         (denorm): Likewise.
49291         (__mp_dbl): Likewise.
49292         (__dbl_mp): Likewise.
49293         (add_magnitudes): Likewise.
49294         (sub_magnitudes): Likewise.
49295         (__add): Likewise.
49296         (__sub): Likewise.
49297         (__mul): Likewise.
49298         (__inv): Likewise.
49299         (__dvd): Likewise.
49300         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49301         (__acr): Likewise.
49302         (__cpy): Likewise.
49303         (norm): Likewise.
49304         (denorm): Likewise.
49305         (__mp_dbl): Likewise.
49306         (__dbl_mp): Likewise.
49307         (add_magnitudes): Likewise.
49308         (sub_magnitudes): Likewise.
49309         (__add): Likewise.
49310         (__sub): Likewise.
49311         (__mul): Likewise.
49312         (__inv): Likewise.
49313         (__dvd): Likewise.
49314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49315         (__acr): Likewise.
49316         (__cpy): Likewise.
49317         (norm): Likewise.
49318         (denorm): Likewise.
49319         (__mp_dbl): Likewise.
49320         (__dbl_mp): Likewise.
49321         (add_magnitudes): Likewise.
49322         (sub_magnitudes): Likewise.
49323         (__add): Likewise.
49324         (__sub): Likewise.
49325         (__mul): Likewise.
49326         (__inv): Likewise.
49327         (__dvd): Likewise.
49329 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
49331         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49332         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49333         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49334         2 && __USE_EXTERN_INLINES]: Likewise.
49336 2013-01-08  Andreas Jaeger  <aj@suse.de>
49338         [BZ# 14985]
49339         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49340         Remove.
49341         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49342         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49344 2013-01-07  Anton Blanchard  <anton@samba.org>
49346         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49347         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49348         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49349         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49350         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49351         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49352         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49353         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49355         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49356         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49357         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49358         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49359         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49360         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49361         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49362         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49363         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49364         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49365         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49366         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49367         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49368         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49369         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49370         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49371         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49372         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49373         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49374         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49375         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49376         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49378         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49379         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49380         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49381         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49382         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49383         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49384         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49385         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49386         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49387         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49388         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49390 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49392         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49393         (__MALLOC_PMT): Likewise.
49394         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49395         [__GNUC__], only on [_LIBC].
49396         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49397         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49398         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49399         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49400         forward declaration.
49401         (realloc_hook_ini): Likewise.
49402         (memalign_hook_ini): Likewise.
49403         (__libc_memalign): Do not use __MALLOC_PMT in variable
49404         declaration.
49405         (__libc_valloc): Likewise.
49406         (__libc_pvalloc): Likewise.
49407         (__libc_calloc): Likewise.
49408         (__posix_memalign): Likewise.
49410         [BZ #14996]
49411         * math/s_casinh.c: Include <float.h>.
49412         (__casinh): Do not do computation with squaring and square root
49413         for large arguments.
49414         * math/s_casinhf.c: Include <float.h>.
49415         (__casinhf): Do not do computation with squaring and square root
49416         for large arguments.
49417         * math/s_casinhl.c: Include <float.h>.
49418         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49419         (__casinhl): Do not do computation with squaring and square root
49420         for large arguments.
49421         * math/libm-test.inc (casin_test): Add more tests.
49422         (casinh_test): Likewise.
49423         * sysdeps/i386/fpu/libm-test-ulps: Update.
49424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49426 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49428         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49429         (__x86_64_raw_data_cache_size): Likewise.
49430         (__x86_64_data_cache_size_half): Likewise.
49431         (__x86_64_raw_data_cache_size_half): Likewise.
49432         (__x86_64_shared_cache_size): Likewise.
49433         (__x86_64_raw_shared_cache_size): Likewise.
49434         (__x86_64_shared_cache_size_half): Likewise.
49435         (__x86_64_raw_shared_cache_size_half): Likewise.
49436         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49437         to ...
49438         (__x86_data_cache_size): This.
49439         (__x86_64_raw_data_cache_size): Renamed to ...
49440         (__x86_raw_data_cache_size): This.
49441         (__x86_64_data_cache_size_half): Renamed to ...
49442         (__x86_data_cache_size_half): This.
49443         (__x86_64_raw_data_cache_size_half): Renamed to ...
49444         (__x86_raw_data_cache_size_half): This.
49445         (__x86_64_shared_cache_size): Renamed to ...
49446         (__x86_shared_cache_size): This.
49447         (__x86_64_raw_shared_cache_size): Renamed to ...
49448         (__x86_raw_shared_cache_size): This.
49449         (__x86_64_shared_cache_size_half): Renamed to ...
49450         (__x86_shared_cache_size_half): This.
49451         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49452         (__x86_raw_shared_cache_size_half): This.
49453         * sysdeps/x86_64/memcpy.S: Updated.
49454         * sysdeps/x86_64/memset.S: Likewise.
49455         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49456         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49457         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49459 2013-01-04  David S. Miller  <davem@davemloft.net>
49461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49463 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49465         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49466         1 to avoid redefinition warning.
49467         (__USE_GNU): Don't define.
49468         (init_signaling_nan): Protoize.
49470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49472 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49474         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49476         (__cpymn): Likewise.
49477         (norm): Remove commented code.
49478         (denorm): Likewise.
49479         (__mp_dbl): Likewise.
49480         (__inv): Likewise.
49481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49482         (__cpymn): Likewise.
49483         (norm): Remove commented code.
49484         (denorm): Likewise.
49485         (__mp_dbl): Likewise.
49486         (__inv): Likewise.
49488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49489         mp_no value for 1.0 and 2.0.
49490         (norm): Use RADIXI instead of radixi.d.
49491         (denorm): Likewise.
49492         (__mul): Use 0.0 instead of zero.d.
49493         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49494         mp_no value for 1.0 and 2.0.
49495         (norm): Use RADIXI instead of radixi.d.
49496         (denorm): Likewise.
49497         (__mul): Use 0.0 instead of zero.d.
49499 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49501         [BZ #14994]
49502         * math/s_casinh.c (__casinh): Reduce finite argument to first
49503         quadrant then set signs of results at the end.
49504         * math/s_casinhf.c (__casinhf): Likewise.
49505         * math/s_casinhl.c (__casinhl): Likewise.
49506         * math/libm-test.inc (casin_test): Add more tests.
49507         (casinh_test): Likewise.
49508         * sysdeps/i386/fpu/libm-test-ulps: Update.
49509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49511 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49513         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49515         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49517         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49518         declarations.
49519         (denorm): Likewise.
49520         (__mp_dbl): Likewise.
49521         (__inv): Likewise.
49523         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49524         and adjust the header comment.
49526         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49527         variable name from declaration.
49529 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49532         Initialize COMMON_CPUID_INDEX_7 element.
49533         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49534         (CPUID_RTM): Likewise.
49535         (HAS_RTM): Likewise.
49536         (COMMON_CPUID_INDEX_7): New enum.
49538 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49540         [BZ #14981]
49541         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49542         size is zero, record memory as freed.
49544 2013-01-03  Andreas Jaeger  <aj@suse.de>
49546         * po/ia.po: Add new Interlingua translation.
49548 2012-01-03  Allan McRae  <allan@archlinux.org>
49550         * locale/programs/localedef.c: Fix description of '--posix' flag.
49552 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49554         * NEWS: Update dates in second copyright notice.
49555         * README: Update copyright dates in example.
49556         * manual/libc.texinfo: Update copyright dates.
49557         * scripts/test-installation.pl: Update copyright date in --version
49558         output.
49560         * hurd/ctty-input.c: Fix copyright notice formatting.
49561         * hurd/ctty-output.c: Likewise.
49562         * hurd/dtable.c: Likewise.
49563         * hurd/hurd-raise.c: Likewise.
49564         * hurd/hurdprio.c: Likewise.
49565         * hurd/msgportdemux.c: Likewise.
49566         * misc/sys/file.h: Likewise.
49567         * misc/sys/ioctl.h: Likewise.
49568         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49569         * sysdeps/mach/hurd/chdir.c: Likewise.
49570         * sysdeps/mach/hurd/fchdir.c: Likewise.
49571         * sysdeps/mach/hurd/rename.c: Likewise.
49572         * sysdeps/mach/hurd/rmdir.c: Likewise.
49573         * sysdeps/mach/hurd/seekdir.c: Likewise.
49574         * sysdeps/mach/hurd/setsid.c: Likewise.
49575         * sysdeps/posix/wait3.c: Likewise.
49577         * All files with FSF copyright notices: Update copyright dates
49578         using scripts/update-copyrights.
49579         * intl/plural.c: Regenerated.
49580         * locale/programs/charmap-kw.h: Likewise.
49581         * locale/programs/locfile-kw.h: Likewise.
49583 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49585         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49586         four values.
49588         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49589         calculation loop and add branch prediction.
49591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49592         check access beyond bounds of m1np.
49594         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49595         MPTWO.
49596         (__inv): Remove local variable MPTWO to use the global
49597         constant.
49598         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49599         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49600         variable MPTWO.
49601         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49602         MP3HALFS static const.
49604 2013-01-01  David S. Miller  <davem@davemloft.net>
49606         * po/ca.po: Update from translation team.
49608 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49610         * scripts/update-copyrights: New file.
49611         * Makeconfig: Reformat copyright notice.
49612         * ctype/ctype.h: Likewise.
49613         * debug/swprintf_chk.c: Likewise.
49614         * elf/dl-cache.c: Likewise.
49615         * elf/dl-debug.c: Likewise.
49616         * elf/dl-object.c: Likewise.
49617         * grp/initgroups.c: Likewise.
49618         * hurd/Makefile: Likewise.
49619         * hurd/hurd/signal.h: Likewise.
49620         * hurd/hurdfault.c: Likewise.
49621         * hurd/hurdioctl.c: Likewise.
49622         * hurd/hurdlookup.c: Likewise.
49623         * hurd/intr-msg.c: Likewise.
49624         * iconv/gconv_open.c: Likewise.
49625         * libio/swprintf.c: Likewise.
49626         * locale/lc-ctype.c: Likewise.
49627         * locale/nl_langinfo.c: Likewise.
49628         * mach/Machrules: Likewise.
49629         * mach/Makefile: Likewise.
49630         * malloc/obstack.h: Likewise.
49631         * manual/Makefile: Likewise.
49632         * manual/tsort.awk: Likewise.
49633         * misc/bits/stab.def: Likewise.
49634         * nis/nis_print_group_entry.c: Likewise.
49635         * nis/nis_table.c: Likewise.
49636         * nis/nss_compat/compat-pwd.c: Likewise.
49637         * nis/nss_compat/compat-spwd.c: Likewise.
49638         * po/Makefile: Likewise.
49639         * posix/fnmatch.c: Likewise.
49640         * posix/regex.h: Likewise.
49641         * resolv/Makefile: Likewise.
49642         * resolv/nss_dns/dns-network.c: Likewise.
49643         * resolv/res_hconf.c: Likewise.
49644         * scripts/gen-sorted.awk: Likewise.
49645         * soft-fp/soft-fp.h: Likewise.
49646         * stdio-common/printf.h: Likewise.
49647         * stdlib/monetary.h: Likewise.
49648         * stdlib/random.c: Likewise.
49649         * stdlib/random_r.c: Likewise.
49650         * sysdeps/generic/Makefile: Likewise.
49651         * sysdeps/gnu/Makefile: Likewise.
49652         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49653         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49654         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49655         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49656         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49657         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49658         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49659         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49660         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49661         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49662         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49663         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49664         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49665         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49666         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49667         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49668         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49669         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49670         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49671         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49672         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49673         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49674         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49675         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49676         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49677         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49678         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49679         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49680         * sysdeps/mach/hurd/errnos.awk: Likewise.
49681         * sysdeps/mach/hurd/fork.c: Likewise.
49682         * sysdeps/mach/hurd/getcwd.c: Likewise.
49683         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49684         * sysdeps/mach/hurd/mmap.c: Likewise.
49685         * sysdeps/mach/hurd/utimes.c: Likewise.
49686         * sysdeps/mach/hurd/xmknod.c: Likewise.
49687         * sysdeps/posix/profil.c: Likewise.
49688         * sysdeps/posix/readdir_r.c: Likewise.
49689         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49690         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49691         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49692         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49694         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49695         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49696         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49697         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49698         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49699         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49700         * sysdeps/pthread/lio_listio.c: Likewise.
49701         * sysdeps/sparc/dl-procinfo.h: Likewise.
49702         * sysdeps/unix/i386/sysdep.S: Likewise.
49703         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49704         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49705         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49706         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49708         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49709         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49710         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49711         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49712         * sysdeps/wordsize-32/divdi3.c: Likewise.
49713         * time/sys/time.h: Likewise.
49714         * wcsmbs/Makefile: Likewise.
49716 2013-01-01  David S. Miller  <davem@davemloft.net>
49718         * po/fr.po: Update from translation team.
49720         * catgets/gencat.c: Update copyright year.
49721         * csu/version.c: Likewise.
49722         * debug/catchsegv.sh: Likewise.
49723         * debug/pcprofiledump.c: Likewise.
49724         * debug/xtrace.sh: Likewise.
49725         * elf/ldconfig.c: Likewise.
49726         * elf/ldd.bash.in: Likewise.
49727         * elf/pldd.c: Likewise.
49728         * elf/sotruss.ksh: Likewise.
49729         * elf/sprof.c: Likewise.
49730         * iconv/iconv_prog.c: Likewise.
49731         * iconv/iconvconfig.c: Likewise.
49732         * locale/programs/locale.c: Likewise.
49733         * locale/programs/localedef.c: Likewise.
49734         * login/programs/pt_chown.c: Likewise.
49735         * malloc/memusage.sh: Likewise.
49736         * malloc/memusagestat.c: Likewise.
49737         * malloc/mtrace.pl: Likewise.
49738         * nscd/nscd.c: Likewise.
49739         * nss/getent.c: Likewise.
49740         * nss/makedb.c: Likewise.
49741         * posix/getconf.c: Likewise.
49743 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49745         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49746         numbers.
49748 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
49750         * math/bits/mathcalls.h (modf): Use __nonnull.
49752 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49754         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49755         (split): Use macro CN instead of the bare value.
49756         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49757         could be used.
49758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49759         instead of the bare value.
49760         (power1): Likewise.
49762 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49764         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49765         __ATAN_TWOM.
49766         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49768         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49769         their values.
49770         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49771         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49772         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49773         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49775 2012-12-28  Andreas Jaeger  <aj@suse.de>
49777         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49778         values are from Linux 3.7.
49780         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49781         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49783 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49785         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49786         TRUE case.
49788         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49789         (norm): Likewise.
49790         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49791         variables with preprocessor constants.
49792         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49793         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49794         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49796 2012-12-27  Bruno Haible  <bruno@clisp.org>
49798         [BZ #14317]
49799         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49800         only if needed.
49802 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49804         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
49805         and use variable directly.
49806         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
49808         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49809         MPONE.
49810         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
49811         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49812         variable MPONE.
49813         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49814         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49815         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
49816         include directive.  Remove local variable MPONE.
49817         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
49818         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
49819         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49821 2012-12-25  David S. Miller  <davem@davemloft.net>
49823         * version.h (RELEASE): Set to "development".
49824         (VERSION): Set to "2.17.90".
49825         * NEWS: Add 2.18 section.
49827 2012-12-21  David S. Miller  <davem@davemloft.net>
49829         * po/hr.po: Update from translation team.
49831 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49833         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
49835 2012-12-19  Steve Ellcey  <sellcey@mips.com>
49837         * NEWS:  Mention new memcpy for MIPS.
49839 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49841         * manual/contrib.texi (Contributors): Spelling correction.
49843 2012-12-15  David S. Miller  <davem@davemloft.net>
49845         * po/ru.po: Update from translation team.
49847 2012-12-13  David S. Miller  <davem@davemloft.net>
49849         * NEWS: Mention IFUNC testsuite enhancements.
49851         * po/pl.po: Update from translation team.
49852         * po/bg.po: Likewise.
49854         * manual/contrib.texi (Contributors): Update entries for Hongjiu
49855         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
49857 2012-12-11  David S. Miller  <davem@davemloft.net>
49859         * po/sv.po: Update from translation team.
49861         * po/vi.po: Update from translation team.
49863         * po/cs.po: Update from translation team.
49865         * po/de.po: Update from translation team.
49866         * po/eo.po: Likewise.
49867         * po/nl.po: Likewise.
49869 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49871         [BZ #14246]
49872         * manual/argp.texi (Argp Helper Functions): Move node to follow
49873         Argp Parsing State.
49875         [BZ #14872]
49876         * manual/conf.texi (Limits on File System Capacity): Mention if
49877         terminating null is included in the max size.
49879 2012-12-10  Andreas Jaeger  <aj@suse.de>
49881         * po/cs.po: Update from translation team.
49883 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49885         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
49886         void pointer and cast to uintptr_t.
49887         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
49888         path.
49889         * sysdeps/s390/s390-64/memcpy.S: Likewise.
49890         * sysdeps/s390/s390-64/memset.S: Likewise.
49892 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
49894         [BZ #14833]
49895         * menual/message.texi (Message Translation): Fix typos.
49896         (Helper programs for gettext): Likewise.
49898 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
49900         [BZ #14898]
49901         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
49902         Change to -1.
49904 2012-12-07  David S. Miller  <davem@davemloft.net>
49906         * po/libc.pot: Update.
49908 2012-12-07  Richard Henderson  <rth@redhat.com>
49910         [BZ #10114]
49911         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
49912         normal/normal case to before the switch.
49913         (_FP_DIV): Likewise.
49915 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
49916             Mike Frysinger  <vapier@gentoo.org>
49918         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
49919         check for __NR_fadvise64_64.
49921 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
49923         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
49924         0, not just to plain "0" as a statement.
49925         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
49926         with cw.
49928 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
49930         * NEWS: Use sourceware.org in Bugzilla URL.
49932 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
49935         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
49937         * stdio-common/tst-put-error.c (do_test): Add newline to the
49938         padded test to ensure flush.
49940 2012-12-05  Jeff Law  <law@redhat.com>
49942         * sunrpc/etc.rpc (fedfs_admin): Add entry.
49944 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
49946         * README: Don't refer to ports add-on as distributed separately.
49947         Mention AArch64 in list of systems supported in the ports add-on.
49949         * LICENSES: Add more non-FSF copyright and license notices.
49951         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
49952         ((unused)).
49954         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
49956         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49957         10000 as width of padded output.
49959 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49961         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
49963         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
49964         variable LX with __attribute__ ((unused)).
49965         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49966         Likewise.
49967         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49968         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49969         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
49970         with __attribute__ ((unused)).
49972 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
49974         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
49976 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
49978         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
49979         (CFLAGS-nldbl-acos.c): New variable.
49980         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
49981         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
49982         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
49983         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
49984         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
49985         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
49986         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
49987         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49988         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
49989         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
49990         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
49991         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
49992         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
49993         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
49994         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
49995         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
49996         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
49997         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
49998         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
49999         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50000         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50001         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50002         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50003         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50004         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50005         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50006         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50007         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50008         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50009         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50010         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50011         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50012         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50013         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50014         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50015         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50016         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50017         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50018         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50019         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50020         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50021         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50022         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50023         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50024         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50025         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50026         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50027         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50028         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50029         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50030         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50031         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50032         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50033         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50034         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50035         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50036         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50037         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50038         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50039         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50040         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50041         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50042         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50043         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50044         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50045         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50046         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50047         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50048         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50049         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50050         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50051         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50052         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50053         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50054         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50055         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50056         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50057         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50058         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50059         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50060         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50061         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50062         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50063         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50064         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50065         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50066         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50067         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50068         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50069         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50070         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50071         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50072         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50073         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50074         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50075         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50076         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50079         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50081         [BZ #14914]
50082         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50083         whole low double instead of just low 47 bits when splitting values
50084         into two parts.
50086 2012-12-03  Allan McRae  <allan@archlinux.org>
50088         * manual/stdio.texi (Predefined Printf Handlers): Remove
50089         @hsep and @vsep usage.
50091 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
50093         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50094         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50096 2012-12-03  Jeff Law  <law@redhat.com>
50098         * time/sys/time.h (settimeofday): Do not mark TV argument
50099         as __nonnull.
50101 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
50103         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50104         when currently writing and seek to current position when not.
50105         * libio/Makefile (tests): Remove bug-fclose1.
50106         * libio/bug-fclose1.c: Delete.
50108 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
50110         * manual/arith.texi (feenableexcept): Fix typo.
50111         (fedisableexcept): Likewise.
50113 2012-11-30  Roland McGrath  <roland@hack.frob.com>
50115         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50116         second, differently-typed declaration, rather than a cast.
50118 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50120         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50121         * include/rpc/svc.h: ... here.
50123 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
50125         [BZ #13013]
50126         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50127         depending n and resplen2 to catch cases where answer
50128         equals answerp2.
50130 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
50132         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50133         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50135 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50137         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50139 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50141         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50143 2012-11-28  Jeff Law  <law@redhat.com>
50145         [BZ #13761]
50146         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50147         dataset_temporary.  Track alloca usage into alloca_used.
50148         If dataset is large allocate and release it via malloc/free.
50150 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50152         [BZ #14197]
50153         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50155 2012-11-28  David S. Miller  <davem@davemloft.net>
50157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50159 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50161         [BZ #14803]
50162         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50163         of pi/2 rounded to nearest to 64 bits.
50164         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50165         nearest to 64 bits.
50166         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50167         bits.
50169 2012-11-28  Jeff Law <law@redhat.com>
50170             Martin Osvald <mosvald@redhat.com>
50172         [BZ #14889]
50173         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50174         * sunrpc/svc.c: Include time.h.
50175         (__svc_accept_failed): New function.
50176         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50177         any reason other than EINTR, call __svc_accept_failed.
50178         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50179         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50181 2012-11-28  Andreas Schwab  <schwab@suse.de>
50183         * scripts/abilist.awk: Also handle indirect functions in .opd
50184         section.
50186 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50188         [BZ #13881]
50189         * sysdeps/x86/fpu/powl_helper.c: New file.
50190         * sysdeps/x86/fpu/Makefile: Likewise.
50191         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50192         (p3): New object.
50193         (__ieee754_powl): Use __powl_helper for finite arguments except
50194         integer exponents below 8.
50195         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50196         (p3): New object.
50197         (__ieee754_powl): Use __powl_helper for finite arguments except
50198         integer exponents below 8.
50199         * math/libm-test.inc (pow_test): Add more tests and enable some
50200         previously disabled tests.
50201         * sysdeps/i386/fpu/libm-test-ulps: Update.
50202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50204 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50205             Carlos O'Donell  <carlos_odonell@mentor.com>
50207         * nss/makedb.c (is_prime): Assert that input is odd and greater
50208         than 4.  Note that fact in a comment too.
50209         (next_prime): Add 4 to input.
50211 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50213         [BZ #11741]
50214         * libio/Makefile (tests): Add test case tst-fwrite-error.
50215         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50216         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50217         * libio/tst-fwrite-error.c: New test case.
50219 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50221         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50222         before casting to void *.
50223         * include/libc-internal.h (__pointer_type): New macro.
50224         (__integer_if_pointer_type_sub): Likewise.
50225         (__integer_if_pointer_type): Likewise.
50226         (cast_to_integer): Likewise.
50227         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50228         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50229         before casting to atomic64_t.
50230         (atomic_exchange_acq): Likewise.
50231         (__arch_exchange_and_add_body): Likewise.
50232         (__arch_add_body): Likewise.
50233         (atomic_add_negative): Likewise.
50234         (atomic_add_zero): Likewise.
50236 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50238         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50239         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50240         (add_fdes): Likewise.
50241         (linear_search_fdes): Likewise.
50242         (binary_search_unencoded_fdes): Likewise.
50244 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50246         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50248 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50250         * configure.in: Autodetect C++ header directories.
50251         * configure: Regenerated.
50253 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50255         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50257 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50261 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50263         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50264         LDBL_MANT_DIG == 106]: Disable some tests.
50265         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50266         Likewise.
50267         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50268         Likewise.
50270         [BZ #14871]
50271         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50272         input for small inputs.  Return +/- pi/2 for large inputs.
50273         * math/libm-test.inc (atan_test): Add more tests.
50275         * sysdeps/generic/unwind-dw2-fde-glibc.c
50276         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50277         __attribute__ ((unused)).
50279         [BZ #14645]
50280         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50281         x * y if x and y are nonzero and z is zero.
50283         [BZ #14811]
50284         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50285         nonzero exponents with absolute value below 0x1p-117 to +/-
50286         0x1p-117.
50288         [BZ #14869]
50289         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50290         up arguments below 2**-450, not just those below 2**-500.
50291         * math/libm-test.inc (hypot_test): Add another test.
50293         [BZ #14868]
50294         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50295         Return a+b for ratio over 2**120, not 2**60.
50296         * math/libm-test.inc (hypot_test): Add another test.
50298         * math/libm-test.inc (clog_test): Use
50299         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50300         (clog10_test): Likewise.
50302         [BZ #6778]
50303         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50305 2012-11-22  Andreas Schwab  <schwab@suse.de>
50307         * sysdeps/i386/fpu/libm-test-ulps: Update.
50309 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
50311         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50312         printf output with newline.
50314 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
50316         [BZ #14865]
50317         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50318         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50319         -z nodlopen, -z initfirst and -z execstack support.
50320         * configure: Regenerated.
50322         * elf/elf.h (DF_1_NODIRECT): New macro.
50323         (DF_1_IGNMULDEF): Likewise.
50324         (DF_1_NOKSYMS): Likewise.
50325         (DF_1_NOHDR): Likewise.
50326         (DF_1_EDITED): Likewise.
50327         (DF_1_NORELOC): Likewise.
50328         (DF_1_SYMINTPOSE): Likewise.
50329         (DF_1_GLOBAUDIT): Likewise.
50330         (DF_1_SINGLETON): Likewise.
50331         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50332         DT_1_SUPPORTED_MASK bits.
50333         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50335 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
50337         * sysdeps/unix/make-syscalls.sh: Document prefixes.
50339 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50341         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50342         macro.
50344         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50345         (sendmmsg): Move declarations...
50346         * socket/sys/socket.h: ... here.
50347         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50348         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50349         include it from...
50350         * socket/recvmmsg.c: ... this new file.
50351         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50352         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50353         definition of __sendmmsg hidden.
50354         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50355         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50356         Move ENOSYS stub into and include it from...
50357         * socket/sendmmsg.c: ... this new file.
50358         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50359         (sysdep_routines): Move recvmmsg and sendmmsg...
50360         * socket/Makefile (routines): ... here.
50361         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50362         (GLIBC_PRIVATE): Add __sendmmsg.
50363         * include/sys/socket.h (__sendmmsg): Add declarations.
50364         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50365         sendmmsg.
50367 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50369         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50370         variable I1 with __attribute__ ((unused)).
50371         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50373 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50375         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50376         DUMMY variables with __attribute__ ((unused)).
50378         * bits/byteswap.h: Include <bits/types.h>.
50379         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50381 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50383         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50384         string_t.  Do not manually set errno.
50385         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50386         length with __strnlen.  Make sure to both set errno and return it on
50387         failure.
50389 2012-11-19  David S. Miller  <davem@davemloft.net>
50391         With help from Joseph Myers.
50392         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50393         very large arguments properly.
50394         * math/libm-test.inc (atan_test): New tests.
50395         (atan2_test): New tests.
50396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50399 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50401         [BZ #14856]
50402         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50403         Define to 3.
50405         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50406         [POSIX] (EADDRNOTAVAIL): Likewise.
50407         [POSIX] (EAFNOSUPPORT): Likewise.
50408         [POSIX] (EALREADY): Likewise.
50409         [POSIX] (ECONNABORTED): Likewise.
50410         [POSIX] (ECONNREFUSED): Likewise.
50411         [POSIX] (ECONNRESET): Likewise.
50412         [POSIX] (EDESTADDRREQ): Likewise.
50413         [POSIX] (EDQUOT): Likewise.
50414         [POSIX] (EHOSTUNREACH): Likewise.
50415         [POSIX] (EIDRM): Likewise.
50416         [POSIX] (EISCONN): Likewise.
50417         [POSIX] (ELOOP): Likewise.
50418         [POSIX] (EMULTIHOP): Likewise.
50419         [POSIX] (ENETDOWN): Likewise.
50420         [POSIX] (ENETUNREACH): Likewise.
50421         [POSIX] (ENOBUFS): Likewise.
50422         [POSIX] (ENODATA): Likewise.
50423         [POSIX] (ENOLINK): Likewise.
50424         [POSIX] (ENOMSG): Likewise.
50425         [POSIX] (ENOPROTOOPT): Likewise.
50426         [POSIX] (ENOSR): Likewise.
50427         [POSIX] (ENOSTR): Likewise.
50428         [POSIX] (ENOTCONN): Likewise.
50429         [POSIX] (ENOTSOCK): Likewise.
50430         [POSIX] (EOPNOTSUPP): Likewise.
50431         [POSIX] (EOVERFLOW): Likewise.
50432         [POSIX] (EPROTO): Likewise.
50433         [POSIX] (EPROTONOSUPPORT): Likewise.
50434         [POSIX] (EPROTOTYPE): Likewise.
50435         [POSIX] (ESTALE): Likewise.
50436         [POSIX] (ETIME): Likewise.
50437         [POSIX] (ETXTBSY): Likewise.
50438         [POSIX] (EWOULDBLOCK): Likewise.
50439         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50440         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50441         [POSIX] (SEEK_CUR): Likewise.
50442         [POSIX] (SEEK_END): Likewise.
50443         [POSIX || UNIX98] (mode_t): Do not require.
50444         [POSIX] (off_t): Likewise.
50445         [POSIX] (pid_t): Likewise.
50446         [POSIX] (sys/stat.h): Do not allow header.
50447         [POSIX] (unistd.h): Likewise.
50448         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50449         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50450         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50451         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50452         require.
50453         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50454         sigevent): Specify elements.
50455         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50456         entry.
50457         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50458         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50460         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50461         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50462         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50463         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50464         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50465         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50466         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50467         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50468         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50469         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50470         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50471         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50472         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50473         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50474         Likewise.
50475         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50476         Likewise.
50477         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50478         Likewise.
50479         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50480         Likewise.
50481         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50482         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50483         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50484         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50485         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50486         Specify lower bound on value.
50487         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50488         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50489         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50490         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50491         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50492         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50493         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50494         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50495         value.
50496         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50497         as optional.
50498         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50499         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50500         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50501         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50502         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50503         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50504         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50505         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50506         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50507         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50508         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50509         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50510         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50511         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50512         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50513         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50514         entry.
50515         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50516         optional.
50517         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50518         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50519         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50520         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50521         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50522         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50523         Likewise.
50524         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50525         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50526         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50527         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50528         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50529         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50530         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50531         as optional.
50532         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50533         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50534         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50535         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50536         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50537         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50538         specify as optional.
50539         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50540         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50541         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50542         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50543         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50544         [XPG3] (NL_LANGMAX): Likewise.
50545         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50546         [POSIX || XPG3] (NL_NMAX): Likewise.
50547         [POSIX || XPG3] (NL_SETMAX): Likewise.
50548         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50549         [XPG3] (NZERO): Likewise.
50550         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50551         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50552         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50553         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50554         (REG_ERANGE): Expect.
50555         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50556         optional-constant.
50557         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50558         Use (void) in prototype.
50559         [POSIX] (*_t): Allow.
50560         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50561         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50562         (WRDE_BADVAL): Expect.
50564         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50565         expect.
50566         [XPG3 || XPG4] (O_RSYNC): Likewise.
50567         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50568         Likewise.
50569         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50570         [XPG3 || XPG4] (sigqueue): Likewise.
50571         [XPG3 || XPG4] (sigtimedwait): Likewise.
50572         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50573         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50574         [XPG3 || XPG4] (vsnprintf): Likewise.
50575         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50576         Likewise.
50577         [XPG3 || XPG4] (blksize_t): Likewise.
50578         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50579         Likewise.
50580         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50581         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50582         [XPG3 || XPG4] (struct itimerspec): Likewise.
50583         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50584         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50585         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50586         [XPG3 || XPG4] (clockid_t): Likewise.
50587         [XPG3 || XPG4] (timer_t): Likewise.
50588         [XPG3 || XPG4] (clock_getres): Likewise.
50589         [XPG3 || XPG4] (clock_gettime): Likewise.
50590         [XPG3 || XPG4] (clock_settime): Likewise.
50591         [XPG3 || XPG4] (nanosleep): Likewise.
50592         [XPG3 || XPG4] (timer_create): Likewise.
50593         [XPG3 || XPG4] (timer_delete): Likewise.
50594         [XPG3 || XPG4] (timer_gettime): Likewise.
50595         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50596         [XPG3 || XPG4] (timer_settime): Likewise.
50597         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50598         [XPG3 || XPG4] (getlogin_r): Likewise.
50599         [XPG3 || XPG4] (pread): Likewise.
50600         [XPG3 || XPG4] (pthread_atfork): Likewise.
50601         [XPG3 || XPG4] (pwrite): Likewise.
50603         [BZ #14835]
50604         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50605         <bits/siginfo.h>.
50607 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50609         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50610         finalizing MALLSTREAM.
50612         * sysdeps/mach/hurd/syncfs.c: New file.
50614 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50616         [BZ #14719]
50617         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50618         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50619         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50620         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50621         (_nss_dns_gethostbyname4_r): Likewise.
50622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50623         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50625 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50627         [BZ #13763]
50628         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50630 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50632         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50633         * elf/cache.c (print_entry): Print ",AArch64" for
50634         FLAG_AARCH64_LIB64
50636         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50637         * elf/cache.c (print_entry): Print ",hard-float" for
50638         FLAG_ARM_LIBHF.
50640 2012-11-18  David S. Miller  <davem@davemloft.net>
50642         With help from Joseph Myers.
50643         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50644         cutoff to 2**-13.
50645         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50646         cutoff to 2**-25.
50647         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50648         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50649         small.
50650         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50651         * math/libm-test.inc (y0_test): New tests.
50652         (y1_test): New tests.
50653         * sysdeps/i386/fpu/libm-test-ulps: Update.
50654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50657 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50659         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50660         64-bit targets.
50661         * configure: Regenerated.
50663 2012-11-17  David S. Miller  <davem@davemloft.net>
50665         [BZ #14811]
50666         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50667         nonzero exponents with absolute value below 0x1p-128 to +/-
50668         0x1p-128.
50670 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50672         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50674         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50676         * posix/getconf-speclist.c: New file.
50677         * posix/posix-envs.def: Likewise.
50678         * posix/confstr.c (START_ENV_GROUP): New macro.
50679         (END_ENV_GROUP): Likewise.
50680         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50681         (KNOWN_PRESENT_ENV_STRING): Likewise.
50682         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50683         (UNKNOWN_ENVIRONMENT): Likewise.
50684         (confstr): Include posix-envs.def instead of handling
50685         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50686         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50687         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50688         (END_ENV_GROUP): Likewise.
50689         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50690         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50691         (UNKNOWN_ENVIRONMENT): Likewise.
50692         (__sysconf): Include posix-envs.def instead of handling associated
50693         cases directly here.
50694         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50695         preprocessing getconf-speclist.c rather than running getconf or
50696         generating empty file.
50698 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50700         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50702 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50704         [BZ #14672]
50705         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50707 2012-11-16  David S. Miller  <davem@davemloft.net>
50709         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50710         smaller than LDBL_EPSILON/2.0L, just return xm1.
50712 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50714         * elf/tst-array1.c (init): Set constructor priority to 1000.
50715         (fini): Set destructor priority to 1000.
50716         * elf/tst-array2dep.c: Likewise.
50718 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50720         [BZ #11741]
50721         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50722         (_IO_new_file_xsputn): Also return EOF if none of the input
50723         data was written when overflow failed.
50724         * libio/iopadn.c (_IO_padn): Likewise.
50725         * libio/iowpadn.c (_IO_wpadn): Likewise.
50726         * stdio-common/tst-put-error.c: Add copyright notice.
50727         (do_test): Add case for printing padded string.
50728         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50729         _IO_padn returned error.
50730         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50731         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50732         return EOF.
50734 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50736         * libio/libioP.h: Add comment note that the references to C++
50737         bits are now obsolete.
50739 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50741         * math/libm-test.inc (check_complex): Use asprintf.
50743 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
50745         * debug/pcprofiledump.c (print_version): Update copyright year.
50746         * malloc/memusagestat.c (print_version): Likewise.
50748 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
50750         [BZ #14831]
50751         * elf/Makefile (tests): Add tst-audit8.
50752         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50753         ($(objpfx)tst-audit8.out): New target.
50754         (tst-audit8-ENV): New variable.
50755         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50756         audit if l_reloc_result is NULL.
50757         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50758         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50759         * elf/tst-audit8.c: New file.
50761 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50763         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50764         * misc/Makefile (CFLAGS-select.c): Define.
50765         * posix/Makefile (CFLAGS-pause.c): Define.
50767 2012-11-13  David S. Miller  <davem@davemloft.net>
50769         * crypt/Makefile: Move test targets after toplevel Rules
50770         inclusion.  Grab any necessary sysdep routines when linking.
50771         * crypt/md5.c (md5_process_block): Remove define, we will always
50772         name it __md5_process_block.
50773         (md5_finish_ctx): Update md5_process_block call.
50774         (md5_stream): Likewise.
50775         (md5_process_bytes): Likewise.
50776         (md5_process_block): Rename to __md5_process_block and move to ...
50777         * crypt/md5-block.c: ... here.
50778         * crypt/sha256.c (sha256_process_block): Move to ...
50779         * crypt/sha256-block.c: ... here.
50780         * crypt/sha512.c (sha512_process_block): Move to ...
50781         * crypt/sha512-block.c: ... here.
50782         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50783         path.
50784         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50785         * sysdeps/sparc/sparc64/multiarch/Makefile
50786         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50787         crypt subdir.
50788         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50789         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50790         multiarch changes.
50791         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50792         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50793         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50794         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50795         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50796         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50797         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50798         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50799         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
50800         file.
50801         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
50802         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
50803         file.
50804         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
50806 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
50808         * timezone/tzselect.ksh: Update from tzcode git revision
50809         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
50810         * timezone/zdump.c: Likewise.
50811         * timezone/zic.c: Likewise.
50812         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
50813         in TZVERSION setting, not $(PKGVERSION).
50814         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
50815         REPORT_BUGS_TO settings.
50817         [BZ #14838]
50818         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
50819         macro.
50821 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50823         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
50824         detection to immediately after _FP_ROUND().
50825         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
50826         bits are 0.
50828 2012-11-11  David S. Miller  <davem@davemloft.net>
50830         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
50831         inttypes.h
50832         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
50833         __close rather than their public counterparts.
50835 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
50837         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
50838         file.
50839         [UNIX98] (sem_timedwait): Do not expect.
50840         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
50841         [XPG4 || UNIX98] (sockatmark): Do not expect.
50842         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
50843         (clock_getcpuclockid): Do not expect.
50844         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
50845         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
50846         Do not expect.
50847         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
50848         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
50849         [UNIX98] (vwscanf): Likewise.
50850         [UNIX98] (vswscanf): Likewise.
50852 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
50854         * timezone/version.h: Remove file.
50855         * timezone/README: Do not refer to version.h.
50856         * timezone/Makefile ($(objpfx)zic.o): New dependency on
50857         $(objpfx)version.h.
50858         ($(objpfx)zdump.o): Likewise.
50859         ($(objpfx)version.h): New target.
50861         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
50862         2012i.
50863         * timezone/README: Don't mention modification to tzselect.ksh.
50864         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
50865         work on unmodified tzselect.ksh.  Substitute version numbers in
50866         tzselect.ksh.
50868         * Makefile (format-me): Remove.
50869         (INSTALL): Adjust indentation.  Use commands directly instead of
50870         using $(format-me).
50872         * aclocal.m4 (ACX_PKGVERSION): New macro.
50873         (ACX_BUGURL): Likewise.
50874         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
50875         (PKGVERSION): New AC_DEFINE_UNQUOTED.
50876         (REPORT_BUGS_TO): Likewise.
50877         * configure: Regenerated.
50878         * config.h.in (PKGVERSION): New macro.
50879         (REPORT_BUGS_TO): Likewise.
50880         * config.make.in (PKGVERSION): New variable.
50881         (PKGVERSION_TEXI): Likewise.
50882         (REPORT_BUGS_TO): Likewise.
50883         (REPORT_BUGS_TEXI): Likewise.
50884         * Makefile (format-me): Use -I$(common-objpfx)manual.
50885         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
50886         ($(common-objpfx)manual/%): New target.
50887         (manual/%): Remove target.
50888         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
50889         (print_version): Use PKGVERSION.
50890         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
50891         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
50892         and REPORT_BUGS_TO.
50893         ($(objpfx)xtrace): Likewise.
50894         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
50895         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
50896         (print_version): Use PKGVERSION.
50897         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
50898         (do_version): Use PKGVERSION.
50899         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
50900         REPORT_BUGS_TO.
50901         (common-ldd-rewrite): Likewise.
50902         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
50903         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
50904         (print_version): Use PKGVERSION.
50905         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
50906         * elf/pldd.c (argp_program_bug_address): Remove variable.
50907         (more_help): New function.
50908         (argp): Use more_help.
50909         (print_version): Use PKGVERSION.
50910         * elf/sln.c (main): Use PKGVERSION.
50911         (usage): Use REPORT_BUGS_TO.
50912         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
50913         (top level): Use PKGVERSION.
50914         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
50915         (print_version): Use PKGVERSION.
50916         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
50917         (print_version): Use PKGVERSION.
50918         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
50919         (print_version): Use PKGVERSION.
50920         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
50921         (print_version): Use PKGVERSION.
50922         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
50923         (print_version): Use PKGVERSION.
50924         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
50925         (print_version): Use PKGVERSION.
50926         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
50927         and BUGURL.
50928         ($(objpfx)memusage): Likewise.
50929         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
50930         (do_version): Use PKGVERSION.
50931         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
50932         (print_version): Use PKGVERSION.
50933         * malloc/mtrace.pl ($PACKAGE): Remove variable.
50934         ($PKGVERSION): New variable.
50935         ($REPORT_BUGS_TO): Likewise.
50936         (usage): Use $REPORT_BUGS_TO.
50937         (top level): Use $PKGVERSION.
50938         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
50939         ($(objpfx)pkgvers.texi): New rule.
50940         ($(objpfx)stamp-pkgvers): Likewise.
50941         * manual/install.texi: Include pkgvers.texi.
50942         (--with-pkgversion): Document new configure option.
50943         (--with-bugurl): Likewise.
50944         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
50945         than necessarily for this particular distribution.  Use
50946         REPORT_BUGS_TO for where to report bugs.
50947         * INSTALL: Regenerated.
50948         * manual/libc.texinfo: Include pkgvers.texi.
50949         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
50950         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
50951         (print_version): Use PKGVERSION.
50952         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
50953         (print_version): Use PKGVERSION.
50954         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
50955         (print_version): Use PKGVERSION.
50956         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
50957         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
50958         macro.
50959         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
50960         (print_version): Use PKGVERSION.
50961         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
50962         (print_version): Use PKGVERSION.
50963         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
50964         and PKGVERSION.
50966         * timezone/checktab.awk: Update from tzcode 2012i.
50967         * timezone/ialloc.c: Likewise.
50968         * timezone/private.h: Likewise.
50969         * timezone/scheck.c: Likewise.
50970         * timezone/tzfile.h: Likewise.
50971         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
50972         (TZVERSION): Hardcode tzcode version number.
50973         * timezone/zdump.c: Update from tzcode 2012i.
50974         * timezone/zic.c: Likewise.
50975         * timezone/version.h: New file.
50976         * timezone/README: Describe version.h.  Update upstream location.
50978         [BZ #14824]
50979         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
50980         (mktemp): Enable declaration.
50981         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
50982         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
50983         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
50984         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
50985         Likewise.
50986         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
50987         Likewise.
50988         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
50989         Likewise.
50990         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
50991         Likewise.
50992         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
50993         Likewise.
50994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
50995         Likewise.
50997         [BZ #14821]
50998         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
50999         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51000         for copies of such integer values.
51001         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51002         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51004 2012-11-09  Andreas Jaeger  <aj@suse.de>
51006         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51007         definitions and declarations that are provided by
51008         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51010 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51012         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51013         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51014         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51015         definition.
51017 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51019         * elf/elf.h: Update comment before AArch64 relocations.
51021 2012-11-07  David S. Miller  <davem@davemloft.net>
51023         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51024         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51025         (__start_context): Declare.
51026         (__makecontext_ret): Delete.
51027         (__makecontext): Hook up __start_context instead of
51028         __makecontext_ret.
51029         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51030         (sysdep_routines): Add __start_context when in stdlib.
51032 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51034         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51035         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51036         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
51037         hardcoded "nm".
51038         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
51039         (READELF): New variable.  Use it instead of hardcoded "readelf".
51041 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51043         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51044         * sysdeps/x86/Makefile: Here.
51045         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51046         * sysdeps/x86/tst-xmmymm.sh: This.
51048 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51050         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51051         expectations.
51052         [UNIX98] (pthread_barrier_t): Do not expect.
51053         [UNIX98] (pthread_barrierattr_t): Likewise.
51054         [UNIX98] (pthread_spinlock_t): Likewise.
51055         [UNIX98] (pthread_barrier_destroy): Likewise.
51056         [UNIX98] (pthread_barrier_init): Likewise.
51057         [UNIX98] (pthread_barrier_wait): Likewise.
51058         [UNIX98] (pthread_barrierattr_destroy): Likewise.
51059         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51060         [UNIX98] (pthread_barrierattr_init): Likewise.
51061         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51062         [UNIX98] (pthread_getcpuclockid): Likewise.
51063         [UNIX98] (pthread_mutex_timedlock): Likewise.
51064         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51065         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51066         [UNIX98] (pthread_sigmask): Likewise.
51067         [UNIX98] (pthread_spin_destroy): Likewise.
51068         [UNIX98] (pthread_spin_init): Likewise.
51069         [UNIX98] (pthread_spin_lock): Likewise.
51070         [UNIX98] (pthread_spin_trylock): Likewise.
51071         [UNIX98] (pthread_spin_unlock): Likewise.
51072         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51073         Do not expect.
51074         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51075         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51076         [XPG3 || XPG4] (pthread_cond_t): Likewise.
51077         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51078         [XPG3 || XPG4] (pthread_key_t): Likewise.
51079         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51080         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51081         [XPG3 || XPG4] (pthread_once_t): Likewise.
51082         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51083         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51084         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51085         [XPG3 || XPG4] (pthread_t): Likewise.
51087         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51088         not expect.
51089         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51091         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51092         Change function return type to int.
51094         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51095         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51096         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51097         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51098         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51099         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51100         [!POSIX] (posix_madvise): Likewise.
51101         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51102         && !UNIX98].
51103         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51104         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51105         (mode_t): Likewise.
51106         (posix_mem_offset): Likewise.
51107         (posix_typed_mem_get_info): Likewise.
51108         (posix_typed_mem_open): Likewise.
51110         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51111         Change condition to [XOPEN2K8].
51113         * conform/conformtest.pl: Preprocess allow-header data with -x c
51114         instead of from stdin.
51115         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51116         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51117         [C99-based standards] (cerfc): Likewise.
51118         [C99-based standards] (cexp2): Likewise.
51119         [C99-based standards] (cexpm1): Likewise.
51120         [C99-based standards] (clog10): Likewise.
51121         [C99-based standards] (clog1p): Likewise.
51122         [C99-based standards] (clog2): Likewise.
51123         [C99-based standards] (clgamma): Likewise.
51124         [C99-based standards] (ctgamma): Likewise.
51125         [C99-based standards] (cerff): Likewise.
51126         [C99-based standards] (cerfcf): Likewise.
51127         [C99-based standards] (cexp2f): Likewise.
51128         [C99-based standards] (cexpm1f): Likewise.
51129         [C99-based standards] (clog10f): Likewise.
51130         [C99-based standards] (clog1pf): Likewise.
51131         [C99-based standards] (clog2f): Likewise.
51132         [C99-based standards] (clgammaf): Likewise.
51133         [C99-based standards] (ctgammaf): Likewise.
51134         [C99-based standards] (cerfl): Likewise.
51135         [C99-based standards] (cerfcl): Likewise.
51136         [C99-based standards] (cexp2l): Likewise.
51137         [C99-based standards] (cexpm1l): Likewise.
51138         [C99-based standards] (clog10l): Likewise.
51139         [C99-based standards] (clog1pl): Likewise.
51140         [C99-based standards] (clog2l): Likewise.
51141         [C99-based standards] (clgammal): Likewise.
51142         [C99-based standards] (ctgammal): Likewise.
51143         * conform/data/inttypes.h-data [C99-based standards]: Include
51144         stdint.h-data.  Remove all expectations for stdint.h contents.
51145         [C99-based standards] (PRI*): Do not allow.
51146         [C99-based standards] (SCN*): Likewise.
51147         [C99-based standards] (*_t): Likewise.
51148         [C99-based-standards] (PRId8): Expect macro.
51149         [C99-based-standards] (PRIi8): Likewise.
51150         [C99-based-standards] (PRIo8): Likewise.
51151         [C99-based-standards] (PRIu8): Likewise.
51152         [C99-based-standards] (PRIx8): Likewise.
51153         [C99-based-standards] (PRIX8): Likewise.
51154         [C99-based-standards] (SCNd8): Likewise.
51155         [C99-based-standards] (SCNi8): Likewise.
51156         [C99-based-standards] (SCNo8): Likewise.
51157         [C99-based-standards] (SCNu8): Likewise.
51158         [C99-based-standards] (SCNx8): Likewise.
51159         [C99-based-standards] (PRIdLEAST8): Likewise.
51160         [C99-based-standards] (PRIiLEAST8): Likewise.
51161         [C99-based-standards] (PRIoLEAST8): Likewise.
51162         [C99-based-standards] (PRIuLEAST8): Likewise.
51163         [C99-based-standards] (PRIxLEAST8): Likewise.
51164         [C99-based-standards] (PRIXLEAST8): Likewise.
51165         [C99-based-standards] (SCNdLEAST8): Likewise.
51166         [C99-based-standards] (SCNiLEAST8): Likewise.
51167         [C99-based-standards] (SCNoLEAST8): Likewise.
51168         [C99-based-standards] (SCNuLEAST8): Likewise.
51169         [C99-based-standards] (SCNxLEAST8): Likewise.
51170         [C99-based-standards] (PRIdFAST8): Likewise.
51171         [C99-based-standards] (PRIiFAST8): Likewise.
51172         [C99-based-standards] (PRIoFAST8): Likewise.
51173         [C99-based-standards] (PRIuFAST8): Likewise.
51174         [C99-based-standards] (PRIxFAST8): Likewise.
51175         [C99-based-standards] (PRIXFAST8): Likewise.
51176         [C99-based-standards] (SCNdFAST8): Likewise.
51177         [C99-based-standards] (SCNiFAST8): Likewise.
51178         [C99-based-standards] (SCNoFAST8): Likewise.
51179         [C99-based-standards] (SCNuFAST8): Likewise.
51180         [C99-based-standards] (SCNxFAST8): Likewise.
51181         [C99-based-standards] (PRId16): Likewise.
51182         [C99-based-standards] (PRIi16): Likewise.
51183         [C99-based-standards] (PRIo16): Likewise.
51184         [C99-based-standards] (PRIu16): Likewise.
51185         [C99-based-standards] (PRIx16): Likewise.
51186         [C99-based-standards] (PRIX16): Likewise.
51187         [C99-based-standards] (SCNd16): Likewise.
51188         [C99-based-standards] (SCNi16): Likewise.
51189         [C99-based-standards] (SCNo16): Likewise.
51190         [C99-based-standards] (SCNu16): Likewise.
51191         [C99-based-standards] (SCNx16): Likewise.
51192         [C99-based-standards] (PRIdLEAST16): Likewise.
51193         [C99-based-standards] (PRIiLEAST16): Likewise.
51194         [C99-based-standards] (PRIoLEAST16): Likewise.
51195         [C99-based-standards] (PRIuLEAST16): Likewise.
51196         [C99-based-standards] (PRIxLEAST16): Likewise.
51197         [C99-based-standards] (PRIXLEAST16): Likewise.
51198         [C99-based-standards] (SCNdLEAST16): Likewise.
51199         [C99-based-standards] (SCNiLEAST16): Likewise.
51200         [C99-based-standards] (SCNoLEAST16): Likewise.
51201         [C99-based-standards] (SCNuLEAST16): Likewise.
51202         [C99-based-standards] (SCNxLEAST16): Likewise.
51203         [C99-based-standards] (PRIdFAST16): Likewise.
51204         [C99-based-standards] (PRIiFAST16): Likewise.
51205         [C99-based-standards] (PRIoFAST16): Likewise.
51206         [C99-based-standards] (PRIuFAST16): Likewise.
51207         [C99-based-standards] (PRIxFAST16): Likewise.
51208         [C99-based-standards] (PRIXFAST16): Likewise.
51209         [C99-based-standards] (SCNdFAST16): Likewise.
51210         [C99-based-standards] (SCNiFAST16): Likewise.
51211         [C99-based-standards] (SCNoFAST16): Likewise.
51212         [C99-based-standards] (SCNuFAST16): Likewise.
51213         [C99-based-standards] (SCNxFAST16): Likewise.
51214         [C99-based-standards] (PRId32): Likewise.
51215         [C99-based-standards] (PRIi32): Likewise.
51216         [C99-based-standards] (PRIo32): Likewise.
51217         [C99-based-standards] (PRIu32): Likewise.
51218         [C99-based-standards] (PRIx32): Likewise.
51219         [C99-based-standards] (PRIX32): Likewise.
51220         [C99-based-standards] (SCNd32): Likewise.
51221         [C99-based-standards] (SCNi32): Likewise.
51222         [C99-based-standards] (SCNo32): Likewise.
51223         [C99-based-standards] (SCNu32): Likewise.
51224         [C99-based-standards] (SCNx32): Likewise.
51225         [C99-based-standards] (PRIdLEAST32): Likewise.
51226         [C99-based-standards] (PRIiLEAST32): Likewise.
51227         [C99-based-standards] (PRIoLEAST32): Likewise.
51228         [C99-based-standards] (PRIuLEAST32): Likewise.
51229         [C99-based-standards] (PRIxLEAST32): Likewise.
51230         [C99-based-standards] (PRIXLEAST32): Likewise.
51231         [C99-based-standards] (SCNdLEAST32): Likewise.
51232         [C99-based-standards] (SCNiLEAST32): Likewise.
51233         [C99-based-standards] (SCNoLEAST32): Likewise.
51234         [C99-based-standards] (SCNuLEAST32): Likewise.
51235         [C99-based-standards] (SCNxLEAST32): Likewise.
51236         [C99-based-standards] (PRIdFAST32): Likewise.
51237         [C99-based-standards] (PRIiFAST32): Likewise.
51238         [C99-based-standards] (PRIoFAST32): Likewise.
51239         [C99-based-standards] (PRIuFAST32): Likewise.
51240         [C99-based-standards] (PRIxFAST32): Likewise.
51241         [C99-based-standards] (PRIXFAST32): Likewise.
51242         [C99-based-standards] (SCNdFAST32): Likewise.
51243         [C99-based-standards] (SCNiFAST32): Likewise.
51244         [C99-based-standards] (SCNoFAST32): Likewise.
51245         [C99-based-standards] (SCNuFAST32): Likewise.
51246         [C99-based-standards] (SCNxFAST32): Likewise.
51247         [C99-based-standards] (PRId64): Likewise.
51248         [C99-based-standards] (PRIi64): Likewise.
51249         [C99-based-standards] (PRIo64): Likewise.
51250         [C99-based-standards] (PRIu64): Likewise.
51251         [C99-based-standards] (PRIx64): Likewise.
51252         [C99-based-standards] (PRIX64): Likewise.
51253         [C99-based-standards] (SCNd64): Likewise.
51254         [C99-based-standards] (SCNi64): Likewise.
51255         [C99-based-standards] (SCNo64): Likewise.
51256         [C99-based-standards] (SCNu64): Likewise.
51257         [C99-based-standards] (SCNx64): Likewise.
51258         [C99-based-standards] (PRIdLEAST64): Likewise.
51259         [C99-based-standards] (PRIiLEAST64): Likewise.
51260         [C99-based-standards] (PRIoLEAST64): Likewise.
51261         [C99-based-standards] (PRIuLEAST64): Likewise.
51262         [C99-based-standards] (PRIxLEAST64): Likewise.
51263         [C99-based-standards] (PRIXLEAST64): Likewise.
51264         [C99-based-standards] (SCNdLEAST64): Likewise.
51265         [C99-based-standards] (SCNiLEAST64): Likewise.
51266         [C99-based-standards] (SCNoLEAST64): Likewise.
51267         [C99-based-standards] (SCNuLEAST64): Likewise.
51268         [C99-based-standards] (SCNxLEAST64): Likewise.
51269         [C99-based-standards] (PRIdFAST64): Likewise.
51270         [C99-based-standards] (PRIiFAST64): Likewise.
51271         [C99-based-standards] (PRIoFAST64): Likewise.
51272         [C99-based-standards] (PRIuFAST64): Likewise.
51273         [C99-based-standards] (PRIxFAST64): Likewise.
51274         [C99-based-standards] (PRIXFAST64): Likewise.
51275         [C99-based-standards] (SCNdFAST64): Likewise.
51276         [C99-based-standards] (SCNiFAST64): Likewise.
51277         [C99-based-standards] (SCNoFAST64): Likewise.
51278         [C99-based-standards] (SCNuFAST64): Likewise.
51279         [C99-based-standards] (SCNxFAST64): Likewise.
51280         [C99-based-standards] (PRIdMAX): Likewise.
51281         [C99-based-standards] (PRIiMAX): Likewise.
51282         [C99-based-standards] (PRIoMAX): Likewise.
51283         [C99-based-standards] (PRIuMAX): Likewise.
51284         [C99-based-standards] (PRIxMAX): Likewise.
51285         [C99-based-standards] (PRIXMAX): Likewise.
51286         [C99-based-standards] (SCNdMAX): Likewise.
51287         [C99-based-standards] (SCNiMAX): Likewise.
51288         [C99-based-standards] (SCNoMAX): Likewise.
51289         [C99-based-standards] (SCNuMAX): Likewise.
51290         [C99-based-standards] (SCNxMAX): Likewise.
51291         [C99-based-standards] (PRIdPTR): Likewise.
51292         [C99-based-standards] (PRIiPTR): Likewise.
51293         [C99-based-standards] (PRIoPTR): Likewise.
51294         [C99-based-standards] (PRIuPTR): Likewise.
51295         [C99-based-standards] (PRIxPTR): Likewise.
51296         [C99-based-standards] (PRIXPTR): Likewise.
51297         [C99-based-standards] (SCNdPTR): Likewise.
51298         [C99-based-standards] (SCNiPTR): Likewise.
51299         [C99-based-standards] (SCNoPTR): Likewise.
51300         [C99-based-standards] (SCNuPTR): Likewise.
51301         [C99-based-standards] (SCNxPTR): Likewise.
51302         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51303         allow.
51304         * conform/data/stdint.h-data: Update comments to clarify
51305         requirements.
51306         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
51307         type.
51308         [C99-based standards] (INT8_MAX): Likewise.
51309         [C99-based standards] (INT16_MIN): Likewise.
51310         [C99-based standards] (INT16_MAX): Likewise.
51311         [C99-based standards] (INT32_MIN): Likewise.
51312         [C99-based standards] (INT32_MAX): Likewise.
51313         [C99-based standards] (INT64_MIN): Likewise.
51314         [C99-based standards] (INT64_MAX): Likewise.
51315         [C99-based standards] (UINT8_MAX): Likewise.
51316         [C99-based standards] (UINT16_MAX): Likewise.
51317         [C99-based standards] (UINT32_MAX): Likewise.
51318         [C99-based standards] (UINT64_MAX): Likewise.
51319         [C99-based standards] (INT_LEAST8_MIN): Likewise.
51320         [C99-based standards] (INT_LEAST8_MAX): Likewise.
51321         [C99-based standards] (INT_LEAST16_MIN): Likewise.
51322         [C99-based standards] (INT_LEAST16_MAX): Likewise.
51323         [C99-based standards] (INT_LEAST32_MIN): Likewise.
51324         [C99-based standards] (INT_LEAST32_MAX): Likewise.
51325         [C99-based standards] (INT_LEAST64_MIN): Likewise.
51326         [C99-based standards] (INT_LEAST64_MAX): Likewise.
51327         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51328         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51329         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51330         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51331         [C99-based standards] (INT_FAST8_MIN): Likewise.
51332         [C99-based standards] (INT_FAST8_MAX): Likewise.
51333         [C99-based standards] (INT_FAST16_MIN): Likewise.
51334         [C99-based standards] (INT_FAST16_MAX): Likewise.
51335         [C99-based standards] (INT_FAST32_MIN): Likewise.
51336         [C99-based standards] (INT_FAST32_MAX): Likewise.
51337         [C99-based standards] (INT_FAST64_MIN): Likewise.
51338         [C99-based standards] (INT_FAST64_MAX): Likewise.
51339         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51340         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51341         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51342         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51343         [C99-based standards] (INTPTR_MIN): Likewise.
51344         [C99-based standards] (INTPTR_MAX): Likewise.
51345         [C99-based standards] (UINTPTR_MAX): Likewise.
51346         [C99-based standards] (INTMAX_MIN): Likewise.
51347         [C99-based standards] (INTMAX_MAX): Likewise.
51348         [C99-based standards] (UINTMAX_MAX): Likewise.
51349         [C99-based standards] (PTRDIFF_MIN): Likewise.
51350         [C99-based standards] (PTRDIFF_MAX): Likewise.
51351         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51352         [C99-based standards] (SIZE_MAX): Likewise.
51353         [C99-based standards] (WCHAR_MAX): Likewise.
51354         [C99-based standards] (WINT_MAX): Likewise.
51355         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51356         constraint on value.
51357         [C99-based standards] (WCHAR_MIN): Likewise.
51358         [C99-based standards] (WINT_MIN): Likewise.
51359         [C99-based standards] (*_t): Allow.
51360         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51361         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51362         Include math.h-data and complex.h-data.  Remove all expectations
51363         of math.h and complex.h contents.
51364         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51365         at end of line.
51366         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51367         (struct tm): Expect tag.
51368         [C99-based-standards] (wcstof): Expect function.
51369         [C99-based-standards] (wcstold): Likewise.
51370         [C99-based-standards] (wcstoll): Likewise.
51371         [C99-based-standards] (wcstoull): Likewise.
51372         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51373         macro-int-constant.  Specify type.
51374         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51375         constraint on value.
51376         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51377         Specify type.
51378         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51379         Specify value.
51380         [ISO C standards]: Do not allow headers.
51381         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51382         wcs[abcdefghijklmnopqrstuvwxyz]*.
51383         [ISO C standards] (*_t): Do not allow.
51384         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51385         Expect function.
51386         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51387         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51388         Specify type.
51389         [ISO C standards]: Do not allow headers.
51390         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51391         is[abcdefghijklmnopqrstuvwxyz]*.
51392         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51393         to[abcdefghijklmnopqrstuvwxyz]*.
51394         [ISO C standards] (*_t): Do not allow.
51395         * conform/data/stdalign.h-data: New file.
51396         * conform/data/stdbool.h-data: Likewise.
51397         * conform/data/stdnoreturn.h-data: Likewise.
51399 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51401         [BZ #14815]
51402         * manual/filesys.texi (Directory Entries): Typo fix.
51403         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51405 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51407         * elf/elf.h (EM_AARCH64): New macro.
51408         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51409         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51410         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51411         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51412         (R_AARCH64_TLSDESC): Likewise.
51413         (NT_ARM_TLS): Likewise.
51414         (NT_ARM_HW_BREAK): Likewise.
51415         (NT_ARM_HW_WATCH): Likewise.
51417 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51419         [BZ #14811]
51420         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51421         (__ieee754_powl): Saturate nonzero exponents with absolute value
51422         below 0x1p-79 to +/- 0x1p-79.
51423         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51424         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51425         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51426         nonzero exponents with absolute value below 0x1p-32 to +/-
51427         0x1p-32.
51428         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51429         (__ieee754_powl): Saturate nonzero exponents with absolute value
51430         below 0x1p-79 to +/- 0x1p-79.
51431         * math/libm-test.inc (pow_test): Add more tests.
51433 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51435         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51436         _dl_s390_cap_flags with kernel. Increase string length.
51437         (_dl_s390_platforms): Add z196 and zEC12.
51439 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51441         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51442         Change XOPEN21K to XOPEN2K.
51444 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51446         * string/memmove.c: Use memcpy when possible.
51448 2012-11-06  Andreas Jaeger  <aj@suse.de>
51450         * po/eo.po: Update from translation team.
51452 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51454         [BZ #14793]
51455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51456         exponent and small x and y exponents, scale x or y up.  Increase
51457         by 2 the exponent used in scaling up.
51458         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51459         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51460         * math/libm-test.inc (fma_test): Add more tests.
51461         (fma_test_towardzero): Likewise.
51462         (fma_test_downward): Likewise.
51463         (fma_test_upward): Likewise.
51465 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51467         [BZ #14805]
51468         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51469         fenv_t *.
51471         [BZ #14801]
51472         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51473         namespace for names of struct fields.
51474         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51475         fenv_t fields.
51476         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51477         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51479 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51481         [BZ #3665]
51482         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51484 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51486         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51487         PTR_DEMANGLE.
51489         [BZ #5246]
51490         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51491         PTR_DEMANGLE.
51493 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51495         [BZ #14797]
51496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51497         definitely overflow as x * y not x * y + z.
51498         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51499         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51500         * math/libm-test.inc (fma_test): Add more tests.
51501         (fma_test_towardzero): Likewise.
51502         (fma_test_downward): Likewise.
51503         (fma_test_upward): Likewise.
51505 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51507         [BZ #157]
51509         * include/stub-tag.h: Remove file.
51510         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51511         '#include' of it.
51512         * manual/maint.texi (Porting): Don't reference it.
51513         * Makerules ($(objpfx)stubs): Likewise.
51514         * dirent/closedir.c: Don't include <stub-tag.h>.
51515         * dirent/dirfd.c: Likewise.
51516         * dirent/fdopendir.c: Likewise.
51517         * dirent/getdents.c: Likewise.
51518         * dirent/getdents64.c: Likewise.
51519         * dirent/opendir.c: Likewise.
51520         * dirent/readdir.c: Likewise.
51521         * dirent/readdir64.c: Likewise.
51522         * dirent/readdir64_r.c: Likewise.
51523         * dirent/readdir_r.c: Likewise.
51524         * dirent/rewinddir.c: Likewise.
51525         * dirent/seekdir.c: Likewise.
51526         * dirent/telldir.c: Likewise.
51527         * gmon/profil.c: Likewise.
51528         * grp/setgroups.c: Likewise.
51529         * inet/if_index.c: Likewise.
51530         * io/access.c: Likewise.
51531         * io/chdir.c: Likewise.
51532         * io/chmod.c: Likewise.
51533         * io/chown.c: Likewise.
51534         * io/close.c: Likewise.
51535         * io/dup.c: Likewise.
51536         * io/dup2.c: Likewise.
51537         * io/dup3.c: Likewise.
51538         * io/euidaccess.c: Likewise.
51539         * io/faccessat.c: Likewise.
51540         * io/fchdir.c: Likewise.
51541         * io/fchmod.c: Likewise.
51542         * io/fchmodat.c: Likewise.
51543         * io/fchown.c: Likewise.
51544         * io/fchownat.c: Likewise.
51545         * io/fcntl.c: Likewise.
51546         * io/flock.c: Likewise.
51547         * io/fstatfs.c: Likewise.
51548         * io/fstatfs64.c: Likewise.
51549         * io/fstatvfs.c: Likewise.
51550         * io/fstatvfs64.c: Likewise.
51551         * io/futimens.c: Likewise.
51552         * io/fxstat.c: Likewise.
51553         * io/fxstat64.c: Likewise.
51554         * io/fxstatat.c: Likewise.
51555         * io/fxstatat64.c: Likewise.
51556         * io/getcwd.c: Likewise.
51557         * io/isatty.c: Likewise.
51558         * io/lchmod.c: Likewise.
51559         * io/lchown.c: Likewise.
51560         * io/link.c: Likewise.
51561         * io/linkat.c: Likewise.
51562         * io/lseek.c: Likewise.
51563         * io/lseek64.c: Likewise.
51564         * io/lxstat64.c: Likewise.
51565         * io/mkdir.c: Likewise.
51566         * io/mkdirat.c: Likewise.
51567         * io/mkfifo.c: Likewise.
51568         * io/mkfifoat.c: Likewise.
51569         * io/open.c: Likewise.
51570         * io/open64.c: Likewise.
51571         * io/openat.c: Likewise.
51572         * io/openat64.c: Likewise.
51573         * io/pipe.c: Likewise.
51574         * io/pipe2.c: Likewise.
51575         * io/poll.c: Likewise.
51576         * io/posix_fadvise.c: Likewise.
51577         * io/posix_fadvise64.c: Likewise.
51578         * io/posix_fallocate.c: Likewise.
51579         * io/posix_fallocate64.c: Likewise.
51580         * io/read.c: Likewise.
51581         * io/readlink.c: Likewise.
51582         * io/readlinkat.c: Likewise.
51583         * io/rmdir.c: Likewise.
51584         * io/sendfile.c: Likewise.
51585         * io/sendfile64.c: Likewise.
51586         * io/statfs.c: Likewise.
51587         * io/statfs64.c: Likewise.
51588         * io/statvfs.c: Likewise.
51589         * io/statvfs64.c: Likewise.
51590         * io/symlink.c: Likewise.
51591         * io/symlinkat.c: Likewise.
51592         * io/ttyname.c: Likewise.
51593         * io/ttyname_r.c: Likewise.
51594         * io/umask.c: Likewise.
51595         * io/unlink.c: Likewise.
51596         * io/unlinkat.c: Likewise.
51597         * io/utime.c: Likewise.
51598         * io/utimensat.c: Likewise.
51599         * io/write.c: Likewise.
51600         * io/xmknod.c: Likewise.
51601         * io/xmknodat.c: Likewise.
51602         * io/xstat.c: Likewise.
51603         * io/xstat64.c: Likewise.
51604         * login/getpt.c: Likewise.
51605         * login/grantpt.c: Likewise.
51606         * login/unlockpt.c: Likewise.
51607         * math/e_acoshl.c: Likewise.
51608         * math/e_acosl.c: Likewise.
51609         * math/e_asinl.c: Likewise.
51610         * math/e_atan2l.c: Likewise.
51611         * math/e_atanhl.c: Likewise.
51612         * math/e_coshl.c: Likewise.
51613         * math/e_expl.c: Likewise.
51614         * math/e_fmodl.c: Likewise.
51615         * math/e_gammal_r.c: Likewise.
51616         * math/e_hypotl.c: Likewise.
51617         * math/e_j0l.c: Likewise.
51618         * math/e_j1l.c: Likewise.
51619         * math/e_jnl.c: Likewise.
51620         * math/e_lgammal_r.c: Likewise.
51621         * math/e_log10l.c: Likewise.
51622         * math/e_log2l.c: Likewise.
51623         * math/e_logl.c: Likewise.
51624         * math/e_powl.c: Likewise.
51625         * math/e_rem_pio2l.c: Likewise.
51626         * math/e_sinhl.c: Likewise.
51627         * math/e_sqrtl.c: Likewise.
51628         * math/fclrexcpt.c: Likewise.
51629         * math/fedisblxcpt.c: Likewise.
51630         * math/feenablxcpt.c: Likewise.
51631         * math/fegetenv.c: Likewise.
51632         * math/fegetexcept.c: Likewise.
51633         * math/fegetround.c: Likewise.
51634         * math/feholdexcpt.c: Likewise.
51635         * math/fesetenv.c: Likewise.
51636         * math/fesetround.c: Likewise.
51637         * math/feupdateenv.c: Likewise.
51638         * math/fgetexcptflg.c: Likewise.
51639         * math/fraiseexcpt.c: Likewise.
51640         * math/fsetexcptflg.c: Likewise.
51641         * math/ftestexcept.c: Likewise.
51642         * math/k_cosl.c: Likewise.
51643         * math/k_rem_pio2l.c: Likewise.
51644         * math/k_sinl.c: Likewise.
51645         * math/k_tanl.c: Likewise.
51646         * math/s_asinhl.c: Likewise.
51647         * math/s_atanl.c: Likewise.
51648         * math/s_cbrtl.c: Likewise.
51649         * math/s_erfl.c: Likewise.
51650         * math/s_expm1l.c: Likewise.
51651         * math/s_log1pl.c: Likewise.
51652         * math/s_tanhl.c: Likewise.
51653         * misc/acct.c: Likewise.
51654         * misc/brk.c: Likewise.
51655         * misc/chflags.c: Likewise.
51656         * misc/chroot.c: Likewise.
51657         * misc/fchflags.c: Likewise.
51658         * misc/fgetxattr.c: Likewise.
51659         * misc/flistxattr.c: Likewise.
51660         * misc/fremovexattr.c: Likewise.
51661         * misc/fsetxattr.c: Likewise.
51662         * misc/fsync.c: Likewise.
51663         * misc/ftruncate.c: Likewise.
51664         * misc/futimes.c: Likewise.
51665         * misc/futimesat.c: Likewise.
51666         * misc/getdomain.c: Likewise.
51667         * misc/getdtsz.c: Likewise.
51668         * misc/gethostid.c: Likewise.
51669         * misc/gethostname.c: Likewise.
51670         * misc/getloadavg.c: Likewise.
51671         * misc/getpagesize.c: Likewise.
51672         * misc/getsysstats.c: Likewise.
51673         * misc/getxattr.c: Likewise.
51674         * misc/gtty.c: Likewise.
51675         * misc/ioctl.c: Likewise.
51676         * misc/lgetxattr.c: Likewise.
51677         * misc/listxattr.c: Likewise.
51678         * misc/llistxattr.c: Likewise.
51679         * misc/lremovexattr.c: Likewise.
51680         * misc/lsetxattr.c: Likewise.
51681         * misc/lutimes.c: Likewise.
51682         * misc/madvise.c: Likewise.
51683         * misc/mincore.c: Likewise.
51684         * misc/mlock.c: Likewise.
51685         * misc/mlockall.c: Likewise.
51686         * misc/mmap.c: Likewise.
51687         * misc/mprotect.c: Likewise.
51688         * misc/msync.c: Likewise.
51689         * misc/munlock.c: Likewise.
51690         * misc/munlockall.c: Likewise.
51691         * misc/munmap.c: Likewise.
51692         * misc/preadv.c: Likewise.
51693         * misc/preadv64.c: Likewise.
51694         * misc/ptrace.c: Likewise.
51695         * misc/pwritev.c: Likewise.
51696         * misc/pwritev64.c: Likewise.
51697         * misc/readv.c: Likewise.
51698         * misc/reboot.c: Likewise.
51699         * misc/remap_file_pages.c: Likewise.
51700         * misc/removexattr.c: Likewise.
51701         * misc/revoke.c: Likewise.
51702         * misc/select.c: Likewise.
51703         * misc/setdomain.c: Likewise.
51704         * misc/setegid.c: Likewise.
51705         * misc/seteuid.c: Likewise.
51706         * misc/sethostid.c: Likewise.
51707         * misc/sethostname.c: Likewise.
51708         * misc/setregid.c: Likewise.
51709         * misc/setreuid.c: Likewise.
51710         * misc/setxattr.c: Likewise.
51711         * misc/sstk.c: Likewise.
51712         * misc/stty.c: Likewise.
51713         * misc/swapoff.c: Likewise.
51714         * misc/swapon.c: Likewise.
51715         * misc/sync.c: Likewise.
51716         * misc/syncfs.c: Likewise.
51717         * misc/syscall.c: Likewise.
51718         * misc/truncate.c: Likewise.
51719         * misc/ualarm.c: Likewise.
51720         * misc/usleep.c: Likewise.
51721         * misc/ustat.c: Likewise.
51722         * misc/utimes.c: Likewise.
51723         * misc/vhangup.c: Likewise.
51724         * misc/writev.c: Likewise.
51725         * posix/_exit.c: Likewise.
51726         * posix/alarm.c: Likewise.
51727         * posix/execve.c: Likewise.
51728         * posix/fexecve.c: Likewise.
51729         * posix/fork.c: Likewise.
51730         * posix/fpathconf.c: Likewise.
51731         * posix/getaddrinfo.c: Likewise.
51732         * posix/getegid.c: Likewise.
51733         * posix/geteuid.c: Likewise.
51734         * posix/getgid.c: Likewise.
51735         * posix/getgroups.c: Likewise.
51736         * posix/getlogin.c: Likewise.
51737         * posix/getlogin_r.c: Likewise.
51738         * posix/getpgid.c: Likewise.
51739         * posix/getpid.c: Likewise.
51740         * posix/getppid.c: Likewise.
51741         * posix/getresgid.c: Likewise.
51742         * posix/getresuid.c: Likewise.
51743         * posix/getsid.c: Likewise.
51744         * posix/getuid.c: Likewise.
51745         * posix/glob64.c: Likewise.
51746         * posix/nanosleep.c: Likewise.
51747         * posix/pathconf.c: Likewise.
51748         * posix/pause.c: Likewise.
51749         * posix/posix_madvise.c: Likewise.
51750         * posix/pread.c: Likewise.
51751         * posix/pread64.c: Likewise.
51752         * posix/pwrite.c: Likewise.
51753         * posix/pwrite64.c: Likewise.
51754         * posix/sched_getaffinity.c: Likewise.
51755         * posix/sched_getp.c: Likewise.
51756         * posix/sched_gets.c: Likewise.
51757         * posix/sched_primax.c: Likewise.
51758         * posix/sched_primin.c: Likewise.
51759         * posix/sched_rr_gi.c: Likewise.
51760         * posix/sched_setaffinity.c: Likewise.
51761         * posix/sched_setp.c: Likewise.
51762         * posix/sched_sets.c: Likewise.
51763         * posix/sched_yield.c: Likewise.
51764         * posix/setgid.c: Likewise.
51765         * posix/setlogin.c: Likewise.
51766         * posix/setpgid.c: Likewise.
51767         * posix/setresgid.c: Likewise.
51768         * posix/setresuid.c: Likewise.
51769         * posix/setsid.c: Likewise.
51770         * posix/setuid.c: Likewise.
51771         * posix/sleep.c: Likewise.
51772         * posix/spawni.c: Likewise.
51773         * posix/sysconf.c: Likewise.
51774         * posix/times.c: Likewise.
51775         * posix/wait.c: Likewise.
51776         * posix/wait3.c: Likewise.
51777         * posix/wait4.c: Likewise.
51778         * posix/waitpid.c: Likewise.
51779         * resolv/gai_sigqueue.c: Likewise.
51780         * resource/getpriority.c: Likewise.
51781         * resource/getrlimit.c: Likewise.
51782         * resource/getrusage.c: Likewise.
51783         * resource/nice.c: Likewise.
51784         * resource/setpriority.c: Likewise.
51785         * resource/setrlimit.c: Likewise.
51786         * resource/ulimit.c: Likewise.
51787         * rt/aio_cancel.c: Likewise.
51788         * rt/aio_fsync.c: Likewise.
51789         * rt/aio_read.c: Likewise.
51790         * rt/aio_sigqueue.c: Likewise.
51791         * rt/aio_suspend.c: Likewise.
51792         * rt/aio_write.c: Likewise.
51793         * rt/clock_getres.c: Likewise.
51794         * rt/clock_gettime.c: Likewise.
51795         * rt/clock_nanosleep.c: Likewise.
51796         * rt/clock_settime.c: Likewise.
51797         * rt/lio_listio.c: Likewise.
51798         * rt/mq_close.c: Likewise.
51799         * rt/mq_getattr.c: Likewise.
51800         * rt/mq_notify.c: Likewise.
51801         * rt/mq_open.c: Likewise.
51802         * rt/mq_receive.c: Likewise.
51803         * rt/mq_send.c: Likewise.
51804         * rt/mq_setattr.c: Likewise.
51805         * rt/mq_timedreceive.c: Likewise.
51806         * rt/mq_timedsend.c: Likewise.
51807         * rt/mq_unlink.c: Likewise.
51808         * rt/shm_open.c: Likewise.
51809         * rt/shm_unlink.c: Likewise.
51810         * rt/timer_create.c: Likewise.
51811         * rt/timer_delete.c: Likewise.
51812         * rt/timer_getoverr.c: Likewise.
51813         * rt/timer_gettime.c: Likewise.
51814         * rt/timer_settime.c: Likewise.
51815         * setjmp/__longjmp.c: Likewise.
51816         * setjmp/setjmp.c: Likewise.
51817         * signal/kill.c: Likewise.
51818         * signal/killpg.c: Likewise.
51819         * signal/raise.c: Likewise.
51820         * signal/sigaction.c: Likewise.
51821         * signal/sigaltstack.c: Likewise.
51822         * signal/sigblock.c: Likewise.
51823         * signal/sigignore.c: Likewise.
51824         * signal/sigintr.c: Likewise.
51825         * signal/signal.c: Likewise.
51826         * signal/sigpause.c: Likewise.
51827         * signal/sigpending.c: Likewise.
51828         * signal/sigqueue.c: Likewise.
51829         * signal/sigreturn.c: Likewise.
51830         * signal/sigset.c: Likewise.
51831         * signal/sigsetmask.c: Likewise.
51832         * signal/sigstack.c: Likewise.
51833         * signal/sigsuspend.c: Likewise.
51834         * signal/sigtimedwait.c: Likewise.
51835         * signal/sigvec.c: Likewise.
51836         * signal/sigwait.c: Likewise.
51837         * signal/sigwaitinfo.c: Likewise.
51838         * signal/sysv_signal.c: Likewise.
51839         * socket/accept.c: Likewise.
51840         * socket/accept4.c: Likewise.
51841         * socket/bind.c: Likewise.
51842         * socket/connect.c: Likewise.
51843         * socket/getpeername.c: Likewise.
51844         * socket/getsockname.c: Likewise.
51845         * socket/getsockopt.c: Likewise.
51846         * socket/isfdtype.c: Likewise.
51847         * socket/listen.c: Likewise.
51848         * socket/recv.c: Likewise.
51849         * socket/recvfrom.c: Likewise.
51850         * socket/recvmsg.c: Likewise.
51851         * socket/send.c: Likewise.
51852         * socket/sendmsg.c: Likewise.
51853         * socket/sendto.c: Likewise.
51854         * socket/setsockopt.c: Likewise.
51855         * socket/shutdown.c: Likewise.
51856         * socket/sockatmark.c: Likewise.
51857         * socket/socket.c: Likewise.
51858         * socket/socketpair.c: Likewise.
51859         * stdio-common/ctermid.c: Likewise.
51860         * stdio-common/cuserid.c: Likewise.
51861         * stdio-common/remove.c: Likewise.
51862         * stdio-common/rename.c: Likewise.
51863         * stdio-common/renameat.c: Likewise.
51864         * stdio-common/tempname.c: Likewise.
51865         * stdlib/getcontext.c: Likewise.
51866         * stdlib/makecontext.c: Likewise.
51867         * stdlib/setcontext.c: Likewise.
51868         * stdlib/swapcontext.c: Likewise.
51869         * stdlib/system.c: Likewise.
51870         * streams/fattach.c: Likewise.
51871         * streams/fdetach.c: Likewise.
51872         * streams/getmsg.c: Likewise.
51873         * streams/getpmsg.c: Likewise.
51874         * streams/putmsg.c: Likewise.
51875         * streams/putpmsg.c: Likewise.
51876         * sysdeps/unix/bsd/getpt.c: Likewise.
51877         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
51878         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
51879         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51881         Likewise.
51882         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
51883         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51884         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
51885         * sysvipc/msgctl.c: Likewise.
51886         * sysvipc/msgget.c: Likewise.
51887         * sysvipc/msgrcv.c: Likewise.
51888         * sysvipc/msgsnd.c: Likewise.
51889         * sysvipc/semctl.c: Likewise.
51890         * sysvipc/semget.c: Likewise.
51891         * sysvipc/semop.c: Likewise.
51892         * sysvipc/semtimedop.c: Likewise.
51893         * sysvipc/shmat.c: Likewise.
51894         * sysvipc/shmctl.c: Likewise.
51895         * sysvipc/shmdt.c: Likewise.
51896         * sysvipc/shmget.c: Likewise.
51897         * termios/tcdrain.c: Likewise.
51898         * termios/tcflow.c: Likewise.
51899         * termios/tcflush.c: Likewise.
51900         * termios/tcgetattr.c: Likewise.
51901         * termios/tcgetpgrp.c: Likewise.
51902         * termios/tcsendbrk.c: Likewise.
51903         * termios/tcsetattr.c: Likewise.
51904         * termios/tcsetpgrp.c: Likewise.
51905         * time/adjtime.c: Likewise.
51906         * time/clock.c: Likewise.
51907         * time/getitimer.c: Likewise.
51908         * time/gettimeofday.c: Likewise.
51909         * time/setitimer.c: Likewise.
51910         * time/settimeofday.c: Likewise.
51911         * time/stime.c: Likewise.
51912         * time/time.c: Likewise.
51914 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
51916         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
51917         /usr/old/bin.
51919         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
51920         instead of spaces.
51921         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
51923 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
51925         [BZ #14796]
51926         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
51927         FE_TONEAREST before applying Dekker multiplication and Knuth
51928         addition.  Clear inexact exceptions and check for exact zero
51929         results afterwards.
51930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51931         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51932         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51933         * math/libm-test.inc (fma_test): Add more tests.
51934         (fma_test_towardzero): Likewise.
51935         (fma_test_downward): Likewise.
51936         (fma_test_upward): Likewise.
51937         * sysdeps/generic/math_private.h (default_libc_fesetround): New
51938         function.
51939         (libc_fesetround): New macro.
51940         (libc_fesetroundf): Likewise.
51941         (libc_fesetroundl): Likewise.
51942         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
51943         function.
51944         (libc_fesetround_387): Likewise.
51945         (libc_fesetroundf): New macro.
51946         (libc_fesetround): Likewise.
51947         (libc_fesetroundl): Likewise.
51948         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
51949         function.
51950         (libc_fesetroundf): New macro.
51951         (libc_fesetround): Likewise.
51952         (libc_fesetroundl): Likewise.
51953         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
51954         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
51955         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
51956         libm_hidden_ver.
51957         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
51958         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
51959         libm_hidden_def.
51960         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
51961         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
51962         libm_hidden_ver.
51963         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51964         libm_hidden_def.
51966         [BZ #3439]
51967         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
51968         integer constant usable in #if and use that to give value to enum
51969         constant.
51970         (FE_DIVBYZERO): Likewise.
51971         (FE_UNDERFLOW): Likewise.
51972         (FE_OVERFLOW): Likewise.
51973         (FE_INVALID): Likewise.
51974         (FE_INVALID_SNAN): Likewise.
51975         (FE_INVALID_ISI): Likewise.
51976         (FE_INVALID_IDI): Likewise.
51977         (FE_INVALID_ZDZ): Likewise.
51978         (FE_INVALID_IMZ): Likewise.
51979         (FE_INVALID_COMPARE): Likewise.
51980         (FE_INVALID_SOFTWARE): Likewise.
51981         (FE_INVALID_SQRT): Likewise.
51982         (FE_INVALID_INTEGER_CONVERSION): Likewise.
51983         (FE_TONEAREST): Likewise.
51984         (FE_TOWARDZERO): Likewise.
51985         (FE_UPWARD): Likewise.
51986         (FE_DOWNWARD): Likewise.
51987         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
51988         (FE_DIVBYZERO): Likewise.
51989         (FE_OVERFLOW): Likewise.
51990         (FE_UNDERFLOW): Likewise.
51991         (FE_INEXACT): Likewise.
51992         (FE_TONEAREST): Likewise.
51993         (FE_DOWNWARD): Likewise.
51994         (FE_UPWARD): Likewise.
51995         (FE_TOWARDZERO): Likewise.
51996         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
51997         (FE_UNDERFLOW): Likewise.
51998         (FE_OVERFLOW): Likewise.
51999         (FE_DIVBYZERO): Likewise.
52000         (FE_INVALID): Likewise.
52001         (FE_TONEAREST): Likewise.
52002         (FE_TOWARDZERO): Likewise.
52003         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52004         (FE_OVERFLOW): Likewise.
52005         (FE_UNDERFLOW): Likewise.
52006         (FE_DIVBYZERO): Likewise.
52007         (FE_INEXACT): Likewise.
52008         (FE_TONEAREST): Likewise.
52009         (FE_TOWARDZERO): Likewise.
52010         (FE_UPWARD): Likewise.
52011         (FE_DOWNWARD): Likewise.
52012         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52013         (FE_DIVBYZERO): Likewise.
52014         (FE_OVERFLOW): Likewise.
52015         (FE_UNDERFLOW): Likewise.
52016         (FE_INEXACT): Likewise.
52017         (FE_TONEAREST): Likewise.
52018         (FE_DOWNWARD): Likewise.
52019         (FE_UPWARD): Likewise.
52020         (FE_TOWARDZERO): Likewise.
52022 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
52024         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52026 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
52028         * scripts/cross-test-ssh.sh (command): Use newlines to separate
52029         commands.  Quote $PWD.
52030         (blacklist_exports): Don't use remove_newlines.  Replace "declare
52031         -x" by "export".
52032         (remove_newlines): Remove.
52034 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
52036         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52037         * stdlib/stdlib.h (atof): Moved to ...
52038         * include/bits/stdlib-float.h: Here.  New file.
52039         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52040         * stdlib/bits/stdlib-float.h: New file.
52041         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52042         -mno-sse -mno-mmx.
52043         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52044         <xmmintrin.h>.
52046 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52048         * conform/conformtest.pl (@headers): Add fenv.h.
52049         * conform/data/fenv.h-data: New file.
52050         * include/fenv.h [_ISOMAC]: Disable all contents of file except
52051         include of <math/fenv.h>.
52053         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52054         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52055         && !UNIX98].  Enables tests for XOPEN2K8.
52056         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52057         POSIX2008]: Likewise.
52059         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52060         (struct rusage): Do not expect type or its members.
52062         [BZ #3439]
52063         * math/math.h (FP_NAN): Define macro to integer constant usable in
52064         #if and use that to give value to enum constant.
52065         (FP_INFINITE): Likewise.
52066         (FP_ZERO): Likewise.
52067         (FP_SUBNORMAL): Likewise.
52068         (FP_NORMAL): Likewise.
52070 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
52072         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52073         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52074         arguments.
52076 2012-11-02  Roland McGrath  <roland@hack.frob.com>
52078         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52079         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52080         autoconf-time if not.
52081         * configure.in: Remove AC_PREREQ.
52083 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52085         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52086         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52087         of the internal implementation.
52089 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52091         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52092         except include of <misc/sys/syslog.h>.
52094 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52097         function returns with a NULL context exit with zero.
52099 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52101         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52103 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
52105         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52106         (run_program_cmd): This.
52107         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52108         (tst_langinfo): New variable.  Use it.
52110 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
52112         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52113         floating point opcodes.
52115 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52117         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52118         variable.
52120         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52122         * sysdeps/mach/hurd/powerpc: Remove directory.
52123         * sysdeps/mach/powerpc: Likewise.
52125 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52127         * scripts/check-local-headers.sh: Ignore c++ headers.
52129 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52131         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52132         __libc_cleanup_region_start argument.
52134 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
52136         [BZ #14784]
52137         [BZ #14785]
52138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52139         x * y using scaling, not as x * y + z.
52140         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52141         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52142         * math/libm-test.inc (fma_test): Add more tests.
52143         (fma_test_towardzero): Likewise.
52144         (fma_test_downward): Likewise.
52145         (fma_test_upward): Likewise.
52147 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52149         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52151 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52153         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52154         New variable.
52156 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52158         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52160 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52163         Fix sort order.
52164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52165         Likewise.
52167 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52170         Fix the order of the list for glibc 2.17.
52171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52172         Likewise.
52174 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52178 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52180         [BZ #14610]
52181         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52182         for low part of x being zero before using __atanl (y).
52183         * math/libm-test.inc (atan2_test): Add another test.
52185         * manual/install.texi (Configuring and compiling): Document
52186         general use of test-wrapper and test-wrapper-env.
52187         * INSTALL: Regenerated.
52189         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52190         (__fma): Do not extract and scale down low bits on after-rounding
52191         systems when result rounded to normal precision would have normal
52192         exponent.
52193         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52194         (__fmal): Do not extract and scale down low bits on after-rounding
52195         systems when result rounded to normal precision would have normal
52196         exponent.
52197         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52198         (__fmal): Do not extract and scale down low bits on after-rounding
52199         systems when result rounded to normal precision would have normal
52200         exponent.
52201         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52202         macro.
52203         (fma_test): Add more tests.
52204         (fma_test_towardzero): Likewise.
52205         (fma_test_downward): Likewise.
52206         (fma_test_upward): Likewise.
52208 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52210         * sysdeps/i386/tininess.h: Renamed to ...
52211         * sysdeps/x86/tininess.h: This.
52212         * sysdeps/x86_64/tininess.h: Removed.
52214 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52216         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52217         input.  Use $(build-program-cmd).
52218         ($(objpfx)tst-array1-static.out): Likewise.
52219         ($(objpfx)tst-array2.out): Likewise.
52220         ($(objpfx)tst-array3.out): Likewise.
52221         ($(objpfx)tst-array4.out): Likewise.
52222         ($(objpfx)tst-array5.out): Likewise.
52223         ($(objpfx)tst-array5-static.out): Likewise.
52225 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52227         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52228         if defined.
52230         * nss/nsswitch.h (nss_interface_function): Provide new
52231         macro for use with NSS functions.
52232         * grp/initgroups.c: Use new macro.
52233         * nss/getXXbyYY.c: Likewise.
52234         * nss/getXXbyYY_r.c: Likewise.
52235         * nss/getXXent.c: Likewise.
52236         * nss/getXXent_r.c: Likewise.
52237         * sysdeps/posix/getaddrinfo.c: Likewise.
52239 2012-10-30  Andreas Jaeger  <aj@suse.de>
52241         * po/ru.po: Update Russion translation from translation project.
52243 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52245         [BZ #14152]
52246         [BZ #14783]
52247         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52248         result and shift together with sticky bit instead of replicating
52249         round-to-nearest rounding.
52250         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52251         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52252         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52253         missing underflow exceptions.
52254         (fma_test_towardzero): Add more tests.
52255         (fma_test_downward): Likewise.
52256         (fma_test_upward): Likewise.
52258         [BZ #14047]
52259         * sysdeps/generic/tininess.h: New file.
52260         * sysdeps/i386/tininess.h: Likewise.
52261         * sysdeps/sh/tininess.h: Likewise.
52262         * sysdeps/x86_64/tininess.h: Likewise.
52263         * stdlib/tst-strtod-underflow.c: Likewise.
52264         * stdlib/tst-tininess.c: Likewise.
52265         * stdlib/strtod_l.c: Include <tininess.h>.
52266         (round_and_return): Do not set errno for exact underflow cases.
52267         Force an underflow exception when setting errno for underflow.
52268         Determine underflow based on rounding to normal precision if
52269         TININESS_AFTER_ROUNDING.
52270         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52271         ERANGE for exact underflow cases.
52272         * stdlib/Makefile (tests): Add tst-tininess and
52273         tst-strtod-underflow.
52274         ($(objpfx)tst-tininess): Use $(link-libm).
52275         ($(objpfx)tst-strtod-underflow): Likewise.
52277 2012-10-30  Andreas Jaeger  <aj@suse.de>
52279         [BZ#14767]
52280         * elf/Makefile (tests): Remove conditional for have-initfini-array
52281         since this is now always required and the variable does not exist
52282         anymore.
52283         (tests-static): Likewise.
52284         (modules-names): Likewise.
52286         * po/eo.po: Add Esperanto translation from translation project.
52288         * elf/tst-array1.c (fini_array): Make writeable so that it can be
52289         merged with constructor/destructor.
52290         (init_array): Likewise.
52291         * elf/tst-array2dep.c (fini_array): Likewise.
52292         (init_array): Likewise.
52294 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
52296         * manual/message.texi: Delete @cartouche tags.
52298 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
52300         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52301         EOPNOTSUPP.
52302         * sysdeps/mach/hurd/fsync.c: Likewise.
52304         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52305         [_POSIX_REALTIME_SIGNALS]: Change condition to
52306         [_POSIX_REALTIME_SIGNALS > 0].
52308 2012-10-27  Andreas Jaeger  <aj@suse.de>
52310         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52311         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52312         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52313         [__WORDSIZE != 64]: Likewise.
52315 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
52317         *  iconvdata/tst-table.sh: Remove ${SHELL}.
52318         *  iconvdata/tst-tables.sh: Likewise.
52320 2012-10-25  David S. Miller  <davem@davemloft.net>
52322         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52323         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52324         of strtoull.
52326         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52327         ifunc-impl-list.c
52328         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52329         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52330         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52331         file.
52333 2012-10-25  Roland McGrath  <roland@hack.frob.com>
52335         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52336         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52337         __getdirentries.
52339 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52340             Jim Blandy  <jimb@codesourcery.com>
52342         * scripts/cross-test-ssh.sh: New file.
52343         * manual/install.texi (Configuring and compiling): Document use of
52344         cross-test-ssh.sh.
52345         * INSTALL: Regenerated.
52347 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52349         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52350         EOPNOTSUPP.
52352 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52354         * Makeconfig (run-program-prefix): Fix comment.
52356 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52357             Jim Blandy  <jimb@codesourcery.com>
52359         * Makeconfig (test-wrapper): New variable,
52360         (test-wrapper-env): Likewise.
52361         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52362         (run-built-tests): Define to yes.
52363         (run-program-prefix): Use $(test-wrapper).
52364         (built-program-cmd): Likewise.
52365         * Rules (make-test-out): Use $(test-wrapper-env) and
52366         $(host-built-program-cmd).
52367         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52368         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52369         tst-pathopt.sh.
52370         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52371         $(test-wrapper-env) to tst-rtld-load-self.sh.
52372         ($(objpfx)order2.out): Use $(test-wrapper).
52373         ($(objpfx)tst-initorder.out): Likewise.
52374         ($(objpfx)tst-initorder2.out): Likewise.
52375         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52376         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52377         (test_wrapper_env): New variable.  Use it to run ld.so.
52378         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52379         Use it to run ld.so.
52380         (test_wrapper_env): Likewise.
52381         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52382         $(test-wrapper) to run-iconv-test.sh.
52383         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52384         (ICONV): Use $test_wrapper.
52385         * posix/Makefile ($(objpfx)globtest.out): Pass
52386         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52387         globtest.sh, not $(run-program-prefix).
52388         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52389         (test_wrapper): Likewise.
52390         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52391         set together with run_via_rtld_prefix.
52392         (run_program_prefix): Define in terms of test_wrapper and
52393         run_via_rtld_prefix.
52395 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52397         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52398         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52399         Targets removed.
52401         [BZ #14743]
52402         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52403         Declare __clock_getres, __clock_gettime, __clock_settime,
52404         __clock_nanosleep, and __clock_getcpuclockid.
52405         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52406         Remove librt_hidden_def (clock_gettime).
52407         * sysdeps/unix/clock_gettime.c: Likewise.
52408         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52409         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52410         * rt/clock_getres.c: Define __clock_getres as an alias.
52411         * sysdeps/posix/clock_getres.c: Likewise.
52412         * rt/clock_settime.c: Define __clock_settime as an alias.
52413         * sysdeps/unix/clock_settime.c: Likewise.
52414         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52415         * sysdeps/unix/clock_nanosleep.c: Likewise.
52416         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52417         * rt/clock-compat.c: New file.
52418         * rt/Makefile (librt-routines): Add clock-compat and move
52419         $(clock-routines) to ...
52420         (routines): ... here, new variable.
52421         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52422         Don't add get_clockfreq here.
52423         * rt/Versions (libc: GLIBC_2.17): New version set.
52424         Add clock_* symbols here.
52425         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52426         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52427         (GLIBC_2.17): Add clock_* symbols.
52428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52430         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52432         Likewise.
52433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52434         Likewise.
52435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52439         * NEWS: Mention the move.
52441         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52442         Use __open, __read, __close rather than their public counterparts.
52443         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52444         (__get_clockfreq_via_cpuinfo): Likewise.
52445         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52446         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52448         * config.h.in (HAVE_IFUNC): New #undef.
52449         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52450         was successful.
52451         * configure: Regenerated.
52453 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52455         * configure.in: Move READELF check to start of file.
52456         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52457         libc_cv_asm_gnu_indirect_function in the process.
52458         * configure: Regenerated.
52460 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52462         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52463         send the output to /dev/null.
52464         (libc_cv_cc_with_libunwind): Likewise.
52465         (libc_cv_as_noexecstack): Likewise.
52466         * configure: Regenerate.
52468 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52470         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52472         * posix/globtest.sh (TMPDIR): Do not set.
52473         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52474         (testout): Likewise.
52476 2012-10-24  Andreas Jaeger  <aj@suse.de>
52478         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52479         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52480         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52481         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52482         posix_fadvise64, posix_fallocate64.
52484         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52485         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52486         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52487         Likewise.
52488         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52489         Likewise.
52490         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52492         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52493         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52494         <bits/fcntl-linux.h>.
52495         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52497         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52498         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52499         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52500         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52501         [__WORDSIZE != 64]: Likewise.
52503 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52505         * Makeconfig (run-built-tests): New variable.
52506         * Rules [$(cross-compiling) = yes]: Change condition to
52507         [$(run-built-tests) = no].
52508         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52509         to [$(run-built-tests) = yes].
52510         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52511         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52512         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52513         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52514         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52515         * io/Makefile [$(cross-compiling) = no]: Likewise.
52516         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52517         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52518         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52519         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52520         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52521         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52522         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52523         * string/Makefile [$(cross-compiling) = no]: Likewise.
52525         * posix/Makefile ($(objpfx)globtest.out): Pass
52526         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52527         $(rtld-installed-name).
52528         * posix/globtest.sh (elf_objpfx): Remove variable.
52529         (rtld_installed_name): Likewise.
52530         (library_path): Likewise.
52531         (run_program_prefix): New variable.  Use for running globtest
52532         binary.
52534 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52535             Joseph Myers  <joseph@codesourcery.com>
52537         * Makeconfig (host-built-program-cmd): New variable.
52538         * elf/Makefile (tst-stackguard1-ARGS): Use
52539         $(host-built-program-cmd).
52540         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52541         (tst-spawn-ARGS): Likewise.
52542         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52544 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52545             Jim Blandy  <jimb@codesourcery.com>
52547         * Makeconfig (run-via-rtld-prefix): New variable.
52548         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52549         (built-program-cmd): Likewise.
52551 2012-10-22  Andreas Jaeger  <aj@suse.de>
52553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52554         __O_RSYNC if it exists, otherwise to O_SYNC.
52556 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52557             Joseph Myers  <joseph@codesourcery.com>
52559         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52560         /dev/null.
52561         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52562         from /dev/null
52563         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52564         /dev/null.
52566 2012-10-22  Andreas Jaeger  <aj@suse.de>
52568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52569         Define always.
52570         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52573         bits/fcntl-linux.h.
52575         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52576         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52578         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52579         to __O_LARGEFILE.
52580         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52581         to __O_LARGEFILE.
52583 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52584             Joseph Myers  <joseph@codesourcery.com>
52586         * config.make.in (NM): New variable.
52588 2012-10-21  Andreas Jaeger  <aj@suse.de>
52590         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52591         definitions and declarations that are provided by
52592         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52594 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52596         [BZ #14683]
52597         * elf/Makefile (tests-static): Add tst-leaks1-static.
52598         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52599         ($(objpfx)tst-leaks1-static): New rule.
52600         ($(objpfx)tst-leaks1-static-mem): Likewise.
52601         (tst-leaks1-static-ENV): New macro.
52602         * elf/dl-open.c (dl_open_worker): Check the main application
52603         only if SHARED is defined.
52604         * elf/tst-leaks1-static.c: New file.
52606 2012-10-20  Andreas Jaeger  <aj@suse.de>
52608         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52609         generic values for Linux.
52610         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52611         and declarations that are provided by <bits/fcntl-linux.h> and
52612         include <bits/fcntl-linux.h>.
52613         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52614         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52616 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52618         * io/fcntl.h: Move include of <bits/types.h> to the top and
52619         include it unconditionally.
52621 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52623         * wcsmbs/Makefile (tests-ifunc): New variable.
52624         (tests): Add $(tests-ifunc).
52625         * wcsmbs/test-wcschr-ifunc.c: New file.
52626         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52627         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52628         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52629         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52630         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52632         * string/Makefile (tests-ifunc): New variable.
52633         (tests): Add $(tests-ifunc).
52634         * string/test-memccpy.c (TEST_NAME): New macro.
52635         * string/test-memchr.c (TEST_NAME): Likewise.
52636         * string/test-memcmp.c (TEST_NAME): Likewise.
52637         * string/test-memcpy.c (TEST_NAME): Likewise.
52638         * string/test-memmem.c (TEST_NAME): Likewise.
52639         * string/test-memmove.c (TEST_NAME): Likewise.
52640         * string/test-memset.c (TEST_NAME): Likewise.
52641         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52642         * string/test-stpcpy.c (TEST_NAME): Likewise.
52643         * string/test-stpncpy.c (TEST_NAME): Likewise.
52644         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52645         * string/test-strcasestr.c (TEST_NAME): Likewise.
52646         * string/test-strcat.c (TEST_NAME): Likewise.
52647         * string/test-strchr.c (TEST_NAME): Likewise.
52648         * string/test-strcmp.c(TEST_NAME): Likewise.
52649         * string/test-strcpy.c (TEST_NAME): Likewise.
52650         * string/test-strcspn.c (TEST_NAME): Likewise.
52651         * string/test-strlen.c (TEST_NAME): Likewise.
52652         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52653         * string/test-strncmp.c (TEST_NAME): Likewise.
52654         * string/test-strncpy.c (TEST_NAME): Likewise.
52655         * string/test-strnlen.c (TEST_NAME): Likewise.
52656         * string/test-strpbrk.c (TEST_NAME): Likewise.
52657         * string/test-strrchr.c (TEST_NAME): Likewise.
52658         * string/test-strspn.c (TEST_NAME): Likewise.
52659         * string/test-strstr.c (TEST_NAME): Likewise.
52660         * string/test-bcopy-ifunc.c: New file.
52661         * string/test-bzero-ifunc.c: Likewise.
52662         * string/test-memccpy-ifunc.c: Likewise.
52663         * string/test-memchr-ifunc.c: Likewise.
52664         * string/test-memcmp-ifunc.c: Likewise.
52665         * string/test-memcpy-ifunc.c: Likewise.
52666         * string/test-memmem-ifunc.c: Likewise.
52667         * string/test-memmove-ifunc.c: Likewise.
52668         * string/test-mempcpy-ifunc.c: Likewise.
52669         * string/test-memset-ifunc.c: Likewise.
52670         * string/test-rawmemchr-ifunc.c: Likewise.
52671         * string/test-stpcpy-ifunc.c: Likewise.
52672         * string/test-stpncpy-ifunc.c: Likewise.
52673         * string/test-strcasecmp-ifunc.c: Likewise.
52674         * string/test-strcasestr-ifunc.c: Likewise.
52675         * string/test-strcat-ifunc.c: Likewise.
52676         * string/test-strchr-ifunc.c: Likewise.
52677         * string/test-strchrnul-ifunc.c: Likewise.
52678         * string/test-strcmp-ifunc.c: Likewise.
52679         * string/test-strcpy-ifunc.c: Likewise.
52680         * string/test-strcspn-ifunc.c: Likewise.
52681         * string/test-strlen-ifunc.c: Likewise.
52682         * string/test-strncasecmp-ifunc.c: Likewise.
52683         * string/test-strncat-ifunc.c: Likewise.
52684         * string/test-strncmp-ifunc.c: Likewise.
52685         * string/test-strncpy-ifunc.c: Likewise.
52686         * string/test-strnlen-ifunc.c: Likewise.
52687         * string/test-strpbrk-ifunc.c: Likewise.
52688         * string/test-strrchr-ifunc.c: Likewise.
52689         * string/test-strspn-ifunc.c: Likewise.
52690         * string/test-strstr-ifunc.c: Likewise.
52692         * debug/Makefile (tests-ifunc): New variable.
52693         (tests): Add $(tests-ifunc).
52694         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52695         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52696         * debug/test-stpcpy_chk-ifunc.c: New file.
52697         * debug/test-strcpy_chk-ifunc.c: Likewise.
52699 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52701         [BZ #13601]
52702         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52703         header is not read in.
52705 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52707         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52708         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52709         directly.  Pass built executable to script as
52710         $(built-program-cmd).
52711         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52712         $testprogram without using LD_LIBRARY_PATH and $ldso.
52714         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52715         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52716         $(rtld-installed-name).
52717         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52718         (rtld_installed_name): Likewise.
52719         (library_path): Likewise.
52720         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52721         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52722         $(run-program-prefix) to tst-tables.sh.
52723         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52724         it to run tst-table-from and tst-table-to.
52725         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52726         Pass it to tst-table.sh.
52727         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52728         $(run-program-prefix) to tst-gettext.sh.
52729         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52730         tst-translit.sh.
52731         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52732         tst-gettext2.sh.
52733         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
52734         to run tst-gettext.
52735         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
52736         to run tst-gettext2.
52737         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
52738         to run tst-translit.
52739         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52740         $(run-program-prefix) to tst-mtrace.sh.
52741         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
52742         to run tst-mtrace.
52743         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52744         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52745         $(rtld-installed-name).
52746         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52747         (rtld_installed_name): Likewise.
52748         (run_program_prefix): New variable.  Use it to run wordexp-test.
52750         * Makeconfig (ARCH): Remove all definitions.
52751         (machine): Likewise.
52752         [ARCH]: Remove conditional code.
52753         [!objdir]: Give error.
52754         [!objdir] (objpfx): Remove.
52755         [!objdir] (common-objpfx): Likewise.
52756         [!objdir] (common-objdir): Likewise.
52757         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52758         AC_CONFIG_FILES call.
52759         * configure: Regenerated.
52761         [BZ #13888]
52762         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52763         or TMPDIR.
52764         (testout): Likewise.
52766         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52767         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52768         $(rtld-installed-name).
52769         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52770         (rtld_installed_name): Likwise.
52771         (runit): Remove function.
52772         (run_getconf): New variable,  Use it for running getconf binary.
52774 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52776         [BZ #14716]
52777         * string/test-memmem.c (check_result): New function.
52778         (do_one_test): Use it.
52779         (check1): New function.
52780         (test_main): Use it.
52782 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52784         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52786 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52788         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52789         (_G_LSEEK64): Likewise.
52790         (_G_MMAP64): Likewise.
52791         (_G_FSTAT64): Likewise.
52792         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52793         (_G_LSEEK64): Likewise.
52794         (_G_MMAP64): Likewise.
52795         (_G_FSTAT64): Likewise.
52796         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52797         unconditional.  Call __mmap64 directly.
52798         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52799         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
52800         __lseek64 directly.
52801         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
52802         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
52803         __mmap64 directly.
52804         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
52805         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52806         __lseek64 directly.
52807         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
52808         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
52809         __lseek64 directly.
52810         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
52811         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
52812         __lseek64 directly.
52813         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
52814         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
52815         __fxstat64 directly.
52816         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
52817         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
52818         unconditional.
52819         (freopen64) [!_G_OPEN64]: Remove conditional code.
52820         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
52821         unconditional.
52822         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
52823         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
52824         unconditional.
52825         (ftello64) [!_G_LSEEK64]: Remove conditional code.
52826         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
52827         unconditional.
52828         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52829         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
52830         unconditional.
52831         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
52832         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
52833         unconditional.
52834         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52835         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
52836         unconditional.
52837         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
52838         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
52839         unconditional.
52840         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
52842 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52844         [BZ #12140]
52845         * manual/memory.texi (Malloc Tunable Parameters): Add note
52846         about free list pointers overwriting some perturb bytes.
52847         Wording suggested by Roland McGrath.
52849 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
52851         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
52852         (lgamma_test): Likewise.
52853         (tgamma_test): Likewise.
52855 2012-10-16  Florian Weimer  <fweimer@redhat.com>
52857         [BZ #14700]
52858         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
52859         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
52861 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
52863         * NEWS: Mention BZ #14716.
52864         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
52865         when removing AVAILABLE1_USES_J macro.
52867 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
52869         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
52870         (__bswap_64): __uint64_t for unsigned 64-bit int.
52872 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
52874         * include/string.h (memmem): Declare libc hidden alias.
52875         * string/memmem.c (memmem): Define libc hidden alias.
52876         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
52877         __read, __close instead of open, read, close.
52879 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
52881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
52882         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
52883         global and hidden.
52884         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
52885         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
52886         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
52887         Likewise.
52888         (__rawmemchr_sse2): Likewise.
52889         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
52890         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
52891         (__strchr_sse2): Likewise.
52892         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
52893         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
52894         (__strcasecmp_sse2): Likewise.
52895         (__strncasecmp_sse2): Likewise.
52896         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
52897         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
52898         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
52899         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
52900         (__strrchr_sse2): Likewise.
52901         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
52902         ifunc-impl-list.c.
52903         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
52904         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
52905         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
52906         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52907         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
52908         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
52909         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52910         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52911         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52912         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
52913         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
52914         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
52915         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
52916         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
52917         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
52918         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52919         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
52920         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
52921         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
52922         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
52923         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
52924         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
52925         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
52926         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52927         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
52928         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52929         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52930         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52931         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
52932         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
52934         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
52935         global and hidden.
52936         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
52937         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
52938         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
52939         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
52940         Likewise.
52941         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
52942         Likewise.
52943         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
52944         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
52945         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
52946         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
52947         ifunc-impl-list.c.
52948         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52949         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52950         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52951         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52952         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52953         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52954         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52955         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52956         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52957         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52958         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52959         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52960         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52961         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
52962         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
52963         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52964         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
52965         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
52966         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52967         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52968         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52969         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52970         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52971         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52972         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52973         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
52974         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
52975         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
52976         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
52977         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52978         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
52979         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52980         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52981         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
52982         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52983         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52984         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52985         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52986         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52987         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52988         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
52990         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
52991         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
52992         * include/ifunc-impl-list.h: New file.
52993         * misc/ifunc-impl-list.c: Likewise.
52994         * misc/Makefile (routines): Add ifunc-impl-list.
52995         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
52996         * string/test-string.h: Include <ifunc-impl-list.h>.
52997         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
52998         TEST_NAME]: New variables.
52999         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53000         are defined.
53001         (test_init): Call __libc_ifunc_impl_list to initialize
53002         func_list if TEST_IFUNC and TEST_NAME are defined.
53004         * string/Makefile (strop-tests): Add bcopy and bzero.
53005         * string/test-bcopy.c: New file.
53006         * string/test-bzero.c: Likewise.
53007         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53008         defined.
53009         * string/test-memset.c: Support bzero test if TEST_BZERO is
53010         defined.
53011         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53012         __libc_memmove.
53013         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53014         __libc_memset.
53015         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53016         of memset.
53018 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
53020         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53021         * configure: Regenerated.
53023         * Makeconfig (+link-static-before-libc): Don't include
53024         $(link-static-libc).
53026         * libio/libio.h (_IO_pos_t): Remove.
53028 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53030         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
53031         McGrath.
53033 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53035         * crypt/crypt-entry.c: Include fips-private.h.
53036         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53037         * crypt/md5c-test.c (main): Tolerate disabled MD5.
53038         * sysdeps/unix/sysv/linux/fips-private.h: New file.
53039         * sysdeps/generic/fips-private.h: New file, dummy fallback.
53041 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53043         * crypt/crypt-private.h: Include stdbool.h.
53044         (_ufc_setup_salt_r): Return bool.
53045         * crypt/crypt-entry.c: Include errno.h.
53046         (__crypt_r): Return NULL with EINVAL for bad salt.
53047         * crypt/crypt_util.c (bad_for_salt): New.
53048         (_ufc_setup_salt_r): Check that salt is long enough and within
53049         the specified alphabet.
53050         * crypt/badsalttest.c: New file.
53051         * crypt/Makefile (tests): Add it.
53052         ($(objpfx)badsalttest): New.
53054 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
53056         * NEWS: Add entry for BZ #14602.
53058 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53060         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53061         type-generic.
53062         * math/libm-test.inc: Update comment listing what functions and
53063         macros are tested.
53064         (isgreater_test): New function.
53065         (isgreaterequal_test): Likewise.
53066         (isless_test): Likewise.
53067         (islessequal_test): Likewise.
53068         (islessgreater_test): Likewise.
53069         (isunordered_test): Likewise.
53070         (main): Call the new functions.
53072 2012-10-09  Roland McGrath  <roland@hack.frob.com>
53074         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53075         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53076         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53077         * sysdeps/i386/configure: Regenerated.
53078         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53079         * sysdeps/mach/configure: Regenerated.
53080         * sysdeps/mach/hurd/configure: Regenerated.
53081         * sysdeps/powerpc/configure: Regenerated.
53082         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53083         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53084         * sysdeps/s390/s390-32/configure: Regenerated.
53085         * sysdeps/s390/s390-64/configure: Regenerated.
53086         * sysdeps/sh/configure: Regenerated.
53087         * sysdeps/sparc/configure: Regenerated.
53088         * sysdeps/unix/sysv/linux/configure: Regenerated.
53089         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53090         * sysdeps/x86_64/configure: Regenerated.
53092         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53093         defined.  Don't check if MAP is NULL.
53095 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53097         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53098         (_G_stat64): Likewise.
53099         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53100         (_G_stat64): Likewise.
53101         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53102         instead of struct _G_stat64.
53103         * libio/fileops.c (mmap_remap_check): Likewise.
53104         (decide_maybe_mmap): Likewise.
53105         (_IO_new_file_seekoff): Likewise.
53106         (_IO_file_stat): Likewise.
53107         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53108         _G_off64_t.
53109         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53110         instead of struct _G_stat64.
53111         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53113 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
53115         [BZ #14602]
53116         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53117         Replace with ...
53118         (CHECK_EOL): New macro.
53119         (two_way_short_needle): Check beginning of haystack for EOL.  Use
53120         CHECK_EOL.
53121         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53122         Replace with CHECK_EOL.
53123         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53124         Replace with CHECK_EOL.
53126 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
53128         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53129         type-generic.
53130         * math/libm-test.inc: Update comment listing what functions and
53131         macros are tested.
53132         (finite_test): New function.
53133         (isinf_test): Likewise.
53134         (isnan_test): Likewise.
53135         (fpclassify_test): Test subnormal input.
53136         (isfinite_test): Likewise.
53137         (isnormal_test): Likewise.
53138         (main): Call the new functions.
53140 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53142         [BZ #14660]
53143         * Makerules (%.dynsym): Force C locale when running
53144         $(OBJDUMP) --dynamic-syms.
53146 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53148         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53149         <stdint.h>.
53151 2012-10-06  David S. Miller  <davem@davemloft.net>
53153         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53154         upper 32-bits of the length value in %o2 since we use branch-on-register
53155         tests which consider the entire 64-bit register.
53157 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53159         * string/test-strstr.c (check2): Add a test for page boundary.
53161 2012-10-05  David S. Miller  <davem@davemloft.net>
53163         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53164         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53165         file.
53166         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53167         sysdep_routines.
53168         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53169         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53170         and bzero when HWCAP_SPARC_CRYPTO is present.
53172 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53174         [BZ #14602]
53175         * string/test-strstr.c (check2): New function.
53176         (test_main): Call check2.
53178         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53179         and bug-strchr1.
53180         * string/bug-strcasestr1.c (do_test): Moved to ...
53181         * string/test-strcasestr.c (check1): Here.  New function.
53182         (do_one_test): Break out result checking code into ...
53183         (check_result): This.  New function.
53184         (do_one_test): Call check_result.
53185         (test_main): Call check1.
53186         * string/bug-strchr1.c (do_test): Moved to ...
53187         * string/test-strchr.c (check1): Here.  New function.
53188         (do_one_test): Break out result checking code into ...
53189         (check_result): This.  New function.
53190         (do_one_test): Call check_result.
53191         (test_main): Call check1.
53192         * string/bug-strstr1.c (main): Moved to ...
53193         * string/test-strstr.c (check1): Here.  New function.
53194         (do_one_test): Break out result checking code into ...
53195         (check_result): This.  New function.
53196         (do_one_test): Call check_result.
53197         (test_main): Call check1.
53198         * string/bug-strcasestr1.c: Removed.
53199         * string/bug-strchr1.c: Likewise.
53200         * string/bug-strstr1.c: Likewise.
53202         * elf/Makefile (dl-routines): Add hwcaps.
53203         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53204         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53205         (_dl_important_hwcaps): Moved to ...
53206         * elf/dl-hwcaps.c: Here.  New file.
53207         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53209         [BZ #14557]
53210         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53211         if IS_IN_rtld isn't defined.
53213         * elf/dl-support.c (_dl_sysinfo_map): New.
53214         Include "get-dynamic-info.h" and "setup-vdso.h".
53215         (_dl_non_dynamic_init): Call setup_vdso.
53216         * elf/dynamic-link.h: Don't include <assert.h>.
53217         (elf_get_dynamic_info): Moved to ...
53218         * elf/get-dynamic-info.h: Here.  New file.
53219         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53220         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53221         * elf/setup-vdso.h: Here.  New file.
53222         * elf/rtld.c: Include "setup-vdso.h".
53223         (dl_main): Call setup_vdso.
53225 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53227         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53228         creal in comment listing functions tested.  List finite, isinf,
53229         isnan, isless, islessequal, isgreater, isgreaterequal,
53230         islessgreater, isunordered, lgamma_r and pow10 as functions and
53231         macros not tested.  Mention which functions not tested are aliases
53232         for other functions.  Fix typo.  Note that signs of NaNs are not
53233         tested.
53235         * scripts/config.guess: Update from config.git.
53236         * scripts/config.sub: Likewise.
53238 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53240         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53241         * misc/madvise.c (madvise): Renamed to __madvise.
53242         Make madvise a weak alias.
53243         * include/sys/mman.h: Declare __madvise.
53244         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53245         * sysdeps/unix/syscalls.list
53246         (madvise): Make __madvise the strong name, and madvise a weak alias.
53247         * sysdeps/unix/sysv/linux/syscalls.list
53248         (madvise, mmap): Remove redundant entries.
53249         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53250         * malloc/malloc.c (mtrim): Likewise.
53251         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53253 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53255         * sysdeps/mach/hurd/dl-cache.c: File removed.
53256         * config.h.in (USE_LDCONFIG): New #undef.
53257         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53258         * configure: Regenerated.
53259         * elf/Makefile (dl-routines): Add dl-cache only under
53260         [$(use-ldconfig) = yes].
53261         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53262         cache on [USE_LDCONFIG].
53263         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53264         [USE_LDCONFIG].
53265         * elf/rtld.c (dl_main): Likewise.
53267 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
53269         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53270         _SC_LEVEL4_CACHE_LINESIZE.
53272 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53274         * sysdeps/unix/bsd/confstr.h: File removed.
53276 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
53278         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53279         sys/sdt-config.h.
53281 2012-10-02  Roland McGrath  <roland@hack.frob.com>
53283         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53284         Make 'mapoff' field ElfW(Off) rather than off_t.
53286 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
53288         * nscd/Makefile: Remove nscd-cflags and all its users.
53289         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53290         (CFLAGS-nonlib): Add compiler flags for nscd modules.
53292         [BZ #10631]
53293         * malloc.c (malloc_printerr): Clarify error message.
53295 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
53297         [BZ #14648]
53298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53299         Set bit_FMA_Usable if FMA is supported.
53300         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53301         macro.
53302         (bit_FMA4_Usable): Updated.
53303         (index_FMA_Usable): New macro.
53304         (CPUID_FMA): Likewise.
53305         (HAS_FMA): Defined with bit_FMA_Usable.
53307 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53309         * bits/types.h (__swblk_t): Type removed.
53310         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53311         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53312         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53313         (__SWBLK_T_TYPE): Likewise.
53314         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53315         (__SWBLK_T_TYPE): Likewise.
53316         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53317         (__SWBLK_T_TYPE): Likewise.
53318         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53319         (__SWBLK_T_TYPE): Likewise.
53321 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
53322             Honza Horak <hhorak@redhat.com>
53324         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53325         (xdr_mapname): Use YPMAXMAP as maxsize.
53326         (xdr_peername): Use YPMAXPEER as maxsize.
53327         (xdr_keydat): Use YPAXRECORD as maxsize.
53328         (xdr_valdat): Use YPMAXRECORD as maxsize.
53330 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53332         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53334         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53335         * csu/init-first.c: ... here.
53336         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53337         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53338         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53339         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53340         * sysdeps/i386/init-first.c: File removed.
53341         * sysdeps/sh/init-first.c: File removed.
53343 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53345         [BZ #14645]
53346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53347         if x * y might underflow to zero and z is zero.
53348         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53349         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53350         * math/libm-test.inc (min_subnorm_value): New variable.
53351         (fma_test): Add more tests.
53352         (fma_test_towardzero): Likewise.
53353         (fma_test_downward): Likewise.
53354         (fma_test_upward): Likewise.
53355         (initialize): Set min_subnorm_value.
53357 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53359         [BZ #14638]
53360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53361         0 + 0.
53362         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53363         mode for addition resulting in exact zero.
53364         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53365         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53366         exact 0 + 0.
53367         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53368         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53369         * math/libm-test.inc (fma_test): Add more tests.
53370         (fma_test_towardzero): New function.
53371         (fma_test_downward): Likewise.
53372         (fma_test_upward): Likewise.
53373         (main): Call the new functions.
53375 2012-09-28  David S. Miller  <davem@davemloft.net>
53377         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53379 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53381         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53382         instead of SIGALRM.
53384         * sysdeps/gnu/_G_config.h: Moved to ...
53385         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53386         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53387         * sysdeps/generic/_G_config.h: ... here.
53389         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53391         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53393         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53394         Conditionalize target on [libnss_test1.so-version].
53396         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53398         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53399         (elfobjdir): Move out of conditionals.
53401         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53402         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53403         (__nss_lookup_function): Conditionalize label remove_from_tree on
53404         [!DO_STATIC_NSS || SHARED], matching its only use.
53406 2012-09-28  David S. Miller  <davem@davemloft.net>
53408         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53409         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53410         file.
53411         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53412         sysdep_routines.
53413         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53414         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53415         when HWCAP_SPARC_CRYPTO is present.
53417 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53419         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53421 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53423         [BZ #6530]
53424         * stdio-common/vfprintf.c (process_string_arg): Revert
53425         2000-07-22 change.
53427 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53429         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53430         for testcase.
53431         * stdio-common/tst-sprintf.c: Include <locale.h>
53432         (main): Test sprintf's handling of incomplete multibyte
53433         characters.
53435 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53437         * elf/dl-runtime.c (VERSYMIDX): Removed.
53438         * elf/dl-version.c (VERSYMIDX): Likewise.
53439         * elf/do-rel.h (VERSYMIDX): Likewise.
53440         (VALIDX): Likewise.
53441         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53442         * elf/rtld.c (VALIDX): Likewise.
53443         (ADDRIDX): Likewise.
53444         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53445         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53446         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53447         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53448         (VALIDX): Likewise.
53449         (ADDRIDX): Likewise.
53451 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53453         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53455 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53457         [BZ #11438]
53458         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53459         to global scope.
53460         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53461         addresses are in the same scope as 192.0.2/24.
53462         * posix/gai.conf: Document new scope table defaults.
53464 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53466         [BZ #5298]
53467         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53468         for ftell.  Compute offsets from write pointers instead.
53469         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53471 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53473         [BZ #14543]
53474         * libio/Makefile (tests): New test case tst-fseek.
53475         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53476         combination works in wide mode.
53477         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53478         state when the external buffer state changes.
53480 2012-09-27  David S. Miller  <davem@davemloft.net>
53482         [BZ #14376]
53483         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53484         pass reloc->r_addend in as the 'high' argument to
53485         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53489 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53491         * rt/tst-aio2.c: Include <pthread.h>.
53492         * rt/tst-aio3.c: Likewise.
53494 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53496         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53498 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53500         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53501         contents on [SHARED].
53503 2012-09-26  Marek Polacek  <polacek@redhat.com>
53505         [BZ #14530]
53506         [BZ #13741]
53507         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53508         for C++ and GCC <4.3 as well as for non GCC compilers.
53510 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53514 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53516         * Makefile.in (all, install): Declare with .PHONY.
53517         Reported by Michael Hope <michael.hope@linaro.org>.
53519 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53521         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53522         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53523         system header.
53524         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53525         Likewise.
53526         (sydep_routines): Add the new and the internal functions.
53527         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53528         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53530         (GLIBC_2.17): Add the new function.
53531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53532         (GLIBC_2.17): Likewise.
53533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53534         (GLIBC_2.17): Likewise.
53535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53536         (GLIBC_2.17): Likewise.
53537         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53539 2012-09-25  Alan Modra  <amodra@gmail.com>
53541         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53542         Add release barrier before setting once_control to say
53543         initialisation is done.  Add hints on lwarx.  Use macro in
53544         place of isync.
53545         (clear_once_control): Add release barrier.
53547 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53549         [BZ #13629]
53550         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53551         specially.
53552         * math/s_clog10.c (__clog10): Likewise.
53553         * math/s_clog10f.c (__clog10f): Likewise.
53554         * math/s_clog10l.c (__clog10l): Likewise.
53555         * math/s_clogf.c (__clogf): Likewise.
53556         * math/s_clogl.c (__clogl): Likewise.
53557         * math/Makefile (libm-calls): Add x2y2m1.
53558         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53559         (__x2y2m1): Likewise.
53560         (__x2y2m1l): Likewise.
53561         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53562         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53563         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53564         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53565         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53566         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53567         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53568         * sysdeps/i386/fpu/libm-test-ulps: Update.
53569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53571         [BZ #14621]
53572         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53573         int as type of variable DEPTH.
53574         (glob): Use size_t instead of int as type of variables NEWCOUNT
53575         and OLD_PATHC.
53577 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53579         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53580         Add s_sincosf-sse2.
53581         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53582         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53583         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53584         macros for using routine as __sincosf_ia32.
53585         Use macro for function declaration and weak_alias.
53586         * sysdeps/i386/fpu/libm-test-ulps: Update.
53588         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53589         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53591         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53592         subnormal argument.
53593         * math/s_cexpf.c (__cexpf): Likewise.
53594         * math/s_csinf.c (__csinf): Likewise.
53595         * math/s_csinhf.c (__csinhf): Likewise.
53596         * math/s_ctanf.c (__ctanf): Likewise.
53597         * math/s_ctanhf.c (__ctanhf): Likewise.
53598         * math/s_ccosh.c (__ccoshf): Likewise.
53599         * math/s_cexp.c (__cexpl): Likewise.
53600         * math/s_csin.c (__csin): Likewise.
53601         * math/s_csinh.c (__csinh): Likewise.
53602         * math/s_ctan.c (__ctan): Likewise.
53603         * math/s_ctanh.c (ctanh): Likewise.
53604         * math/s_ccoshl.c (__ccoshl): Likewise.
53605         * math/s_cexpl.c (__cexpl): Likewise.
53606         * math/s_csinl.c (__csinl): Likewise.
53607         * math/s_csinhl.c (__csinhl): Likewise.
53608         * math/s_ctanl.c (__ctanl): Likewise.
53609         * math/s_ctanhl.c (__ctanhl): Likewise.
53611 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53613         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53614         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53615         (_IO_off_t): Define to __off_t, not _G_off_t.
53616         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53617         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53618         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53619         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53620         type of __dummy and __dummy2 fields.
53621         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53622         (_G_ssize_t): Likewise.
53623         (_G_off_t): Likewise.
53624         (_G_pid_t): Likewise.
53625         (_G_uid_t): Likewise.
53626         (_G_wchar_t): Likewise.
53627         (_G_wint_t): Likewise.
53628         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53629         (_G_ssize_t): Likewise.
53630         (_G_off_t): Likewise.
53631         (_G_pid_t): Likewise.
53632         (_G_uid_t): Likewise.
53633         (_G_wchar_t): Likewise.
53634         (_G_wint_t): Likewise.
53635         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53636         (_G_ssize_t): Likewise.
53637         (_G_off_t): Likewise.
53638         (_G_pid_t): Likewise.
53639         (_G_uid_t): Likewise.
53640         (_G_wchar_t): Likewise.
53641         (_G_wint_t): Likewise.
53643 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53645         * malloc/arena.c: Include malloc-sysdep.h.
53646         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53647         is sufficient to shrink the heap or an unmap is needed.
53648         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53649         new function check_may_shrink_heap.
53650         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53651         new function check_may_shrink_heap.
53653 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53655         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53656         comments.
53658 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53660         * catgets/test-gencat.sh: Add "set -e".
53661         * elf/tst-pathopt.sh: Likewise.
53662         * grp/tst_fgetgrent.sh: Likewise.
53663         * iconvdata/run-iconv-test.sh: Likewise.
53664         * intl/tst-gettext.sh: Likewise.
53665         * intl/tst-gettext2.sh: Likewise.
53666         * intl/tst-gettext4.sh: Likewise.
53667         * intl/tst-gettext6.sh: Likewise.
53668         * intl/tst-translit.sh: Likewise.
53669         * io/ftwtest-sh: Likewise.
53670         * libio/test-freopen.sh: Likewise.
53671         * malloc/tst-mtrace.sh: Likewise.
53672         * posix/globtest.sh: Likewise.
53673         * posix/tst-getconf.sh: Likewise.
53674         * posix/wordexp-tst.sh: Likewise.
53675         * stdio-common/tst-printf.sh: Likewise.
53676         * stdio-common/tst-unbputc.sh: Likewise.
53677         * stdlib/tst-fmtmsg.sh: Likewise.
53678         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53679         * catgets/Makefile: Do not specify -e option when running
53680         testsuite shell scripts.
53681         * elf/Makefile: Likewise.
53682         * grp/Makefile: Likewise.
53683         * iconvdata/Makefile: Likewise.
53684         * intl/Makefile: Likewise.
53685         * io/Makefile: Likewise.
53686         * libio/Makefile: Likewise.
53687         * malloc/Makefile: Likewise.
53688         * posix/Makefile: Likewise.
53689         * stdio-common/Makefile: Likewise.
53690         * stdlib/Makefile: Likewise.
53691         * sysdeps/x86_64/Makefile: Likewise.
53693         * io/ftwtest-sh: Add copyright header.
53694         * posix/globtest.sh: Likewise.
53695         * posix/tst-getconf.sh: Likewise.
53696         * posix/wordexp-tst.sh: Likewise.
53697         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53699 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53701         [BZ #13679]
53702         * Makeconfig (+link): Defined as $(+link-static) if
53703         $(build-shared) isn't yes.
53704         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53705         isn't yes.
53706         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53708         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53710         [BZ #14562]
53711         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53712         new chunk size with MALLOC_ALIGN_MASK.
53714 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53716         [BZ #5044]
53717         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53718         <rounding-mode.h>.
53719         (__printf_fphex): Determine rounding using get_rounding_mode and
53720         round_away.
53721         * stdio-common/tst-printf-round.c (struct hex_test): New
53722         structure.
53723         (hex_tests): New variable.
53724         (test_hex_in_one_mode): New function.
53725         (do_test): Also run tests for hex float output.
53727 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
53729         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53730         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53731         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53732         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53733         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53734         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53735         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53736         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53738 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
53740         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53741         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53742         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53743         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53745 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
53747         [BZ #14579]
53748         * elf/rtld.c (dl_main): Limit the check for self loading to normal
53749         mode only.
53750         * elf/tst-rtld-load-self.sh: New test.
53751         * elf/Makefile: Run it.
53753 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53755         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53756         (tst-writev-ENV): Remove.
53757         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53759 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53761         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53763 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53765         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53766         unconditional.
53767         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53768         Likewise.
53769         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53770         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53771         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53772         Likewise.
53774 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53776         [BZ #14587]
53777         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53778         * config.make.in (have-cpp-asm-debuginfo): Removed.
53779         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53780         * configure: Regenerated.
53782 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53784         [BZ #5044]
53785         * stdio-common/printf_fp.c: Include <stdbool.h> and
53786         <rounding-mode.h>.
53787         (___printf_fp): Determine rounding using get_rounding_mode and
53788         round_away.
53789         * stdio-common/tst-printf-round.c: New file.
53790         * stdio-common/Makefile (tests): Add tst-printf-round.
53791         (link-libm): New variable.
53792         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53794 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53796         [BZ #14576]
53797         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53798         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53799         Likewise.
53800         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
53801         Likewise.
53803 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
53805         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
53806         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53807         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53808         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
53810 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
53812         [BZ #14518]
53813         * include/rounding-mode.h: New file.
53814         * sysdeps/generic/get-rounding-mode.h: Likewise.
53815         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
53816         * stdlib/strtod_l.c: Include <rounding-mode.h>.
53817         (MAX_VALUE): New macro.
53818         (MIN_VALUE): Likewise.
53819         (overflow_value): New function.
53820         (underflow_value): Likewise.
53821         (round_and_return): Use overflow_value and underflow_value to
53822         determine return values in overflow and underflow cases.  Use
53823         round_away to determine rounding depending on rounding mode.
53824         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
53825         determine return values in overflow and underflow cases.
53826         * stdlib/tst-strtod-round.c: Include <fenv.h>.
53827         (struct test_results): New structure.
53828         (struct test): Use struct test_results to store expected results
53829         for all rounding modes.
53830         (TEST): Include expected results for all rounding modes.
53831         (test_in_one_mode): New function.
53832         (do_test): Use test_in_one_mode to compute and check results.
53833         Check results for all rounding modes.
53834         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
53835         $(link-libm).
53837 2012-12-09  Allan McRae  <allan@archlinux.org>
53839         * sysdeps/i386/fpu/libm-test-ulps: Update
53841 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
53843         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
53844         (_G_int32_t): Likewise.
53845         (_G_uint16_t): Likewise.
53846         (_G_uint32_t): Likewise.
53847         (_G_HAVE_BOOL): Likewise.
53848         (_G_HAVE_ATEXIT): Likewise.
53849         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53850         (_G_HAVE_IO_FILE_OPEN): Likewise.
53851         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
53852         (_G_int32_t): Likewise.
53853         (_G_uint16_t): Likewise.
53854         (_G_uint32_t): Likewise.
53855         (_G_HAVE_BOOL): Likewise.
53856         (_G_HAVE_ATEXIT): Likewise.
53857         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53858         (_G_HAVE_IO_FILE_OPEN): Likewise.
53859         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
53860         (_G_int32_t): Likewise.
53861         (_G_uint16_t): Likewise.
53862         (_G_uint32_t): Likewise.
53863         (_G_HAVE_BOOL): Likewise.
53864         (_G_HAVE_ATEXIT): Likewise.
53865         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
53866         (_G_HAVE_IO_FILE_OPEN): Likewise.
53868 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
53870         * csu/libc-tls.c: Update copyright years.
53872 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
53874         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
53875         [!_G_USING_THUNKS]: Remove conditional code.
53876         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
53877         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
53879         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
53880         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
53881         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53882         (_G_VTABLE_LABEL_PREFIX): Likewise.
53883         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53884         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53885         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53886         (_G_VTABLE_LABEL_PREFIX): Likewise.
53887         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53888         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
53889         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
53890         (_G_VTABLE_LABEL_PREFIX): Likewise.
53891         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
53893 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
53895         * libio/Makefile: Include ../Makeconfig before tests.
53896         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
53897         only if $(build-shared) is yes.
53899         * iconv/gconv_db.c: Update copyright years.
53901 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53903         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
53904         unwind info if defined PIC. Fix special cases description.
53905         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
53907         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
53908         DP_HI_MASK entry.
53909         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
53911 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
53913         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
53915         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
53916         is NULL.
53918         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
53919         (LDLIBS-tst-chk4): This.
53920         (LDFLAGS-tst-chk5): Renamed to ...
53921         (LDLIBS-tst-chk5): This.
53922         (LDFLAGS-tst-chk6): Renamed to ...
53923         (LDLIBS-tst-chk6): This.
53924         (LDFLAGS-tst-lfschk4): Renamed to ...
53925         (LDLIBS-tst-lfschk4): This.
53926         (LDFLAGS-tst-lfschk5): Renamed to ...
53927         (LDLIBS-tst-lfschk5): This.
53928         (LDFLAGS-tst-lfschk6): Renamed to ...
53929         (LDLIBS-tst-lfschk6): This.
53931         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
53932         on $(common-objpfx)soversions.mk.
53934 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
53936         [BZ #10014]
53937         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
53938         example host name.
53940 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53942         * malloc/arena.c (arena_get_retry): New function that gets
53943         another arena for the caller to try its request on.
53944         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
53945         current arena cannot fulfill the request.
53946         (__libc_memalign): Likewise.
53947         (__libc_memalign): Likewise.
53948         (__libc_pvalloc): Likewise.
53949         (__libc_calloc): Likewise.
53951 2012-09-05  John Tobey  <john.tobey@gmail.com>
53953         [BZ #13542]
53954         * manual/arith.texi (Operations on Complex): Fix description
53955         of carg branch cut.
53957 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
53959         [BZ #10014]
53960         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
53961         host name.
53963         [BZ #10038]
53964         * manual/memory.texi (Memory): Make order of menu items match
53965         order of sections.
53967 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53969         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
53970         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
53971         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
53973 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53975         * csu/libc-tls.c (static_dtv): Renamed to ...
53976         (_dl_static_dtv): This.  Make it global.
53977         (_dl_initial_dtv): Removed.
53978         (__libc_setup_tls): Updated.
53979         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
53980         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53981         DL_INITIAL_DTV.
53983 2012-09-06  Petr Machata  <pmachata@redhat.com>
53985         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
53986         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
53987         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
53988         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
53990 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53992         [BZ #14545]
53993         * csu/libc-tls.c (_dl_initial_dtv): New variable.
53994         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
53995         freeing dtv[-1].
53997 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
53999         [BZ #14544]
54000         * Makeconfig (link-static-before-libc): Replace $(+prector)
54001         with $(+prectorT).
54002         (link-static-after-libc): Replace $(+postctor) with
54003         $(+postctorT).
54004         (link-bounded): Replace $(+prector)/$(+postctor) with
54005         $(+prectorT)/$(+postctorT).
54006         (+prectorT): New macro.
54007         (+postctorT): Likewise.
54009 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54011         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54012         (round_str): Handle values above the maximum for IBM long double
54013         as inexact.
54014         * stdlib/tst-strtod-round.c (tests): Regenerated.
54016 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54018         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54019         assembler flag.
54020         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54021         zarch_nohighgprs around the zarch optimized routines.
54022         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54023         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54024         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54025         for zarch.
54027 2012-09-05  David S. Miller  <davem@davemloft.net>
54029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54031         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54032         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54033         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54034         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54035         entries.
54037 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54039         * malloc/arena.c: Fold copyright years.
54040         * malloc/mcheck.c, malloc/memusage.c: Likewise.
54042 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54044         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54046 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54048         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
54050 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54052         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54053         change internal state upon failure.
54055 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54057         * malloc/mcheck.c (mcheck_check_all): Fix typo.
54058         * malloc/memusage.c (mmap): Likewise.
54059         (mmap64, mremap): Likewise.  Adjust name in comment.
54061 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54063         * libio/fileops.c: Fix typos in comments.
54064         * libio/oldfileops.c: Likewise.
54065         * libio/wfileops.c: Likewise.
54067 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54069         [BZ #1349]
54070         * malloc/Makefile (tests): Add tst-malloc-usable test case.
54071         (tst-malloc-usable-ENV): Set environment for test case.
54072         * malloc/hooks.c (malloc_check_get_size): New function to get
54073         requested size.
54074         * malloc/malloc.c (musable): Use malloc_check_get_size.
54075         * malloc/tst-malloc-usable.c: New test case.
54077 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54079         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54081 2012-09-05  Allan McRae  <allan@archlinux.org>
54083         [BZ #13966]
54084         * configure.in (CXX_SYSINCLUDES): Use compiler output to
54085         determine header location.
54086         * configure: Regenerated.
54088 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54090         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54091         float format.
54092         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54093         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54094         format.
54095         (test): Regenerate.
54097 2012-09-04  David S. Miller  <davem@davemloft.net>
54099         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54100         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54101         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54103 2012-09-04  Florian Weimer  <fweimer@redhat.com>
54105         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54106         failures.
54108         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54110 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
54112         [BZ #9914]
54113         * libio/iogetdelim.c: Include <limits.h>.
54114         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54115         + len + 1 would overflow.
54117 2012-09-03  Andreas Jaeger  <aj@suse.de>
54119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54120         * sysdeps/i386/fpu/libm-test-ulps: Update.
54122 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54124         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54125         Add s_sinf-sse2, s_conf-sse2.
54127         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54128         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54129         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54130         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54132         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54133         for using routine as __sinf_ia32.
54134         Use macro for function declaration and weak_alias.
54135         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54136         for using routine as __cosf_ia32.
54137         Use macro for function declaration and weak_alias.
54139         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54140         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54142         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54143         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54146         * math/libm-test.inc (cos_test): Add more test cases.
54147         (sin_test): Likewise.
54148         (sincos_test): Likewise.
54150 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54152         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54153         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54154         hidden.
54155         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54157 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54159         [BZ #14538]
54160         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54161         first element of the GOT.
54162         (elf_machine_load_address): Return the difference between
54163         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54165 2012-09-01  Allan McRae  <allan@archlinux.org>
54167         [BZ #13412]
54168         * configure.in (AWK): Require gawk version 3.0 or later.
54169         * configure: Regenerated.
54171 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54173         * sysdeps/unix/sysv/linux/kernel-features.h
54174         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54175         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54176         [__NR_clock_getres]: Make code unconditional.
54177         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54178         (clock_getcpuclockid): Remove code left unreachable by removal of
54179         conditionals.
54180         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54181         code unconditional.
54182         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54183         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54184         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54185         Make code unconditional.
54186         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54187         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54188         * sysdeps/unix/sysv/linux/clock_settime.c
54189         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54190         conditional code.
54191         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54192         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54194 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54196         [BZ #14476]
54197         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54198         scripts/test-installation.pl.
54200         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54201         and $ld_so_version if it is set.
54203 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54205         [BZ #14516]
54206         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54207         failure if reading from procfs failed.
54208         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54210 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54212         * sysdeps/unix/sysv/linux/kernel-features.h
54213         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54214         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54215         Remove conditional code.
54216         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54217         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54218         Remove conditional code.
54219         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54220         * sysdeps/unix/sysv/linux/i386/fxstat.c
54221         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54222         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54223         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54224         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54225         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54226         * sysdeps/unix/sysv/linux/i386/lxstat.c
54227         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54228         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54229         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54230         Remove conditional code.
54231         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54232         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54233         Remove conditional code.
54234         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54235         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54236         <kernel-features.h>.
54237         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54238         Remove.
54239         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54240         Remove conditional code.
54241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54242         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54243         Remove conditional.
54245 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54247         [BZ #5400]
54248         * NEWS: Add fixed bug number.
54250 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54252         [BZ #14519]
54253         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54254         underflowing exponent in case of negative sign.
54255         * stdlib/tst-strtod-round-data: Add more tests.
54256         * stdlib/tst-strtod-round.c (tests): Regenerated.
54258         [BZ #3479]
54259         * stdlib/strtod_l.c (NDIG): Remove.
54260         (HEXNDIG): Likewise.
54261         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54262         smallest representable value.
54263         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54264         lie within an exact representation of 1/2 ulp of the result.
54265         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54266         unconditionally.
54267         (TENS_P9_IDX): Define unconditionally.
54268         (TENS_P9_SIZE): Likewise.
54269         (TENS_P10_IDX): Likewise.
54270         (TENS_P10_SIZE): Likewise.
54271         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54272         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54273         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54274         entries for 10^2^13 and 10^2^14.
54275         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54276         (TENS_P13_IDX): Define.
54277         (TENS_P13_SIZE): Likewise.
54278         (TENS_P14_IDX): Likewise.
54279         (TENS_P14_SIZE): Likewise.
54280         (_fpioconst_pow10): Change array size to
54281         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
54282         unconditional.
54283         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54284         1024]: Add entries for 10^2^13 and 10^2^14.
54285         [LAST_POW10 > _LAST_POW10]: Remove #error.
54286         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54287         (_fpioconst_pow10): Change array size to
54288         FPIOCONST_POW10_ARRAY_SIZE.
54289         * stdlib/gen-fpioconst.c: New file.
54290         * stdlib/gen-tst-strtod-round.c: Likewise.
54291         * stdlib/tst-strtod-round-data: Likewise.
54292         * stdlib/tst-strtod-round.c: Likewise.
54293         * stdlib/Makefile (tests): Add tst-strtod-round.
54295         [BZ #14459]
54296         * stdlib/strtod_l.c: Include <stdint.h>.
54297         (NDEBUG): Do not define.
54298         (round_and_return): Change EXPONENT parameter to type intmax_t.
54299         Rearrange calculations to avoid internal overflow possibilities.
54300         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54301         Rearrange calculations to avoid internal overflow possibilities.
54302         Assert that number fits inside MPNSIZE limbs.
54303         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54304         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
54305         calculations and add assertions to avoid internal overflow
54306         possibilities.  Add casts to avoid signed/unsigned operations.
54307         * stdlib/tst-strtod-overflow.c: New file.
54308         * stdlib/Makefile (tests): Add tst-strtod-overflow.
54310 2012-08-25  Marek Polacek  <polacek@redhat.com>
54312         * time/time.h: Fix some typos in comments.
54314 2012-08-23  Roland McGrath  <roland@hack.frob.com>
54316         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54317         * posix/tst-rfc3484-2.c: Likewise.
54318         * posix/tst-rfc3484-3.c: Likewise.
54320 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
54322         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54323         (EF_ARM_ABI_FLOAT_HARD): Likewise.
54325 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
54327         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54328         #include of fxstatat64.c.
54330 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54332         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54333         * shadow/getspent_r.c: Likewise.
54334         * shadow/getspnam.c: Likewise.
54335         * shadow/getspnam_r.c: Likewise.
54336         * gshadow/getsgent.c: Likewise.
54337         * gshadow/getsgent_r.c: Likewise.
54338         * gshadow/getsgnam.c: Likewise.
54339         * gshadow/getsgnam_r.c: Likewise.
54340         * inet/getnetbyad.c: Likewise.
54341         * inet/getnetbyad_r.c: Likewise.
54342         * inet/getnetbynm.c: Likewise.
54343         * inet/getnetbynm_r.c: Likewise.
54344         * inet/getnetent.c: Likewise.
54345         * inet/getnetent_r.c: Likewise.
54346         * inet/getproto.c: Likewise.
54347         * inet/getproto_r.c: Likewise.
54348         * inet/getprtent.c: Likewise.
54349         * inet/getprtent_r.c: Likewise.
54350         * inet/getprtname.c: Likewise.
54351         * inet/getprtname_r.c: Likewise.
54352         * inet/getrpcbyname.c: Likewise.
54353         * inet/getrpcbyname_r.c: Likewise.
54354         * inet/getrpcbynumber.c: Likewise.
54355         * inet/getrpcbynumber_r.c: Likewise.
54356         * inet/getrpcent.c: Likewise.
54357         * inet/getrpcent_r.c: Likewise.
54358         * inet/getaliasent.c: Likewise.
54359         * inet/getaliasent_r.c: Likewise.
54360         * inet/getaliasname.c: Likewise.
54361         * inet/getaliasname_r.c: Likewise.
54362         * nscd/getgrgid_r.c: Likewise.
54363         * nscd/getgrnam_r.c: Likewise.
54364         * nscd/gethstbyad_r.c: Likewise.
54365         * nscd/gethstbynm3_r.c: Likewise.
54366         * nscd/getpwnam_r.c: Likewise.
54367         * nscd/getpwuid_r.c: Likewise.
54368         * nscd/getsrvbynm_r.c: Likewise.
54369         * nscd/getsrvbypt_r.c: Likewise.
54370         * nscd/gai.c: Likewise.
54372         * configure.in (build_nscd): New substituted variable, set
54373         by --disable-build-nscd and defaults to $use_nscd.
54374         * configure: Regenerated.
54375         * config.make.in (build-nscd): New substituted variable.
54376         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54377         Change conditional to require [$(build-nscd) = yes] as well.
54378         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54380         [BZ# 13696]
54381         * configure.in (use_nscd): New substituted variable, set by
54382         --disable-nscd.  If enabled, define USE_NSCD.
54383         * configure: Regenerated.
54384         * config.h.in: Add USE_NSCD.
54385         * config.make.in (use-nscd): New substituted variable.
54386         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54387         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54388         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54389         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54390         (CFLAGS-getgrnam_r.c): Likewise.
54391         (CFLAGS-initgroups.c): Likewise.
54392         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54393         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54394         Variables removed.
54395         * inet/getnetgrent_r.c
54396         (nscd_setnetgrent): New function, broken out of ...
54397         (setnetgrent): ... here.  Call it.
54398         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54399         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54400         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54401         * nscd/Makefile (routines, aux): Move definitions after include of
54402         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54403         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54404         Conditionalize on [USE_NSCD].
54405         (is_nscd, nscd_init_cb): Likewise.
54406         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54407         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54408         * nss/nss_db/db-init.c: Likewise.
54409         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54410         [USE_NSCD].
54411         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54412         (make_request): Use it.
54413         (cache_valid_p): New function.
54414         (__check_pf): Use it.
54415         * NEWS: Add item for --disable-nscd.
54417 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54419         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54420         to support sed >= 4.2.1-20-ga9bf076.
54421         * configure: Regenerated.
54423 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54425         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54426         Conditionalize whole body on [IREL].
54428 2012-08-22  Jeff Law <law@redhat.com>
54430         [BZ #14505]
54431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54432         if the family is PF_UNSPEC.
54434 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54436         * Makerules (lib-version): Rename from V.
54437         (install-lib-nosubdir): Change V to lib-version.
54439 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54441         [BZ #14252]
54442         * powerpc32/power6/wcschr.c: New file.
54443         * powerpc32/power6/wcscpy.c: New file.
54444         * powerpc32/power6/wcsrchr.c: New file.
54445         * powerpc64/power6/wcschr.c: New file.
54446         * powerpc64/power6/wcscpy.c: New file.
54447         * powerpc64/power6/wcsrchr.c: New file.
54449 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54451         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54452         (two_way_short_needle): Use it.
54453         * string/strstr.c (AVAILABLE1_USES_J): Define.
54454         * string/strcasestr.c: Likewise.
54456         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54457         array references.
54458         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54460         [BZ #11607]
54461         * NEWS: Add an entry.
54462         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54463         define their defaults.
54464         (two_way_short_needle): Detect end-of-string on-the-fly.
54465         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54466         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54467         * string/bug-strcasestr1.c: New test.
54468         * string/Makefile: Run it.
54470 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54472         [BZ #11607]
54473         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54474         the first character.
54476 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54478         * csu/elf-init.c (__libc_csu_irel): Function removed.
54479         * csu/libc-start.c (apply_irel): New function.
54480         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54482 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54484         * sysdeps/unix/sysv/linux/kernel-features.h
54485         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54486         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54487         <kernel-features.h>.
54488         [__NR_fadvise64_64]: Make code unconditional.
54489         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54490         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54491         !__NR_fadvise64_64)]: Likewise.
54492         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54493         !__NR_fadvise64_64))]: Likewise.
54494         [__NR_fadvise64]: Make code unconditional.
54495         [!__NR_fadvise64]: Remove conditional code.
54496         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54497         <kernel-features.h>.
54498         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54499         unconditional.
54500         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54501         conditional code.
54502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54503         not include <kernel-features.h>.
54504         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54505         unconditional.
54506         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54507         conditional code.
54508         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54509         include <kernel-features.h>.
54510         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54511         unconditional.
54512         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54513         conditional code.
54515 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54517         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54518         slight instruction rearrangements per scrollpipe analysis.
54519         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54521 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54523         * manual/syslog.texi (syslog; vsyslog, closelog):
54524         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54525         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54527         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54528         DSOCAPS to match condition on defining it.
54530 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54532         * sysdeps/unix/sysv/linux/kernel-features.h
54533         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54535         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54536         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54538         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54539         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54541         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54542         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54544         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54545         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54547         * sysdeps/unix/sysv/linux/kernel-features.h
54548         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54549         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54550         unconditional.
54551         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54552         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54553         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54554         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54555         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54556         Make code unconditional.
54557         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54558         (__mmap64) [!__NR_mmap2]: Likewise.
54559         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54560         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54561         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54562         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54563         [__NR_mmap2]: Make code unconditional.
54564         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54565         (__mmap64) [!__NR_mmap2]: Likewise.
54567 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54569         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54571 2012-08-18  Andreas Jaeger  <aj@suse.de>
54573         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54575 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54577         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54578         * include/unistd.h (__have_sock_cloexec): Likewise.
54579         (__have_pipe2): Likewise.
54580         (__have_dup3): Likewise.
54582 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54584         [BZ #9685]
54585         * include/unistd.h (__have_pipe2): Change define into an extern int.
54586         (__have_dup3): Likewise.
54587         * socket/have_sock_cloexec.c: Include fcntl.h.
54588         (__have_pipe2): New variable.
54589         (__have_dup3): Likewise.
54591 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54593         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54595 2012-08-17  Marek Polacek  <polacek@redhat.com>
54597         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54598         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54600 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54602         * configure.in: Add AC_SUBST for sysheaders.
54603         * configure: Regenerated.
54604         * config.make.in (sysheaders): New substituted variable.
54606         * sysdeps/unix/mkfifo.c: Moved ...
54607         * sysdeps/posix/mkfifo.c: ... here.
54608         * sysdeps/unix/mkfifoat.c: Moved ...
54609         * sysdeps/posix/mkfifoat.c: ... here.
54611         * sysdeps/unix/utime.c: Moved ...
54612         * sysdeps/posix/utime.c: ... here.
54614         * sysdeps/unix/time.c: Moved ...
54615         * sysdeps/posix/time.c: ... here.
54616         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54617         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54619         * sysdeps/unix/nice.c: Moved ...
54620         * sysdeps/posix/nice.c: ... here.
54622         * sysdeps/unix/alarm.c: Moved ...
54623         * sysdeps/posix/alarm.c: ... here.
54625         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54627 2012-08-17  Jeff Law <law@redhat.com>
54629         * intl/Makefile (codeset_mo): New variable.
54630         ($(codeset_mo)): New target.
54631         (tst-codeset.out): Depend on that.  Remove explicit rule.
54632         (tst-gettext3.out, tst-gettext5.out): Likewise.
54633         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54634         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54635         * intl/tst-codeset.sh: Remove.
54636         * intl/tst-gettext3.sh: Likewise.
54637         * intl/tst-gettext5.sh: Likewise.
54639 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54641         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54642         * sysdeps/unix/syscalls.list: ... here.
54644         * sysdeps/posix/getaddrinfo.c
54645         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54646         (gaiconf_init, gaiconf_reload): Use them.
54647         [!_STATBUF_ST_NSEC]
54648         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54649         Define using time_t rather than struct timespec.
54651         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54652         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54653         Macros removed.
54654         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54655         [!NO_THREADS].
54656         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54657         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54658         Likewise.
54660         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54661         __libc_cleanup_push argument.
54663         * bits/param.h: New file.
54664         * misc/sys/param.h: New file.
54665         * include/sys/param.h: New file.
54666         * misc/Makefile (headers): Add bits/param.h.
54667         * sysdeps/generic/sys/param.h: File removed.
54668         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54669         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54670         * sysdeps/mach/hurd/bits/param.h: New file.
54671         * sysdeps/mach/hurd/sys/param.h: File removed.
54673         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54674         last change.
54676         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54677         [_IO_MTSAFE_IO].
54678         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54679         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54680         New macros.
54682         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54683         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54684         rather than -D_IO_MTSAFE_IO conditionally.
54685         * stdio-common/Makefile (CPPFLAGS): Likewise.
54686         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54687         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54688         Use $(libio-mtsafe).
54689         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54690         of -D_IO_MTSAFE_IO.
54691         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54692         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54693         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54694         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54695         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54696         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54697         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54698         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54699         (CFLAGS-fread_u_chk.c): Likewise.
54700         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54701         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54702         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54703         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54704         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54705         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54706         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54707         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54708         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54710         * libio/Makefile: Test [$(libc-reentrant) = yes]
54711         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54713         * Makeconfig
54714         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54715         * sysdeps/pthread/configure: File removed.
54716         * sysdeps/pthread/Makeconfig: New file.
54717         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54718         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54720 2012-08-16  Gary Benson  <gbenson@redhat.com>
54722         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54723         unmapping the first object in a namespace.
54725 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54727         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54728         (__internal_setnetgrent): ... this.  Add internal_function to
54729         definition.  Add libc_hidden_def.
54730         (setnetgrent): Update caller.
54731         (internal_endnetgrent): Renamed to ...
54732         (__internal_endnetgrent): ... this.  Add internal_function to
54733         definition.  Add libc_hidden_def.
54734         (endnetgrent): Update caller.
54735         (internal_getnetgrent_r): Renamed to ...
54736         (__internal_getnetgrent_r): ... this.  Add internal_function to
54737         definition.  Add libc_hidden_def.
54738         (__getnetgrent_r): Update caller.
54739         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
54741 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54743         * stdlib/longlong.h: Update from GCC.
54745 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54747         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54748         on _QL, which is set by umul_ppmm but never used.
54749         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54750         variables, which are set by GMP macros but never used.
54751         * stdio-common/_itowa.c (_itowa): Likewise.
54752         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54753         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54755 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54757         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54758         struct La_sh_regs is not constant.
54759         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54760         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54761         and struct La_sparc64_regs are not constant.
54763 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54765         * sysdeps/unix/sysv/linux/kernel-features.h
54766         (__ASSUME_POSIX_TIMERS): Remove.
54767         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54768         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54769         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54770         Make code unconditional.
54771         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54772         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54773         Make code unconditional.
54774         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54775         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54776         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54777         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54778         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54779         Make code unconditional.
54780         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54781         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54782         (__libc_missing_posix_timers): Remove.
54784 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54786         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54787         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54789         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54791         * elf/dl-sym.c: Include <stdlib.h>.
54793         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54794         constants, which avoids warnings in 32-bit builds.
54796         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54797         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54799         * misc/lseek.c: File moved to ...
54800         * io/lseek.c: ... here.
54802         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
54804         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
54805         shifting LEN more than 31 bits at once.
54807 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54809         [BZ #14195]
54810         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
54811         segmentation fault for a case of two empty input strings.
54812         * string/test-strncasecmp.c (check1): Renamed to...
54813         (bz12205): ...this.
54814         (bz14195): Add new testcase for two empty input strings and N > 0.
54815         (test_main): Call new testcase, adapt for renamed function.
54817 2012-08-15  Andreas Jaeger  <aj@suse.de>
54819         [BZ #14090]
54820         * crypt/md5test2.c: New test, based on test supplied by Serge
54821         Belyshev <belyshev@depni.sinp.msu.ru>.
54822         * crypt/Makefile (xtests): Add md5test-giant..
54823         * crypt/Makefile ($(objpfx)md5test-giant): Add.
54825 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
54827         [BZ #14090]
54828         * crypt/md5.c (md5_process_block): Don't assume the buffer
54829         length is less than 2**32.
54830         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
54831         length is less than 2**64.
54833 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54835         * string/str-two-way.h: Include <sys/param.h>.
54836         (MAX): Macro removed.
54838         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
54839         Move #define and #undef of memmove to just before and after
54840         including <string.h>.
54842         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
54843         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
54844         and after including <string.h>.  Move declarations of
54845         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
54846         to before #include "string/memmove.c".
54848         * include/dirent.h: Declare __getdirentries.
54850         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
54851         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
54853 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
54855         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
54856         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
54857         * sysdeps/i386/configure: Regenerated.
54858         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
54859         STABS_CURRENT_FILE, and STABS_FUN.
54860         (END): Remove call to STABS_FUN_END.
54861         (STABS_CURRENT_FILE1): Delete.
54862         (STABS_CURRENT_FILE): Likewise.
54863         (STABS_FUN): Likewise.
54864         (STABS_FUN_END): Likewise.
54865         (STABS_FUN2): Likewise.
54866         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
54867         * sysdeps/x86_64/configure: Regenerated.
54869 2012-08-14  Roland McGrath  <roland@hack.frob.com>
54871         * elf/dl-open.c: Include <atomic.h>.
54872         * elf/dl-lookup.c: Likewise.
54874 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
54876         * sysdeps/unix/sysv/linux/kernel-features.h
54877         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
54878         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
54879         unconditionally.
54880         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
54881         unconditionally.
54882         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
54883         condition on __ASSUME_CLONE_THREAD_FLAGS.
54885 2012-08-14  Andreas Jaeger  <aj@suse.de>
54887         * sysdeps/i386/fpu/libm-test-ulps: Update.
54889 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
54891         * include/atomic.h (atomic_exchange_and_add): Split into ...
54892         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
54893         New atomic macros.
54895 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
54897         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54899 2012-08-13  Jeff Law <law@redhat.com>
54901         * manual/stdio.texi (snprintf): Clarify handling of the trailing
54902         null byte in the output string.
54904 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
54906         * sysdeps/unix/sysv/linux/kernel-features.h
54907         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
54908         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
54909         (__ASSUME_ARG_MAX_STACK_BASED): Define.
54910         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
54911         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
54912         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
54913         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
54915 2012-08-09  Jeff Law <law@redhat.com>
54917         [BZ #13939]
54918         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
54919         When avoid_arena is set, don't retry in the that arena.  Pick the
54920         next one, whatever it might be.
54921         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
54922         (arena_lock): Pass in new parameter to arena_get2.
54923         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
54924         arena_get2.
54925         (__libc_malloc): Unify retrying after main arena failure with
54926         __libc_memalign version.
54927         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
54929 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
54931         [BZ #14166]
54932         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
54933         to __redirect_strstr.
54934         (__strstr_sse42): Use typeof __redirect_strstr.
54935         (__strstr_ia32): Likewise.
54936         (__libc_strstr): New prototype.
54937         (strstr): Renamed to ...
54938         (__libc_strstr): This.
54939         (strstr): New strong alias of __libc_strstr.
54940         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54941         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
54942         __redirect_time.
54943         Include <time.h>.
54944         (__libc_time): New prototype.
54945         (time_ifunc): Replace time with __libc_time.
54946         (time): New strong alias and hidden definition of __libc_time.
54947         (__GI_time): Remove strong alias.
54948         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
54949         Include <stddef.h>.
54950         (memmove): Redefined to __redirect_memmove.
54951         (__memmove_sse2): Use typeof __redirect_memmove.
54952         (__memmove_ssse3): Likewise.
54953         (__memmove_ssse3_back): Likewise.
54954         (__libc_memmove): New prototype.
54955         (memmove): Renamed to ...
54956         (__libc_memmove): This.
54957         (memmove): New strong alias of __libc_memmove.
54959 2012-08-08  Mark Salter  <msalter@redhat.com>
54961         * elf/elf.h
54962         (R_MN10300_TLS_GD): Define.
54963         (R_MN10300_TLS_LD): Likewise.
54964         (R_MN10300_TLS_LDO): Likewise.
54965         (R_MN10300_TLS_GOTIE): Likewise.
54966         (R_MN10300_TLS_IE): Likewise.
54967         (R_MN10300_TLS_LE): Likewise.
54968         (R_MN10300_TLS_DTPMOD): Likewise.
54969         (R_MN10300_TLS_DTPOFF): Likewise.
54970         (R_MN10300_TLS_TPOFF): Likewise.
54971         (R_MN10300_SYM_DIFF): Likewise.
54972         (R_MN10300_ALIGN): Likewise.
54973         (R_MN10300_NUM): Update.
54975 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
54977         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
54978         Remove.
54980 2012-08-08  Roland McGrath  <roland@hack.frob.com>
54982         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
54984         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
54985         sysdeps/unix -> sysdeps/posix move.
54986         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54988 2012-08-07      Allan McRae     <allan@archlinux.org>
54990         [BZ #14303]
54991         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
54992         (SUNOS_CPP): Likewise.
54993         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
54994         not found.
54995         (open_input): Call CPP using execvp.
54997 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
54999         * sysdeps/unix/sysv/linux/kernel-features.h
55000         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55001         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55002         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55003         (__ASSUME_WAITID_SYSCALL): Likewise.
55004         * sysdeps/unix/sysv/linux/dl-execstack.c
55005         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55006         code unconditional.
55007         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55008         conditional code.
55009         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55010         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55011         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55012         code.
55013         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55014         unconditional.
55015         [__ASSUME_WAITID_SYSCALL]: Likewise.
55016         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55018 2012-08-07  Roland McGrath  <roland@hack.frob.com>
55020         * sysdeps/unix/closedir.c: Renamed to ...
55021         * sysdeps/posix/closedir.c: ... here.
55022         * sysdeps/unix/dirfd.c: Renamed to ...
55023         * sysdeps/posix/dirfd.c: ... here.
55024         * sysdeps/unix/dirstream.h: Renamed to ...
55025         * sysdeps/posix/dirstream.h: ... here.
55026         * sysdeps/unix/fdopendir.c: Renamed to ...
55027         * sysdeps/posix/fdopendir.c: ... here.
55028         * sysdeps/unix/opendir.c: Renamed to ...
55029         * sysdeps/posix/opendir.c: ... here.
55030         * sysdeps/unix/readdir.c: Renamed to ...
55031         * sysdeps/posix/readdir.c: ... here.
55032         * sysdeps/unix/readdir_r.c: Renamed to ...
55033         * sysdeps/posix/readdir_r.c: ... here.
55034         * sysdeps/unix/rewinddir.c: Renamed to ...
55035         * sysdeps/posix/rewinddir.c: ... here.
55036         * sysdeps/unix/seekdir.c: Renamed to ...
55037         * sysdeps/posix/seekdir.c: ... here.
55038         * sysdeps/unix/telldir.c: Renamed to ...
55039         * sysdeps/posix/telldir.c: ... here.
55040         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55041         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55042         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55043         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55045         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55046         * bits/fcntl.h: ... here.
55048         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55049         not 0.
55050         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55051         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55052         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55053         (struct flock): Move l_start, l_len to the beginning.
55054         Use __pid_t for l_pid.
55055         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55056         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55057         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55058         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55059         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55060         [__USE_LARGEFILE64] (struct flock64): New type.
55061         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55063         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55064         * bits/dirent.h: ... here.
55066         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55067         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55069 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55071         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55072         Change from 2.6.0 to 2.6.16.
55073         * sysdeps/unix/sysv/linux/configure: Regenerated.
55074         * sysdeps/unix/sysv/linux/kernel-features.h
55075         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55076         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55077         version.
55078         (__ASSUME_UTIMES): Likewise.
55079         (__ASSUME_CLONE_STOPPED): Remove.
55080         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55081         architectures, not kernel version.
55082         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55083         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55084         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55085         (__ASSUME_WAITID_SYSCALL): Likewise.
55086         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55087         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55088         * README: State 2.6.16 as minimum Linux kernel version.  Do not
55089         refer to older versions.
55091 2012-08-06  Roland McGrath  <roland@hack.frob.com>
55093         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55094         Define alphasort64 as an alias.
55095         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55096         Define versionsort64 as an alias.
55097         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55098         Define scandir64 as an alias.
55099         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55100         Define scandirat64 as an alias.
55101         * dirent/alphasort64.c (alphasort64):
55102         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55103         * dirent/versionsort64.c: Likewise.
55104         * dirent/scandir64.c: Likewise.
55105         * dirent/scandirat64.c: Likewise.
55106         * sysdeps/wordsize-64/alphasort.c: File removed.
55107         * sysdeps/wordsize-64/alphasort64.c: File removed.
55108         * sysdeps/wordsize-64/scandir.c: File removed.
55109         * sysdeps/wordsize-64/scandir64.c: File removed.
55110         * sysdeps/wordsize-64/scandirat.c: File removed.
55111         * sysdeps/wordsize-64/scandirat64.c: File removed.
55112         * sysdeps/wordsize-64/versionsort.c: File removed.
55113         * sysdeps/wordsize-64/versionsort64.c: File removed.
55114         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55115         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55116         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55117         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55118         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55119         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55120         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55121         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55123         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55124         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55125         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55126         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55127         [defined __arch64__ || defined __sparcv9]
55128         (__INO_T_MATCHES_INO64_T): New macro.
55129         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55130         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55131         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55132         * sysdeps/unix/sysv/linux/bits/dirent.h
55133         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55134         (_DIRENT_MATCHES_DIRENT64): New macro.
55136         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55137         Define lockf64 as an alias.
55138         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55139         Define fseeko64 as an alias.
55140         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55141         Define ftello64 as an alias.
55142         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55143         Define _IO_fgetpos64 and fgetpos64 as aliases.
55144         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55145         Define _IO_fsetpos64 and fsetpos64 as aliases.
55146         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55147         Conditionalize body on this.
55148         * libio/fseeko64.c: Likewise.
55149         * libio/ftello64.c: Likewise.
55150         * libio/iofgetpos64.c: Likewise.
55151         * libio/iofsetpos64.c: Likewise.
55152         * sysdeps/wordsize-64/lockf.c: File removed.
55153         * sysdeps/wordsize-64/lockf64.c: File removed.
55154         * sysdeps/wordsize-64/fseeko.c: File removed.
55155         * sysdeps/wordsize-64/fseeko64.c: File removed.
55156         * sysdeps/wordsize-64/ftello.c: File removed.
55157         * sysdeps/wordsize-64/ftello64.c: File removed.
55158         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55159         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55160         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55161         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55162         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55163         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55164         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55165         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55166         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55167         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55168         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55169         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55170         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55171         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55173         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55174         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55175         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55176         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55177         [defined __arch64__ || defined __sparcv9]
55178         (__OFF_T_MATCHES_OFF64_T): New macro.
55179         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55180         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55181         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55182         (__OFF_T_MATCHES_OFF64_T): New macro.
55184 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55186         * stdlib/secure-getenv.c (__secure_getenv): Replace
55187         GLIBC_2_16 with GLIBC_2_17.
55189 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55191         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55192         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55194 2012-08-03  David S. Miller  <davem@davemloft.net>
55196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55198 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55200         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55201         Remove.
55202         (__ASSUME_CORRECT_SI_PID): Likewise.
55203         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55204         (__ASSUME_TMPFS_NAME): Likewise.
55205         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55206         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55207         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55208         (HAVE_AUX_SECURE): Make definition unconditional.
55209         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55210         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55212 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55214         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55215         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55216         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55217         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55218         __eloop_threshold instead of SYMLOOP_MAX.
55220         * sysdeps/generic/eloop-threshold.h: New file.
55221         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55222         of MAXSYMLINKS.
55223         * elf/chroot_canon.c (chroot_canon): Likewise.
55225 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55227         [BZ #13717]
55228         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55229         Change to 2.6.0 everywhere.
55230         * sysdeps/unix/sysv/linux/configure: Regenerated.
55231         * sysdeps/unix/sysv/linux/kernel-features.h
55232         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55233         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55234         kernel versions.
55235         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55236         (__ASSUME_FUTEX_REQUEUE): Remove.
55237         (__ASSUME_STATFS64): Define unconditionally.
55238         (__ASSUME_AT_SECURE): Likewise.
55239         (__ASSUME_CORRECT_SI_PID): Likewise.
55240         (__ASSUME_TGKILL): Define without depending on kernel version for
55241         i386.
55242         (__ASSUME_UTIMES): Likewise.
55243         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55244         kernel version.
55245         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55246         (__ASSUME_TMPFS_NAME): Likewise.
55247         * README: Update reference to Linux kernel versions.
55249 2012-08-02  Marek Polacek  <polacek@redhat.com>
55251         [BZ# 14150]
55252         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55253         libc_cv_asm_type_prefix with %.
55254         * configure: Regenerated.
55255         * include/libc-symbols.h: Remove comment about
55256         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55257         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55258         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55259         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55260         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55261         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55262         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55263         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55264         * elf/tst-unique2mod1.c: Likewise.
55265         * elf/tst-unique1mod2.c: Likewise.
55266         * elf/tst-unique1mod1.c: Likewise.
55267         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55268         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55269         Replace ASM_TYPE_DIRECTIVE with .type.
55270         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55271         * sysdeps/i386/sysdep.h: Likewise.
55272         * sysdeps/x86_64/sysdep.h: Likewise.
55273         * sysdeps/sh/sysdep.h: Likewise.
55274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55275         Do not define ASM_TYPE_DIRECTIVE.
55276         * sysdeps/powerpc/sysdep.h: Likewise.
55277         * sysdeps/powerpc/powerpc32/sysdep.h:
55278         Replace ASM_TYPE_DIRECTIVE with .type.
55279         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55280         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55281         * sysdeps/i386/fpu/e_powf.S: Likewise.
55282         * sysdeps/i386/fpu/e_expl.S: Likewise.
55283         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55284         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55285         * sysdeps/i386/fpu/e_pow.S: Likewise.
55286         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55287         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55288         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55289         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55290         * sysdeps/i386/fpu/e_log2.S: Likewise.
55291         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55292         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55293         * sysdeps/i386/fpu/e_powl.S: Likewise.
55294         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55295         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55296         * sysdeps/i386/fpu/e_logl.S: Likewise.
55297         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55298         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55299         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55300         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55301         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55302         * sysdeps/i386/fpu/e_log.S: Likewise.
55303         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55304         * sysdeps/i386/fpu/e_logf.S: Likewise.
55305         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55306         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55307         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55308         * sysdeps/i386/fpu/e_log10.S: Likewise.
55309         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55310         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55311         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55312         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55313         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55314         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55315         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55316         * sysdeps/i386/i686/strtok.S: Likewise.
55317         * sysdeps/i386/i386-mcount.S: Likewise.
55318         * sysdeps/i386/strtok.S: Likewise.
55319         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55320         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55321         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55322         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55323         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55324         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55325         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55326         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55327         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55328         * sysdeps/x86_64/_mcount.S: Likewise.
55329         * sysdeps/x86_64/strtok.S: Likewise.
55330         * sysdeps/sh/_mcount.S: Likewise.
55332 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55334         * libio/iofopen.c: Include <fcntl.h>.
55335         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55336         (_IO_fopen64, fopen64): Define as aliases.
55337         * libio/iofopen64.c: Include <fcntl.h>.
55338         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55339         Conditionalize body on this.
55340         * sysdeps/wordsize-64/iofopen.c: File removed.
55341         * sysdeps/wordsize-64/iofopen64.c: File removed.
55343 2012-08-01  Marek Polacek  <polacek@redhat.com>
55345         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55346         Use dlfcn directly instead of a variable.
55347         (binfmt-subdir): Do not define.
55348         (dlfcn): Likewise.
55350 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55352         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55353         Remove all definitions.
55354         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55355         <kernel-features.h>.
55356         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55357         (miss_F_GETOWN_EX): Remove all definitions.
55358         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55359         macro definition.
55360         [!__ASSUME_FCNTL64]: Remove conditional code.
55361         [__ASSUME_FCNTL64]: Make code unconditional.
55362         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55363         <kernel-features.h>.
55364         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55365         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55366         (lockf64) [__NR_fcntl64]: Make code unconditional.
55367         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55369         * sysdeps/unix/sysv/linux/kernel-features.h
55370         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55371         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55372         Make code unconditional.
55373         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55374         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55376         [__NR_vfork]: Make code unconditional.
55377         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55378         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55380         [__NR_vfork]: Make code unconditional.
55381         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55382         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55384 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55386         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55387         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55389         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55390         Define mkstemp64 as an alias.
55391         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55392         Define mkstemps64 as an alias.
55393         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55394         Define mkostemp64 as an alias.
55395         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55396         Define mkostemps64 as an alias.
55397         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55398         Conditionalize body on this.
55399         * misc/mkostemp64.c: Likewise.
55400         * misc/mkostemps64.c: Likewise.
55401         * misc/mkstemps64.c: Likewise.
55402         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55403         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55404         * sysdeps/wordsize-64/mkostemp.c: File removed.
55405         * sysdeps/wordsize-64/mkstemp.c: File removed.
55406         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55407         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55408         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55409         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55411         [BZ #14138]
55412         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55413         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55414         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55415         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55417         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55418         compat_symbol macros from <shlib-compat.h> rather than the underlying
55419         default_symbol_version and symbol_version macros, so that DEFAULT
55420         lines in shlib-versions are respected.
55421         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55423 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55425         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55426         Declare with warn_unused_result.
55427         (setgid, setregid, setegid, setresgid): Likewise.
55428         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55429         Likewise.
55430         * WUR-REPORT: Remove set*id functions.
55432 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55434         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55436 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55438         [BZ #10191]
55439         * include/sys/socket.h (__libc_accept, __libc_accept4):
55440         Add attribute_hidden.
55441         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55443         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55444         use of PTR_MANGLE.
55445         * inet/getnetgrent_r.c (setup): Likewise.
55447         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55449 2012-07-31  David S. Miller  <davem@davemloft.net>
55451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55453 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55455         [BZ #13629]
55456         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55457         value between 1.0 and 2.0 and smaller part has absolute value less
55458         than 1.0.
55459         * math/s_clog10.c (__clog10): Likewise.
55460         * math/s_clog10f.c (__clog10f): Likewise.
55461         * math/s_clog10l.c (__clog10l): Likewise.
55462         * math/s_clogf.c (__clogf): Likewise.
55463         * math/s_clogl.c (__clogl): Likewise.
55464         * math/libm-test.inc (clog_test): Add more tests.
55465         (clog10_test): Likewise.
55466         * sysdeps/i386/fpu/libm-test-ulps: Update.
55467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55469 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55471         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55472         Exit with zero in case no suitable GID is found, and write a
55473         message to standard error.
55475 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55477         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55478         rather than to 1.
55479         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55480         (MAXPATHLEN): Removed.
55481         (NOGROUP, NODEV): New macros.
55482         (setbit, clrbit, isset, isclr): New macros.
55483         (howmany, roundup, powerof2): New macros.
55484         (DEV_BSIZE): New macro.
55486         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55487         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55489         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55490         definition on [!__NO_LONG_DOUBLE_MATH].
55492         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55493         PTR_MANGLE and PTR_DEMANGLE.
55495         * socket/accept4.c (accept4): Rename to __libc_accept4.
55496         Define accept4 as a weak alias.
55498         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55499         on [_DIRENT_HAVE_D_TYPE].
55500         * io/ftw.c (ftw_dir): Likewise.
55502         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55504         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55506         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55507         Use the BSD numbers rather than the arbitrary ones we had.
55508         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55509         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55510         (SIGXCPU, SIGXFSZ): New macros.
55511         (_NSIG): Now 32.
55513         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55514         initializer on [_LIBC_REENTRANT].
55516         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55517         definitions inside [_POSIX_MAPPED_FILES].
55519         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55521         * dirent/opendir.c: Include <fcntl.h>.
55523         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55524         (__libc_getspecific): Likewise.
55525         (__libc_key_create): Likewise.
55527         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55528         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55529         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55530         (tmpfile64): Define as alias.
55531         * sysdeps/wordsize-64/tmpfile.c: File removed.
55532         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55533         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55534         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55536         * stdio-common/vfscanf.c: Include <stdbool.h>.
55537         * nss/makedb.c: Likewise.
55538         * stdio-common/_i18n_number.h: Likewise.
55539         * argp/argp-help.c: Likewise.
55540         * posix/wordexp.c: Likewise.
55541         * sysdeps/posix/spawni.c: Likewise.
55542         * nss/nss_files/files-initgroups.c: Likewise.
55543         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55544         * nss/nss_files/files-initgroups.c: Likewise.
55545         * nss/nss_db/db-netgrp.c: Likewise.
55546         * nss/nss_db/db-initgroups.c: Likewise.
55547         * io/fchmodat.c: Include <sys/stat.h>.
55549         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55550         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55552         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55553         [HAVE_MMAP].
55555         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55556         Add multiple inclusion protection.
55558 2012-07-27  David S. Miller  <davem@davemloft.net>
55560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55562 2012-07-27  Gary Benson  <gbenson@redhat.com>
55564         [BZ #14298]
55565         * elf/rtld.c: Include <stap-probe.h>.
55566         (dl_main): Added static probes "init_start" and "init_complete".
55567         * elf/dl-load.c: Include <stap-probe.h>.
55568         (lose): Take new parameter "nsid".
55569         Added static probe "map_failed".
55570         (_dl_map_object_from_fd): Pass namespace id to lose.
55571         Added static probe "map_start".
55572         (open_verify): Pass namespace id to lose.
55573         * elf/dl-open.c: Include <stap-probe.h>.
55574         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55575         and "reloc_complete".
55576         * elf/dl-close.c: Include <stap-probe.h>.
55577         (_dl_close_worker): Added static probes "unmap_start" and
55578         "unmap_complete".
55579         * elf/rtld-debugger-interface.txt: New file documenting the above.
55581 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55583         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55584         rather than a string variable.
55585         * sunrpc/rpc_main.c (h_output): Likewise.
55586         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55588 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55590         * inet/check_native.c: New file.
55592 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55594         [BZ #13629]
55595         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55596         if larger part has absolute value 1.0.
55597         * math/s_clog10.c (__clog10): Likewise.
55598         * math/s_clog10f.c (__clog10f): Likewise.
55599         * math/s_clog10l.c (__clog10l): Likewise.
55600         * math/s_clogf.c (__clogf): Likewise.
55601         * math/s_clogl.c (__clogl): Likewise.
55602         * math/libm-test.inc (clog_test): Add more tests.
55603         (clog10_test): Likewise.
55604         * sysdeps/i386/fpu/libm-test-ulps: Update.
55605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55607         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55608         (pltexit): Likewise.
55609         (La_regs): Likewise.
55610         (La_retval): Likewise.
55611         (int_retval): Likewise.
55612         Update #error for removed macros to refer only to definitions in
55613         tst-audit.h.
55614         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55615         macro.
55616         (pltexit): Likewise.
55617         (La_regs): Likewise.
55618         (La_retval): Likewise.
55619         (int_retval): Likewise.
55620         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55621         macro.
55622         (pltexit): Likewise.
55623         (La_regs): Likewise.
55624         (La_retval): Likewise.
55625         (int_retval): Likewise.
55626         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55627         macro.
55628         (pltexit): Likewise.
55629         (La_regs): Likewise.
55630         (La_retval): Likewise.
55631         (int_retval): Likewise.
55632         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55633         macro.
55634         (pltexit): Likewise.
55635         (La_regs): Likewise.
55636         (La_retval): Likewise.
55637         (int_retval): Likewise.
55638         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55639         macro.
55640         (pltexit): Likewise.
55641         (La_regs): Likewise.
55642         (La_retval): Likewise.
55643         (int_retval): Likewise.
55644         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55645         macro.
55646         (pltexit): Likewise.
55647         (La_regs): Likewise.
55648         (La_retval): Likewise.
55649         (int_retval): Likewise.
55650         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55651         macro definitions in tst-audit.h.
55652         * sysdeps/i386/tst-audit.h: New file.
55653         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55654         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55655         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55656         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55657         * sysdeps/sh/tst-audit.h: Likewise.
55658         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55659         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55660         * sysdeps/x86_64/tst-audit.h: Likewise.
55662 2012-07-26  Andreas Jaeger  <aj@suse.de>
55664         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55665         ptrace.
55667         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55668         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55669         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55670         PTRACE_O_MASK.
55671         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55672         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55673         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55675         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55676         value.
55678         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55679         _sigsys.
55680         (si_call_addr, si_syscall, si_arch): Define new macro.
55681         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55682         _sigsys.
55683         (si_call_addr, si_syscall, si_arch): Define new marcro.
55684         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55685         _sigsys.
55686         (si_call_addr, si_syscall, si_arch): Define new macro.
55687         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55688         _sigsys.
55689         (si_call_addr, si_syscall, si_arch): Define new macro.
55691 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55693         [BZ #13717]
55694         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55695         Change to 2.4.21 where previously 2.4.1.
55696         * sysdeps/unix/sysv/linux/configure: Regenerated.
55697         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55698         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55699         Linux kernel version.
55700         (__ASSUME_STD_AUXV): Remove.
55701         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55702         kernel version.
55703         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55704         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55705         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55706         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55707         (__ASSUME_NETLINK_SUPPORT): Likewise.
55708         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55709         (__no_netlink_support): Remove conditional definition.
55710         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55711         Remove.
55712         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55713         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55714         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55715         (if_nameindex_ioctl): Remove.
55716         (if_nameindex_netlink): Do not handle __no_netlink_support.
55717         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55718         code.
55719         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55720         Remove conditional code.
55721         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55722         code.
55723         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55724         unconditional.
55725         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55726         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55727         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55728         Remove.
55729         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55730         [!__ASSUME_STD_AUXV]: Remove conditional code.
55731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55732         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55733         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55735         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55736         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55737         code.
55738         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55740         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55741         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55742         conditional code.
55743         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55745         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55746         code.
55747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55748         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55749         conditional code.
55750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55751         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55752         code unconditional.
55753         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55754         conditional code.
55755         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55756         unconditional.
55757         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55758         conditional code.
55759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55760         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55761         unconditional.
55762         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55763         conditional code.
55764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55765         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55766         code unconditional.
55767         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55768         conditional code.
55769         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55770         unconditional.
55771         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55772         conditional code.
55773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55774         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55775         code unconditional.
55776         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55777         conditional code.
55778         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55779         unconditional.
55780         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55781         conditional code.
55783 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55785         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55786         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55787         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55788         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55789         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55790         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55791         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55792         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55793         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55794         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55795         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55796         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55797         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55798         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55799         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
55800         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
55801         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
55802         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
55803         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
55804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
55805         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
55806         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
55807         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55809 2012-07-25  Florian Weimer  <fweimer@redhat.com>
55811         * Versions.def: Add GLIBC_2.17.
55812         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
55813         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
55814         Introduce __libc_secure_getenv.
55815         * stdlib/Versions (2.17): Add secure_getenv
55816         (GLIBC_PRIVATE): Add __libc_secure_getenv.
55817         * stdlib/secure-getenv.c: Rename __secure_getenv to
55818         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
55819         symbol __secure_getenv for GLIBC_2.0.
55820         * stdlib/tst-secure-getenv.c: New.
55821         * stdlib/Makefile (tests): Add testcase.
55822         * manual/startup.texi (Environment Access): Document
55823         secure_getenv.
55824         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
55825         __libc_secure_getenv.
55826         * inet/ruserpass.c (ruserpass): Likewise.
55827         * malloc/mtrace.c (mtrace): Likewise.
55828         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
55829         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
55830         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
55831         * sysdeps/posix/tempname.c: Likewise.  Evaluate
55832         HAVE_SECURE_GETENV.
55833         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
55834         __secure_getenv to __libc_secure_getenv.
55835         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
55836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55837         Likewise.
55838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55839         Likewise.
55840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55842         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55848 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55850         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
55851         (struct La_i86_retval): Likewise.
55852         (struct La_x86_64_regs): Likewise.
55853         (struct La_x86_64_retval): Likewise.
55854         (struct La_x32_regs): Likewise.
55855         (struct La_x32_retval): Likewise.
55856         (struct La_ppc32_regs): Likewise.
55857         (struct La_ppc32_retval): Likewise.
55858         (struct La_ppc64_regs): Likewise.
55859         (struct La_ppc64_retval): Likewise.
55860         (struct La_sh_regs): Likewise.
55861         (struct La_sh_retval): Likewise.
55862         (struct La_s390_32_regs): Likewise.
55863         (struct La_s390_32_retval): Likewise.
55864         (struct La_s390_64_regs): Likewise.
55865         (struct La_s390_64_retval): Likewise.
55866         (struct La_sparc32_regs): Likewise.
55867         (struct La_sparc32_retval): Likewise.
55868         (struct La_sparc64_regs): Likewise.
55869         (struct La_sparc64_retval): Likewise.
55870         (struct audit_ifaces): Remove architecture-specific pltenter and
55871         pltexit members.
55872         * sysdeps/i386/ldsodefs.h: New file.
55873         * sysdeps/powerpc/ldsodefs.h: Likewise.
55874         * sysdeps/s390/ldsodefs.h: Likewise.
55875         * sysdeps/sh/ldsodefs.h: Likewise.
55876         * sysdeps/sparc/ldsodefs.h: Likewise.
55877         * sysdeps/x86_64/ldsodefs.h: Likewise.
55879 2012-07-25  Marek Polacek  <polacek@redhat.com>
55881         [BZ #6808]
55882         * math/libm-test.inc (yn_test): Add another test.
55883         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
55884         to ERANGE when the result is +-Inf.
55885         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
55886         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
55887         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
55888         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
55890 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
55892         * conform/data/time.h-data (NULL): Use macro-constant.  Require
55893         equal to 0.
55894         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
55895         clock_t.
55896         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
55898 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
55900         * configure.in <sysdeps resolving>: Correct printing
55901         Implies_before.
55902         * configure: Regenerate.
55904 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
55906         * math/w_ilogb.c: Include <limits.h>.
55907         * math/w_ilogbl.c: Likewise.
55909 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55911         * manual/lang.texi (__va_copy): Document primarily as ISO C99
55912         va_copy.  Document allowing for unavailable va_copy only as
55913         pre-C99 compatibility.
55914         * manual/string.texi (Copying and Concatenation): Use va_copy
55915         instead of __va_copy in concat example.
55917 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
55919         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
55920         (__sendto): Use create_address_port.  Initialize APORT and deallocate
55921         it if not null.
55923         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
55924         with O_NOLINK passed to __file_name_lookup.
55926         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
55927         with O_NOLINK passed to __file_name_lookup.
55929         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
55930         negative N or less than NGIDS.
55932         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
55933         type to string_t.  Set ERANGE as errno and return it if NAME is not big
55934         enough.  Use memcpy instead of strncpy.
55936 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
55938         * elf/Makefile (check-data): Remove.
55939         (localplt.data): New vpath directive.
55940         ($(objpfx)check-localplt.out): Use localplt.data from vpath
55941         instead of $(check-data).
55942         * scripts/data/localplt-generic.data: Move to ...
55943         * sysdeps/generic/localplt.data: ... here.
55944         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
55945         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
55946         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
55947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
55948         ... here.
55949         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
55950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
55951         ... here.
55952         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
55953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
55954         ... here.
55955         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
55956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
55957         ... here.
55958         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
55959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
55960         ... here.
55961         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
55962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
55963         ... here.
55965 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55967         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
55968         PPC32 and PPC64 files.
55969         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
55970         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55972 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55974         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
55975         __makecontext_ret to ...
55976         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
55977         ... here and call exit if uc_link is NULL.  New file.
55978         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
55979         __makecontext_ret.S.
55980         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
55981         __makecontext_ret to ...
55982         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
55983         ... here and call exit if uc_link is NULL.  New file.
55984         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
55985         __makecontext_ret.S.
55987 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55989         * elf/elf.h (R_390_IRELATIVE): New definition.
55990         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
55991         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
55992         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
55993         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55994         (elf_machine_lazy_rel): Likewise.
55995         * sysdeps/s390/dl-irel.h: New file.
55996         * sysdeps/s390/s390-64/memcpy.S: New asm code.
55997         * sysdeps/s390/s390-64/memset.S: New asm code.
55998         * sysdeps/s390/s390-64/memcmp.S: New asm code.
55999         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56000         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56001         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56002         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56003         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56004         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56005         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56006         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56007         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56008         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56009         * sysdeps/s390/s390-32/memcpy.S: New asm code.
56010         * sysdeps/s390/s390-32/memset.S: New asm code.
56011         * sysdeps/s390/s390-32/memcmp.S: New asm code.
56013 2012-07-17  Marek Polacek  <polacek@redhat.com>
56015         [BZ #14349]
56016         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56017         * sysdeps/s390/s390-64/configure.in: Likewise.
56018         * sysdeps/sparc/configure.in: Likewise.
56019         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56020         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56021         * sysdeps/i386/configure.in: Likewise.
56022         * sysdeps/x86_64/configure.in: Likewise.
56023         * sysdeps/sh/configure.in: Likewise.
56024         * sysdeps/s390/s390-32/configure: Regenerated.
56025         * sysdeps/s390/s390-64/configure: Likewise.
56026         * sysdeps/x86_64/configure: Likewise.
56027         * sysdeps/sh/configure: Likewise.
56028         * sysdeps/powerpc/powerpc64/configure: Likewise.
56029         * sysdeps/powerpc/powerpc32/configure: Likewise.
56030         * sysdeps/sparc/configure: Likwise.
56031         * sysdeps/i386/configure: Likewise.
56033         * elf/dl-open.c: Comment fixes.
56035 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
56037         * Makefile [CXX] (check-data): Remove.
56038         [CXX] (c++-types.data): New vpath directive.
56039         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56040         vpath.  Do not allow for C++ type data being missing.
56041         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56042         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56043         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56044         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56045         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56046         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56047         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56049         ... here.
56050         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56052         ... here.
56053         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56055         ... here.
56056         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56058         ... here.
56059         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56061         ... here.
56062         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56064         ... here.
56065         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56067         ... here.
56068         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56071         * elf/tls-macros.h (TLS_LE): Move architecture-specific
56072         definitions to architecture-specific files.
56073         (TLS_IE): Likewise.
56074         (TLS_LD): Likewise.
56075         (TLS_GD): Likewise.
56076         * sysdeps/i386/tls-macros.h: New file.
56077         * sysdeps/powerpc/tls-macros.h: Likewise.
56078         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56079         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56080         * sysdeps/sh/tls-macros.h: Likewise.
56081         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56082         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56083         * sysdeps/x86_64/tls-macros.h: Likewise.
56085 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56087         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56088         zero value for regular exit case.
56090         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56091         (__start_context): Preserve zero value for regular exit case.
56093 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56094             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56096         * manual/setjmp.texi (setcontext): Clarify normal process
56097         termination when uc_link is the null pointer.
56098         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56099         exit call.
56101 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
56103         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56104         preprocessor.  Test for each exception mask separately.
56106 2012-07-16  Andreas Jaeger  <aj@suse.de>
56108         * po/ru.po: Update from translation team.
56110 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
56112         * conform/data/string.h-data (NULL): Use macro-constant.  Require
56113         equal to 0.
56114         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56115         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56116         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56117         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56118         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56120 2012-07-13  Andreas Jaeger  <aj@suse.de>
56122         * po/fr.po: Update from translation team.
56124 2012-07-12  Marek Polacek  <polacek@redhat.com>
56126         [BZ #14173]
56127         * math/libm-test.inc (yn_test): Add test for BZ #14173.
56128         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56129         loop condition.
56131 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
56133         [BZ #13717]
56134         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56135         Change to 2.4.1 where previously 2.4.0.
56136         * sysdeps/unix/sysv/linux/configure: Regenerated.
56137         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56138         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56139         version.
56140         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56141         (__ASSUME_AT_CLKTCK): Remove.
56142         (__ASSUME_AT_PAGESIZE): Likewise.
56143         (__ASSUME_AT_XID): Likewise.
56144         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56145         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56146         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56147         unconditionally.
56148         (HAVE_AUX_PAGESIZE): Likewise.
56149         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56150         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56151         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56153 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56155         [BZ #14307]
56156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56157         the temporary buffer used to invoke __gethostbyname2_r,
56158         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56159         host_data / struct gaih_addrtuple.
56160         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56161         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56162         header file nss/nsswitch.h.
56163         * nss/nsswitch.h (global scope): Add definition of implementation
56164         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56165         resolv/nss_dns/dns-host.c).
56167 2012-07-11  Andreas Jaeger  <aj@suse.de>
56169         * po/fr.po: Update from translation team.
56171         * po/sv.po: Update from translation team
56172         * po/fr.po: Another update from translation team.
56174 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56176         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56177         for subnormals or multiply small sinh result by itself.
56178         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56181 2012-07-11  David S. Miller  <davem@davemloft.net>
56183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56185 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56187         [BZ #14347]
56188         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56189         (INTERNAL_MARK): Shift it here.
56191 2012-07-10  Marek Polacek  <polacek@redhat.com>
56193         [BZ #14151]
56194         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56195         libc_cv_asm_global_directive with .globl.
56196         * configure: Regenerated.
56197         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56198         with .globl.
56199         * sysdeps/i386/configure: Regenerated.
56200         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56201         with .globl.
56202         * sysdeps/x86_64/configure: Regenerated.
56203         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56204         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56205         * elf/tst-unique2mod2.c: Likewise.
56206         * elf/tst-unique2mod1.c: Likewise.
56207         * elf/tst-unique1mod2.c: Likewise.
56208         * elf/tst-unique1mod1.c: Likewise.
56209         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56210         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56211         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56212         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56213         * sysdeps/mach/sysdep.h: Likewise.
56214         * sysdeps/i386/sysdep.h: Likewise.
56215         * sysdeps/i386/i386-mcount.S: Likewise.
56216         * sysdeps/x86_64/_mcount.S: Likewise.
56217         * sysdeps/x86_64/sysdep.h: Likewise.
56218         * sysdeps/sh/_mcount.S: Likewise.
56219         * sysdeps/sh/sysdep.h: Likewise.
56220         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56221         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56222         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56223         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56224         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56225         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56226         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56227         * locale/localeinfo.h: Likewise.
56228         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56229         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56231 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56233         [BZ #14336]
56234         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56235         system".
56236         * manual/message.texi (The Uniforum approach): Likewise.
56237         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56238         (glibc iconv Implementation): Likewise.
56240 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56242         [BZ #14337]
56243         * math/s_clog.c (__clog): Avoid scaling a value down where that
56244         could result in underflow.
56245         * math/s_clog10.c (__clog10): Likewise.
56246         * math/s_clog10f.c (__clog10f): Likewise.
56247         * math/s_clog10l.c (__clog10l): Likewise.
56248         * math/s_clogf.c (__clogf): Likewise.
56249         * math/s_clogl.c (__clogl): Likewise.
56250         * math/libm-test.inc (clog_test): Add more tests.
56251         (clog10_test): Likewise.
56252         * sysdeps/i386/fpu/libm-test-ulps: Update.
56253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56255 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56257         [BZ #14283]
56258         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56259         by 7 not 8 to examine high bit of fractional part.
56261         [BZ #14042]
56262         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56263         for call to __mcount_internal.
56264         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56265         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56266         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56268 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
56270         [BZ #14154]
56271         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56272         approximation for values within 0x1p-13f of an odd multiple of
56273         pi/4.
56274         * math/libm-test.inc (tan_test): Do not allow spurious underflow
56275         exception.  Add more tests.
56276         * sysdeps/i386/fpu/libm-test-ulps: Update.
56278         [BZ #6778]
56279         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56280         inputs and return -1 for them.  Do not check for +Inf in case not
56281         reachable for +Inf.
56282         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56283         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56284         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56285         and return -1 for them.  Do not check for +Inf in case not
56286         reachable for +Inf.
56287         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56288         define.
56289         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56290         and return -1 for them.  Do not check for +Inf in case not
56291         reachable for +Inf.
56292         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
56293         spurious underflow.
56294         * sysdeps/i386/fpu/libm-test-ulps: Update.
56295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56297 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
56299         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56301 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
56303         [BZ #14157]
56304         [BZ #14331]
56305         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56306         could result in spurious underflow.  Scale down values above
56307         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56308         * math/s_csqrtf.c (__csqrtf): Likewise.
56309         * math/s_csqrtl.c (__csqrtl): Likewise.
56310         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
56311         spurious underflow.
56312         * sysdeps/i386/fpu/libm-test-ulps: Update.
56313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56315 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
56317         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56318         xopen-msg.sed.
56319         * catgets/xopen-msg.awk: New file.
56320         * catgets/xopen-msg.sed: Removed.
56322         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56323         po2text.sed.
56324         * intl/po2test.awk: New file.
56325         * intl/po2test.sed: Removed.
56327 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
56329         [BZ #14328]
56330         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56331         or multiply small sinh result by itself.
56332         * math/s_ctanf.c (__ctanf): Likewise.
56333         * math/s_ctanh.c (__ctanh): Likewise.
56334         * math/s_ctanhf.c (__ctanhf): Likewise.
56335         * math/s_ctanhl.c (__ctanhl): Likewise.
56336         * math/s_ctanl.c (__ctanl): Likewise.
56337         * math/libm-test.inc (ctan_test_tonearest): New function.
56338         (ctan_test_towardzero): Likewise.
56339         (ctan_test_downward): Likewise.
56340         (ctan_test_upward): Likewise.
56341         (ctanh_test_tonearest): Likewise.
56342         (ctanh_test_towardzero): Likewise.
56343         (ctanh_test_downward): Likewise.
56344         (ctanh_test_upward): Likewise.
56345         (main): Call these new functions.
56346         * sysdeps/i386/fpu/libm-test-ulps: Update.
56347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56349 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56351         * .gitignore: Delete /ports entry.
56353 2012-07-03  Andreas Jaeger  <aj@suse.de>
56355         * po/bg.po: Update from translation team.
56356         * po/cs.po: Likewise.
56357         * po/de.po: Likewise.
56358         * po/hr.po: Likewise.
56359         * po/nl.pl: Likewise.
56360         * po/pl.po: Likewise.
56361         * po/vi.po: Likewise.
56363 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56365         * Makeconfig [!+link] (+link-before-libc): New variable.
56366         [!+link] (+link-after-libc): Likewise.
56367         [!+link] (+link-tests): Likewise.
56368         [!+link] (+link): Define in terms of $(+link-before-libc) and
56369         $(+link-after-libc).
56370         [!+link-static] (+link-static-before-libc): New variable.
56371         [!+link-static] (+link-static-after-libc): Likewise.
56372         [!+link-static] (+link-static-tests): Likewise.
56373         [!+link-static] (+link-static): Define in terms of
56374         $(+link-static-before-libc) and $(+link-static-after-libc).
56375         [build-shared] (link-libc-before-gnulib): New variable.
56376         [build-shared] (link-libc-tests): Likewise.
56377         [build-shared] (link-libc): Define in terms of
56378         $(link-libc-before-gnulib).
56379         [!build-shared] (link-libc-tests): New variable.
56380         (link-libc-static-tests): New variable.
56381         [!gnulib] (gnulib-arch): New variable.
56382         [!gnulib] (gnulib-tests): Likewise.
56383         [!gnulib] (static-gnulib-arch): Likewise.
56384         [!gnulib] (static-gnulib-tests): Likewise.
56385         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56386         Define with "=" instead of ":=".
56387         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56388         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56389         * Rules (binaries-all-notests): New variable.
56390         (binaries-all-tests): Likewise.
56391         (binaries-static-notests): Likewise.
56392         (binaries-static-tests): Likewise.
56393         (binaries-all): Define using $(binaries-all-notests) and
56394         $(binaries-all-tests).
56395         (binaries-static): Define using $(binaries-static-notests) and
56396         $(binaries-static-tests).
56397         (binaries-shared-tests): New variable.
56398         (binaries-shared-notests): Likewise.
56399         (binaries-shared): Remove variable.
56400         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56401         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56402         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56403         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56404         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56405         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56406         * elf/Makefile (sln-modules): New variable.
56407         (extra-objs): Add $(sln-modules:=.o).
56408         (ldconfig-modules): Add static-stubs.
56409         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56410         * elf/static-stubs.c: New file.
56412         [BZ #14283]
56413         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56414         by 7 not 8 to examine high bit of fractional part.  Use volatile
56415         variables when splitting into final array of floats if
56416         __FLT_EVAL_METHOD__ != 0.
56417         * math/libm-test.inc (cos_test): Add another test.
56418         (sin_test): Likewise.
56419         * sysdeps/i386/fpu/libm-test-ulps: Update.
56421         [BZ #14273]
56422         * math/libm-test.inc (cosh_test): Add more tests.
56424         * version.h (RELEASE): Set to "development".
56425         (VERSION): Set to "2.16.90".
56427 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56429         * NEWS: Update copyright. Remove last-updated date.
56430         Mention math library bug fixes and timezone data changes.
56431         * README: Mention GNU/Hurd, x32, and HPPA support status.
56433 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56435         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56437 2012-06-27  Andreas Jaeger  <aj@suse.de>
56439         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56441 2012-06-25  Andreas Jaeger  <aj@suse.de>
56443         * sysdeps/s390/fpu/libm-test-ulps: Update.
56445 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56446             Thomas Schwinge  <thomas@codesourcery.com>
56448         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56449         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56450         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56451         fanotify_mark.
56453 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56455         * sysdeps/mach/start.c: Remove file.
56456         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56457         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56458         * sysdeps/sh/init-first.c: Likewise.
56460         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56461         registers for frame unwinding purposes, add CFI directives.
56462         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56463         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56464         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56465         Likewise.
56467         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56468         __fortify_fail returning.
56469         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56471         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56472         sysdeps/sh/____longjmp_chk.S.
56473         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56474         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56475         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56476         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56478         * sysdeps/sh/abort-instr.h: New file.
56479         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56480         process in case exit returns.
56482         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56483         initialize the GOT register before use.
56485         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56486         calculation of ARGC > 4.
56488         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56489         meaningful names to some local labels.
56491 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56492             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56494         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56495         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56496         (__arch_compare_and_exchange_val_16_acq): Likewise.
56497         (__arch_compare_and_exchange_val_32_acq): Likewise.
56498         (atomic_exchange_and_add): Fix gUSA sequence.
56499         (atomic_add): Likewise.
56500         (atomic_add_negative): Likewise.
56501         (atomic_add_zero): Likewise.
56502         (atomic_bit_test_set): Likewise.
56504 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56506         [BZ #13579]
56507         * include/link.h (struct link_map): Add l_free_initfini.
56508         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56509         l_initfini.
56510         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56511         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56512         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56513         set.
56515 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56517         * configure.in: Use AC_LANG_SOURCE.
56518         * configure: Regenerate.
56520 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56522         * configure.in (libc_cv_localstatedir): New substituted variable.
56523         * configure: Regenerated.
56524         * config.make.in (localstatedir): New variable, substituted from
56525         libc_cv_localstatedir.
56526         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56527         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56528         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56529         * sysdeps/gnu/configure: Regenerated.
56531 2012-06-21  Jeff Law  <law@redhat.com>
56533         [BZ #14277]
56534         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56535         free.  Simplify list management for _LIBC case.
56537 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56539         [BZ #14273]
56540         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56541         Clear sign bit of 64-bit integer value before comparing against
56542         overflow value.
56544         * sysdeps/mach/configure: Regenerated.
56546 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56548         [BZ #14278]
56549         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56551 2012-06-21  Jeff Law  <law@redhat.com>
56553         [BZ #13882]
56554         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56555         uint16_t for elements in the "seen" array to avoid char overflows.
56556         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56557         * elf/dl-open.c (dl_open_worker): Likewise.
56559 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56561         * scripts/list-sources.sh: Scan PORTS for translations.
56562         * po/libc.pot: Regenerated.
56564 2012-06-21  Andreas Jaeger  <aj@suse.de>
56566         [BZ #12194]
56567         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56568         warning.
56569         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56570         * bits/byteswap-16.h (__bswap_16): Likewise.
56571         * bits/byteswap.h (__bswap_constant_16): Likewise.
56573 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56575         [BZ #14117]
56576         * sysdeps/i386/fpu_control.h: Removed.
56577         * sysdeps/x86_64/fpu_control.h: Moved to ...
56578         * sysdeps/x86/fpu_control.h: Here.
56580         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56581         (_FPU_SETCW): Likewise.
56583 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56585         [BZ #14117]
56586         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56587         * sysdeps/x86/fpu/bits/mathinline.h: This.
56588         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56590         [BZ #14050]
56591         [BZ #14117]
56592         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56593         functions if __x86_64__ is defined.
56595 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56597         * string/endian.h: Add !__ASSEMBLER__ condition for including
56598         conversion interfaces.
56600 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56602         [BZ #14241]
56603         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56604         of ABS(x) in calculating zero to negative powers other than odd
56605         integers.
56606         * math/libm-test.inc (pow_test): Add more tests.
56608 2012-06-15  Andreas Jaeger  <aj@suse.de>
56610         * manual/contrib.texi (Contributors): Update entry of Liubov
56611         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56612         Machado Filho.
56614 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56616         * string/string.h: Add __wur to GNU version of strerror_r.
56618 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56620         [BZ #14229]
56621         * string/Makefile (tests): Add tst-strtok_r.
56622         * string/tst-strtok_r.c: New file.
56623         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56624         RAX_LP/RDX_LP on SAVE_PTR.
56626 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56628         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56630 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56632         * libm_test.inc (csqrt_test): Allow more spurious underflow
56633         exceptions.
56634         (j0_test): Likewise.
56635         (j1_test): Likewise.
56636         (y0_test): Likewise.
56637         (y1_test): Likewise.
56639 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56641         * po/Makefile (libc.pot): Use UTF-8 charset.
56643 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56645         [BZ #14210]
56646         Suppress sign-conversion warning from FD_SET.
56647         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56648         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56649         not unsigned long int.
56650         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56652 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56654         [BZ #14050]
56655         [BZ #14117]
56656         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56657         __extern_always_inline instead of __extern_inline.
56658         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56659         (__signbit): Likewise.
56660         (__signbitl): Support C++ namespace.
56661         (lrintf): New inline function.
56662         (lrint): Likewise.
56663         (llrintf): Likewise.
56664         (llrint): Likewise.
56665         (fmaxf): Likewise.
56666         (fmax): Likewise.
56667         (fminf): Likewise.
56668         (fmin): Likewise.
56669         (rint): Likewise.
56670         (rintf): Likewise.
56671         (ceil): Likewise.
56672         (ceilf): Likewise.
56673         (floor): Likewise.
56674         (floorf): Likewise.
56675         (nearbyint): Likewise.
56676         (nearbyintf): Likewise.
56678 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56680         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56681         non-default versions.
56683 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56685         [BZ #14218]
56686         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56688 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56690         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56691         (FE_UPWARD, FE_DOWNWARD): Don't define.
56692         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56693         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56695         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56696         reading it.
56697         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56698         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56700 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56702         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56703         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56704         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56705         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56707 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56709         [BZ #14117]
56710         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56711         * sysdeps/i386/fpu/Implies: New file.
56712         * sysdeps/x86_64/fpu/Implies: Likewise.
56713         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56714         * sysdeps/x86/fpu/bits/fenv.h: This.
56716         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56717         __SSE_MATH__.
56719 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56721         [BZ #14134]
56722         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56723         character 0xffff that matches the last element of the
56724         conversion table.
56726 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56728         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56729         fmodl commit.
56731 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56733         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56734         values higher than 25.6283.
56736 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56738         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56739         subnormal exponent extraction and add some __builtin_expect.
56740         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56741         Fix for subnormal mantissa calculation.
56743 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
56745         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56746         cpu2 is -1 and errno is not ENOSYS.
56748 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
56750         [BZ #14117]
56751         * sysdeps/i386/i486/bits/string.h: Renamed to ...
56752         * sysdeps/x86/bits/string.h: This.
56753         * sysdeps/x86_64/bits/string.h: Removed.
56755         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56756         if not compiling for x86-64, but compiling for >= i486.
56758         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56759         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56761         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56762         New macro from Linux kernel 3.4.0.
56763         (FP_XSTATE_MAGIC2): Likewise.
56764         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56765         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56766         (struct _fpx_sw_bytes): New struct.
56767         (struct _xsave_hdr): Likewise.
56768         (struct _ymmh_state): Likewise.
56769         (struct _xstate): Likewise.
56771         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56772         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56773         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56774         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56775         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56776         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56778         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56779         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56780         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56781         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56782         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56783         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56785 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56787         [BZ #13743]
56788         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56789         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56790         (sysdep_headers): Include sys/platform/ppc.h.
56791         * sysdeps/powerpc/test-gettimebase.c: Test for
56792         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56793         * manual/Makefile (appendices): Include platform.texi.
56794         * manual/contrib.texi (Contributors): Update @node pointers.
56795         * manual/maint.texi (Maintenance): Likewise.
56796         (Platform): New node.
56797         * manual/platform.texi: New file.  Document the new features.
56799 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56800             Jakub Jelinek  <jakub@redhat.com>
56802         [BZ #14188]
56803         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
56804         where __builtin_expect is unavailable.
56806 2012-06-03  David S. Miller  <davem@davemloft.net>
56808         * stdlib/longlong.h: Updated from GCC.
56810 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
56812         [BZ #14042]
56813         * sysdeps/powerpc/powerpc32/mcount.c: New file.
56814         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
56815         __mcount_internal.
56816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56817         (GLIBC_2.16): Likewise.
56819 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56821         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
56823 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
56826         (default-abi): New variable.
56827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
56828         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
56829         variable.
56830         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
56831         Likewise.
56832         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
56833         Likewise.
56834         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
56835         Likewise.
56837         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
56838         definition.  Document in comment.
56840 2012-06-01  David S. Miller  <davem@davemloft.net>
56842         * stdlib/longlong.h: Updated from GCC.
56844 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56846         [BZ #14117]
56847         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
56848         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
56849         sys/debugreg.h sys/io.h here.
56850         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
56851         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
56852         sys/io.h.
56853         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
56854         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
56855         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
56856         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
56857         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
56858         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
56860         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
56861         Define only if __x86_64__ is defined.
56863 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
56865         [BZ #14048]
56866         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
56867         Use int64_t for variable i.
56868         * math/libm-test.inc (fmod_test): Add more tests.
56870         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
56871         z computation is not scheduled after fetestexcept.
56872         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
56873         Use math_force_eval instead of asm to ensure calculation scheduled
56874         before exception test.
56875         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
56876         Ensure a1 + u.d computation is not scheduled after fetestexcept.
56878 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
56880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
56881         computation is not scheduled after fetestexcept.
56883 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
56885         [BZ #14117]
56886         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
56887         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
56889 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56891         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
56892         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56894 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56896         [BZ #14117]
56897         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
56898         <bits/wordsize.h>.
56899         (__WCHAR_MIN): Support __WORDSIZE == 64.
56900         (__WCHAR_MAX): Likewise.
56902         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
56903         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
56905         [BZ #14183]
56906         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
56907         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
56909         [BZ #14117]
56910         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
56911         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
56913         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
56914         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
56916         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
56917         Defined to 1 if __x86_64__ isn't defined.
56918         (_STAT_VER_LINUX_OLD): New.
56919         (st_atime): Remove duplicate.
56920         (st_mtime): Likewise.
56921         (st_ctime): Likewise.
56923 2012-05-31  David S. Miller  <davem@davemloft.net>
56925         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
56926         entries.
56928 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
56930         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
56931         gen-libm-test.pl.
56933         [BZ #14132]
56934         * elf/dl-reloc.c: Include <_itoa.h>.
56935         (_dl_reloc_bad_type): Remove use of INTUSE.
56936         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
56937         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
56938         * stdio-common/psiginfo.c (psiginfo): Likewise.
56939         * stdio-common/psignal.c (psignal): Likewise.
56940         * string/strsignal.c (strsignal): Likewise.
56941         * include/signal.h (_sys_siglist): Declare hidden proto.
56942         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
56943         INTVARDEF with libc_hidden_data_def.
56944         * stdio-common/itoa-udigits.c: Likewise.
56945         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
56946         (_itoa_lower_digits_internal): Remove declaration.
56947         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
56948         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
56949         (_sys_sigabbrev_internal): Remove aliases.
56950         (_sys_siglist): Define hidden alias.
56952 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
56954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56955         bits/sysctl.h.
56957 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
56959         [BZ #14117]
56960         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
56961         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
56963         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
56964         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
56965         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
56966         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
56967         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56968         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
56970         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
56971         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
56972         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
56974         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
56975         with __addr.
56976         (insw): Likewise.
56977         (insl): Likewise.
56978         (outsb): Likewise.
56979         (outsw): Likewise.
56980         (outsl): Likewise.
56982         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
56983         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
56984         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
56986         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
56987         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
56988         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
56989         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
56990         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
56991         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
56993         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
56994         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
56996         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
56997         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
56999         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57000         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57001         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57003         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57004         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57005         to ...
57006         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57008         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57009         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57010         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57012         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57013         for x86-64.
57014         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57016 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
57018         * math/math.h (M_El): Use two more decimal places.
57019         (M_LOG2El): Likewise.
57020         (M_LOG10El): Likewise.
57021         (M_LN2l): Likewise.
57022         (M_LN10l): Likewise.
57023         (M_PIl): Likewise.
57024         (M_PI_2l): Likewise.
57025         (M_PI_4l): Likewise.
57026         (M_1_PIl): Likewise.
57027         (M_2_PIl): Likewise.
57028         (M_2_SQRTPIl): Likewise.
57029         (M_SQRT2l): Likewise.
57030         (M_SQRT1_2l): Likewise.
57032 2012-05-31  David S. Miller  <davem@davemloft.net>
57034         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57035         values between float registers.
57036         * sysdeps/sparc/sparc64/memset.S: Likewise.
57037         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57039 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
57041         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57042         -D_FORTIFY_SOURCE=1.
57043         (CPPFLAGS-tst-longjmp_chk.c): Define.
57044         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57045         (CPPFLAGS-tst-longjmp_chk2.c): Define.
57046         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57047         CFLAGS-tst-wchar-h.c.
57049 2012-05-31  Marek Polacek  <polacek@redhat.com>
57051         [BZ #14132]
57052         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57053         __endmntent_internal): Remove declaration.
57054         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57055         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57056         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57058 2012-05-30  David S. Miller  <davem@davemloft.net>
57060         * sysdeps/sparc/sparc32/soft-fp/q_util.c
57061         (___Q_simulate_exceptions): Use real FP ops rather than writing
57062         into the %fsr.
57063         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57064         Likewise.
57066 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57068         [BZ #14117]
57069         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57070         * sysdeps/x86/bits/xtitypes.h: This.
57072         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57073         * sysdeps/x86/bits/wordsize.h: This.
57075         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57076         * sysdeps/x86/bits/huge_vall.h: This.
57078         * sysdeps/i386/bits/select.h: Removed.
57079         * sysdeps/x86_64/bits/select.h: Renamed to ...
57080         * sysdeps/x86/bits/select.h: This.
57082         * sysdeps/i386/bits/setjmp.h: Removed.
57083         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57084         * sysdeps/x86/bits/setjmp.h: This.
57086         * sysdeps/i386/bits/mathdef.h: Removed.
57087         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57088         * sysdeps/x86/bits/mathdef.h: This.
57090 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
57092         [BZ #14132]
57093         * include/sys/socket.h (__connect_internal)
57094         (__libc_sa_len_internal): Remove declaration.
57095         (__connect, __libc_sa_len): Declare hidden_proto.
57096         (SA_LEN): Remove use of INTUSE.
57097         * socket/connect.c: Add libc_hidden_def.
57098         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57099         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57100         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57101         alias.
57102         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57103         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57104         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57105         of adding _internal alias.
57107 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57109         [BZ #14117]
57110         * sysdeps/i386/bits/link.h: Removed.
57111         * sysdeps/i386/bits/linkmap.h: Likewise.
57112         * sysdeps/x86_64/bits/link.h: Renamed to ...
57113         * sysdeps/x86/bits/link.h: This.
57114         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57115         * sysdeps/x86/bits/linkmap.h: This.
57117         * sysdeps/i386/bits/endian.h: Removed.
57118         * sysdeps/x86_64/bits/endian.h: Renamed to ...
57119         * sysdeps/x86/bits/endian.h: This.
57121         * sysdeps/i386/bits/byteswap.h: Removed.
57122         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57123         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57124         * sysdeps/x86/bits/byteswap.h: This.
57125         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57126         * sysdeps/x86/bits/byteswap-16.h: This.
57127         * sysdeps/i386/Implies: Add x86.
57128         * sysdeps/x86_64/Implies: Likewise.
57130 2012-05-30  David S. Miller  <davem@davemloft.net>
57132         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57133         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57134         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57135         (FP_TRAPPING_EXCEPTIONS): Define.
57136         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57137         (FP_TRAPPING_EXCEPTIONS): Define.
57138         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57139         subnormals only when inexact has been signalled or underflow
57140         exceptions are enabled.
57141         (_FP_PACK_CANONICAL): Likewise.
57143 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57145         [BZ #14183]
57146         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57147         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57149 2012-05-30  Richard Henderson  <rth@twiddle.net>
57151         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57152         with #ifndef NOT_IN_libc.
57154         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57155         marked to avoid plt entry.
57157 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57159         [BZ #14112]
57160         * Makeconfig (default-abi): New macro.
57161         (abi-includes): Likewise.
57162         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57163         $(abi-$(default-abi)-lib-soname) for soname if defined.
57164         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57165         abi-variants.
57166         * Makefile (installed-stubs): Likewise.
57167         * include/stubs-biarch.h: Removed.
57168         * scripts/lib-names.awk: Only handle one library at a time.
57169         * scripts/soversions.awk: Remove WORDSIZE support.
57170         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57171         entries.
57172         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57173         Removed.
57174         (syscall-list-default-condition): Likewise.
57175         (syscall-list-default-condition): Likewise.
57176         (syscall-list-includes): Likewise.
57177         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57178         syscall-list-* with abi-*.  Handle undefined abi-variants.
57179         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57180         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57181         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57182         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57183         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57184         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57185         Removed.
57186         (syscall-list-32-options): Likewise.
57187         (syscall-list-32-condition): Likewise.
57188         (syscall-list-64-options): Likewise.
57189         (syscall-list-64-condition): Likewise.
57190         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57191         macro.
57192         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57193         Renamed to ...
57194         (abi-*): This.
57195         (abi-64-ld-soname): New macro.
57196         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57197         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57198         Renamed to ...
57199         (abi-*): This.
57200         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57201         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57203 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57205         * sysdeps/unix/sysv/linux/kernel-features.h
57206         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57207         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57208         include <kernel-features.h>.
57209         [!__NR_ftruncate64]: Remove conditional code.
57210         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57211         [__NR_ftruncate64]: Make code unconditional.
57212         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57213         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57214         include <kernel-features.h>.
57215         [!__NR_ftruncate64]: Remove conditional code.
57216         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57217         [__NR_ftruncate64]: Make code unconditional.
57218         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57220         include <kernel-features.h>.
57221         [!__NR_ftruncate64]: Remove conditional code.
57222         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57223         [__NR_ftruncate64]: Make code unconditional.
57224         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57226         include <kernel-features.h>.
57227         [!__NR_ftruncate64]: Remove conditional code.
57228         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57229         [__NR_ftruncate64]: Make code unconditional.
57230         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57232         * configure.in (libc_cv_fpie): Weaken to a compile test using
57233         LIBC_TRY_CC_OPTION.
57234         * configure: Regenerated.
57236 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57242         Refreshed.
57243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57249         Refreshed.
57251 2012-05-27  David S. Miller  <davem@davemloft.net>
57253         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57254         (___Q_zero): New.
57255         (__Q_simulate_exceptions): Return void.  Change to simulate
57256         exceptions by writing into the %fsr.
57257         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57258         (__Qp_handle_exceptions): Likewise.
57259         (numbers): Delete.
57260         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57261         __Qp_handle_exceptions.
57262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57263         __Qp_handle_exceptions.
57264         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57265         as unused and give dummy FP_RND_NEAREST initializer.
57266         (FP_INHIBIT_RESULTS): Define.
57267         (___Q_simulate_exceptions): Update declaration.
57268         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57269         formatting.
57270         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57271         as unused and give dummy FP_RND_NEAREST initializer.
57272         (__Qp_handle_exceptions): Update declaration.
57273         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57274         formatting.
57276 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
57278         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57279         the temporary FPU control word.
57280         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57281         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57282         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57283         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57284         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57285         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57286         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57287         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57288         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57289         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57290         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57292 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57294         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57295         fields.
57297 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
57299         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57300         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57301         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57302         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57303         Likewise.
57304         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57305         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57306         Likewise.
57308 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
57310         * po/h.po: Update from translation team.
57312 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
57314         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57316         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57317         handling of denormals.
57318         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57319         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57320         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57321         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57322         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57323         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57324         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57325         Likewise.
57327 2012-05-26  Marek Polacek  <polacek@redhat.com>
57329         [BZ #14152]
57330         * math/libm-test.inc (fma_test): Don't always expect underflow
57331         exception.
57333 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57335         [BZ #12416]
57336         * elf/tst-execstack.c: Include stackinfo.h.
57337         (do_test): Adjust test case to ensure that pthread_getattr_np
57338         behaviour remains the same after marking stack executable.
57340 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57342         * sysdeps/unix/sysv/linux/kernel-features.h
57343         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57344         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57345         kernel-features.h.
57346         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57347         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57348         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57349         kernel-features.h.
57350         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57351         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57353 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57355         * configure.in: Define the default includes to being none.
57356         * configure: Regenerated.
57358 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57360         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57361         * sysdeps/x86_64/setjmp.S: Likewise.
57362         * sysdeps/i386/bsd-setjmp.S: Likewise.
57363         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57364         * sysdeps/i386/setjmp.S: Likewise.
57365         * sysdeps/i386/__longjmp.S: Likewise.
57366         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57367         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57369         * include/stap-probe.h: New file.
57370         * configure.in: Handle --enable-systemtap.
57371         * configure: Regenerated.
57372         * config.h.in (USE_STAP_PROBE): New #undef.
57373         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57374         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57375         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57377 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57379         [BZ #13717]
57380         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57381         to 2.4.0 where earlier.
57382         * sysdeps/unix/sysv/linux/configure: Regenerated.
57383         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57384         <kernel-features.h>.
57385         [__ASSUME_32BITUIDS]: Make code unconditional.
57386         [!__ASSUME_32BITUIDS]: Remove conditional code.
57387         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57388         <kernel-features.h>.
57389         [__ASSUME_32BITUIDS]: Make code unconditional.
57390         [!__ASSUME_32BITUIDS]: Remove conditional code.
57391         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57392         [__ASSUME_32BITUIDS]: Make code unconditional.
57393         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57394         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57395         <kernel-features.h>.
57396         [__ASSUME_32BITUIDS]: Make code unconditional.
57397         [!__ASSUME_32BITUIDS]: Remove conditional code.
57398         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57399         <kernel-features.h>.
57400         [__ASSUME_32BITUIDS]: Make code unconditional.
57401         [!__ASSUME_32BITUIDS]: Remove conditional code.
57402         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57403         <kernel-features.h>.
57404         [__ASSUME_32BITUIDS]: Make code unconditional.
57405         [!__ASSUME_32BITUIDS]: Remove conditional code.
57406         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57407         <kernel-features.h>.
57408         [__ASSUME_32BITUIDS]: Make code unconditional.
57409         [!__ASSUME_32BITUIDS]: Remove conditional code.
57410         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57411         <kernel-features.h>.
57412         [__ASSUME_32BITUIDS]: Make code unconditional.
57413         [!__ASSUME_32BITUIDS]: Remove conditional code.
57414         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57415         <kernel-features.h>.
57416         [__ASSUME_32BITUIDS]: Make code unconditional.
57417         [!__ASSUME_32BITUIDS]: Remove conditional code.
57418         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57419         <kernel-features.h>.
57420         [__ASSUME_32BITUIDS]: Make code unconditional.
57421         [!__ASSUME_32BITUIDS]: Remove conditional code.
57422         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57423         <kernel-features.h>.
57424         [__ASSUME_32BITUIDS]: Make code unconditional.
57425         [!__ASSUME_32BITUIDS]: Remove conditional code.
57426         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57427         <kernel-features.h>.
57428         [__ASSUME_32BITUIDS]: Make code unconditional.
57429         [!__ASSUME_32BITUIDS]: Remove conditional code.
57430         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57431         <kernel-features.h>.
57432         [__ASSUME_32BITUIDS]: Make code unconditional.
57433         [!__ASSUME_32BITUIDS]: Remove conditional code.
57434         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57435         <kernel-features.h>.
57436         [__NR_setresgid] (__setresgid): Do not declare.
57437         [__ASSUME_32BITUIDS]: Make code unconditional.
57438         [!__ASSUME_32BITUIDS]: Remove conditional code.
57439         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57440         <kernel-features.h>.
57441         [__NR_setresuid] (__setresuid): Do not declare.
57442         [__ASSUME_32BITUIDS]: Make code unconditional.
57443         [!__ASSUME_32BITUIDS]: Remove conditional code.
57444         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
57473         <kernel-features.h>.
57474         [__ASSUME_32BITUIDS]: Make code unconditional.
57475         [!__ASSUME_32BITUIDS]: Remove conditional code.
57476         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57477         <kernel-features.h>.
57478         [__ASSUME_32BITUIDS]: Make code unconditional.
57479         [!__ASSUME_32BITUIDS]: Remove conditional code.
57480         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57481         <kernel-features.h>.
57482         [__ASSUME_32BITUIDS]: Make code unconditional.
57483         [!__ASSUME_32BITUIDS]: Remove conditional code.
57484         * sysdeps/unix/sysv/linux/kernel-features.h
57485         (__ASSUME_SETRESUID_SYSCALL): Remove.
57486         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57487         (__ASSUME_32BITUIDS): Likewise.
57488         (__ASSUME_LDT_WORKS): Likewise.
57489         (__ASSUME_O_DIRECTORY): Likewise.
57490         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57491         architecture but not kernel version.
57492         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57493         (__ASSUME_MMAP2_SYSCALL): Likewise.
57494         (__ASSUME_STAT64_SYSCALL): Likewise.
57495         (__ASSUME_IPC64): Likewise.
57496         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57497         <kernel-features.h>.
57498         [__ASSUME_32BITUIDS]: Make code unconditional.
57499         [!__ASSUME_32BITUIDS]: Remove conditional code.
57500         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57501         <kernel-features.h>.
57502         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57503         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57504         132096]: Remove conditional code.
57505         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57506         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
57515         <kernel-features.h>.
57516         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57517         unconditional.
57518         (__setresgid): Do not declare.
57519         [__ASSUME_32BITUIDS]: Make code unconditional.
57520         [!__ASSUME_32BITUIDS]: Remove conditional code.
57521         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57522         <kernel-features.h>.
57523         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57524         unconditional.
57525         (__setresuid): Do not declare.
57526         [__ASSUME_32BITUIDS]: Make code unconditional.
57527         [!__ASSUME_32BITUIDS]: Remove conditional code.
57528         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57529         <kernel-features.h>.
57530         [__ASSUME_32BITUIDS]: Make code unconditional.
57531         [!__ASSUME_32BITUIDS]: Remove conditional code.
57532         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57533         <kernel-features.h>.
57534         [__ASSUME_32BITUIDS]: Make code unconditional.
57535         [!__ASSUME_32BITUIDS]: Remove conditional code.
57537 2012-05-25  Richard Henderson  <rth@twiddle.net>
57539         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57540         dl_hwcap to ifunc resolver.
57541         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57542         elf_ifunc_invoke.
57543         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57544         dl_hwcap to ifunc resolver.
57545         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57547 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57549         [BZ #14153]
57550         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57551         for |x| <= 2**-26, not 2**-57.
57552         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57553         exception.
57555 2012-05-24  Jeff Law  <law@redhat.com>
57557         * stdio-common/Makefile (tests): Add bug25.
57558         * stdio-common/bug25.c: New test.
57560 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57562         [BZ #13576]
57563         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57564         multiple of MALLOC_ALIGNMENT in size.
57565         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57567 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57569         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57570         Require >= 256.
57571         (FILENAME_MAX): Use macro-int-constant.
57572         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57573         (_IOFBF): Use macro-int-constant.
57574         (_IOLBF): Likewise.
57575         (_IONBF): Likewise.
57576         (SEEK_CUR): Likewise.
57577         (SEEK_END): Likewise.
57578         (SEEK_SET): Likewise.
57579         (TMP_MAX): Likewise.
57580         (EOF): Use macro-int-constant.  Require < 0.
57581         (NULL): Use macro-constant.  Require == 0.
57582         (stdin): Require type to be FILE *.
57583         (stdout): Likewise.
57584         (stderr): Likewise.
57585         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57586         macro-int-constant.
57587         (EXIT_SUCCESS): Likewise.
57588         (NULL): Use macro-constant.  Require == 0.
57589         (RAND_MAX): Use macro-int-constant.
57590         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57591         [C99-based standards] (strtof): Require function.
57592         [C99-based standards] (strtold): Likewise.
57593         [C99-based standards] (strtoll): Likewise.
57594         [C99-based standards] (strtoull): Likewise.
57595         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57596         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57597         [ISO || ISO99 || ISO11] (math.h): Likewise.
57598         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57599         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57600         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57602 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57604         [BZ #14132]
57605         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57606         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57607         * intl/dgettext.c (DCGETTEXT): Likewise.
57608         * intl/gettext.c (DCGETTEXT): Likewise.
57609         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57610         * posix/regex_internal.h (gettext): Likewise.
57611         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57612         Remove declaration.
57613         * include/argz.h (__argz_count_internal)
57614         (__argz_stringify_internal): Remove declaration.
57615         (__argz_count, __argz_stringify): Declare hidden proto.
57616         * intl/dcgettext.c: Remove use of INTDEF.
57617         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57618         * string/argz-stringify.c: Likewise.
57619         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57620         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57621         Declare hidden proto.
57622         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57623         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57624         Declare hidden proto.
57625         * include/stdio.h (__asprintf_internal): Don't declare.
57626         (__asprintf): Don't define as macro.  Declare hidden proto.
57627         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57628         (__fsetlocking): Declare hidden proto.
57629         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57630         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57631         hidden proto.
57632         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57633         (_IO_setlinebuf): Remove use of INTUSE.
57634         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57635         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57636         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57637         Remove declaration.
57638         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57639         (_IO_do_flush): Remove use of INTUSE.
57640         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57641         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57642         (_IO_adjust_column, _IO_least_wmarker)
57643         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57644         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57645         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57646         (_IO_default_doallocate, _IO_wdefault_doallocate)
57647         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57648         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57649         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57650         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57651         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57652         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57653         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57654         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57655         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57656         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57657         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57658         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57659         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57660         proto.
57661         (_IO_flush_all_internal, _IO_adjust_column_internal)
57662         (_IO_default_uflow_internal, _IO_default_finish_internal)
57663         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57664         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57665         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57666         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57667         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57668         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57669         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57670         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57671         (_IO_file_close_internal, _IO_file_close_it_internal)
57672         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57673         (_IO_file_init_internal, _IO_file_attach_internal)
57674         (_IO_file_fopen_internal, _IO_file_read_internal)
57675         (_IO_file_sync_internal, _IO_file_seek_internal)
57676         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57677         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57678         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57679         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57680         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57681         (_IO_list_all_internal, _IO_link_in_internal)
57682         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57683         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57684         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57685         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57686         (_IO_do_write_internal, _IO_padn_internal)
57687         (_IO_getline_info_internal, _IO_getline_internal)
57688         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57689         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57690         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57691         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57692         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57693         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57694         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57695         with libc_hidden_ver, remove use of INTUSE.
57696         * libio/genops.c: Likewise.
57697         * libio/freopen.c: Likewise.
57698         * libio/freopen64.c: Likewise.
57699         * libio/iofclose.c: Likewise.
57700         * libio/iofdopen.c: Likewise.
57701         * libio/iofflush.c: Likewise.
57702         * libio/iofflush_u.c: Likewise.
57703         * libio/iofgets.c: Likewise.
57704         * libio/iofgets_u.c: Likewise.
57705         * libio/iofopen.c: Likewise.
57706         * libio/iofopncook.c: Likewise.
57707         * libio/iofread.c: Likewise.
57708         * libio/iofread_u.c: Likewise.
57709         * libio/ioftell.c: Likewise.
57710         * libio/iofwrite.c: Likewise.
57711         * libio/iogetline.c: Likewise.
57712         * libio/iogets.c: Likewise.
57713         * libio/iogetwline.c: Likewise.
57714         * libio/iopadn.c: Likewise.
57715         * libio/iopopen.c: Likewise.
57716         * libio/ioseekoff.c: Likewise.
57717         * libio/ioseekpos.c: Likewise.
57718         * libio/iosetbuffer.c: Likewise.
57719         * libio/iosetvbuf.c: Likewise.
57720         * libio/ioungetc.c: Likewise.
57721         * libio/ioungetwc.c: Likewise.
57722         * libio/iovdprintf.c: Likewise.
57723         * libio/iovsprintf.c: Likewise.
57724         * libio/iovsscanf.c: Likewise.
57725         * libio/memstream.c: Likewise.
57726         * libio/obprintf.c: Likewise.
57727         * libio/oldfileops.c: Likewise.
57728         * libio/oldiofclose.c: Likewise.
57729         * libio/oldiofdopen.c: Likewise.
57730         * libio/oldiofopen.c: Likewise.
57731         * libio/oldiopopen.c: Likewise.
57732         * libio/oldstdfiles.c: Likewise.
57733         * libio/putc.c: Likewise.
57734         * libio/setbuf.c: Likewise.
57735         * libio/setlinebuf.c: Likewise.
57736         * libio/stdfiles.c: Likewise.
57737         * libio/strops.c: Likewise.
57738         * libio/vasprintf.c: Likewise.
57739         * libio/vscanf.c: Likewise.
57740         * libio/vsnprintf.c: Likewise.
57741         * libio/vswprintf.c: Likewise.
57742         * libio/wfiledoalloc.c: Likewise.
57743         * libio/wfileops.c: Likewise.
57744         * libio/wgenops.c: Likewise.
57745         * libio/wmemstream.c: Likewise.
57746         * libio/wstrops.c: Likewise.
57747         * libio/__fpurge.c: Likewise.
57748         * libio/__fsetlocking.c: Likewise.
57749         * assert/assert.c: Likewise.
57750         * debug/fgets_chk.c: Likewise.
57751         * debug/fgets_u_chk.c: Likewise.
57752         * debug/fread_chk.c: Likewise.
57753         * debug/fread_u_chk.c: Likewise.
57754         * debug/gets_chk.c: Likewise.
57755         * debug/obprintf_chk.c: Likewise.
57756         * debug/vasprintf_chk.c: Likewise.
57757         * debug/vdprintf_chk.c: Likewise.
57758         * debug/vsnprintf_chk.c: Likewise.
57759         * debug/vsprintf_chk.c: Likewise.
57760         * malloc/mtrace.c: Likewise.
57761         * misc/error.c: Likewise.
57762         * misc/syslog.c: Likewise.
57763         * stdio-common/asprintf.c: Likewise.
57764         * stdio-common/fxprintf.c: Likewise.
57765         * stdio-common/getw.c: Likewise.
57766         * stdio-common/isoc99_fscanf.c: Likewise.
57767         * stdio-common/isoc99_scanf.c: Likewise.
57768         * stdio-common/isoc99_vfscanf.c: Likewise.
57769         * stdio-common/isoc99_vscanf.c: Likewise.
57770         * stdio-common/isoc99_vsscanf.c: Likewise.
57771         * stdio-common/printf-prs.c: Likewise.
57772         * stdio-common/printf_fp.c: Likewise.
57773         * stdio-common/printf_fphex.c: Likewise.
57774         * stdio-common/printf_size.c: Likewise.
57775         * stdio-common/putw.c: Likewise.
57776         * stdio-common/scanf.c: Likewise.
57777         * stdio-common/sprintf.c: Likewise.
57778         * stdio-common/tmpfile.c: Likewise.
57779         * stdio-common/vfprintf.c: Likewise.
57780         * stdio-common/vfscanf.c: Likewise.
57781         * stdlib/strfmon_l.c: Likewise.
57782         * sunrpc/openchild.c: Likewise.
57783         * sunrpc/xdr_stdio.c: Likewise.
57784         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57785         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57787 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57789         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57791         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57792         in the third column, to generate for the shared library an IFUNC
57793         that uses _dl_vdso_vsym.
57794         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57795         * Makeconfig (object-suffixes-noshared): New variable.
57797         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57798         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57799         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
57800         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
57802         [BZ #14132]
57803         * include/sys/time.h (__gettimeofday): Remove macro.
57804         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
57805         * time/gettimeofday.c (__gettimeofday): Remove #undef.
57806         Remove INTDEF.
57807         (__gettimeofday): Add libc_hidden_def.
57808         (gettimeofday): Add libc_hidden_weak.
57809         * sysdeps/mach/gettimeofday.c: Likewise.
57810         * sysdeps/posix/gettimeofday.c: Likewise.
57811         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
57812         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
57813         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
57814         (__gettimeofday_internal): Remove strong_alias.
57815         (__gettimeofday): Add libc_hidden_def.
57816         (gettimeofday): Add libc_hidden_weak.
57817         * sysdeps/unix/syscalls.list (gettimeofday):
57818         Remove __gettimeofday_internal alias.
57820 2012-05-24  Daniel Jacobowitz  <drow@false.org>
57821             H.J. Lu  <hongjiu.lu@intel.com>
57823         [BZ #12495]
57824         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
57825         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
57826         (largebin_index_32_big): New.
57827         (largebin_index): Use it for 16-byte alignment.
57828         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
57829         correction with front_misalign.
57831 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
57834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
57835         Likewise.
57836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
57837         Likewise.
57838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57839         Likewise.
57840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
57841         Likewise.
57842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57843         Likewise.
57844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
57845         Likewise.
57846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
57847         Likewise.
57848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57849         Likewise.
57850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
57851         Likewise.
57852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
57853         Likewise.
57854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
57855         Likewise.
57856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
57857         Likewise.
57859         * scripts/data/c++-types-x32-linux-gnu.data: New file.
57860         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
57862 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57864         [BZ #10846]
57865         [BZ #14036]
57866         * math/libm-test.inc (exp_test): Add test from bug 14036.
57867         (pow_test): Add test from bug 10846.
57869         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
57870         and other flags.
57871         (special_function): Do not include flags in test name.
57872         (parse_args): Likewise.
57873         * sysdeps/i386/fpu/libm-test-ulps: Update.
57874         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57875         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57876         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57879         * math/gen-libm-test.pl (%beautify): Add entries for underflow
57880         exceptions.
57881         * math/libm-test.inc ("Philosophy"): Update comment about
57882         exception testing.
57883         (UNDERFLOW_EXCEPTION): New macro.
57884         (UNDERFLOW_EXCEPTION_OK): Likewise.
57885         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
57886         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
57887         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
57888         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
57889         (INVALID_EXCEPTION_OK): Update value.
57890         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57891         (OVERFLOW_EXCEPTION_OK): Likewise.
57892         (IGNORE_ZERO_INF_SIGN): Likewise.
57893         (test_exceptions): Handle underflow exceptions.
57894         (acos_test): Update for underflow exception expectations.
57895         (cexp_test): Likewise.
57896         (clog_test): Likewise.
57897         (clog10_test): Likewise.
57898         (csqrt_test): Likewise.
57899         (ctan_test): Likewise.
57900         (ctanh_test): Likewise.
57901         (exp_test): Likewise.
57902         (exp10_test): Likewise.
57903         (exp2_test): Likewise.
57904         (expm1_test): Likewise.
57905         (fma_test): Likewise.
57906         (j0_test): Likewise.
57907         (jn_test): Likewise.
57908         (nexttoward_test): Likewise.
57909         (pow_test): Likewise.
57910         (scalbn_test): Likewise.
57911         (scalbln_test): Likewise.
57912         (tan_test): Likewise.
57913         (y1_test): Likewise.
57914         * sysdeps/i386/fpu/libm-test-ulps: Update.
57915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57917 2012-05-23  David S. Miller  <davem@davemloft.net>
57919         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57920         (__libc_sigaction): Remove unused local variables.
57922 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57924         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
57926 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
57928         mktime: avoid signed integer overflow
57929         * time/mktime.c (__mktime_internal): Do not mishandle the case
57930         where diff == INT_MIN.
57932         mktime: simplify computation of average
57933         * time/mktime.c (ranged_convert): Use new time_t_avg function
57934         instead of rolling our own (probably-slower) code.
57936         mktime: do not assume signed right shift propagates sign bit
57937         * time/mktime.c (isdst_differ): New static function.
57938         (__mktime_internal): No need to normalize tm_isdst now.
57939         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
57940         tm_isdst values.
57942         mktime: merge another wrapv change from gnulib
57943         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
57944         from some compilers.
57946         mktime: remove incorrect attempt at unusual arithmetics
57947         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
57948         The code didn't really work on such machines anyway.
57949         (TYPE_MINIMUM): Assume two's complement.
57950         (twos_complement_arithmetic): Verify that long_int and time_t
57951         are two's complement (or unsigned, in the latter case).
57953         mktime: check signed shifts on long_int and time_t, too
57954         * time/mktime.c (SHR): Check that shifts work as desired
57955         on the types long_int and time_t too, as SHR is used on
57956         such types.
57958         mktime: do not assume 'long' is wide enough
57959         * time/mktime.c (verify): Move decl up.
57960         (long_int): New type.
57961         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
57962         to remove assumption in the code that 'long' is wide enough to
57963         store year values.  This assumption is not true on x32 and on
57964         some non-glibc platforms.
57966         mktime: merge wrapv change from gnulib
57967         * time/mktime.c (WRAPV): New macro.
57968         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
57969         (guess_time_tm, __mktime_internal): Do not assume that signed
57970         integer overflow wraps around; modern compilers generate code
57971         where this assumption is no longer valid.
57973 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57975         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
57976         Replace "jmp L(pseudo_end)" with "ret".
57977         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
57978         Likewise.
57980 2012-05-23  Andreas Jaeger  <aj@suse.de>
57982         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
57983         * sysdeps/unix/sysv/linux/poll.c: Remove file.
57985 2012-05-23  Andreas Jaeger  <aj@suse.de>
57986             Maximilian Attems  <max@stro.at>
57988         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
57989         New macros.
57991 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
57993         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
57994         code so that pseudo_end is just ret and the stack pointer is
57995         correct also for static library in error case.
57997 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
57999         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58000         move to syscalls.list.
58001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58006         * manual/install.texi (Running make install): Do not mention Linux
58007         kernel version for which pt_chown is not needed.
58008         (Linux): Do not mention problems with nscd with 2.0 kernels.
58009         * INSTALL: Regenerated.
58011 2012-05-23  Andreas Jaeger  <aj@suse.de>
58013         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58014         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58015         macro.
58016         * sysdeps/unix/sysv/linux/s390/bits/mman.h
58017         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58018         * sysdeps/unix/sysv/linux/sh/bits/mman.h
58019         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58020         * sysdeps/unix/sysv/linux/i386/bits/mman.h
58021         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58022         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58023         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58024         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58025         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58026         * sysdeps/unix/sysv/linux/bits/in.h
58027         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58029 2012-05-22  Roland McGrath  <roland@hack.frob.com>
58031         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58032         (PREPARE_VERSION): Just use assert instead, it will be elided
58033         under [NDEBUG] anyway.
58035 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58037         * sysdeps/unix/sysv/linux/Makefile: Include
58038         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58039         (sysdep_routines): Remove sysctl.
58040         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58041         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58042         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58043         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58044         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58046 2012-05-22  Andreas Jaeger  <aj@suse.de>
58048         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58049         that pseudo_end is just ret and the stack pointer is correct also
58050         for static library in error case.
58052 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
58054         [BZ #14122]
58055         * nss/nsswitch.c (defconfig_entries): New variable.
58056         (__nss_database_lookup): Don't leak defconfig entries.
58057         (nss_parse_service_list): Don't leak on error paths.
58058         (free_database_entries): New function.
58059         (free_defconfig): New function.
58060         (free_mem): Move common code to free_database_entries.
58062 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58064         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58065         Add arch_prctl.
58066         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58068         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58069         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58070         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58071         New macro.
58072         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58073         (INTERNAL_SYSCALL_TYPES): Likewise.
58074         (LOAD_ARGS_TYPES_[1-6]): Likewise.
58075         (LOAD_REGS_TYPES_[1-6]): Likewise.
58076         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58077         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58079 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58081         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58082         copysignl for GLIBC_2_0.
58083         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58084         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58085         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58086         logbl for GLIBC_2_0.
58087         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58088         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58090 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58092         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58093         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58095         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58096         Use "neg %eax".
58098         * time/mktime.c: Update copyright years.
58100 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
58102         mktime: merge comment-quoting-style change from gnulib
58103         * time/mktime.c: Quote 'like this' in comments.
58104         The GNU coding standards suggest that we no longer quote `like this',
58105         as "`" and "'" are typically rendered asymmetrically nowadays.
58106         The typical gnulib style is to quote 'like this' when quoting
58107         code, and "like this" when quoting English.
58109         * time/mktime.c (compile-command): Add "-I.".
58111         mktime: merge mktime-internal.h change from gnulib
58112         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58114         mktime: merge time_r change from gnulib
58115         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58117         mktime: merge DEBUG change from gnulib
58118         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58119         case system <time.h> has a #define.
58121         mktime: merge <sys/types.h> change from gnulib
58122         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58123         since <time.t> is now guaranteed to define time_t.
58125         mktime: merge HAVE_CONFIG_H change from gnulib
58126         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58128 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58131         Use "neg %eax".
58133         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58134         __rlim_t cast.
58135         (struct rusage): Use anonymous union to pad each field to
58136         __syscall_slong_t.
58138 2012-05-21  David S. Miller  <davem@davemloft.net>
58140         * Makefules (o-iterator): Remove .s cases.
58141         (compile-command.s): Delete.
58142         (COMPILE.s): Delete.
58143         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58145 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58147         * configure.in (libc_cv_predef_stack_protector): Only consider
58148         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58149         * configure: Regenerated.
58151 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58154         New macro.  Use R*LP on int and pointer.
58155         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58156         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58157         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58158         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58160         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58161         [__WORDSIZE_TIME64_COMPAT32] instead of
58162         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58163         (struct utmp): Likewise.
58164         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58165         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58166         Renamed to ...
58167         (__WORDSIZE_TIME64_COMPAT32): This.
58168         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58169         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58170         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58171         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58172         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58173         (__WORDSIZE_TIME64_COMPAT32): New macro.
58175 2012-05-21  Andreas Jaeger  <aj@suse.de>
58177         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58178         only if [SHARED]. Add prototype for __wcschr_ia32.
58180 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58182         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58183         of %rbp unmolested in the jmp_buf while mangling the low bits.
58184         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58185         unmolested high bits of %rbp while demangling the low bits.
58186         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58188 2012-05-21  Andreas Jaeger  <aj@suse.de>
58190         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58191         * sunrpc/svc_simple.c: Use it for registerrpc.
58192         * sunrpc/xcrypt.c: Use it for passwd2des.
58194         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58196 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58198         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58199         Don't define if [__SYSCALL_WORDSIZE != 32].
58200         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58201         New macro.
58203 2012-05-21  Bruno Haible  <bruno@clisp.org>
58204             Andreas Jaeger  <aj@suse.de>
58206         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58207         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58208         inptr and inend for must_buffer_ch.
58209         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58210         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58211         * stdio-common/Makefile (tests): Remove bug15.
58212         (bug15-ENV): Remove macro.
58213         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58214         anymore.
58216 2012-05-19  Andreas Jaeger  <aj@suse.de>
58217             Roland McGrath  <roland@hack.frob.com>
58219         * manual/contrib.texi: Completely rewritten. It contains now an
58220         alphabetical list of contributors and their contributions.
58222 2012-05-21  Richard Henderson  <rth@twiddle.net>
58224         * misc/getauxval.c (__getauxval): Use unsigned long int.
58225         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58226         (getauxval): Use unsigned long int.
58228 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58230         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58232 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58234         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58235         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58236         __alignof__ (long double).
58238 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58242 2012-05-20  Richard Henderson  <rth@twiddle.net>
58244         * misc/getauxval.c: New file.
58245         * misc/sys/auxv.h: New file.
58246         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58247         (routines): Add getauxval.
58248         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58249         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58250         * elf/dl-sysdep.c (_dl_auxv): Remove.
58251         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58252         * elf/dl-support.c (_dl_auxv): New variable.
58253         (_dl_aux_init): Initialize it.
58254         * manual/startup.texi (Auxiliary Vector): New node.
58255         * sysdeps/generic/bits/hwcap.h: New file.
58256         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58257         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58258         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58259         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58260         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58261         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58263         Update.
58264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58267         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58273 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58277 2012-05-19  David S. Miller  <davem@davemloft.net>
58279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58281 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58283         [BZ #14123]
58284         * math/s_ccosh.c: Include <float.h>
58285         (__ccosh): Avoid internal overflow calculating sinh and cosh
58286         values before multiplying by sin and cos values.
58287         * math/s_ccoshf.c: Likewise.
58288         * math/s_ccoshl.c: Likewise.
58289         * math/s_csin.c: Likewise.
58290         * math/s_csinf.c: Likewise.
58291         * math/s_csinl.c: Likewise.
58292         * math/s_csinh.c: Likewise.
58293         * math/s_csinhf.c: Likewise.
58294         * math/s_csinhl.c: Likewise.
58295         * math/libm-test.inc (ccos_test): Add more tests.
58296         (ccosh_test): Likewise.
58297         (csin_test): Likewise.
58298         (csinh_test): Likewise.
58299         * sysdeps/i386/fpu/libm-test-ulps: Update.
58300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58302 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
58304         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58305         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58307         * sysdeps/x86_64/x32/_itoa.h: Add comment.
58309 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58311         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58312         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58313         * sysdeps/powerpc/soft-fp/Versions: Likewise.
58314         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58315         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58316         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58317         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58318         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58319         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58320         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58321         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58322         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58323         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58324         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58325         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58326         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58327         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58328         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58329         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58330         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58331         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58332         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58333         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58334         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58335         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58336         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58337         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58338         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58339         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58340         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58341         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58343 2012-05-18  Andreas Jaeger  <aj@suse.de>
58345         * csu/.gitignore: Delete.
58347 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58349         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58350         (timex): Use __syscall_slong_t.
58352 2012-05-18  Andreas Jaeger  <aj@suse.de>
58353             Carlos O'Donell  <carlos_odonell@mentor.com>
58355         * manual/install.texi (Configuring and compiling): Update
58356         description about files modified in the source directory.
58357         * INSTALL: Regenerated.
58359 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58361         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58362         value.  Use "or" to set return value to -1.
58363         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58364         negate return value.
58366 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58368         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58369         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58370         failure if the compiler has Graphite support disabled.
58371         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58372         Likewise.
58373         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58374         (CFLAGS-memmove.c): Likewise.
58375         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58376         Likewise.
58378 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58380         * sysdeps/x86_64/x32/_itoa.h: New file.
58382         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58383         getdents system call only if kernel and user dirents have the
58384         same d_ino and d_off.
58386         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58387         LLONG_MAX != LONG_MAX.
58388         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58389         (_fitoa_word): Likewise.
58391         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58392         years.
58393         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58394         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58395         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58397         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58398         include <bits/wordsize.h>.  Check __x86_64__ instead of
58399         __WORDSIZE.
58400         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58401         if __x86_64__ is defined.  Use anonymous union on fpstate.
58403         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58404         anonymous union.
58406 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58408         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58409         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58410         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58411         Refer to _rtld_local_ro instead of _rtld_global_ro.
58412         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58413         Likewise.
58414         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58415         Likewise.
58416         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58417         Likewise.
58418         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58419         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58420         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58422         [BZ #10882]
58423         * sysdeps/powerpc/powerpc32/dl-machine.c
58424         (__elf_machine_runtime_setup) [PROF]: Don't reference
58425         _dl_prof_resolve.
58427 2012-05-18  Andreas Jaeger  <aj@suse.de>
58429         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58430         function only available for GCCs before 3.4 since GCC 3.4
58431         introduced a builtin.
58432         (lrint): Likewise.
58433         (llrintf): Likewise.
58434         (llrint): Likewise.
58435         (fmaxf): Likewise.
58436         (fmax): Likewise.
58437         (fminf): Likewise.
58438         (fmin): Likewise.
58439         (rint): Likewise.
58440         (rintf): Likewise.
58441         (nearbyint): Likewise.
58442         (nearbyintf): Likewise.
58443         (ceil): Likewise.
58444         (ceilf): Likewise.
58445         (floor): Likewise.
58446         (floorf): Likewise.
58448 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58450         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58451         on both fields and cast pointer to __syscall_ulong_t.
58453         * bits/types.h (__fsword_t): New type.
58454         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58455         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58456         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58457         (__FSWORD_T_TYPE): Likewise.
58458         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58459         (__FSWORD_T_TYPE): Likewise.
58460         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58461         (__FSWORD_T_TYPE): Likewise.
58462         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58463         (__FSWORD_T_TYPE): Likewise.
58464         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58465         __SWORD_TYPE with __fsword_t.
58466         (statfs64): Likewise.
58468 2012-05-17  David S. Miller  <davem@davemloft.net>
58470         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58472 2012-05-17  Andreas Jaeger  <aj@suse.de>
58474         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58475         warning.
58477 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58479         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58481 2012-05-17  Andreas Jaeger  <aj@suse.de>
58483         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58484         when it is used.
58486 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58488         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58490 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58492         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58493         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58495 2012-05-17  Andreas Jaeger  <aj@suse.de>
58496             Carlos O'Donell  <carlos_odonell@mentor.com>
58498         [BZ #14059]
58499         * sysdeps/x86_64/multiarch/init-arch.h
58500         (bit_YMM_Usable): Rename to...
58501         (bit_AVX_Usable): ... this.
58502         (bit_FMA4_Usable): New macro.
58503         (bit_XMM_state): New macro.
58504         (bit_YMM_state): New macro.
58505         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58506         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58507         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58508         (CPUID_OSXSAVE): New macro.
58509         (CPUID_AVX): New macro.
58510         (CPUID_FMA4): New macro.
58511         (index_YMM_Usable): Rename to...
58512         (index_AVX_Usable): ... this.
58513         (HAS_AVX): Use HAS_ARCH_FEATURE.
58514         (HAS_FMA4): Likewise.
58515         (HAS_YMM_USABLE): Remove.
58516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58517         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58518         are present.
58519         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58520         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58521         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58522         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58523         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58525 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58527         * math/libm-test.c: Support platforms without multiple rounding modes.
58528         * math/bug-nextafter.c: Support platforms without FP exceptions.
58529         * math/bug-nexttoward.c: Likewise.
58530         * math/test-fenv.c: Likewise.
58531         * math/test-misc.c: Likewise.
58532         * stdlib/bug-getcontext.c: Likewise.
58534 2012-05-17  Andreas Jaeger  <aj@suse.de>
58536         * manual/examples/search.c (critter_cmp): Change signature to
58537         avoid warnings.
58538         * manual/string.texi (Collation Functions): Likewise.
58540 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58542         * bits/types.h: Fold copyright years.
58543         * bits/typesizes.h: Likewise.
58544         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58545         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58546         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58547         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58548         * time/time.h: Likewise.
58550 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58552         [BZ #208]
58553         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58554         in instead of returning them.  Return void.
58555         (__libc_mallinfo): Accumulate over all arenas.
58556         (__malloc_stats): Adjust for change in int_mallinfo interface.
58558 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58560         [BZ #10375]
58561         * configure.in (NM): Add AC_CHECK_TOOL for it.
58562         (libc_extra_cflags): New substituted variable.
58563         Check for -fstack-protector being used implicitly.
58564         * configure: Regenerated.
58565         * config.make.in (config-extra-cflags): New variable,
58566         gets @libc_extra_cflags@.
58567         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58569         [BZ #10375]
58570         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58571         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58572         * configure: Regenerated.
58573         * config.make.in (CPPUNDEFS): New substituted variable.
58574         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58575         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58576         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58578 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58580         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58581         (mq_attr): Use __syscall_slong_t.
58583 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58585         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58586         Check __x86_64__ instead of __WORDSIZE.
58587         (_STAT_VER_LINUX): Likewise.
58588         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58589         __syscall_ulong_t and __syscall_slong_t.
58590         (stat64): Likewise.
58592 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58594         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58596 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58598         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58600 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58602         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58603         __syscall_ulong_t.
58605         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58606         include <bits/wordsize.h>.  Check __x86_64__ instead of
58607         __WORDSIZE.
58608         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58609         defined.
58610         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58612         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58613         include <bits/wordsize.h>.  Check __x86_64__ instead of
58614         __WORDSIZE.
58615         (user_regs_struct): Use "__extension__ unsigned long long"
58616         instead of "unsigned long" if __x86_64__ is defined.
58617         (user): Likewise.  Pad after pointer field if __ILP32__ is
58618         defined.
58620 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58622         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58623         versions 5 to 9.
58624         * configure: Regenerated.
58625         * manual/install.texi (texinfo): Increase version requirement to
58626         4.5 or later.
58627         * INSTALL: Regenerated.
58629         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58631 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58633         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58635         * sysdeps/x86_64/x32/ffs.c: New file.
58637         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58638         __syscall_ulong_t.
58639         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58640         defined.  Use __syscall_ulong_t.
58641         (shminfo): Use __syscall_ulong_t.
58642         (shm_info): Likewise.
58644         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58645         __syscall_ulong_t.
58647         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58648         <bits/wordsize.h>.
58649         (msgqnum_t): Use __syscall_ulong_t.
58650         (msglen_t): Likewise.
58651         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58652         __syscall_ulong_t.
58654         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58655         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58657         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58659         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58660         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58662         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58663         __syscall_slong_t.
58665         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58666         include <bits/wordsize.h>.  Check __x86_64__ instead of
58667         __WORDSIZE.
58669         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58670         "unsigned long long int" if __x86_64__ is defined.
58671         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58673         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58674         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58675         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58677         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58678         <stdint.h>.
58679         (GET_PC): Cast to uintptr_t first.
58680         (GET_FRAME): Likewise.
58681         (GET_STACK): Likewise.
58683         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58684         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58685         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58686         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58687         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58688         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58689         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58690         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58691         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58692         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58693         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58694         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58695         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58696         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58697         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58698         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58699         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58700         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58701         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58702         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58703         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58704         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58705         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58706         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58707         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58708         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58709         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58710         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58711         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58713 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58715         * Makerules (+depfiles): Also collect depfiles from .oS in
58716         $(extra-objs).
58717         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58718         .oS, $(libnldbl-routines)).
58720         * Makerules (native-compile-mkdep-flags): Define.
58721         * sunrpc/Makefile (extra-objs): Add $(addprefix
58722         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58723         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58724         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58725         calling $(make-target-directory).
58727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58729         * bits/types.h (__snseconds_t): Removed.
58730         * time/time.h (struct timespec): Replace __snseconds_t with
58731         __syscall_slong_t.
58732         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58733         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58734         Likewise.
58735         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58736         (__SNSECONDS_T_TYPE): Likewise.
58737         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58738         (__SNSECONDS_T_TYPE): Likewise.
58739         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58740         (__SNSECONDS_T_TYPE): Likewise.
58742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58744         * sysdeps/mach/hurd/bits/typesizes.h
58745         (__SYSCALL_SLONG_TYPE): New macro.
58746         (__SYSCALL_ULONG_TYPE): Likewise.
58748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58750         * bits/types.h (__syscall_slong_t): New type.
58751         (__syscall_ulong_t): Likewise.
58753         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58754         (__SYSCALL_ULONG_TYPE): Likewise.
58755         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58756         (__SYSCALL_SLONG_TYPE): Likewise.
58757         (__SYSCALL_ULONG_TYPE): Likewise.
58758         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58759         (__SYSCALL_SLONG_TYPE): Likewise.
58760         (__SYSCALL_ULONG_TYPE): Likewise.
58761         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58762         (__SYSCALL_SLONG_TYPE): Likewise.
58763         (__SYSCALL_ULONG_TYPE): Likewise.
58765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58767         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58768         Add sigaltstack-offsets.sym.
58769         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58770         <sigaltstack-offsets.h>.
58771         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58772         longjmp_msg pointer.
58773         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58774         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58775         signal stack.
58776         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58778 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58780         * elf/stackguard-macros.h: Remove file.
58781         * sysdeps/generic/stackguard-macros.h: New file.
58782         * sysdeps/i386/stackguard-macros.h: Likewise.
58783         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58784         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58785         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58786         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58787         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58788         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58789         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58790         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58791         <elf/stackguard-macros.h>.
58793         [BZ #14109]
58794         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58795         __aligned__ in attribute.
58796         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58797         (gregset_t): Likewise.
58799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58801         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
58802         * sysdeps/x86_64/64/Implies-after: Here.  New file.
58803         * sysdeps/x86_64/x32/Implies-after: New file.
58805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58807         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
58808         and access return value for _dl_profile_fixup.  Use R10_LP to
58809         load frame size.
58811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58813         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
58815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58817         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
58818         * sysdeps/x86_64/x32/sysdep.h: New file.
58820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58822         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
58823         * sysdeps/x86_64/setjmp.S: Likewise.
58825 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58827         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
58828         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
58829         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
58830         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
58831         remove unused global constant.
58833 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
58835         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
58836         include of <not-cancel.h>.
58838 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58840         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
58842 2012-05-15  Jeff Law  <law@redhat.com>
58843             Andreas Jaeger  <aj@suse.de>
58845         [BZ #13594]
58846         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
58847         out from...
58848         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
58849         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
58850         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
58851         code changing __hst_map_handle.map.
58853 2012-05-15  Roland McGrath  <roland@hack.frob.com>
58855         * configure.in (sysnames): Look for Implies-before and Implies-after
58856         files.
58857         * configure: Regenerated.
58859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58861         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58862         8-byte data alignment with LP_SIZE alignment.
58864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58866         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
58867         into R10_LP.
58869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58871         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
58873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58875         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
58876         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
58877         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
58878         Likewise.
58879         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58883         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
58884         (stackinfo_sub_sp): Likewise.
58886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58888         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
58889         RAX_LP.
58891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58893         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
58894         into R*_LP.
58896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58898         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
58899         sizes into R*_LP.
58901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58903         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
58905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58907         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
58908         into R11_LP and load __x86_64_shared_cache_size_half into
58909         R8_LP.
58911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58913         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
58914         R8_LP.
58916 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58918         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
58919         logb for POWER7.
58920         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58921         logbf for POWER7.
58922         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
58923         logbl for POWER7.
58924         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
58925         powerpc32/power7/fpu/s_logb.c via #include.
58926         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
58927         powerpc32/power7/fpu/s_logbf.c via #include.
58928         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
58929         powerpc32/power7/fpu/s_logbl.c via #include.
58931 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58933         * README.libm: Remove file.
58935 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58937         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
58938         count for x32.  Use R*_LP and omit operand-size suffix.
58940 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58942         * shlib-versions: Move x86_64-.*-linux.* entries to ...
58943         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
58944         * sysdeps/x86_64/x32/shlib-versions: New file.
58946 2012-05-14  Roland McGrath  <roland@hack.frob.com>
58948         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
58949         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
58950         Use _dl_fatal_printf instead.
58952 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
58954         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
58955         set if not set by the user.  Do not allow for being unset.
58956         * sysdeps/unix/sysv/linux/configure: Regenerated.
58958 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58960         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
58961         the `q' suffix from lea and replace .quad with ASM_ADDR.
58963 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58965         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
58966         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
58967         instead of $17.
58968         (PTR_DEMANGLE): Likewise.
58970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58972         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
58973         (LP_OP): Likewise.
58974         (ASM_ADDR): Likewise.
58975         (RAX_LP): Likewise.
58976         (RBP_LP): Likewise.
58977         (RBX_LP): Likewise.
58978         (RCX_LP): Likewise.
58979         (RDI_LP): Likewise.
58980         (RSI_LP): Likewise.
58981         (RSP_LP): Likewise.
58982         (R8_LP): Likewise.
58983         (R9_LP): Likewise.
58984         (R10_LP): Likewise.
58985         (R10_LP): Likewise.
58986         (R11_LP): Likewise.
58987         (R12_LP): Likewise.
58988         (R13_LP): Likewise.
58989         (R14_LP): Likewise.
58990         (R15_LP): Likewise.
58992 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
58994         * sysdeps/x86_64/x32/dl-machine.h: New file.
58996 2012-05-14  Andreas Jaeger  <aj@suse.de>
58998         * manual/Makefile (subdir): Remove export of subdir.
58999         (all): Remove target.
59000         (.PHONY): Remove all from list.
59001         (mkinstalldirs): Remove.
59002         (.PHONY): Remove installdirs from list.
59003         ($(inst_infodir)/libc.info): Use make-target-directory.
59004         (installdirs): Remove.
59005         (subdir_%): Remove.
59006         (glibc-targets): Remove.
59007         (lib): Remove.
59008         (stubs): Remove.
59009         ($(objpfx)stubs ../po/manual.pot): Remove.
59010         ($(objpfx)stamp%): Remove.
59011         (make-target-directory): Remove.
59012         (subdir_install): Remove.
59013         (routines): Remove.
59014         (aux): Remove.
59015         (sources): Remove.
59016         (objects): Remove.
59017         (headers): Remove.
59019         [BZ #13750]
59020         * manual/.gitignore: Remove, it's not needed anymore.
59021         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59022         all files in it.
59023         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59024         directory.
59025         (texis): Renamed to $(objpfx)texis.
59026         (texis-path): New, contains path to generated files.
59027         (chapters.%): Use texis-path for complete path, add extra argument
59028         libc-texinfo.sh.
59029         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59030         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59031         (summary,texi, stamp-summary): Use complete path of
59032         files. Generate files in build dir.
59033         (dir-add.texi): Build in build dir.
59034         (libm-err.texi,stamp-libm-err): Likewise.
59035         (version.texi, stamp-version): Likewise.
59036         (.%c.texi): Likewise.
59037         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59038         (mostlyclean): Remove target.
59039         (realclean): Remove target.
59040         (generated): Add new variable with contents from mostlyclean and
59041         realclean, remove entries duplicated in common-mostlyclean, add
59042         stamp-libm-err and stamp-version.
59043         (generated-dirs): Add libc directory.
59044         ($(inst_infodir)/libc.info): Install files from build dir.
59046         * manual/install.texi (Configuring and compiling): Adjust since
59047         the info files are not part of the tar ball anymore.
59049 2012-05-14  Andreas Jaeger  <aj@suse.de>
59051         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59052         variable.
59054 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59056         [BZ #13717]
59057         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59058         to 2.2.0 where earlier.
59059         * sysdeps/unix/sysv/linux/configure: Regenerated.
59060         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59061         Remove conditional code.
59062         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59063         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59064         Remove conditional code.
59065         [!__NR_lchown]: Likewise.
59066         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59067         [__NR_lchown]: Likewise.
59068         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59069         comment referencing __ASSUME_LCHOWN_SYSCALL.
59070         * sysdeps/unix/sysv/linux/i386/sigaction.c
59071         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59072         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59073         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59074         Remove conditional code.
59075         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59076         (__protocol_available): Remove #if 0 code.
59077         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59078         conditional code.
59079         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59080         * sysdeps/unix/sysv/linux/kernel-features.h
59081         (__ASSUME_GETCWD_SYSCALL): Don't define.
59082         (__ASSUME_REALTIME_SIGNALS): Likewise.
59083         (__ASSUME_PREAD_SYSCALL): Likewise.
59084         (__ASSUME_PWRITE_SYSCALL): Likewise.
59085         (__ASSUME_POLL_SYSCALL): Likewise.
59086         (__ASSUME_LCHOWN_SYSCALL): Likewise.
59087         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59088         non-SPARC.
59089         (__ASSUME_SIOCGIFNAME): Don't define.
59090         (__ASSUME_MSG_NOSIGNAL): Likewise.
59091         (__ASSUME_SENDFILE): Define unconditionally.
59092         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59093         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59094         conditional code.
59095         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59096         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59097         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59098         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59099         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59100         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59101         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59103         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59104         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59106         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59107         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59109         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59110         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59112         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59113         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59115         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59116         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59118         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59119         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59121         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59122         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59124         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59125         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59126         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59127         Remove conditional code.
59128         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59129         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59130         Remove conditional code.
59131         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59132         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59133         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59134         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59135         Remove conditional code.
59136         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59137         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59138         Remove conditional code.
59139         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59140         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59141         Remove conditional code.
59142         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59143         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59144         Remove conditional code.
59145         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59146         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59147         Remove conditional code.
59148         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59149         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59150         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59151         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59152         * sysdeps/unix/sysv/linux/sigaction.c
59153         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59154         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59155         * sysdeps/unix/sysv/linux/sigpending.c
59156         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59157         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59158         * sysdeps/unix/sysv/linux/sigprocmask.c
59159         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59160         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59161         * sysdeps/unix/sysv/linux/sigsuspend.c
59162         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59163         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59164         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59165         (__libc_missing_rt_sigs): Remove.
59166         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59167         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59168         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59169         Remove conditional code.
59170         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59171         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59172         return 1.
59173         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59174         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59175         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59176         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59178 2012-05-14  Andreas Jaeger  <aj@suse.de>
59180         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59181         it's not used in glibc.
59182         (__coshm1): Likewise.
59183         (__acosh1p): Likewise.
59184         (__sgn): Likewise.
59186         * manual/string.texi (Copying and Concatenation): Add missing
59187         variable in concat example.
59188         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59190 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59192         [BZ #14103]
59193         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59194         __builtin_clzl with __builtin_clzll.
59196 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59198         [BZ #14104]
59199         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59200         libc_freeres_ptr.
59202 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59204         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59205         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59206         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59207         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59209 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59211         * NEWS: Update ia64 info.
59213 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59215         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59216         used as bcopy.
59218 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59220         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59221         * sysdeps/unix/syscalls.list (dup3): Likewise.
59222         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59223         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59225 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59227         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59228         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59230 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59232         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59233         thread pointer.
59234         (TLS_IE): Use mov/add instead of movq/addq to load thread
59235         pointer.
59236         (TLS_GD_PREFIX): New.
59237         (TLS_GD): Use it.
59239 2012-05-11  David S. Miller  <davem@davemloft.net>
59241         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59242         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59243         (_FPU_SETCW): Likewise.
59245 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59247         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59248         is 32-byte aligned.
59250 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59252         [BZ #11837]
59253         * iconvdata/gb18030.c: Update tables.
59254         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59255         characters specially.
59256         (BODY for TO_LOOP): Add encoding of missing ranges.
59258 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59260         [BZ #13673]
59261         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59262         * sysdeps/mach/hurd/dup3.c: Likewise.
59263         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59264         * sysdeps/powerpc/memmove.c:: Likewise.
59266 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59268         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59269         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59271 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59273         * elf/elf.h (R_X86_64_RELATIVE64): New.
59274         (R_X86_64_NUM): Updated.
59275         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59276         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
59277         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59278         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59279         tst-quad1pie tst-quad2pie
59280         (modules-names): Add tst-quadmod1 tst-quadmod2.
59281         ($(objpfx)tst-quad1): New dependency.
59282         ($(objpfx)tst-quad2): Likewise.
59283         ($(objpfx)tst-quad1pie): Likewise.
59284         ($(objpfx)tst-quad2pie): Likewise.
59285         * sysdeps/x86_64/tst-quad1.c: New file.
59286         * sysdeps/x86_64/tst-quad1pie.c: New file.
59287         * sysdeps/x86_64/tst-quad2.c: Likewise.
59288         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59289         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59290         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59291         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59292         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59294 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59296         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59297         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59298         * streams/stropts.h (t_scalar_t): Define type.
59300         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59301         (_PATH_PRESERVE): Set to "/var/lib".
59302         (_PATH_RWHODIR): Set to "/var/spool/rwho".
59304         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59305         instead of int.
59307         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59308         if __dir_mkfile succeeded.
59310         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59311         checking for _hurd_dtablesize.  Unlock it right after having
59312         finished _hurd_dtable allocation.
59314 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59316         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59317         * sysdeps/mach/hurd/configure: Regenerated.
59318         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59319         special-casing to...
59320         * sysdeps/gnu/configure.in: ... this new file.
59321         * sysdeps/unix/sysv/linux/configure: Regenerated.
59322         * sysdeps/gnu/configure: New generated file.
59324         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59325         for Linux: use nsec instead of usec, as well as:
59326         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59327         members of type struct timespec.
59328         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59329         New macros.
59330         (struct stat64): Likewise.
59331         (_STATBUF_ST_NSEC): New macro.
59332         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59334         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59335         __strtoul_internal rather than strtoul.
59337 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59339         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59340         and reject them.
59342 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59344         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59345         which preserves existing values.
59346         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59348 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59350         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59351         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59352         greater than FD_SETSIZE.
59354 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59356         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59357         allocated, call __vm_protect to finish enabling the existing space, and
59358         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59359         allocate the remainder.
59361 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59363         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59364         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59368         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59369         sysdeps/mach/hurd/readlink.c.
59371         * posix/tst-sysconf.c (posix_options): Only use
59372         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59373         _POSIX_SYNCHRONIZED_IO when they are defined
59374         * sysdeps/mach/hurd/bits/posix_opt.h:
59375         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59376         (_XOPEN_REALTIME): Undefine macro.
59377         (_XOPEN_REALTIME_THREADS): Undefine macro.
59378         (_XOPEN_SHM): Undefine macro.
59379         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59380         macro to -1.
59381         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59382         macro to -1.
59383         (_POSIX_ASYNC_IO): Undefine macro.
59384         (_POSIX_PRIORITIZED_IO): Undefine macro.
59385         (_POSIX_SPIN_LOCKS): Define macro to -1.
59387         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59388         SA_NODEFER, SA_RESETHAND.
59389         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59390         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59391         F_DUPFD_CLOEXEC.
59393 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59395         * elf/Makefile (pldd-modules): Define unconditionally.
59397 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59399         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59403         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59404         Return ENOENT when name is empty.
59405         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59407 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59409         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59411         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59413 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59415         Fix mlock in all cases except non-readable pages.
59416         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59417         instead of VM_PROT_ALL as parameter to __vm_wire function.
59419         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59420         (__mkdir): When path is `/', just fail with EEXIST.
59421         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59423 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59425         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59426         <sys/uio.h> (for writev).
59427         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59428         and <sys/param.h> (for MIN).
59430 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59432         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59433         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59434         if interrupted.
59436 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59438         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59439         Depend on against $(link-rpcuserlibs).
59441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59443         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59444         (__libc_stack_end): Do not use attribute_relro.
59445         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59446         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59447         to libthread-provided value.
59448         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59449         attribute_relro.
59451 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59453         [BZ #3748]
59454         * bits/libc-lock.h (__libc_once_get): New macro.
59455         * sysdeps/mach/bits/libc-lock.h: Likewise.
59456         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59457         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59458         instead of using implementation details.
59460         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59461         * libio/freopen.c: Likewise.
59462         * libio/freopen64.c: Likewise.
59463         * misc/syslog.c: Likewise.
59464         * nscd/connections.c: Likewise.
59465         * nscd/netgroupcache.c: Likewise.
59466         * sysdeps/posix/getcwd.c: Likewise.
59468 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59470         * math/w_ilogbf.c: Add #include <limits.h>.
59472 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59474         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59475         path instead of returning without unlocking.
59477         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59478         immediate-write ioctls.
59479         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59483         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59484         __builtin_frame_address instead of making assumptions about the
59485         location of the return address relative to DATA.  Force early load of
59486         the return address.
59487         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59488         __builtin_frame_address.
59490         dup3 for GNU Hurd.
59491         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59492         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59493         implement dup3 and do some further code clean-ups.
59494         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59495         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59497 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59499         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59501         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59502         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59503         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59504         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59505         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59506         d->port.lock.
59508         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59509         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59510         when handler == SIG_ERR, not when handler != SIG_ERR.
59512 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59514         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59515         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59516         definitions.
59518         accept4 for GNU Hurd.
59519         * include/sys/socket.h (__libc_accept4): New prototype.
59520         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59521         to implement __libc_accept4.
59522         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59523         __libc_accept4.
59524         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59526         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59527         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59528         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59529         signal-defines.sym.
59531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59533         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59535 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59537         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59538         assertion on O_CLOEXEC flag.
59539         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59540         * hurd/intern-fd.c: Likewise.
59541         * hurd/port2fd.c: Likewise.
59543 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59545         [BZ #3906]
59546         * bits/in.h (IPV6_PKTINFO): Define new macro.
59547         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59549 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59551         [BZ #13954]
59552         [BZ #13955]
59553         [BZ #13956]
59554         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59555         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59556         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59557         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59558         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59559         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59560         * math/libm-test.inc (logb_test) : Additional logb tests.
59562 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59563             Andreas Jaeger  <aj@suse.de>
59565         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59566         * configure: Regenerated.
59567         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59568         * config.make.in (link-obsolete-rpc): New substituted variable.
59569         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59570         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59571         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59572         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59573         so that libc.a contains the symbols.
59574         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59575         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59576         * sunrpc/auth_none.c: Likewise.
59577         * sunrpc/auth_unix.c: Likewise.
59578         * sunrpc/authdes_prot.c: Likewise.
59579         * sunrpc/authuxprot.c: Likewise.
59580         * sunrpc/clnt_gen.c: Likewise.
59581         * sunrpc/clnt_perr.c: Likewise.
59582         * sunrpc/clnt_raw.c: Likewise.
59583         * sunrpc/clnt_simp.c: Likewise.
59584         * sunrpc/clnt_tcp.c: Likewise.
59585         * sunrpc/clnt_udp.c: Likewise.
59586         * sunrpc/clnt_unix.c: Likewise.
59587         * sunrpc/des_crypt.c: Likewise.
59588         * sunrpc/des_soft.c: Likewise.
59589         * sunrpc/get_myaddr.c: Likewise.
59590         * sunrpc/key_call.c: Likewise.
59591         * sunrpc/key_prot.c: Likewise.
59592         * sunrpc/netname.c: Likewise.
59593         * sunrpc/pm_getmaps.c: Likewise.
59594         * sunrpc/pm_getport.c: Likewise.
59595         * sunrpc/pmap_clnt.c: Likewise.
59596         * sunrpc/pmap_prot.c: Likewise.
59597         * sunrpc/pmap_prot2.c: Likewise.
59598         * sunrpc/pmap_rmt.c: Likewise.
59599         * sunrpc/publickey.c: Likewise.
59600         * sunrpc/rpc_cmsg.c: Likewise.
59601         * sunrpc/rpc_common.c: Likewise.
59602         * sunrpc/rpc_dtable.c: Likewise.
59603         * sunrpc/rpc_prot.c: Likewise.
59604         * sunrpc/rpc_thread.c: Likewise.
59605         * sunrpc/rtime.c: Likewise.
59606         * sunrpc/svc.c: Likewise.
59607         * sunrpc/svc_auth.c: Likewise.
59608         * sunrpc/svc_raw.c: Likewise.
59609         * sunrpc/svc_run.c: Likewise.
59610         * sunrpc/svc_tcp.c: Likewise.
59611         * sunrpc/svc_udp.c: Likewise.
59612         * sunrpc/svc_unix.c: Likewise.
59613         * sunrpc/svcauth_des.c: Likewise.
59614         * sunrpc/xcrypt.c: Likewise.
59615         * sunrpc/xdr.c: Likewise.
59616         * sunrpc/xdr_array.c: Likewise.
59617         * sunrpc/xdr_float.c: Likewise.
59618         * sunrpc/xdr_intXX_t.c: Likewise.
59619         * sunrpc/xdr_mem.c: Likewise.
59620         * sunrpc/xdr_rec.c: Likewise.
59621         * sunrpc/xdr_ref.c: Likewise.
59622         * sunrpc/xdr_sizeof.c: Likewise.
59623         * sunrpc/xdr_stdio.c: Likewise.
59625 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59627         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59628         change.  Update copyright years.
59630 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59632         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59634 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59635             Joseph Myers  <joseph@codesourcery.com>
59636             Paul Pluzhnikov  <ppluzhnikov@google.com>
59638         [BZ #14012]
59639         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59640         requiring rpcgen.
59641         [cross-compiling] (extra-libs): Likewise.
59642         [cross-compiling] (extra-libs-others): Likewise.
59643         [cross-compiling] (librpcsvc-routines): Likewise.
59644         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59645         [cross-compiling] (omit-deps): Likewise.
59646         (sunrpc-CPPFLAGS): New variable.
59647         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59648         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59649         (cross-rpcgen-objs): New variable.
59650         (extra-objs): Append $(cross-rpcgen-objs).
59651         ($(cross-rpcgen-objs)): New rule.
59652         ($(objpfx)cross-rpcgen): Likewise.
59653         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59654         comment.
59655         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59656         ($(objpfx)x%.stmp): Likewise.
59657         * sunrpc/proto.h [IS_IN_build] (_): Define.
59658         [IS_IN_build] (_libc_intl_domainname): Likewise.
59660 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59662         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59663         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59664         and R_X86_64_TPOFF64.
59666 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59668         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59669         sysdeps/unix/sysv/syscalls.list.
59670         (stime): Likewise.
59671         (utime): Likewise.
59672         * sysdeps/unix/sysv/syscalls.list: Remove file.
59674 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59676         [BZ #3440]
59677         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59678         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59679         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59680         (__LC_IDENTIFICATION): Make these macros useful in #if
59681         expressions, as required by C99.
59683 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59685         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59686         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59687         after this.
59689 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59691         * stdlib/longlong.h: Updated from GCC.
59693 2012-05-09  Andreas Jaeger  <aj@suse.de>
59695         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59696         default is first entry.
59697         (run_mode): Set type.
59698         (main): Remove informal message about syslog.
59699         (options): Fix typo.
59701         [BZ #14053]
59702         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59703         to asm.
59704         (lrint): Likewise.
59705         (llrintf): Likewise.
59706         (llrint): Likewise.
59707         (rint): Likewise.
59708         (rintf): Likewise.
59709         (nearbyint): Likewise.
59710         (nearbyintf): Likewise.
59712 2012-05-09  Andreas Jaeger  <aj@suse.de>
59713             Pedro Alves  <palves@redhat.com>
59715         * nscd/nscd.c (run_mode): Use enum.
59716         (main): Cleanup coding style issue.
59718 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59719             Andreas Jaeger  <aj@suse.de>
59721         * nscd/nscd.c (go_background): Replaced with...
59722         (run_mode): ... this.
59723         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59724         (options): Add -F --foreground.
59725         (main): Implement it.
59726         (parse_opt): Parse it.
59728 2012-05-09  Andreas Jaeger  <aj@suse.de>
59730         [BZ #14083]
59731         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59732         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59733         -Wconversion warning.
59734         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59735         Likewise.
59737 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
59739         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
59740         == 0.
59741         (LC_ALL): Use macro-int-constant.
59742         (LC_COLLATE): Likewise.
59743         (LC_CTYPE): Likewise.
59744         (LC_MESSAGES): Likewise.
59745         (LC_MONETARY): Likewise.
59746         (LC_NUMERIC): Likewise.
59747         (LC_TIME): Likewise.
59748         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59749         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59750         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59751         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59752         Specify type.
59753         [C99-based standards] (float_t): Expect type.
59754         [C99-based standards] (double_t): Expect type.
59755         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59756         type.
59757         [C99-based standards] (HUGE_VALL): Likewise.
59758         [C99-based standards] (INFINITY): Likewise.
59759         [C99-based standards] (NAN): Likewise.
59760         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59761         [C99-based standards] (FP_NAN): Likewise.
59762         [C99-based standards] (FP_NORMAL): Likewise.
59763         [C99-based standards] (FP_SUBNORMAL): Likewise.
59764         [C99-based standards] (FP_ZERO): Likewise.
59765         [C99-based standards] (FP_FAST_FMA): Use
59766         optional-macro-int-constant.  Specify type.  Require == 1.
59767         [C99-based standards] (FP_FAST_FMAF): Likewise.
59768         [C99-based standards] (FP_FAST_FMAL): Likewise.
59769         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59770         [C99-based standards] (FP_ILOGBNAN): Likewise.
59771         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59772         Specify type.
59773         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59774         [C99-based standards] (math_errhandling): Specify type.
59775         [ISO99 || ISO11] (signgam): Do not allow.
59776         [non-C99-based standards] (copysignf): Do not allow.
59777         [non-C99-based standards] (exp2f): Likewise.
59778         [non-C99-based standards] (log2f): Likewise.
59779         [non-C99-based standards] (modff): Allow.
59780         [non-C99-based standards] (erff): Do not allow.
59781         [non-C99-based standards] (erfcf): Likewise.
59782         [non-C99-based standards] (gammaf): Likewise.
59783         [non-C99-based standards] (hypotf): Likewise.
59784         [non-C99-based standards] (j0f): Likewise.
59785         [non-C99-based standards] (j1f): Likewise.
59786         [non-C99-based standards] (jnf): Likewise.
59787         [non-C99-based standards] (lgammaf): Likewise.
59788         [non-C99-based standards] (tgammaf): Likewise.
59789         [non-C99-based standards] (y0f): Likewise.
59790         [non-C99-based standards] (y1f): Likewise.
59791         [non-C99-based standards] (ynf): Likewise.
59792         [non-C99-based standards] (isnanf): Likewise.
59793         [non-C99-based standards] (acoshf): Likewise.
59794         [non-C99-based standards] (asinhf): Likewise.
59795         [non-C99-based standards] (atanhf): Likewise.
59796         [non-C99-based standards] (cbrtf): Likewise.
59797         [non-C99-based standards] (expm1f): Likewise.
59798         [non-C99-based standards] (ilogbf): Likewise.
59799         [non-C99-based standards] (log1pf): Likewise.
59800         [non-C99-based standards] (logbf): Likewise.
59801         [non-C99-based standards] (nextafterf): Likewise.
59802         [non-C99-based standards] (remainderf): Likewise.
59803         [non-C99-based standards] (rintf): Likewise.
59804         [non-C99-based standards] (scalbf): Likewise.
59805         [non-C99-based standards] (copysignl): Likewise.
59806         [non-C99-based standards] (exp2l): Likewise.
59807         [non-C99-based standards] (log2l): Likewise.
59808         [non-C99-based standards] (modfl): Allow.
59809         [non-C99-based standards] (erfl): Do not allow.
59810         [non-C99-based standards] (erfcl): Likewise.
59811         [non-C99-based standards] (gammal): Likewise.
59812         [non-C99-based standards] (hypotl): Likewise.
59813         [non-C99-based standards] (j0l): Likewise.
59814         [non-C99-based standards] (j1l): Likewise.
59815         [non-C99-based standards] (jnl): Likewise.
59816         [non-C99-based standards] (lgammal): Likewise.
59817         [non-C99-based standards] (tgammal): Likewise.
59818         [non-C99-based standards] (y0l): Likewise.
59819         [non-C99-based standards] (y1l): Likewise.
59820         [non-C99-based standards] (ynl): Likewise.
59821         [non-C99-based standards] (isnanl): Likewise.
59822         [non-C99-based standards] (acoshl): Likewise.
59823         [non-C99-based standards] (asinhl): Likewise.
59824         [non-C99-based standards] (atanhl): Likewise.
59825         [non-C99-based standards] (cbrtl): Likewise.
59826         [non-C99-based standards] (expm1l): Likewise.
59827         [non-C99-based standards] (ilogbl): Likewise.
59828         [non-C99-based standards] (log1pl): Likewise.
59829         [non-C99-based standards] (logbl): Likewise.
59830         [non-C99-based standards] (nextafterl): Likewise.
59831         [non-C99-based standards] (remainderl): Likewise.
59832         [non-C99-based standards] (rintl): Likewise.
59833         [non-C99-based standards] (scalbl): Likewise.
59834         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59835         [non-C99-based standards] (FP_*): Do not allow.
59836         [C99-based standards] (FP_*): Change to
59837         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59838         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59839         allow.
59840         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
59841         (SIG_ERR): Likewise.
59842         [X/Open-based standards] (SIG_HOLD): Likewise.
59843         (SIG_IGN): Likewise.
59844         (SIGABRT): Use macro-int-constant.  Specify type.  Require
59845         positive value.
59846         (SIGFPE): Likewise.
59847         (SIGILL): Likewise.
59848         (SIGINT): Likewise.
59849         (SIGSEGV): Likewise.
59850         (SIGTER): Likewise.
59851         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
59852         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
59853         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
59854         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
59855         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
59856         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
59857         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
59858         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
59859         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
59860         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
59861         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
59862         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
59863         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
59864         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
59865         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
59866         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
59867         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
59868         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
59869         [X/Open-based standards] (SIGTRAP): Likewise.
59870         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
59871         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
59872         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
59873         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
59874         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59875         allow.
59877 2012-05-08  Ian Wienand  <ianw@vmware.com>
59879         [BZ #14080]
59880         * time/tzset.c (__tzset_parse_tz): Update default rules for
59881         daylight time changes in the Energy Policy Act of 2005.
59883 2012-05-09  Andreas Jaeger  <aj@suse.de>
59885         [BZ #13983]
59886         * elf/ldconfig.c (parse_conf): Change string to make clear that
59887         ldconfig only issued a warning if ld.so.conf does not exist.
59889 2012-05-08  David S. Miller  <davem@davemloft.net>
59891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
59892         movxtod instead of popping the value on the stack.
59894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59896 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
59898         * config.h.in: Add HAVE_ARM_PCS_VFP.
59900 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
59902         [BZ #13979]
59903         * include/features.h: Warn if user requests __FORTIFY_SOURCE
59904         checking but the checks are disabled for any reason.
59906 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
59908         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
59909         and ELF64_R_TYPE with ELFW(R_TYPE).
59911 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
59913         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
59914         (ulimit): Likewise.
59916         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
59917         (settimeofday): Likewise.
59919 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
59921         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
59922         a struct th_u2 inside the union, and move tu_block/tu_code into
59923         a new th_u3 union of tu_block/tu_code inside of that.  Move
59924         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
59925         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
59926         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
59927         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
59928         (th_stuff): Change to th_u1.tu_stuff.
59929         (th_data): Define.
59930         (th_msg): Change to th_u1.th_u2.tu_data.
59932 2012-05-07  David S. Miller  <davem@davemloft.net>
59934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59936         [BZ #14074]
59937         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
59938         (SETUP_PIC_REG): Use it.
59939         (SETUP_PIC_REG_LEAF): Use it.
59941 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
59943         [BZ #13885]
59944         [BZ #13923]
59945         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59946         USE_AS_EXPM1L.
59947         (EXPL_FINITE): Likewise.
59948         (FLDLOG): Likewise.
59949         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59950         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59951         e_expl.S.
59952         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59953         USE_AS_EXPM1L.
59954         (EXPL_FINITE): Likewise.
59955         (FLDLOG): Likewise.
59956         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
59957         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
59958         e_expl.S.
59959         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
59960         test of -max_value argument for long double.
59961         * sysdeps/i386/fpu/libm-test-ulps: Update.
59962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59964 2012-05-06  David S. Miller  <davem@davemloft.net>
59966         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
59967         quad soft-float symbols whose references which are compiler
59968         generated.
59969         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59971 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
59973         [BZ #13884]
59974         [BZ #13914]
59975         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59976         USE_AS_EXP10L.
59977         (EXPL_FINITE): Likewise.
59978         (FLDLOG): Likewise.
59979         (c0): Likewise.
59980         (c1): Likewise.
59981         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59982         Adjust comments for base varying.
59983         (__expl_finite): Change alias to EXPL_FINITE.
59984         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
59985         e_expl.S.
59986         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
59987         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
59988         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59989         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59990         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
59991         USE_AS_EXP10L.
59992         (EXPL_FINITE): Likewise.
59993         (FLDLOG): Likewise.
59994         (c0): Likewise.
59995         (c1): Likewise.
59996         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
59997         Adjust comments for base varying.
59998         (__expl_finite): Change alias to EXPL_FINITE.
59999         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60000         tests for bugs.
60001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60003         [BZ #14064]
60004         * math/libm-test.inc (check_float_internal): Correct ulp
60005         calculation for subnormal expected results.
60007 2012-05-06  Andreas Jaeger  <aj@suse.de>
60009         * Makeconfig (+math-flags): New, set to -frounding-math.
60010         (+cflags): Add +math-flags so that all of glibc gets compiled with
60011         it.
60013         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60015 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
60017         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60018         Disable one test.
60020         [BZ #13787]
60021         [BZ #13922]
60022         [BZ #14036]
60023         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60024         (__ieee754_expl): Allow for and saturate large arguments.
60025         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60026         (u_threshold): Likewise.
60027         (__exp): Call __ieee754_exp before checking for overflow and
60028         underflow.
60029         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60030         (u_threshold): Likewise.
60031         (__expf): Call __ieee754_expf before checking for overflow and
60032         underflow.
60033         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60034         (u_threshold): Likewise.
60035         (__expl): Call __ieee754_expl before checking for overflow and
60036         underflow.
60037         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60038         (__ieee754_expl): Allow for and saturate large arguments.
60039         * math/libm-test.inc (exp_test): Add another test.  Do not allow
60040         missing overflow exception on overflow.
60041         (expm1_test): Do not allow missing overflow exception on overflow.
60043         * sysdeps/i386/fpu/e_expl.c: Move to ...
60044         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
60045         rather than using inline asm.
60046         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60047         * sysdeps/x86_64/fpu/e_expl.S: Copy from
60048         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60050         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60051         (nice): Likewise.
60052         (poll): Likewise.
60053         (signal): Likewise.
60054         (time): Likewise.
60055         (times): Likewise.
60057 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60059         * sysdeps/unix/syscalls.list (adjtime): Add entry from
60060         sysdeps/unix/common/syscalls.list.
60061         (fchmod): Likewise.
60062         (fchown): Likewise.
60063         (ftruncate): Likewise.
60064         (getrusage): Likewise.
60065         (gettimeofday): Likewise.
60066         (setpgid): Likewise.
60067         (setregid): Likewise.
60068         (setreuid): Likewise.
60069         (sigaction): Likewise.
60070         (truncate): Likewise.
60071         (vhangup): Likewise.
60072         * sysdeps/unix/common/syscalls.list: Remove file.
60073         * sysdeps/unix/bsd/Implies: Don't include unix/common.
60074         * sysdeps/unix/sysv/linux/Implies: Likewise.
60076 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
60078         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60080         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60081         Moved to ...
60082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60083         Here.
60084         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60085         to ...
60086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60087         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60088         to ...
60089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60090         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60091         to ...
60092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60093         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60094         to ...
60095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60096         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60097         to ...
60098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60099         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60100         to ...
60101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60102         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60103         to ...
60104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60105         Here.
60106         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60107         to ...
60108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60109         Here.
60110         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60111         to ...
60112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60113         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60114         Moved to ...
60115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60116         Here.
60117         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60118         to ...
60119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60121 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60123         * sysdeps/unix/common/bits/dirent.h: Remove file.
60124         * sysdeps/unix/common/bits/fcntl.h: Likewise.
60126         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60127         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60128         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60129         * sysdeps/unix/bsd/isatty.c: Likewise.
60130         * sysdeps/unix/bsd/tcdrain.c: Likewise.
60131         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60132         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60134 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60136         [BZ #13563]
60137         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60138         long double comparison inaccuracies.
60139         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60142 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60144         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60145         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60147 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60149         [BZ #14049]
60150         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60151         nonzero digits before rounding a hex value.
60152         * stdlib/tst-strtod.c (tests): Add another test.
60154 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60156         * sysdeps/s390/fpu/libm-test-ulps: Update.
60158 2012-05-03  Andreas Jaeger  <aj@suse.de>
60160         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60161         does not get optimized out.
60162         (malloc_opt_barrier): New.
60164 2012-05-03  Andreas Jaeger  <aj@suse.de>
60165             Roland McGrath  <roland@hack.frob.com>
60167         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60168         intermediate file deletion.
60169         (generated): Add .symlist files.
60171 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60173         [BZ #13775]
60174         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60175         Redirect under this condition.
60176         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60177         [__USE_GNU] (__dprintf_chk): Not under this condition.
60178         [__USE_GNU] (__vdprintf_chk): Likewise.
60179         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60180         under this condition.
60181         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60182         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60183         [__USE_XOPEN2K8] (vdprintf): Likewise.
60184         [__USE_GNU] (__dprintf_chk): Not under this condition.
60185         [__USE_GNU] (__vdprintf_chk): Likewise.
60186         [__USE_GNU] (dprintf): Likewise.
60187         [__USE_GNU] (vdprintf): Likewise.
60189 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60191         * elf/Makefile (common-generated): Set this instead of generated for
60192         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60193         $(all-built-dso)-derived lists.
60195 2012-05-03  Andreas Jaeger  <aj@suse.de>
60197         * sysdeps/i386/fpu/libm-test-ulps: Update.
60199         * FAQ: Removed.
60200         * FAQ.in: Likewise.
60201         * scripts/gen-FAQ.pl: Likewise.
60202         * manual/install.texi (Installation): Point to online location of
60203         FAQ.
60204         * Makefile (files-for-dist): Remove FAQ.
60205         (FAQ): Remove.
60207 2012-05-02  Allan McRae  <allan@archlinux.org>
60209         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60210         (LDFLAGS-reldepmod5.so): Likewise.
60211         (LDFLAGS-reldep6mod1.so): Likewise.
60212         (LDFLAGS-reldep6mod4.so): Likewise.
60213         (LDFLAGS-reldep8mod3.so): Likewise.
60214         (LDFLAGS-unload4mod1.so): Likewise.
60215         (LDFLAGS-unload4mod2.so): Likewise.
60216         (LDFLAGS-tst-initorder): Likewise.
60217         (LDFLAGS-tst-initordera2.so): Likewise.
60218         (LDFLAGS-tst-initordera3.so): Likewise.
60219         (LDFLAGS-tst-initordera4.so): Likewise.
60220         (LDFLAGS-tst-initorderb2.so): Likewise.
60221         (LDFLAGS-noload): Likewise.
60222         (LDFLAGS-next): Likewise.
60223         (LDFLAGS-order2mod1.so): Likewise.
60224         (LDFLAGS-order2mod2.so): Likewise.
60225         (LDFLAGS-tst-initorder2): Likewise.
60226         (LDFLAGS-tst-initorder2a.so): Likewise.
60227         (LDFLAGS-tst-initorder2b.so): Likewise.
60228         (LDFLAGS-tst-initorder2c.so): Likewise.
60229         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60231 2012-05-02  David S. Miller  <davem@davemloft.net>
60233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60235 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60237         [BZ #14055]
60238         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60240 2012-05-02  Andreas Jaeger  <aj@suse.de>
60242         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60243         since we manipulate rounding mode.
60244         (CPPFLAGS-test-idouble.c): Likewise.
60245         (CPPFLAGS-test-ifloat.c): Likewise.
60246         (CFLAGS-test-ldouble.c): Likewise.
60247         (CFLAGS-test-double.c): Likewise.
60248         (CFLAGS-test-float.c): Likewise.
60249         (CFLAGS-test-misc.c): Likewise.
60250         (CFLAGS-test-test-fenv.c): Likewise.
60252 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60254         [BZ #2550]
60255         [BZ #2570]
60256         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60257         comparisons to determine direction to adjust input.
60259 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60261         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60262         output to the target.
60264         * scripts/localplt.awk: New file.
60265         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60266         (check-localplt-CFLAGS): Variable removed.
60267         ($(all-built-dso:=.jmprel)): New static pattern rule.
60268         (generated): Add those targets.
60269         (localplt-built-dso): New variable.
60270         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60272         * elf/check-localplt.c: File removed.
60274         * scripts/check-execstack.awk: New file.
60275         * elf/Makefile ($(objpfx)check-execstack): Target removed.
60276         (check-execstack-CFLAGS): Variable removed.
60277         ($(objpfx)check-execstack.h): Target removed.
60278         ($(objpfx)execstack-default): New target.
60279         (generated): Add that instead of check-execstack.h.
60280         ($(all-built-dso:=.phdr)): New static pattern rule.
60281         (generated): Add those targets.
60282         * elf/check-execstack.c: File removed.
60284         * scripts/check-textrel.awk: New file.
60285         * elf/Makefile ($(objpfx)check-textrel): Target removed.
60286         (check-textrel-CFLAGS): Variable removed.
60287         (all-built-dso): Use := to define.o
60288         ($(all-built-dso:=.dyn)): New static pattern rule.
60289         (generated): Add those targets.
60290         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60291         * config.make.in (READELF): New substituted variable.
60292         * elf/check-textrel.c: File removed.
60294 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60296         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60297         allow.
60298         * conform/data/ctype.h-data [C99-based standards] (isblank):
60299         Expect function.
60300         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60301         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60302         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60303         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60304         Specify type.  Require positive value.
60305         (EILSEQ): Likewise.
60306         (ERANGE): Likewise.
60307         [ISO || POSIX] (EILSEQ): Do not expect.
60308         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60309         Specify type.  Require positive value.
60310         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60311         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60312         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60313         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60314         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60315         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60316         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60317         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60318         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60319         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60320         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60321         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60322         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60323         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60324         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60325         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60326         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60327         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60328         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60329         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60330         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60331         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60332         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60333         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60334         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60335         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60336         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60337         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60338         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60339         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60340         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60341         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60342         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60343         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60344         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60345         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60346         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60347         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60348         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60349         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60350         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60351         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60352         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60353         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60354         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60355         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60356         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60357         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60358         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60359         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60360         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60361         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60362         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60363         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60364         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60365         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60366         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60367         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60368         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60369         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60370         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60371         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60372         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60373         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60374         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60375         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60376         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60377         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60378         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60379         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60380         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60381         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60382         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60383         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60384         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60385         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60386         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60387         Require >= 2.
60388         (FLT_ROUNDS): Expect as macro, not constant.
60389         (FLT_MANT_DIG): Use macro-int-constant.
60390         (DBL_MANT_DIG): Likewise.
60391         (LDBL_MANT_DIG): Likewise.
60392         (FLT_DIG): Likewise.
60393         (DBL_DIG): Likewise.
60394         (LDBL_DIG): Likewise.
60395         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60396         (DBL_MIN_EXP): Likewise.
60397         (LDBL_MIN_EXP): Likewise.
60398         (FLT_MAX_EXP): Use macro-int-constant.
60399         (DBL_MAX_EXP): Likewise.
60400         (LDBL_MAX_EXP): Likewise.
60401         (FLT_MAX_10_EXP): Likewise.
60402         (DBL_MAX_10_EXP): Likewise.
60403         (LDBL_MAX_10_EXP): Likewise.
60404         (FLT_MAX): Use macro-constant.
60405         (DBL_MAX): Likewise.
60406         (LDBL_MAX): Likewise.
60407         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60408         (DBL_EPSILON): Likewise.
60409         (LDBL_EPSILON): Likewise.
60410         (FLT_MIN): Likewise.
60411         (DBL_MIN): Likewise.
60412         (LDBL_MIN): Likewise.
60413         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60414         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60415         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60416         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60417         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60418         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60419         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60420         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60421         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60422         [ISO11] (FLT_TRUE_MIN): Likewise.
60423         [ISO11] (LDBL_TRUE_MIN): Likewise.
60424         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60425         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60426         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60427         (SCHAR_MAX): Likewise.
60428         (UCHAR_MAX): Likewise.
60429         (CHAR_MIN): Likewise.
60430         (CHAR_MAX): Likewise.
60431         (MB_LEN_MAX): Use macro-int-constant.
60432         (SHRT_MIN): Use macro-int-constant.  Specify type.
60433         (SHRT_MAX): Likewise.
60434         (USHRT_MAX): Likewise.
60435         (INT_MAX): Likewise.
60436         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60437         bound negative.
60438         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60439         bound with "U".
60440         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60441         bound with "L".
60442         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60443         bound negative.  Suffix upper bound with "L".
60444         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60445         bound with "UL".
60446         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60447         Specify type.
60448         [C99-based standards] (LLONG_MAX): Likewise.
60449         [C99-based standards] (ULLONG_MAX): Likewise.
60450         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60451         == 0.
60452         [ISO11] (max_align_t): Require type.
60453         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60455         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60456         from $CFLAGS, without defining away __attribute__ calls.
60457         (checknamespace): Use $CFLAGS_namespace.
60459         * conform/conformtest.pl (@keywords): Only include C99 keywords
60460         for standards based on C99 or C11.
60462         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60463         Disable tests.
60464         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60465         UNIX98]: Likewise.
60467         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60468         usability of symbols in #if.
60470         * conform/conformtest.pl: If macro or constant types start
60471         "promoted:", expect the symbol to be of the following type
60472         promoted by the integer promotions.
60474         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60475         in one place.  Also handle "macro-constant".
60477         * conform/conformtest.pl: Only accept expected macro values with
60478         "==".  Parse all "macro" lines in one place.
60479         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60481         * conform/conformtest.pl: Handle braced types on "constant" lines
60482         instead of handling "typed-constant".
60483         * conform/data/signal.h-data: Use "constant" instead of
60484         "typed-constant".
60486         * conform/conformtest.pl: Handle "optional-" at start of lines in
60487         one place rather than duplicating several cases.  Handle each
60488         format of "macro" line with initial "optional-".
60490         * conform/conformtest.pl: Only accept expected constant or
60491         optional-constant values with "==".  Parse all "constant" lines in
60492         one place.  Parse all "optional-constant" lines in one place.
60493         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60494         * conform/data/fmtmsg.h-data: Likewise.
60495         * conform/data/netinet/in.h-data: Likewise.
60496         * conform/data/tar.h-data: Likewise.
60497         * conform/data/limits.h-data: Use "==" form on "constant" and
60498         "optional-constant" lines.
60500         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60501         Use -std=c99 for XOPEN2K.
60502         (@knownproblems): Remove.
60503         (newtoken): Don't check %isknown.
60505         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60506         Do not expect macro.
60507         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60508         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60509         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60510         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60511         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60512         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60513         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60514         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60515         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60516         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60517         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60518         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60519         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60520         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60521         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60522         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60523         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60524         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60525         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60526         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60527         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60528         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60529         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60530         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60531         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60532         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60533         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60534         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60535         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60536         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60537         [XPG3] (acosh): Likewise.
60538         [XPG3] (asinh): Likewise.
60539         [XPG3] (atanh): Likewise.
60540         [XPG3] (cbrt): Likewise.
60541         [XPG3] (expm1): Likewise.
60542         [XPG3] (ilogb): Likewise.
60543         [XPG3] (log1p): Likewise.
60544         [XPG3] (logb): Likewise.
60545         [XPG3] (nextafter): Likewise.
60546         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60547         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60548         [XPG3] (remainder): Likewise.
60549         [XPG3] (rint): Likewise.
60550         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60551         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60552         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60553         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60554         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60555         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60556         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60557         [UNIX98 || XOPEN2K] (scalb): Expect.
60558         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60559         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60560         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60561         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60562         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60563         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60564         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60565         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60566         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60567         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60568         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60569         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60570         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60571         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60572         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60573         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60574         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60575         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60576         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60577         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60578         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60579         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60580         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60581         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60582         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60583         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60584         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60585         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60586         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60587         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60588         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60589         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60590         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60591         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60592         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60593         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60594         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60595         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60596         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60597         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60598         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60599         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60600         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60601         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60602         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60603         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60604         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60605         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60606         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60607         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60608         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60609         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60610         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60611         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60612         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60613         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60614         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60615         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60616         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60617         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60618         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60619         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60620         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60621         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60622         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60623         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60624         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60625         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60626         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60627         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60628         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60629         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60630         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60631         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60632         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60633         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60634         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60635         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60636         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60637         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60638         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60639         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60640         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60641         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60642         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60643         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60644         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60645         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60646         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60647         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60648         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60649         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60650         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60651         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60652         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60653         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60654         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60655         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60656         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60657         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60658         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60659         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60660         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60661         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60662         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60663         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60664         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60665         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60666         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60667         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60668         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60669         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60670         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60671         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60672         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60673         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60674         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60675         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60676         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60677         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60678         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60679         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60680         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60681         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60682         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60683         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60684         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60685         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60686         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60687         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60688         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60689         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60690         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60691         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60692         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60693         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60694         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60696         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60697         _XOPEN_SOURCE_EXTENDED for XPG4.
60699         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60701         * Makeconfig (localtime): Remove variable.
60702         (inst_localtime-file): Likewise.
60704 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60707         Update.
60708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60709         Update.
60710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60711         Update.
60712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60713         Update.
60714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60715         Update.
60716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60717         Update.
60718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60719         Update.
60720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60721         Update.
60722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60723         Update.
60725 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60727         [BZ #2550]
60728         [BZ #2570]
60729         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60730         comparisons to determine direction to adjust input.
60731         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60732         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60733         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60734         Likewise.
60735         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60736         Likewise.
60737         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60738         Likewise.
60739         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60740         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60741         Likewise.
60742         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60743         Likewise.
60744         * math/libm-test.inc (nexttoward_test): Add more tests.
60746 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60748         [BZ #14040]
60749         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60750         in version GLIBC_2.1, not GLIBC_2.0.
60751         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60752         Likewise.
60754 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60756         [BZ #13942]
60757         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60758         (1 - x) * (1 + x).
60759         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60760         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60761         * math/libm-test.inc (acos_test): Add more tests.
60762         (asin_test): Likewise.
60763         * sysdeps/i386/fpu/libm-test-ulps: Update.
60764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60766         [BZ #14034]
60767         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60768         of square root.
60769         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60770         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60771         * math/libm-test.inc (acos_test_tonearest): New function.
60772         (acos_test_towardzero): Likewise.
60773         (acos_test_downward): Likewise.
60774         (acos_test_upward): Likewise.
60775         (asin_test_tonearest): Likewise.
60776         (asin_test_towardzero): Likewise.
60777         (asin_test_downward): Likewise.
60778         (asin_test_upward): Likewise.
60779         (main): Call the new functions.
60780         * sysdeps/i386/fpu/libm-test-ulps: Update.
60781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60783         [BZ #13884]
60784         [BZ #13924]
60785         * math/e_exp10.c: Include <float.h>.
60786         (__ieee754_exp10): Handle underflow here rather than multiplying
60787         large negative argument by M_LN10.
60788         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60789         of __ieee754_expf.
60790         * math/e_exp10l.c: Include <float.h>.
60791         (__ieee754_exp10l): Handle underflow here rather than multiplying
60792         large negative argument by M_LN10l.
60793         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60794         spurious overflow exception on underflow.
60796 2012-04-29  Marek Polacek  <polacek@redhat.com>
60798         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60799         (__fortify_function): New macro.
60800         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
60801         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
60802         __extern_always_inline.
60803         * libio/bits/stdio2.h: Likewise.
60804         * libio/bits/stdio.h: Likewise.
60805         * string/string.h: Likewise.
60806         * string/bits/string3.h: Likewise.
60807         * include/stdio.h: Likewise.
60808         * stdlib/bits/stdlib.h: Likewise.
60809         * stdlib/stdlib.h: Likewise.
60810         * rt/bits/mqueue2.h: Likewise.
60811         * rt/mqueue.h: Likewise.
60812         * posix/bits/unistd.h: Likewise.
60813         * posix/unistd.h: Likewise.
60814         * io/bits/poll2.h: Likewise.
60815         * io/bits/fcntl2.h: Likewise.
60816         * io/fcntl.h: Likewise.
60817         * io/sys/poll.h: Likewise.
60818         * misc/bits/syslog.h: Likewise.
60819         * misc/bits/syslog-ldbl.h: Likewise.
60820         * misc/sys/syslog.h: Likewise.
60821         * socket/bits/socket2.h: Likewise.
60822         * socket/sys/socket.h: Likewise.
60823         * debug/tst-chk1.c: Likewise.
60824         * wcsmbs/bits/wchar2.h: Likewise.
60825         * wcsmbs/bits/wchar-ldbl.h: Likewise.
60826         * wcsmbs/wchar.h: Likewise.
60828 2012-04-29  Andreas Jaeger  <aj@suse.de>
60830         * Makerules (tests): Remove enable-check-abi protection.
60831         (check-abi-warn): Remove.
60832         (check-abi-%): Remove check-abi-warn usage.
60834         * configure.in: Remove check-abi configure option.
60835         * configure: Regenerated.
60836         * config.make.in (enable-check-abi): Remove.
60838 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
60840         [BZ #14033]
60841         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
60842         double functions to double *_finite functions.
60844         [BZ #13941]
60845         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
60846         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
60847         LDBL_MIN_EXP.
60848         * stdio-common/Makefile (tests): Add tst-sprintf3.
60849         * stdio-common/tst-sprintf3.c: New file.
60851         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
60852         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
60854 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
60856         * conform/conformtest.pl: Remove duplicate typed-constant
60857         handling.
60859 2012-04-28  David S. Miller  <davem@davemloft.net>
60861         * Makerules (%.abilist): Add vpath on sysdep_dirs.
60862         (check-abi-%): Remove AWK script prerequisite and explicit
60863         abilist directory.
60864         (check-abi): Rewrite to just diff the symlist with the abilist.
60865         (config-tls, config-abi-config): Delete, no longer used.
60866         (update-abi-%): Remove AWK script and explicit abilist directory.
60867         (update-abi): Rewrite to simply compare and conditionally copy the
60868         symlist and the sysdep abilist file.  Remove update-abi-config
60869         checks.
60870         * abilist/ld.abilist: Remove.
60871         * abilist/libBrokenLocale.abilist: Remove.
60872         * abilist/libanl.abilist: Remove.
60873         * abilist/libcrypt.abilist: Remove.
60874         * abilist/libdl.abilist: Remove.
60875         * abilist/librt.abilist: Remove.
60876         * abilist/libthread_db.abilist: Remove.
60877         * abilist/libutil.abilist: Remove.
60878         * scripts/extract-abilist.awk: Remove.
60879         * scripts/merge-abilist.awk: Remove.
60880         * sysdeps/generic/libcidn.abilist: New file.
60881         * sysdeps/generic/libnss_compat.abilist: New file.
60882         * sysdeps/generic/libnss_db.abilist: New file.
60883         * sysdeps/generic/libnss_dns.abilist: New file.
60884         * sysdeps/generic/libnss_files.abilist: New file.
60885         * sysdeps/generic/libnss_hesiod.abilist: New file.
60886         * sysdeps/generic/libnss_nis.abilist: New file.
60887         * sysdeps/generic/libnss_nisplus.abilist: New file.
60888         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
60889         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
60890         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
60891         file.
60892         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
60893         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
60894         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
60895         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
60896         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
60897         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60898         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
60899         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
60900         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
60901         file.
60902         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
60903         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
60904         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
60905         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
60906         file.
60907         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
60908         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
60909         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
60910         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
60911         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
60912         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60913         file.
60914         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
60915         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
60916         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
60917         file.
60918         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
60919         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
60920         New file.
60921         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
60922         New file.
60923         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
60924         New file.
60925         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
60926         New file.
60927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
60928         New file.
60929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
60930         New file.
60931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
60932         New file.
60933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
60934         New file.
60935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
60936         New file.
60937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
60938         New file.
60939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
60940         New file.
60941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
60942         New file.
60943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
60944         New file.
60945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
60946         file.
60947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
60948         New file.
60949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
60950         New file.
60951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
60952         file.
60953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
60954         New file.
60955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
60956         New file.
60957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
60958         file.
60959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
60960         New file.
60961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60962         New file.
60963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
60964         New file.
60965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
60966         New file.
60967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
60968         New file.
60969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
60970         New file.
60971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
60972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
60973         file.
60974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
60975         New file.
60976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
60977         file.
60978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
60979         file.
60980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
60981         file.
60982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
60983         file.
60984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
60985         file.
60986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60987         New file.
60988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
60989         file.
60990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
60991         file.
60992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
60993         New file.
60994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
60995         file.
60996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
60997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
60998         file.
60999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61000         New file.
61001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61002         file.
61003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61004         file.
61005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61006         file.
61007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61008         file.
61009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61010         file.
61011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61012         New file.
61013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61014         file.
61015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61016         file.
61017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61018         New file.
61019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61020         file.
61021         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61022         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61023         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61024         file.
61025         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61026         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61027         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61028         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61029         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61030         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61031         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61032         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61033         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61034         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61037         file.
61038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61039         New file.
61040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61041         file.
61042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61043         file.
61044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61045         file.
61046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61047         file.
61048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61049         file.
61050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61051         New file.
61052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61053         New file.
61054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61055         file.
61056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61057         New file.
61058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61059         file.
61060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61062         file.
61063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61064         New file.
61065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61066         file.
61067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61068         file.
61069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61070         file.
61071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61072         file.
61073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61074         file.
61075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61076         New file.
61077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61078         New file.
61079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61080         file.
61081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61082         New file.
61083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61084         file.
61086 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61088         * conform/conformtest.pl: Fix typo in handling typed-constant from
61089         allow-header.
61091 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61093         * README: Cut down references to pre-2.6 Linux kernels and
61094         Linuxthreads.  Update lists of configurations in libc and ports
61095         and sort alphabetically.  Say "or newer" with Linux kernel version
61096         requirements.
61098         * config.h.in [IS_IN_build]: Allow compiling without optimization.
61100 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61102         [BZ #887]
61103         * math/libm-test.inc (logb_test_downward): New test to expose
61104         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61105         rounding mode.
61107 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61109         [BZ #14027]
61110         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61111         to be done.
61112         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61113         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61115 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
61117         * sysdeps/unix/i386/brk.S: Remove file.
61118         * sysdeps/unix/i386/dl-brk.S: Likewise.
61119         * sysdeps/unix/i386/pipe.S: Likewise.
61120         * sysdeps/unix/i386/sigreturn.S: Likewise.
61121         * sysdeps/unix/i386/syscall.S: Likewise.
61122         * sysdeps/unix/i386/vfork.S: Likewise.
61123         * sysdeps/unix/i386/wait.S: Likewise.
61125         * sysdeps/unix/common/tcsendbrk.c: Move to ...
61126         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61128         * configure.in (arm*-none*): Do not allow without
61129         --enable-hacker-mode.
61130         (netbsd*): Remove case setting base_os.
61131         (386bsd*): Likewise.
61132         (freebsd*): Likewise.
61133         (bsdi*): Likewise.
61134         (osf*): Likewise.
61135         (sunos*): Likewise.
61136         (ultrix*): Likewise.
61137         (newsos*): Likewise.
61138         (dynix*): Likewise.
61139         (*bsd*): Likewise.
61140         (sysv*): Likewise.
61141         (isc*): Likewise.
61142         (esix*): Likewise.
61143         (sco*): Likewise.
61144         (minix*): Likewise.
61145         (irix4*): Likewise.
61146         (irix6*): Likewise.
61147         (solaris[2-9]*): Likewise.
61148         (none): Likewise.
61149         * configure: Regenerated.
61151 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61153         [BZ #11521]
61154         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61155         overflow or cancellation in calculating denominator.
61156         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61157         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61158         down expression to avoid unexpected rounding in newer GCCs.
61159         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61161 2012-04-26  David S. Miller  <davem@davemloft.net>
61163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61164         long-double compat symbols.
61165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61179 2012-04-25  David S. Miller  <davem@davemloft.net>
61181         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61182         HWCAP_* values only after the memory barriers have been defined.
61183         (atomic_full_barrier): Define.
61184         (atomic_read_barrier): Define.
61185         (atomic_write_barrier): Define.
61187 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61189         * shlib-versions: Add libgcc_s version information.
61190         * sysdeps/generic/libgcc_s.h: Remove.
61191         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61192         libgcc_s.h.
61193         * sysdeps/gnu/unwind-resume.c: Likewise.
61194         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61196 2012-04-25  David S. Miller  <davem@davemloft.net>
61198         * sysdeps/unix/sparc/brk.S: Delete.
61199         * sysdeps/unix/sparc/dl-brk.S: Delete.
61200         * sysdeps/unix/sparc/pipe.S: Delete.
61201         * sysdeps/unix/sparc/sysdep.S: Delete.
61202         * sysdeps/unix/sparc/sysdep.h: Delete.
61203         * sysdeps/unix/sparc/vfork.S: Delete.
61204         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61205         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61206         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61207         (ret_ERRVAL, r0, r1, MOVE): Define.
61208         (JUMPTARGET): Remove.
61209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61210         sysdeps/unix/sparc/sysdep.h
61211         (ENTRY, END): Remove.
61212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61214 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61216         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61217         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61218         -DIS_IN_build.
61220         * timezone/README: Update upstream location and email address for
61221         tzcode and tzdata.
61222         * timezone/zdump.c: Update from tzcode 2012b.
61223         * timezone/zic.c: Likewise.
61225         * configure.in (libc_cv_as_needed): Remove test.
61226         * configure: Regenerated.
61227         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61228         conditional definition.
61229         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61230         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61231         * config.make.in (have-as-needed): Remove variable.
61233 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61234             Paul Pluzhnikov  <ppluzhnikov@google.com>
61236         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61237         strings correctly.
61239 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61241         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61242         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61243         * sysdeps/sh/strlen.S: Likewise.
61245 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61247         * sysdeps/unix/fork.S: Remove file.
61248         * sysdeps/unix/i386/fork.S: Likewise.
61249         * sysdeps/unix/sparc/fork.S: Likewise.
61251         * sysdeps/unix/system.c: Remove file.
61252         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61254         * sysdeps/unix/getegid.S: Remove file.
61255         * sysdeps/unix/geteuid.S: Likewise.
61257 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61259         * scripts/check-localplt.awk: New file.
61260         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61261         of diff.
61262         * scripts/data/localplt-generic.data: Add a comment.
61264         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61265         NODE when __dir_mkfile failed.
61266         * sysdeps/mach/hurd/symlinkat.c: Likewise.
61267         Reported by Ludovic Courtès <ludo@gnu.org>.
61269 2012-04-24  Andreas Jaeger  <aj@suse.de>
61271         * Makerules (common-clean): Also remove gen-as-const-headers
61272         files.
61274 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61276         * Makerules (native-compile): Do not change working directory for
61277         build.  Use $(OUTPUT_OPTION) in command.
61278         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61280 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61282         [BZ #13886]
61283         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61284         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61285         * math/libm-test.inc (floor_test): Add more tests.
61286         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61288 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61290         * sysdeps/unix/getdents.c: Remove file.
61291         * sysdeps/unix/sysv/getdents.c: Likewise.
61292         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61294         * sysdeps/unix/syscalls.list (madvise): Add syscall from
61295         sysdeps/unix/mman/syscalls.list.
61296         (mmap): Likewise.
61297         (mprotect): Likewise.
61298         (msync): Likewise.
61299         (munmap): Likewise.
61300         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61301         * sysdeps/unix/mman/syscalls.list: Remove.
61302         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61304         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61305         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61306         * configure: Regenerated.
61307         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61308         $(libgcc_s_suffix).
61309         * config.make.in (libgcc_s_suffix): Remove variable.
61311 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
61313         * sysdeps/unix/sysv/gethostname.c: Move to ...
61314         * sysdeps/posix/gethostname.c: ... here.
61316         * sysdeps/unix/execve.S: Remove file.
61318         * sysdeps/unix/_exit.S: Remove file.
61320 2012-04-23  Andreas Jaeger  <aj@suse.de>
61322         [BZ #13739]
61323         * manual/Makefile: Remove make dist support, there's no
61324         need for a stand-alone documentation tar ball.
61325         (TEXI2DVI): Define always, it's not in Makeconfig.
61326         (dist): Removed.
61327         (tar-it): Removed.
61328         (edition): Removed.
61329         (glibc-doc-$(edition).tar): Removed
61330         (%.Z): Removed.
61331         (%.gz): Removed.
61332         (%.uu): Removed.
61333         (ETAGS): Remove, it's in Makeconfig.
61334         (move-if-change): Remove, it's in Makeconfig.
61336 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
61338         [BZ #13970]
61339         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61340         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61341         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61342         (strtod_l, strtof_l, strtold_l): Remove __wur.
61343         It is not necessarily an error to ignore strtol's return value.
61344         One can reliably look at the stored endptr to decide whether
61345         the number had valid syntax.
61347 2012-04-21  Andreas Jaeger  <aj@suse.de>
61349         [BZ #13739]
61350         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61352 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61354         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61355         * sysdeps/unix/sysv/Versions: Remove file.
61357 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61359         [BZ #13927]
61360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61362 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61364         [BZ #7064]
61365         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61366         version from __vm86.
61368 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61370         * sysdeps/unix/common/lxstat.c: Remove file.
61371         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61373         * sysdeps/unix/sysv/Makefile: Remove file.
61375         * sysdeps/unix/sysv/direct.h: Remove file.
61377         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61378         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61379         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61380         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61381         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61382         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61383         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61385         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61387         * sysdeps/unix/xmknod.c: Remove file.
61388         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61390         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61392         * sysdeps/unix/sysv/i386/time.S: Remove file.
61394         * sysdeps/unix/fxstat.c: Remove file.
61395         * sysdeps/unix/xstat.c: Likewise.
61396         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61398         * sysdeps/unix/sysv/sigaction.c: Remove file.
61400         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61401         (sysdep_headers): Remove variable.
61402         [termio.h not in sysdep_headers] (generated): Likewise.
61403         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61404         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61405         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61406         * sysdeps/unix/sysv/tcflow.c: Likewise.
61407         * sysdeps/unix/sysv/tcflush.c: Likewise.
61408         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61409         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61410         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61411         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61412         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61414         * sysdeps/unix/siglist.c: Remove file.
61416         * sysdeps/unix/getppid.S: Remove file.
61418         * sysdeps/unix/mkdir.c: Remove file.
61419         * sysdeps/unix/rmdir.c: Likewise.
61421 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61423         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61424         ERR_MAX value.
61425         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61426         errlist-compat value.
61428 2012-04-18  David S. Miller  <davem@davemloft.net>
61430         * sysdeps/generic/memcopy.h (reg_char): Delete.
61431         * debug/strcat_chk.c: Use char, not reg_char.
61432         * debug/strcpy_chk.c: Likewise.
61433         * debug/strncat_chk.c: Likewise.
61434         * debug/strncpy_chk.c: Likewise.
61435         * string/memchr.c: Likewise.
61436         * string/memrchr.c: Likewise.
61437         * string/rawmemchr.c: Likewise.
61438         * string/strcat.c: Likewise.
61439         * string/strchr.c: Likewise.
61440         * string/strchrnul.c: Likewise.
61441         * string/strcmp.c: Likewise.
61442         * string/strcpy.c: Likewise.
61443         * string/strncat.c: Likewise.
61444         * string/strncmp.c: Likewise.
61445         * string/strncpy.c: Likewise.
61447 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61449         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61450         __builtin_memcopy is called when src and dest ranges are known to not
61451         overlap.
61453 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61455         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61456         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61457         fwd_align_merge macro call.
61458         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61459         bwd_align_merge macro call.
61460         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61462 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61464         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61465         bwd_align_merge macros.
61466         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61467         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61468         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61470 2012-04-18  David S. Miller  <davem@davemloft.net>
61472         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61474 2012-04-18  Andreas Jaeger  <aj@suse.de>
61476         [BZ# 6794]
61477         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61478         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61479         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61481         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61482         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61483         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61485         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61486         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61487         Adjust for changed ldbl-128 files.
61489         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61490         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61491         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61493 2012-04-17  David S. Miller  <davem@davemloft.net>
61495         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61497 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61499         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61500         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61501         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61502         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61503         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61504         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61506 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61508         [BZ #6794]
61509         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61510         * math/libm-test.inc: Add ilogb errno and exception tests.
61511         * math/w_ilogb.c: New file: ilogb wrapper.
61512         * math/w_ilogbf.c: New file: ilogbf wrapper.
61513         * math/w_ilogbl.c: New file: ilogbl wrapper.
61514         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61515         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61516         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61517         exception being thrown with 0.0 as argument.
61518         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61519         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61520         exception being thrown with 0.0 as argument.
61521         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61522         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61523         exception being thrown with 0.0 as argument.
61524         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61525         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61526         exception being thrown with 0.0 as argument.
61527         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61528         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61529         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61530         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61531         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61532         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61533         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61534         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61535         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61537 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61539         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61540         with altivec.
61542 2012-04-16  Marek Polacek  <polacek@redhat.com>
61544         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61546 2012-04-16  Marek Polacek  <polacek@redhat.com>
61548         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61549         operands of fdivp instruction.
61551 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61553         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61554         * elf/tst-auditmod3b.c: Likewise.
61555         * elf/tst-auditmod4b.c: Likewise.
61556         * elf/tst-auditmod5b.c: Likewise.
61557         * elf/tst-auditmod6b.c: Likewise.
61558         * elf/tst-auditmod6c.c: Likewise.
61559         * elf/tst-auditmod7b.c: Likewise.
61560         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61561         * sysdeps/x86_64/preconfigure.in: Likewise.
61562         * sysdeps/x86_64/preconfigure: Regenerated.
61564 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61566         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61567         __ILP32__.
61569 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61571         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61572         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61574 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61576         [BZ #13973]
61577         * locale/iso-639.def: Fix gl language name. Spotted by
61578         Yaron Shahrabani.
61580 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61582         [BZ #2074]
61583         * libio/libio.h (__io_write_fn): Update comment.
61585 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61587         [BZ #2074]
61588         * stdio.texi (Hook Functions): The user provided writer function
61589         is not allowed to return -1.
61591 2012-04-11  David S. Miller  <davem@davemloft.net>
61593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61595 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61597         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61598         Add a leading slash to rtkaio.
61600 2012-04-11  Jim Meyering  <meyering@redhat.com>
61602         [BZ #11959]
61603         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61604         It is not necessarily an error to ignore fwrite's return
61605         value.  One can reliably use ferror to test for errors after
61606         the fact.
61608 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61610         * bits/types.h (__snseconds_t): New type.
61611         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61613         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61614         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61615         (__SNSECONDS_T_TYPE): Likewise.
61616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61617         (__SNSECONDS_T_TYPE): Likewise.
61618         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61619         (__SNSECONDS_T_TYPE): Likewise.
61621 2012-04-10  Andreas Jaeger  <aj@suse.de>
61623         [BZ #2636]
61624         * manual/time.texi (Processor Time): Return type of times is
61625         elapsed real time since an arbitrary point in the past.
61626         (CPU Time): Move CLK_TCK from here...
61627         (Processor Time): ...to here.  Correct description.
61628         * manual/conf.texi (Constants for Sysconf): Correct description of
61629         _SC_CLK_TCK.
61631 2012-04-10  David S. Miller  <davem@davemloft.net>
61633         [BZ #13967]
61634         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61635         where the is a gap between DT_REL(A) and DT_JMPREL.
61637 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61639         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61640         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61641         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61643 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61645         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61646         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61647         (dl_main): Handle --inhibit-cache.
61648         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61649         _dl_inhibit_cache.
61650         * elf/dl-load.c (_dl_map_object): Use it.
61651         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61653 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61655         [BZ #13872]
61656         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61657         (__ieee754_powl): Saturate large exponents rather than testing for
61658         overflow of y*log2(x).
61659         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61660         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61661         exceptions.
61663         [BZ #11521]
61664         * math/s_ctan.c: Include <float.h>.
61665         (__ctan): Avoid internal overflow or cancellation in calculating
61666         denominator.
61667         * math/s_ctanf.c: Likewise.
61668         * math/s_ctanl.c: Likewise.
61669         * math/s_ctanh.c: Likewise.
61670         * math/s_ctanhf.c: Likewise.
61671         * math/s_ctanhl.c: Likewise.
61672         * math/libm-test.inc (ctan_test): Add more tests.
61673         (ctanh_test): Likewise.
61674         * sysdeps/i386/fpu/libm-test-ulps: Update.
61675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61677 2012-04-09  Andreas Jaeger  <aj@suse.de>
61679         [BZ #6894]
61680         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61681         is an optional BSD extension.
61683         [BZ #10254]
61684         * manual/stdio.texi (Opening Streams): Document additional fopen
61685         parameters.
61687 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61689         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61690         %eax without telling the compiler.
61692 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61694         [BZ # 13963]
61695         * manual/install.texi: Use sourceware.org.
61697 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61699         [BZ #13873]
61700         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61701         (__ieee754_pow): Generate overflow and underflow using huge*huge
61702         and tiny*tiny rather than just returning constant infinity or zero
61703         for large exponents.
61704         * math/libm-test.inc (pow_test): Require overflow exceptions for
61705         applicable cases of large exponents.
61707         [BZ #706]
61708         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61709         (__ieee754_pow): Use iterative multiplication algorithm only for
61710         integer exponents with absolute value below 1024.  Check for odd
61711         integer exponents when using algorithm for real exponents.
61712         * math/libm-test.inc (pow_test): Add more tests.
61713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61715 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61717         [BZ #13705]
61718         * math/libm-test.inc (exp_test): Do not allow overflow exception
61719         on underflow test.
61721 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61723         [BZ #13705]
61724         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61725         instead of __kernel_standard_f.
61727 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
61729         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61730         * sysdeps/x86_64/memset_chk.S: Likewise.
61732 2012-04-08  Andreas Jaeger  <aj@suse.de>
61734         [BZ #10153]
61735         * manual/startup.texi (Environment Access): Describe return value
61736         for putenv and setenv.
61738         [BZ #6895]
61739         * manual/filesys.texi (Directory Entries): Add description for
61740         DT_LNK.
61742         [BZ #6890]
61743         * manual/filesys.texi (Directory Entries): Clarify that it's file
61744         system not operating system in the description of DT_UNKNOWN.
61746         [BZ #6578]
61747         * manual/syslog.texi (closelog): Fix reference, it's openlog.
61749 2012-04-08  Stephen Compall  <s11@member.fsf.org>
61751         [BZ #6649]
61752         * manual/llio.texi (Opening and Closing Files): Add cross
61753         reference to explain mode argument.
61755 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61757         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61758         * sysdeps/x86_64/memset_chk.S: Likewise.
61760 2012-04-07  David S. Miller  <davem@davemloft.net>
61762         * elf/elf.h (R_SPARC_WDISP10): Define.
61763         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61764         R_SPARC_SIZE32.
61765         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61766         R_SPARC_SIZE64 and R_SPARC_H34.
61768 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61770         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61771         conditions and remove no longer applicable assertion.
61773 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61775         * bits/byteswap.h: Include <features.h>.
61776         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61777         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61779 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61781         * bits/byteswap.h (__bswap_16): Removed.
61782         Include <bits/byteswap-16.h> to get __bswap_16.
61783         * sysdeps/i386/bits/byteswap.h: Likewise.
61784         * sysdeps/s390/bits/byteswap.h: Likewise.
61785         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61786         * bits/byteswap-16.h: New file.
61787         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61788         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61789         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61790         * string/Makefile (headers): Add bits/byteswap-16.h.
61792 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61794         [BZ #13895]
61795         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61796         extra indirection.
61797         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61798         * nss/tst-nss-static.c: New.
61800 2012-04-06  Robert Millan  <rmh@gnu.org>
61802         [BZ #6486]
61803         * manual/llio.texi (File Position Primitive): lseek
61804         refers to WHENCE when it really means OFFSET.
61806 2012-04-06  Andreas Jaeger  <aj@suse.de>
61808         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
61809         strncmp declarations.
61811         * abilist/libc.abilist: Add __poll and __ppoll.
61813 2012-04-05  David S. Miller  <davem@davemloft.net>
61815         * scripts/check-local-headers.sh: Accept a host triplet in the
61816         path matched by the exclude regexp.
61818         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
61819         definition.
61820         * sysdeps/powerpc/powerpc32/dl-machine.h
61821         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
61822         * sysdeps/s390/s390-32/dl-machine.h
61823         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61824         * sysdeps/sparc/sparc32/dl-machine.h
61825         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61826         * sysdeps/sparc/sparc64/dl-machine.h
61827         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
61829         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
61830         lazy binding.
61831         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
61832         undefined symbol errors.
61834         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
61835         DT_NEEDED entries.
61837 2012-04-05  Michael Matz  <matz@suse.de>
61839         [BZ #13592]
61840         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
61842 2012-04-05  Andreas Jaeger  <aj@suse.de>
61844         [BZ #13908]
61845         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
61846         comment.
61848 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61850         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
61851         which ROUND is no valid rounding mode.
61853 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61855         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
61856         read again.
61857         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
61859 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61861         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
61862         an exception using FPU order intentionally.
61864 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61866         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
61867         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
61868         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
61869         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
61871 2012-04-05  Simon Josefsson  <simon@josefsson.org>
61873         [BZ #12340]
61874         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
61875         EINVAL when BUFLEN is too smal.
61877 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61879         [BZ #13553]
61880         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
61881         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
61883 2012-04-03  Andreas Jaeger  <aj@suse.de>
61885         [BZ #13938]
61886         * manual/setjmp.texi (System V contexts): Fix sentence.
61888         [BZ #13926]
61889         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
61890         New macro for this case.
61891         [!__GNUC__] (__bswap_64): New inline function for this case.
61892         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61893         * bits/byteswap.h: Likewise.
61894         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
61895         ull, guard with __GLIBC_HAVE_LONG_LONG.
61897         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
61898         __GLIBC_HAVE_LONG_LONG.
61900         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
61901         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61903 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61905         [BZ #13691]
61906         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
61907         inptr and inend, rather than using last_ch.
61909 2012-04-02  David S. Miller  <davem@davemloft.net>
61911         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
61912         * stdio-common/printf-parse.h (read_int): Change return type to
61913         'int', return -1 on INT_MAX overflow.
61914         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
61915         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
61916         overflows INT_MAX.  Check for overflow of in-format-string precision
61917         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
61918         SIZE_MAX not INT_MAX for integer overflow test.
61919         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
61920         skip the construct in the format string but do not record anything.
61921         * stdio-common/bug22.c: Adjust to test both width/prevision
61922         INT_MAX overflow as well as total length INT_MAX overflow.  Check
61923         explicitly for proper errno values.
61925 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61927         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
61928         CHAR_MAX.
61929         * string/test-strcmp.c [! WIDE]: Likewise.
61930         * time/tst-mktime2.c: Likewise for INT_MAX.
61931         * string/test-string.h: #include <sys/param.h> for MIN.
61933         * csu/init-first.c (__libc_init_first): Call __ctype_init.
61934         * sysdeps/i386/init-first.c (init): Likewise.
61935         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
61936         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
61937         * sysdeps/sh/init-first.c (init): Likewise.
61939 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
61941         * po/ru.po: Update from translation team.
61942         * po/vi.po: Likewise.
61944 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61946         * resolv/nss_dns/dns-host.c: Merge copyright years.
61948 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61950         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61951         Optimize memcpy with prefetch if
61952         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
61953         src, dst pointers have unequal 16 byte alignments.
61955 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61957         [BZ #13928]
61958         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
61959         from a CNAME entry and return the minimum ttl for the query.
61960         (gaih_getanswer_slice): Likewise.
61962 2012-03-30  Jeff Law  <law@redhat.com>
61964         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
61965         due to long keys.
61966         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
61967         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
61969         * resolv/nss_dns/dns-host.c: Update copyright year.
61971 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
61973         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
61974         requests to save a system call.  Fix check that all bytes are sent.
61976         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
61977         comments for sendmmsg.
61979 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61981         [BZ #13691]
61982         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
61983         with only 1 character between 0x0041 and 0x01b0.
61984         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
61985         * wcsmbs/tst-mbsnrtowcs.c: New file.
61987 2012-03-29  David S. Miller  <davem@davemloft.net>
61989         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
61990         small copies by hand.
61992 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61994         [BZ #13761]
61995         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
61996         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
61997         group memberships.
61999 2012-03-28  David S. Miller  <davem@davemloft.net>
62001         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62002         that branches into memcpy.
62003         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62004         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62005         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62006         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62007         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62008         bits.
62009         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62010         implementation too.
62011         * sysdeps/sparc/mempcpy.S: New file.
62013         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62014         the IFUNC routine in the libc case.
62015         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62017         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62018         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62019         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62020         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62021         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62022         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62023         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62024         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62026         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62027         loop to 256 bytes instead of 64 bytes and fix test signedness.
62029         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62030         * sysdeps/sparc/sparc32/Makefile: rather than here...
62031         * sysdeps/sparc/sparc64/Makefile: and here.
62033 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
62035         * malloc/mallocbug.c: Avoid warnings about unused variables.
62037 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62039         [BZ #13760]
62040         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62041         in the right place. Discard and retry query if response is
62042         larger than input buffer size.
62044 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
62046         [BZ #369]
62047         [BZ #2678]
62048         [BZ #3866]
62049         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62050         x for large integer exponent.
62051         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62052         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
62053         sign of result as needed afterwards.
62054         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62055         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62056         result for underflowing pow the same as for overflow.
62057         (__kernel_standard_l): Handle powl overflow and underflow here
62058         rather than calling __kernel_standard.
62059         * math/libm-test.inc (pow_test): Add more tests.
62061         [BZ #3868]
62062         [BZ #13879]
62063         [BZ #13910]
62064         [BZ #13911]
62065         [BZ #13912]
62066         [BZ #13913]
62067         [BZ #13915]
62068         [BZ #13916]
62069         [BZ #13917]
62070         [BZ #13918]
62071         [BZ #13919]
62072         [BZ #13920]
62073         [BZ #13921]
62074         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62075         * sysdeps/ieee754/k_standard.c: Include <float.h>.
62076         (__kernel_standard_l): New function.
62077         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62078         __kernel_standard.
62079         * math/w_acosl.c (__acosl): Likewise.
62080         * math/w_asinl.c (__asinl): Likewise.
62081         * math/w_atan2l.c (__atan2l): Likewise.
62082         * math/w_atanhl.c (__atanhl): Likewise.
62083         * math/w_coshl.c (__coshl): Likewise.
62084         * math/w_exp10l.c (__exp10l): Likewise.
62085         * math/w_exp2l.c (__exp2l): Likewise.
62086         * math/w_fmodl.c (__fmodl): Likewise.
62087         * math/w_hypotl.c (__hypotl): Likewise.
62088         * math/w_j0l.c (__j0l, __y0l): Likewise.
62089         * math/w_j1l.c (__j1l, __y1l): Likewise.
62090         * math/w_jnl.c (__jnl, __ynl): Likewise.
62091         * math/w_lgammal.c (__lgammal): Likewise.
62092         * math/w_log10l.c (__log10l): Likewise.
62093         * math/w_log2l.c (__log2l): Likewise.
62094         * math/w_logl.c (__logl): Likewise.
62095         * math/w_powl.c (__powl): Likewise.
62096         * math/w_remainderl.c (__remainderl): Likewise.
62097         * math/w_scalbl.c (sysv_scalbl): Likewise.
62098         * math/w_sinhl.c (__sinhl): Likewise.
62099         * math/w_sqrtl.c (__sqrtl): Likewise.
62100         * math/w_tgammal.c (__tgammal): Likewise.
62101         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62102         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62103         * math/libm-test.inc (acos_test): Add more tests.
62104         (acosh_test): Likewise.
62105         (asin_test): Likewise.
62106         (atanh_test): Likewise.
62107         (exp_test): Likewise.
62108         (exp10_test): Likewise.
62109         (exp2_test): Likewise.
62110         (expm1_test): Likewise.
62111         (lgamma_test): Likewise.
62112         (log_test): Likewise.
62113         (log10_test): Likewise.
62114         (log1p_test): Likewise.
62115         (log2_test): Likewise.
62116         (pow_test): Do not allow some spurious overflow exceptions.
62117         (sqrt_test): Add more tests.
62118         (tgamma_test): Likewise.
62119         (y0_test): Likewise.
62120         (y1_test): Likewise.
62121         (yn_test): Likewise.
62123 2012-03-27  Anton Blanchard  <anton@samba.org>
62125         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62126         MAP_HUGETLB.
62127         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62128         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62129         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62131 2012-03-27  David S. Miller  <davem@davemloft.net>
62133         * conform/Makefile: Run run-conformtest.sh using $(BASH).
62135         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62136         have-as-vis3 check.
62138 2012-03-27  Andreas Jaeger  <aj@suse.de>
62140         * sysdeps/x86_64/elf/configure.in: Moved to ...
62141         * sysdeps/x86_64/configure.in: ... here.
62142         * sysdeps/x86_64/elf/start.S: Moved to ...
62143         * sysdeps/x86_64/start.S: ... here.
62144         * sysdeps/x86_64/elf/configure: Delete.
62146         * sysdeps/x86_64/configure.in: Merge contents from
62147         sysdeps/i386/configure.in (without i686 check).
62149         * sysdeps/i386/elf/Versions: Merge into ...
62150         * sysdeps/i386/Versions: ... this.
62151         * sysdeps/i386/elf/Versions: Delete file.
62152         * sysdeps/i386/elf/start.S: Moved to ...
62153         * sysdeps/i386/start.S: ...here.
62154         * sysdeps/i386/elf/configure.in: Merge into...
62155         * sysdeps/i386/configure.in: ...here.
62156         * sysdeps/i386/elf/configure.in: Delete file.
62157         * sysdeps/i386/elf/configure: Delete file.
62159         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62160         * debug/backtracesyms.c: ... here.
62161         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62162         * debug/backtracesymsfd.c: ... here.
62163         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62164         * sysdeps/generic/ifunc-sel.h: ... here.
62166         * sysdeps/unix/i386/start.c: Delete file.
62167         * sysdeps/unix/sparc/start.c: Delete file.
62168         * sysdeps/unix/start.c: Delete file.
62170         * sysdeps/sh/elf/configure.in: Moved to ...
62171         * sysdeps/sh/configure.in: ... here.
62172         * sysdeps/sh/elf/start.S: Moved to ...
62173         * sysdeps/sh/start.S: ... here.
62174         * sysdeps/sh/elf/configure: Delete file.
62176         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62177         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62178         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62179         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62180         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62181         * sysdeps/powerpc/powerpc64/start.S: here.
62182         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62183         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62184         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62185         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62186         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62188         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62189         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62190         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62191         * sysdeps/powerpc/powerpc32/start.S: ... here.
62192         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62193         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62194         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62196         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62197         * sysdeps/powerpc/ifunc-sel.h: ... here.
62198         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62199         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62201         * sysdeps/sparc/elf/configure.in: Moved to ...
62202         * sysdeps/sparc/configure.in: ... here.
62203         * sysdeps/sparc/elf/configure: Delete file.
62204         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62205         * sysdeps/sparc/sparc32/start.S: ... here.
62206         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62207         * sysdeps/sparc/sparc64/start.S: ... here.
62208         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62209         * sysdeps/sparc/sparc32/Makefile: ... this.
62210         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62211         * sysdeps/sparc/sparc64/Makefile: ... this.
62213         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62214         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62215         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62216         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62217         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62218         * sysdeps/s390/s390-32/setjmp.S: ... here.
62219         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62220         * sysdeps/s390/s390-32/configure.in: ... here.
62221         * sysdeps/s390/s390-32/elf/configure: Delete file.
62222         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62223         * sysdeps/s390/s390-32/start.S: ... here.
62225         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62226         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62227         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62228         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62229         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62230         * sysdeps/s390/s390-64/setjmp.S: ... here.
62231         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62232         * sysdeps/s390/s390-64/configure.in: ... here
62233         * sysdeps/s390/s390-64/elf/configure: Delete file.
62234         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62235         * sysdeps/s390/s390-64/start.S: ... here.
62236         * sysdeps/s390/s390-64/elf/configure: Delete.
62238         * configure.in: Remove support for elf directories in sysdeps.
62240         * configure: Regenerated.
62241         * sysdeps/i386/configure: Regenerated.
62242         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62243         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62244         * sysdeps/s390/s390-32/configure: Regenerated.
62245         * sysdeps/s390/s390-64/configure: Regenerated.
62246         * sysdeps/sh/configure: Regenerated.
62247         * sysdeps/sparc/configure: Regenerated.
62248         * sysdeps/x86_64/configure: Regenerated.
62250 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62254         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62255         denormal result into account.
62257 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62259         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62260         Reported by Allan McRae <allan@archlinux.org>.
62262 2012-03-23  Jeff Law  <law@redhat.com>
62264         * nss/getnssent.c (__nss_getent): Fix typo.
62266 2012-03-23  David S. Miller  <davem@davemloft.net>
62268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62270 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
62272         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62273         to pad to uint64_t for each field.
62274         (dl_tls_index): Replace unsigned long with uint64_t.
62276 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
62277         Paul Pluzhnikov  <ppluzhnikov@google.com>
62279         [BZ #6528]
62280         * grp/Makefile (otherlibs): Don't set it.
62281         * inet/Makefile (otherlibs): Likewise.
62282         * login/Makefile (otherlibs): Likewise.
62283         * nscd/Makefile (otherlibs): Likewise.
62284         * posix/Makefile (otherlibs): Likewise.
62285         * pwd/Makefile (otherlibs): Likewise.
62286         * rt/Makefile (otherlibs): Likewise.
62287         * sunrpc/Makefile (otherlibs): Likewise.
62288         * nss/Makefile (otherlibs): Likewise.
62289         Add libnss_files to routines and static-only-routines.
62290         ($(objpfx)getent): Remove rule.
62291         * resolv/Makefile: Add libnss_dns and libresolv to routines and
62292         static-only-routines.
62294 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62296         [BZ #13892]
62297         * math/s_cexp.c: Include <float.h>.
62298         (__cexp): Handle exp result overflowing not necessarily
62299         overflowing both real and imaginary parts of result.
62300         * math/s_cexpf.c: Likewise.
62301         * math/s_cexpl.c: Likewise.
62302         * math/libm-test.inc (cexp_test): Add more tests.
62303         * sysdeps/i386/fpu/libm-test-ulps: Update.
62304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62306 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62308         * include/link.h (ELFW): New macro.
62309         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62310         Replace ELF64_R_TYPE with ELFW(R_TYPE).
62312 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62314         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62315         with uint64_t.
62317 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62319         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62320         declaration.
62321         (struct La_x32_retval): Likewise.
62323 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62325         * sysdeps/x86_64/preconfigure.in: New file.
62326         * sysdeps/x86_64/preconfigure: New generated file.
62328 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62330         [BZ #13824]
62331         * math/e_exp2l.c: Include <float.h>.
62332         (__ieee754_exp2l): Handle overflow and underflow cases
62333         separately.  Only pass fractional part of argument to
62334         __ieee754_expl.
62335         * math/libm-test.inc (exp2_test): Add more tests.
62337         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62338         negating x to take absolute value.
62339         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62340         Likewise.
62341         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62342         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62343         Likewise.
62344         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62345         computing low part if x was negated.
62346         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62348 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62350         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62351         la_x32_gnu_pltexit.
62352         (pltexit): Cast int_retval to ptrdiff_t.
62353         * elf/tst-auditmod3b.c: Likewise.
62354         * elf/tst-auditmod4b.c: Likewise.
62355         * elf/tst-auditmod5b.c: Likewise.
62356         * elf/tst-auditmod6b.c: Likewise.
62357         * elf/tst-auditmod6c.c: Likewise.
62358         * elf/tst-auditmod7b.c: Likewise.
62360         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62361         and x32_gnu_pltexit.
62363         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62364         __ELF_NATIVE_CLASS.
62365         (La_x32_regs): New macro.
62366         (La_x32_retval): Likewise.
62367         (la_x32_gnu_pltenter): New function prototype.
62368         (la_x32_gnu_pltexit): Likewise.
62370 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62372         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62373         exponent.
62375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62377         * configure.in (libc_cv_cc_nofma): Check for option to disable
62378         generation of FMA instructions.
62379         * configure: Regenerate.
62380         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62381         * sysdeps/ieee754/dbl-64/Makefile: New file.
62382         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62383         Remove brandred-fma4.
62384         (CFLAGS-brandred-fma4.c): Remove.
62385         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62386         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62387         define.
62388         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62389         define.
62391 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62393         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62394         LLONG_MAX != LONG_MAX.
62395         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62396         (_fitoa_word): Likewise.
62397         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62398         LLONG_MAX != LONG_MAX.
62399         * stdio-common/_itowa.h: Include <_itoa.h>.
62400         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62401         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62402         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62403         only if not defined.
62404         (_ITOA_WORD_TYPE): Likewise.
62405         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62406         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62408 2012-03-21  David S. Miller  <davem@davemloft.net>
62410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62412 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62414         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62415         of x86_64 when setting libc_cv_slibdir, libdir and
62416         libc_cv_localedir.
62417         * sysdeps/unix/sysv/linux/configure: Regenerated.
62419 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62421         * manual/lang.texi (Old Varargs): Remove section.
62422         (How Variadic): Update menu.
62423         (va_start): Do not mention varargs.h.
62425 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62426             Joseph Myers  <joseph@codesourcery.com>
62428         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62429         link test.
62430         * configure: Regenerated.
62432 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62434         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62435         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62436         conformtest.pl
62438 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62440         * NOTES: Remove.
62441         * Makefile (files-for-dist): Remove NOTES.
62442         (NOTES): Remove rule.
62443         * README: Don't refer to NOTES.
62444         * manual/creature.texi: Don't include macros.texi.
62445         * manual/intro.texi (creature.texi): Remove comment referring to
62446         NOTES.
62448         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62449         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62450         * configure: Regenerated.
62451         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62452         LIBC_TRY_CC_OPTION.
62453         (libc_cv_as_i686): Likewise.
62454         (libc_cv_cc_avx): Likewise.
62455         (libc_cv_cc_sse2avx): Likewise.
62456         (libc_cv_cc_fma4): Likewise.
62457         (libc_cv_cc_novzeroupper): Likewise.
62458         * sysdeps/i386/configure: Regenerated.
62460         [BZ #13883]
62461         * sysdeps/i386/fpu/s_cexp.S: Remove.
62462         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62463         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62464         * math/libm-test.inc (cexp_test): Add more tests.
62465         * sysdeps/i386/fpu/libm-test-ulps: Update.
62466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62468 2012-03-21  Allan McRae  <allan@archlinux.org>
62470         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62472 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62474         [BZ #13871]
62475         * math/w_exp2.c: Do not include <float.h>.
62476         (o_threshold, u_threshold): Remove.
62477         (__exp2): Calculate result before checking finiteness and calling
62478         __kernel_standard.
62479         * math/w_exp2f.c: Likewise.
62480         * math/w_exp2l.c: Likewise.
62481         * math/libm-test.inc (exp2_test): Require overflow exception for
62482         1e6 input.
62484         [BZ #3866]
62485         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62486         range of signed 64-bit integers before using fistpll.  Remove
62487         checks for whether integers fit in mantissa bits.
62488         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62489         the range of signed 32-bit integers before using fistpl.  Remove
62490         checks for whether integers fit in mantissa bits.
62491         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62492         (__ieee754_powl): Test for y outside the range of signed 64-bit
62493         integers before using fistpll.  Reduce 64-bit values to 63-bit
62494         ones as needed.
62495         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62496         divide-by-zero is raised for zero to large negative powers.
62497         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62498         (__ieee754_powl): Test for y outside the range of signed 64-bit
62499         integers before using fistpll.  Reduce 64-bit values to 63-bit
62500         ones as needed.
62501         * math/libm-test.inc (pow_test): Add more tests.
62503 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62505         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62506         <stdio-common/_itoa.h>.
62507         * debug/segfault.c: Likewise.
62508         * elf/dl-cache.c: Likewise.
62509         * elf/dl-minimal.c: Likewise.
62510         * elf/dl-misc.c: Likewise.
62511         * elf/dl-sysdep.c: Likewise.
62512         * elf/dl-version.c: Likewise.
62513         * elf/rtld.c: Likewise.
62514         * hurd/hurdsock.c: Likewise.
62515         * hurd/lookup-retry.c: Likewise.
62516         * malloc/malloc.c: Likewise.
62517         * malloc/mtrace.c: Likewise.
62518         * nscd/nscd_getgr_r.c: Likewise.
62519         * nscd/nscd_getpw_r.c: Likewise.
62520         * nscd/nscd_getserv_r.c: Likewise.
62521         * posix/getopt_init.c: Likewise.
62522         * posix/wordexp.c: Likewise.
62523         * stdio-common/_itoa.c: Likewise.
62524         * stdio-common/printf_fphex.c: Likewise.
62525         * stdio-common/vfprintf.c: Likewise.
62526         * string/_strerror.c: Likewise.
62527         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62528         * sysdeps/i386/i686/hp-timing.h: Likewise.
62529         * sysdeps/mach/_strerror.c: Likewise.
62530         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62531         * sysdeps/mach/hurd/sethostid.c: Likewise.
62532         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62533         * sysdeps/mach/xpg-strerror.c: Likewise.
62534         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62535         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62536         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62537         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62538         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62539         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62540         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62541         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62542         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62543         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62544         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62545         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62546         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62547         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62548         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62549         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62550         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62551         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62552         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62553         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62554         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62556         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62558         * stdio-common/_itoa.h: Moved to ...
62559         * sysdeps/generic/_itoa.h: Here.
62561         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62563         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62564         instead of "_itoa.h" and "_itowa.h".
62565         * stdio-common/vfprintf.: Likewise.
62567 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62569         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62570         <bits/wordsize.h>.
62571         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62572         (__signbit): Likwise.
62573         (llrintf): Likwise.
62574         (llrint): Likwise.
62576 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62578         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62579         __WORDSIZE != 64.
62581 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62583         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62584         OVERFLOW_EXCEPTION_OK.
62585         * math/libm-test.inc ("Philosophy"): Update comment about
62586         exception testing.
62587         (OVERFLOW_EXCEPTION): Define.
62588         (OVERFLOW_EXCEPTION_OK): Likewise.
62589         (INVALID_EXCEPTION_OK): Renumber.
62590         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62591         (IGNORE_ZERO_INF_SIGN): Likewise.
62592         (test_exceptions): Handle FE_OVERFLOW.
62593         (exp10_test): Expect overflow exceptions.
62594         (exp2_test): Likewise.
62595         (expm1_test): Likewise.
62596         (nextafter_test): Likewise.
62597         (pow_test): Likewise.
62598         (scalbn_test): Likewise.
62599         (scalbln_test): Likewise.
62601 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62603         * sysdeps/x86_64/bits/atomic.h
62604         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62605         64bit integer.
62606         (atomic_exchange_acq): Likewise.
62607         (__arch_exchange_and_add_body): Likewise.
62608         (__arch_add_body): Likewise.
62609         (atomic_add_negative): Likewise.
62610         (atomic_add_zero): Likewise.
62612 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62614         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62615         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62619         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62620         Check __x86_64__ instead of __WORDSIZE.
62622 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62624         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62626 2012-03-19  David S. Miller  <davem@davemloft.net>
62628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62630         * sysdeps/sparc/fpu/fenv_private.h: New file.
62631         * sysdeps/sparc/fpu/math_private.h: Use it.
62632         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62633         Remove.
62634         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62635         (libc_feholdexcept_setroundl): Remove.
62636         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62637         Remove.
62638         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62639         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62641 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62643         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62644         int64_t instead of long int.
62645         (INSERT_WORDS64): Likwise.
62647 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62649         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62650         _Unwind_GetCFA return to _Unwind_Ptr first.
62652 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62654         [BZ #13629]
62655         * math/s_clog.c: Include <float.h>.
62656         (__clog): Scale large or subnormal inputs.
62657         * math/s_clogf.c: Likewise.
62658         * math/s_clogl.c: Likewise.
62659         * math/s_clog10.c: Include <float.h>.
62660         (M_LOG10_2): Define.
62661         (__clog10): Scale large or subnormal inputs.
62662         * math/s_clog10f.c: Likewise.
62663         * math/s_clog10l.c: Likewise.
62664         * math/libm-test.inc (clog_test): Add more tests.
62665         (clog10_test): Likewise.
62666         * sysdeps/i386/fpu/libm-test-ulps: Update.
62667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62669         [BZ #11451]
62670         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62671         x and y.
62672         * math/libm-test.inc (atan2_test): Add another test.
62674         * Makerules (common-objdir-compile): Remove.
62675         * sysdeps/unix/Makefile (config-generated): Do not add
62676         $(unix-generated) to variable.
62677         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62678         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62679         Remove rule.
62680         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62681         Likewise.
62682         [generic bits/local_lim.h] (before-compile): Do not append to
62683         variable.
62684         [generic bits/local_lim.h] (common-generated): Likewise.
62685         [generic sys/param.h] (before-compile): Do not append to variable.
62686         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62687         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62688         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62689         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62690         include.
62691         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62692         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62693         [generic sys/param.h] ($(addprefix
62694         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62695         [generic sys/param.h] (common-generated): Do not append to
62696         variable.
62697         [generic sys/param.h] (sysdep_headers): Likewise.
62698         [generic bits/errno.h] (before-compile): Do not append to
62699         variable.
62700         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62701         rule.
62702         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62703         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62704         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62705         [generic bits/errno.h] (common-generated): Do not append to
62706         variable.
62707         [generic bits/ioctls.h] (before-compile): Do not append to
62708         variable.
62709         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62710         rule.
62711         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62712         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62713         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62714         rule.
62715         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62716         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62717         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62718         [generic bits/ioctls.h] (common-generated): Do not append to
62719         variable.
62720         [generic sys/syscall.h] (syscall.h): Remove variable.
62721         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62722         rule.
62723         [generic sys/syscall.h] (before-compile): Do not append to
62724         variable.
62725         [generic sys/syscall.h] (common-generated): Likewise.
62726         * sysdeps/unix/errnos-tmpl.c: Remove file.
62727         * sysdeps/unix/errnos.awk: Likewise.
62728         * sysdeps/unix/ioctls-tmpl.c: Likewise.
62729         * sysdeps/unix/ioctls.awk: Likewise.
62730         * sysdeps/unix/mk-local_lim.c: Likewise.
62731         * sysdeps/unix/snarf-ioctls: Likewise.
62733 2012-03-19  Richard Henderson  <rth@twiddle.net>
62735         * sysdeps/i386/fpu/fenv_private.h: New file.
62736         * sysdeps/i386/fpu/math_private.h: Use it.
62737         (math_opt_barrier, math_force_eval): Remove.
62738         (libc_feholdexcept_setround_53bit): Remove.
62739         (libc_feupdateenv_53bit): Remove.
62740         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62741         (math_opt_barrier, math_force_eval): Remove.
62742         (libc_feholdexcept): Remove.
62743         (libc_feholdexcept_setround): Remove.
62744         (libc_fetestexcept, libc_fesetenv): Remove.
62745         (libc_feupdateenv_test): Remove.
62746         (libc_feupdateenv, libc_feholdsetround): Remove.
62747         (libc_feresetround): Remove.
62749         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62750         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62752         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62753         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62754         (libc_feupdateenv_testl): New.
62755         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62756         (libc_feupdateenv_testf): New.
62757         (libc_feupdateenv): Use libc_feupdateenv_test.
62758         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62759         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62761         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62762         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62763         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62764         (libc_feresetround_noex): New.
62765         (libc_feresetround_noexf): New.
62766         (libc_feresetround_noexl): New.
62767         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62768         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62769         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62770         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62771         SET_RESTORE_ROUND.
62772         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62773         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62774         (__cos): Likewise.
62775         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62776         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62777         SET_RESTORE_ROUND_NOEX.
62778         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62779         SET_RESTORE_ROUND_NOEXF.
62780         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62781         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62782         (libc_feholdsetroundf): New.
62783         (libc_feresetround, libc_feresetroundf): New.
62785         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62786         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62787         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62789         * sysdeps/generic/math_private.h: Include <fenv.h>.
62790         (default_libc_feholdexcept): New.
62791         (default_libc_feholdexcept_setround): New.
62792         (default_libc_fesetenv, default_libc_feupdateenv): New.
62793         (libc_feholdexcept): Only define if undefined.
62794         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62795         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62796         (libc_feholdexcept_setroundl): Likewise.
62797         (libc_feholdexcept_setround_53bit): Likewise.
62798         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62799         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
62800         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
62801         (libc_feupdateenv_53bit): Likewise.
62802         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
62803         (libc_feholdexcept): Convert from macro to inline function.
62804         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
62805         (libc_fesetenv, libc_feupdateenv): Likewise.
62807         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
62808         not previously defined.
62809         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
62810         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62811         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
62812         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
62813         * sysdeps/ieee754/flt-32/math_private.h: New file.
62814         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
62815         math_private.h below SET_FLOAT_WORD.
62816         (__isnan, __isinf_ns, __finite): Remove.
62817         (__isnanf, __isinf_nsf, __finitef): Remove.
62819 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
62821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62823 2012-03-17  David S. Miller  <davem@davemloft.net>
62825         [BZ #6471]
62826         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
62827         for 2.16.
62829 2012-03-16  David S. Miller  <davem@davemloft.net>
62831         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
62832         warnings.
62834         [BZ #6471]
62835         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
62836         properly.
62837         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
62838         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
62839         sysdep_routines when subdir is sysvipc.
62840         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
62841         __getshmlba helper.
62843         * sysdeps/sparc/fpu/libm-test/ulps: Update.
62845 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62847         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
62848         [__LP64__].
62850 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62852         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
62853         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
62854         (__lround): Renamed to ...
62855         (__llround): This.  Replace long int with long long int.
62856         Define lround functions as aliases of llround functions.
62857         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
62859 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62861         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
62862         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
62863         adresses to uintptr_t.  Replace "long int" and "unsigned long
62864         int" with "greg_t" on va_arg.
62866 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62868         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
62869         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
62871         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
62872         Move e_machine check before EI_CLASS check.  Handle x32
62873         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
62874         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
62875         SKIP_EM_IA_64 and include
62876         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
62878         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
62879         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62880         (add_system_dir): New macro.
62882         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
62883         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
62885 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62887         [BZ #2551]
62888         [BZ #2552]
62889         [BZ #2553]
62890         [BZ #2554]
62891         [BZ #2562]
62892         [BZ #2563]
62893         [BZ #2565]
62894         [BZ #2566]
62895         [BZ #2576]
62896         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
62897         (y0): Likewise.
62898         * math/w_j0f.c (j0f): Likewise.
62899         (y0f): Likewise.
62900         * math/w_j0l.c (__j0l): Likewise.
62901         (__y0l): Likewise.
62902         * math/w_j1.c (j1): Likewise.
62903         (y1): Likewise.
62904         * math/w_j1f.c (j1f): Likewise.
62905         (y1f): Likewise.
62906         * math/w_j1l.c (__j1l): Likewise.
62907         (__y1l): Likewise.
62908         * math/w_jn.c (jn): Likewise.
62909         (yn): Likewise.
62910         * math/w_jnf.c (jnf): Likewise.
62911         (ynf): Likewise.
62912         * math/w_jnl.c (__jnl): Likewise.
62913         (__ynl): Likewise.
62914         * math/libm-test.inc (j0_test): Add more tests.
62915         (j1_test): Likewise.
62916         (jn_test): Likewise.  Add trailing semicolon to existing test.
62917         (y0_test): Likewise.
62918         (y1_test): Likewise.
62919         * sysdeps/i386/fpu/libm-test-ulps: Update.
62920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62922         [BZ #13851]
62923         [BZ #13854]
62924         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
62925         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
62926         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
62927         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
62928         (__tanl): Set errno for infinite argument.
62929         * sysdeps/i386/fpu/mptan.c: Remove.
62930         * sysdeps/i386/fpu/s_tan.S: Likewise.
62931         * sysdeps/i386/fpu/s_tanl.S: Likewise.
62932         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
62933         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
62934         * math/libm-test.inc (tan_test): Add more tests and enable more
62935         tests for double and long double.
62936         * sysdeps/i386/fpu/libm-test-ulps: Update.
62937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62939 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
62941         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
62942         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
62944 2012-03-16  Roland McGrath  <roland@hack.frob.com>
62946         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
62947         * configure.in: Use it for both main tree and add-ons.
62948         * configure: Regenerated.
62950 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
62952         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
62954 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
62956         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
62957         in comment.
62959         [BZ #13851]
62960         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
62961         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
62962         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
62963         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
62964         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
62965         infinite argument.
62966         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
62967         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
62968         != 0 for prec == 2.
62969         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
62970         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
62971         * sysdeps/i386/fpu/s_cosl.S: Likewise.
62972         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
62973         * sysdeps/i386/fpu/s_sinl.S: Likewise.
62974         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
62975         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
62976         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
62977         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
62978         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
62979         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
62980         * math/libm-test.inc (cos_test): Add more tests and enable more
62981         tests for long double.
62982         (sin_test): Likewise.
62983         (sincos_test): Likewise.
62984         * sysdeps/i386/fpu/libm-test-ulps: Update.
62985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62987 2012-03-16  David S. Miller  <davem@davemloft.net>
62989         * sysdeps/sparc/fpu/math_private.h: New file.
62991 2012-03-15  David S. Miller  <davem@davemloft.net>
62993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
62994         file.
62995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
62996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
62997         file.
62998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
62999         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63003         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63004         sysdep routines.
63005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63007         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63008         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63010         * sysdeps/sparc/sparc-ifunc.h: New file.
63011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63012         sparc-ifunc.h
63013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63015         Likewise.
63016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63017         Likewise.
63018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63022         Likewise.
63023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63028         Likewise.
63029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63030         Likewise.
63031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63037         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63038         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63041         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63042         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63043         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63044         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63049         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63050         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63051         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63052         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63053         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63054         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63056 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63058         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63059         scaling.
63060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63062 2012-03-15  Andreas Jaeger  <aj@suse.de>
63064         [BZ #13852]
63065         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63066         ieee754/flt-32 implementation for sin, cos and sincos.
63067         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63068         * sysdeps/i386/fpu/s_cosf.S: Likewise.
63069         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63070         * sysdeps/i386/fpu/s_sinf.S: Likewise.
63071         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63072         ieee754/flt-32 implementation for tan.
63074         * math/libm-test.inc (cos_test): Enable some large input tests for
63075         float as well
63076         (sin_test): Likewise.
63077         (sincos_test): Likewise.
63078         (tan_test): Add tests for large input.
63080         * sysdeps/i386/fpu/libm-test-ulps: Update.
63082 2012-03-15  Andreas Jaeger  <aj@suse.de>
63084         [BZ #13658]
63085         * math/libm-test.inc (cos_test): Add more test cases.
63086         (sin_test): Likewise.
63087         (sincos_test): Likewise.
63089 2012-03-15  Andreas Jaeger  <aj@suse.de>
63091         [BZ #13837]
63092         * math/libm-test.inc (cos_test): Add a test case for large input
63093         value.
63094         (sin_test): Likewise.
63095         (sincos_test): Likewise.
63097 2012-03-15  Andreas Jaeger  <aj@suse.de>
63098             Joseph Myers  <joseph@codesourcery.com>
63100         [BZ #13658]
63101         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63102         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63103         * sysdeps/i386/fpu/branred.c: Likewise.
63104         * sysdeps/i386/fpu/dosincos.c: Likewise.
63105         * sysdeps/i386/fpu/mpa.c: Likewise.
63106         * sysdeps/i386/fpu/s_cos.S: Likewise.
63107         * sysdeps/i386/fpu/s_sin.S: Likewise.
63108         * sysdeps/i386/fpu/s_sincos.S: Likewise.
63109         * sysdeps/i386/fpu/sincos32.c: Likewise.
63111         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63112         Define.
63113         (libc_feupdateenv_53bit): Define.
63114         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63115         Define.
63116         (libc_feupdateenv_53bit): Define.
63118         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63119         53 bit (without extend i386 double precision).
63121         * math/libm-test.inc (sincos_test): Add tests for large input.
63122         (sin): Likewise.
63123         (cos): Likewise.
63125         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63127 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63131 2012-03-15  David S. Miller  <davem@davemloft.net>
63133         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63134         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63135         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63136         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63149         file.
63150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63152         file.
63153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63155         file.
63156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63158         file.
63159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63160         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63161         fmin/fmax sysdep routines.
63162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63164 2012-03-14  David S. Miller  <davem@davemloft.net>
63166         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63167         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63170         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63171         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63172         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63173         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63174         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63175         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63178         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63179         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63180         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63181         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63182         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63183         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63184         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63186         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63187         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63188         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63189         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63190         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63191         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63192         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63193         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63194         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63195         routines.
63196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63197         file.
63198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63200         file.
63201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63203         file.
63204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63206         file.
63207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63209         file.
63210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63212         file.
63213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63214         file.
63215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63216         file.
63217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63218         file.
63219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63220         New file.
63221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63222         file.
63223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63224         file.
63225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63227         file.
63228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63230         file.
63231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63233         file.
63234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63236         VIS3 routines.
63238         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63239         New file.
63241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63243         * sysdeps/sparc/configure.in: New file.
63244         * sysdeps/sparc/configure: Generate.
63245         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63246         * configure: Regenerate.
63247         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63248         * config.make.in (have-as-vis3): New.
63249         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63250         available use -Av9d instead of -Av9a.
63251         * sysdeps/sparc/sparc64/Makefile: Likewise.
63252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63254         New file.
63255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63256         file.
63257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63258         New file.
63259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63260         file.
63261         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63262         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63263         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63264         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63265         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63267         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63268         fzeros/fnegs to load 0x80000000 into a float register instead of
63269         using the stack.
63270         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63272 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63274         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63275         bits/syscall.h.
63276         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63277         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63278         ($(inst_includedir)/bits/syscall.h): Remove rule.
63279         ($(objpfx)bits/syscall.d): Include instead of
63280         $(objpfx)syscall-list.d.
63281         (generated): Change syscall-list.h and syscall-list.d to
63282         bits/syscall.h and bits/syscall.d.
63284 2012-03-14  Roland McGrath  <roland@hack.frob.com>
63286         [BZ #13846]
63287         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63289 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63291         [BZ #13841]
63292         * math/s_csqrt.c: Include <float.h>.
63293         (__csqrt): Scale large or subnormal inputs.
63294         * math/s_csqrtf.c: Likewise.
63295         * math/s_csqrtl.c: Likewise.
63296         * math/libm-test.inc (csqrt_test): Add more tests.
63297         * sysdeps/i386/fpu/libm-test-ulps: Update.
63298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63300         [BZ #13840]
63301         * math/libm-test.inc (hypot_test): Add more tests.
63303 2012-03-13  David S. Miller  <davem@davemloft.net>
63305         [BZ #13840]
63306         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63307         double-precision for the calculation instead of scaling.
63309 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
63311         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63312         manipulate bits before adding and subtracting TWO52[sx].
63313         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63314         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63315         Likewise.
63316         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63318 2012-03-13  David S. Miller  <davem@davemloft.net>
63320         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63321         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63322         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63323         rtld-global-offsets.h
63324         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63326         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63327         large parameters.
63329         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63331         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63332         'err' in the ifdef scope in which it is actually used.
63334         * nss/nss_db/db-init.c: Include string.h
63336 2012-03-12  David S. Miller  <davem@davemloft.net>
63338         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63339         masking out of the most significant byte of random value used.
63340         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63341         Fix coding style in previous change.
63343         * sysdeps/unix/sysv/linux/kernel-features.h
63344         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63345         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63346         expression.
63347         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63348         later.
63350 2012-03-11  David S. Miller  <davem@davemloft.net>
63352         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63353         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63354         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63355         for 'resultvar' otherwise things get truncated on 64-bit.
63357         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63358         Fix masking out of the most significant byte of random value used.
63360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63362 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63366 2012-03-09  David S. Miller  <davem@davemloft.net>
63368         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63369         variables with appropriate CPP guards.
63370         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63371         from the frame pointer, not the stack pointer.  Correct layout
63372         comments.  Fix test on resulting framesize and the management of
63373         the outregs buffer for pltexit.  Preserve floating point return
63374         values across _dl_call_pltexit call.
63375         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63376         framesize and the management of the outregs buffer for pltexit.
63377         Preserve floating point return values across _dl_call_pltexit
63378         call.
63379         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63380         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63381         (la_sparc64_gnu_pltexit): New functions.
63382         (print_exit): Fix format string for return register value.
63384 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63386         * sunrpc/Makefile (others): Add rpcgen.
63387         ($(objpfx)rpcgen): Remove special build rule and dependency on
63388         libc.
63389         * sunrpc/rpcgen.c: New file.
63391 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63393         [BZ #13673]
63394         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63395         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63396         * sysdeps/i386/crti.S: Likewise.
63397         * sysdeps/i386/crtn.S: Likewise.
63398         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63399         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63400         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63401         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63402         * sysdeps/sh/crti.S: Likewise.
63403         * sysdeps/sh/crtn.S: Likewise.
63404         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63406         [BZ #13673]
63407         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63408         with URL.
63409         * locale/programs/locfile-kw.gperf: Likewise.
63410         * locale/programs/charmap-kw.h: Regenerated.
63411         * locale/programs/locfile-kw.h: Likewise.
63413         [BZ #13673]
63414         * intl/plural.y: Replace FSF snail mail address with URL.
63415         * intl/plural.c: Regenerated.
63417 2012-03-09  Richard Henderson  <rth@twiddle.net>
63419         * include/math_private.h: Remove file.
63420         * math/math_private.h: Move file ...
63421         * sysdeps/generic/math_private.h: ... here.
63423         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63424         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63425         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63427         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63428         and <math_private.h>.
63429         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63430         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63431         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63432         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63433         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63434         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63435         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63436         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63437         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63438         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63440         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63441         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63442         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63443         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63444         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63445         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63446         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63447         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63448         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63449         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63450         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63451         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63452         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63453         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63454         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63455         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63456         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63457         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63459         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63460         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63461         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63462         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63463         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63464         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63465         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63466         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63467         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63468         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63469         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63470         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63471         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63472         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63473         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63474         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63475         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63476         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63477         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63478         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63479         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63480         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63481         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63482         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63483         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63484         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63485         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63486         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63487         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63488         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63489         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63490         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63491         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63492         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63493         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63494         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63495         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63496         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63497         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63498         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63499         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63500         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63501         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63502         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63503         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63504         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63505         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63506         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63507         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63508         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63509         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63510         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63511         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63512         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63513         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63514         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63515         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63516         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63517         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63518         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63519         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63520         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63521         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63522         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63523         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63524         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63525         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63526         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63527         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63528         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63529         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63530         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63531         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63532         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63533         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63534         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63535         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63536         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63537         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63538         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63539         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63540         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63541         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63542         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63543         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63544         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63545         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63546         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63547         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63548         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63549         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63550         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63551         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63552         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63553         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63554         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63555         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63556         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63557         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63558         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63559         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63560         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63561         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63562         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63563         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63564         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63565         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63566         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63567         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63568         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63569         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63570         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63571         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63572         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63573         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63574         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63575         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63576         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63577         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63578         * sysdeps/ieee754/k_standard.c: Likewise.
63579         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63580         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63581         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63582         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63583         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63584         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63585         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63586         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63587         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63588         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63589         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63590         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63591         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63592         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63593         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63594         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63595         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63596         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63597         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63598         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63599         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63600         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63601         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63602         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63603         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63604         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63605         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63606         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63607         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63608         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63609         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63610         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63611         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63612         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63613         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63614         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63615         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63616         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63617         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63618         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63619         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63620         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63621         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63622         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63623         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63624         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63625         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63626         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63627         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63628         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63629         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63630         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63631         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63632         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63633         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63634         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63635         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63636         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63637         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63638         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63639         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63640         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63641         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63642         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63643         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63644         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63645         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63646         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63647         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63648         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63649         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63650         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63651         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63652         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63653         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63654         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63655         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63656         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63657         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63658         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63659         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63660         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63661         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63662         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63663         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63664         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63665         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63666         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63667         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63668         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63669         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63670         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63671         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63672         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63673         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63674         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63675         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63676         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63677         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63678         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63679         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63680         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63681         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63682         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63683         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63684         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63685         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63686         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63687         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63688         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63689         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63690         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63691         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63692         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63693         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63694         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63695         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63696         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63697         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63698         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63699         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63700         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63701         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63702         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63703         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63704         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63705         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63706         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63707         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63708         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63709         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63710         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63711         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63712         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63713         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63714         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63715         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63716         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63717         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63718         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63719         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63720         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63721         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63722         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63723         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63724         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63725         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63726         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63727         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63728         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63729         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63730         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63731         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63732         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63733         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63734         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63735         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63736         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63737         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63738         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63739         * sysdeps/ieee754/s_lib_version.c: Likewise.
63740         * sysdeps/ieee754/s_matherr.c: Likewise.
63741         * sysdeps/ieee754/s_signgam.c: Likewise.
63742         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63743         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63744         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63745         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63746         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63747         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63748         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63749         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63750         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63751         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63752         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63753         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63754         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63755         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63756         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63757         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63758         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63759         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63760         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63761         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63762         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63764 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63766         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63767         * sunrpc/rpc_main.c: Likewise.
63768         * sunrpc/rpc_svcout.c: Likewise.
63770 2012-03-09  David S. Miller  <davem@davemloft.net>
63772         * include/math_private.h: New file.
63774 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63776         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63777         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63778         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63779         from <bits/socket_type.h>.
63780         (enum __socket_type): Don't define here.
63781         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63782         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63783         bits/socket_type.h.
63785         [BZ #13566]
63786         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63787         checking __USE_GNU.
63789         * Makerules ($(inst_includedir)/%.h): New rule.
63790         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63791         (install-others): Remove variable setting.
63792         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63794 2012-03-08  Richard Henderson  <rth@twiddle.net>
63796         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63797         from macro to inline function; merge with the
63798         !__LIBC_INTERNAL_MATH_INLINES version.
63799         (__ieee754_sqrtf): Likewise.
63801         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
63802         to inline function.
63803         (__rintf, __floor, __floorf): Likewise.
63805         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
63806         macro to inline function.
63807         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
63809         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
63810         not <math/math_private.h>.
63812 2012-03-08  David S. Miller  <davem@davemloft.net>
63814         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
63815         copyright year.
63816         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
63818 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
63820         * resolv/gai_misc.c (handle_requests): Fix struct timespec
63821         normalization.
63822         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
63823         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
63825 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
63827         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
63828         be defined individually, they must be defined as a block.  Define
63829         S for printing a string instead of hidint the different by using a
63830         macro for adding the 'l'.
63831         * stdio-common/tst-fphex-wide.c: Adjust.
63833 2012-03-07  Marek Polacek  <polacek@redhat.com>
63835         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
63837 2012-03-08  Marek Polacek  <polacek@redhat.com>
63839         [BZ #13806]
63840         * stdio-common/Makefile (tests): Add tst-fphex-wide.
63841         * stdio-common/tst-fphex.c: Define a few macros to make the
63842         test reusable.  Use them.
63843         * stdio-common/tst-fphex-wide.c: New file.
63845 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
63847         [BZ #6911]
63848         * manual/macros.texi (gnusystems): New macro.
63849         (nongnusystems): Likewise.
63850         (gnulinuxhurdsystems): Likewise.
63851         (gnuhurdsystems): Likewise..
63852         (gnulinuxsystems): Likewise.
63853         * manual/charset.texi: Use new macros or @theglibc{} to refer to
63854         variants of the GNU system, not "GNU system".
63855         * manual/conf.texi: Likewise.
63856         * manual/errno.texi: Likewise.  Update example of errno macro
63857         expansion.
63858         * manual/filesys.texi: Likewise.
63859         (getumask): Document as specific to GNU/Hurd.
63860         * manual/install.texi: Likewise.  Reword some references to
63861         GNU/Linux.
63862         * manual/intro.texi: Likewise.
63863         * manual/io.texi: Likewise.
63864         (File Name Portability): Detail which constraints are inapplicable
63865         to all GNU systems and which are only inapplicable to GNU/Hurd.
63866         * manual/job.texi: Likewise.
63867         * manual/llio.texi: Likewise.
63868         (O_NOCTTY): Document as present on GNU/Linux.
63869         * manual/maint.texi: Likewise.
63870         * manual/memory.texi: Likewise.
63871         * manual/pattern.texi: Likewise.
63872         * manual/pipe.texi: Likewise.
63873         * manual/process.texi: Likewise.
63874         * manual/resource.texi: Likewise.
63875         (RUSAGE_CHILDREN): Remove statement about specifying a particular
63876         child on GNU/Hurd.
63877         * manual/setjmp.texi: Likewise.
63878         * manual/signal.texi: Likewise.
63879         * manual/startup.texi: Likewise.
63880         * manual/stdio.texi: Likewise.
63881         * manual/terminal.texi: Likewise.
63882         (ONLCR): Document as POSIX.
63883         (OXTABS): Document availability on GNU/Linux as XTABS.
63884         (ONOEOT): Document availability separately from other bits.
63885         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
63886         * manual/time.texi: Likewise.
63887         * manual/users.texi: Likewise.
63888         * INSTALL: Regenerated.
63889         * sysdeps/gnu/errlist.c: Regenerated.
63891         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
63892         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
63893         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
63894         puts.
63895         * configure: Regenerated.
63897 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
63899         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
63900         default includes instead of AC_HEADER_CHECK.
63901         * sysdeps/i386/configure: Regenerated.
63903         [BZ #10716]
63904         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
63905         * math/s_cacoshf.c (__cacoshf): Likewise.
63906         * math/s_cacoshl.c (__cacoshl): Likewise.
63907         * math/s_casinh.c (__casinh): Set signs of result from argument.
63908         * math/s_casinhf.c (__casinhf): Likewise.
63909         * math/s_casinhl.c (__casinhl): Likewise.
63910         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
63911         (casinh_test): Add more tests.
63912         * sysdeps/i386/fpu/libm-test-ulps: Update.
63913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63915 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
63917         * po/zh_TW.po: Update from translation team.
63919         * login/Makefile (distribute): Remove variable.
63920         * catgets/Makefile: Likewise.
63921         * mach/Makefile: Likewise.
63922         * malloc/Makefile: Likewise.
63923         * misc/Makefile: Likewise.
63924         * iconv/Makefile: Likewise.
63925         * nscd/Makefile: Likewise.
63926         * hurd/Makefile: Likewise.
63927         * manual/Makefile: Likewise.
63928         * locale/Makefile: Likewise.
63929         * intl/Makefile: Likewise.
63930         * conform/Makefile: Likewise.
63931         * nss/Makefile: Likewise.
63932         * time/Makefile: Likewise.
63933         * soft-fp/Makefile: Likewise.
63934         * dirent/Makefile: Likewise.
63935         * gmon/Makefile: Likewise.
63936         * po/Makefile: Likewise.
63937         * rt/Makefile: Likewise.
63938         * socket/Makefile: Likewise.
63939         * math/Makefile: Likewise.
63940         * signal/Makefile: Likewise.
63941         * debug/Makefile: Likewise.
63942         * elf/Makefile: Likewise.
63943         * timezone/Makefile: Likewise.
63944         * stdlib/Makefile: Likewise.
63945         * iconvdata/Makefile: Likewise.
63946         * sunrpc/Makefile: Likewise.
63947         * io/Makefile: Likewise.
63948         * argp/Makefile: Likewise.
63949         * inet/Makefile: Likewise.
63950         * hesiod/Makefile: Likewise.
63951         * grp/Makefile: Likewise.
63952         * csu/Makefile: Likewise.
63953         * wctype/Makefile: Likewise.
63954         * crypt/Makefile: Likewise.
63955         * libio/Makefile: Likewise.
63956         * string/Makefile: Likewise.
63957         * nis/Makefile: Likewise.
63958         * resolv/Makefile: Likewise.
63959         * stdio-common/Makefile: Likewise.
63960         * wcsmbs/Makefile: Likewise.
63961         * dlfcn/Makefile: Likewise.
63962         * posix/Makefile: Likewise.
63964         [BZ #6959]
63965         * timezone/Makefile: Don't install timezone files, just the programs
63966         and scripts.
63968 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
63970         * nss/databases.def: Add missing gshadow entry.
63972         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
63974 2012-03-06  Marek Polacek  <polacek@redhat.com>
63976         [BZ #13726]
63977         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
63978         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63979         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63980         * stdio-common/tst-long-dbl-fphex.c: New file.
63982 2012-03-06  David S. Miller  <davem@davemloft.net>
63984         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63985         (set_obp_int): New function.
63986         (get_obp_int): New function.
63987         (__get_clockfreq_via_dev_openprom): Likewise.
63988         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
63989         Avoid unused variable warnings on 'val' and use builtin_expect.
63990         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
63991         __builtin_expect.
63992         (INLINE_CLONE_SYSCALL): Likewise.
63994 2012-03-05  David S. Miller  <davem@davemloft.net>
63996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63998 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64002         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64003         only for |x| >= 40.
64004         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64006 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
64008         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64009         Replace gettimeofday with __vdso_gettimeofday.
64011         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64012         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64013         __vdso_clock_gettime and __vdso_getcpu.
64015         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64016         time with __vdso_time.
64018 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64020         * manual/lang.texi (size_t): Note types to which size_t may be
64021         equivalent with the GNU C Library, but do not describe when
64022         differences between them are significant.
64024 2012-03-05  Andreas Jaeger  <aj@suse.de>
64026         * sysdeps/i386/fpu/libm-test-ulps: Update.
64028 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64030         [BZ #3976]
64031         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64032         (__ieee754_pow): Save and restore rounding mode and use
64033         round-to-nearest for main computations.
64034         * math/libm-test.inc (pow_test_tonearest): New function.
64035         (pow_test_towardzero): Likewise.
64036         (pow_test_downward): Likewise.
64037         (pow_test_upward): Likewise.
64038         (main): Call the new functions.
64039         * sysdeps/i386/fpu/libm-test-ulps: Update.
64040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64042         [BZ #3976]
64043         * math/libm-test.inc (cosh_test_tonearest): New function.
64044         (cosh_test_towardzero): Likewise.
64045         (cosh_test_downward): Likewise.
64046         (cosh_test_upward): Likewise.
64047         (sinh_test_tonearest): Likewise.
64048         (sinh_test_towardzero): Likewise.
64049         (sinh_test_downward): Likewise.
64050         (sinh_test_upward): Likewise.
64051         (main): Call the new functions.
64052         * sysdeps/i386/fpu/libm-test-ulps: Update.
64053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64055 2012-03-05  Tom de Vries  <tom@codesourcery.com>
64057         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64058         default stack guard is set in last bytes.
64059         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64061 2012-03-05  Kees Cook  <keescook@chromium.org>
64063         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64065         [BZ #13656]
64066         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64067         possibly allocate from heap instead of stack.
64068         * stdio-common/bug-vfprintf-nargs.c: New file.
64069         * stdio-common/Makefile (tests): Add nargs overflow test.
64071 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
64073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64075 2012-03-03  Marek Polacek  <polacek@redhat.com>
64077         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64078         * math/math_private.h: Likewise.
64079         * stdlib/tst-strtod.c: Likewise.
64080         * sysdeps/i386/i486/bits/atomic.h: Likewise.
64081         * sysdeps/x86_64/bits/atomic.h: Likewise.
64083 2012-03-02  David S. Miller  <davem@davemloft.net>
64085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64089         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64090         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64091         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64092         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64094 2012-03-02  Roland McGrath  <roland@hack.frob.com>
64096         [BZ #13792]
64097         * manual/examples/README: New file, says the example source files
64098         can be used under GPL>=2.
64099         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64100         line containing just "*/".
64101         * manual/examples/add.c: Add copyright header (GPL>=2).
64102         * manual/examples/argp-ex1.c: Likewise.
64103         * manual/examples/argp-ex2.c: Likewise.
64104         * manual/examples/argp-ex3.c: Likewise.
64105         * manual/examples/argp-ex4.c: Likewise.
64106         * manual/examples/atexit.c: Likewise.
64107         * manual/examples/db.c: Likewise.
64108         * manual/examples/dir.c: Likewise.
64109         * manual/examples/dir2.c: Likewise.
64110         * manual/examples/execinfo.c: Likewise.
64111         * manual/examples/filecli.c: Likewise.
64112         * manual/examples/filesrv.c: Likewise.
64113         * manual/examples/fmtmsgexpl.c: Likewise.
64114         * manual/examples/genpass.c: Likewise.
64115         * manual/examples/inetcli.c: Likewise.
64116         * manual/examples/inetsrv.c: Likewise.
64117         * manual/examples/isockad.c: Likewise.
64118         * manual/examples/longopt.c: Likewise.
64119         * manual/examples/memopen.c: Likewise.
64120         * manual/examples/memstrm.c: Likewise.
64121         * manual/examples/mkfsock.c: Likewise.
64122         * manual/examples/mkisock.c: Likewise.
64123         * manual/examples/mygetpass.c: Likewise.
64124         * manual/examples/pipe.c: Likewise.
64125         * manual/examples/popen.c: Likewise.
64126         * manual/examples/rprintf.c: Likewise.
64127         * manual/examples/search.c: Likewise.
64128         * manual/examples/select.c: Likewise.
64129         * manual/examples/setjmp.c: Likewise.
64130         * manual/examples/sigh1.c: Likewise.
64131         * manual/examples/sigusr.c: Likewise.
64132         * manual/examples/stpcpy.c: Likewise.
64133         * manual/examples/strdupa.c: Likewise.
64134         * manual/examples/strftim.c: Likewise.
64135         * manual/examples/strncat.c: Likewise.
64136         * manual/examples/subopt.c: Likewise.
64137         * manual/examples/swapcontext.c: Likewise.
64138         * manual/examples/termios.c: Likewise.
64139         * manual/examples/testopt.c: Likewise.
64140         * manual/examples/testpass.c: Likewise.
64141         * manual/examples/timeval_subtract.c: Likewise.
64143         [BZ #13792]
64144         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64145         function to ...
64146         * manual/timeval_subtract.c.texi: ... here, new file.
64148 2012-03-02  David S. Miller  <davem@davemloft.net>
64150         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64152 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64154         [BZ #3976]
64155         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64156         (__sin): Save and restore rounding mode and use round-to-nearest
64157         for all computations.
64158         (__cos): Save and restore rounding mode and use round-to-nearest
64159         for all computations.
64160         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64161         <fenv.h>.
64162         (tan): Save and restore rounding mode and use round-to-nearest for
64163         all computations.
64164         * math/libm-test.inc (cos_test_tonearest): New function.
64165         (cos_test_towardzero): Likewise.
64166         (cos_test_downward): Likewise.
64167         (cos_test_upward): Likewise.
64168         (sin_test_tonearest): Likewise.
64169         (sin_test_towardzero): Likewise.
64170         (sin_test_downward): Likewise.
64171         (sin_test_upward): Likewise.
64172         (tan_test_tonearest): Likewise.
64173         (tan_test_towardzero): Likewise.
64174         (tan_test_downward): Likewise.
64175         (tan_test_upward): Likewise.
64176         (main): Call the new functions.
64177         * sysdeps/i386/fpu/libm-test-ulps: Update.
64178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64180         [BZ #10135]
64181         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64182         small n, then large n, before computing and testing k+n.
64183         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64184         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64185         Likewise.
64186         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64187         Likewise.
64188         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64189         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64190         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64191         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64192         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64193         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64194         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64195         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64196         * math/libm-test.inc (scalbn_test): Add more tests.
64197         (scalbln_test): Likewise.
64199         * manual/filesys.texi (mode_t): Describe constraints on size and
64200         signedness, not exact equivalence to a particular type.
64201         (ino_t): Likewise.
64202         (ino64_t): Likewise.
64203         (dev_t): Likewise.
64204         (nlink_t): Likewise.
64205         (blkcnt_t): Likewise.
64206         (blkcnt64_t): Likewise.
64207         * manual/llio.texi (off_t): Likewise.
64209         [BZ #3976]
64210         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64211         (__ieee754_exp): Save and restore rounding mode and use
64212         round-to-nearest for all computations.
64213         * math/libm-test.inc (exp_test_tonearest): New function.
64214         (exp_test_towardzero): Likewise.
64215         (exp_test_downward): Likewise.
64216         (exp_test_upward): Likewise.
64217         (main): Call the new functions.
64218         * sysdeps/i386/fpu/libm-test-ulps: Update.
64219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64221 2012-03-01  Chris Demetriou  <cgd@google.com>
64223         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64224         have predictable order.
64226 2012-03-01  David S. Miller  <davem@davemloft.net>
64228         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64230         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64231         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64232         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64233         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64235         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64236         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64237         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64239         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64240         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64241         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64242         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64243         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64247         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64248         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64249         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64251         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64252         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64253         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64254         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64255         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64256         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64257         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64258         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64259         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64260         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64261         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64262         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64263         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64264         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64265         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64266         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64267         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64268         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64269         * sysdeps/sparc/elf/configure: Regenerated.
64271 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
64273         * configure.in (AS, LD): Require binutils 2.20 or later.
64274         * configure: Regenerated.
64275         * manual/install.texi (Tools for Compilation): Give binutils 2.20
64276         as required minimum version.
64277         * INSTALL: Regenerated.
64279         [BZ #2541]
64280         [BZ #4108]
64281         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64282         before squaring exponent.
64283         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64284         bottom long double and 27 bits of top long double before squaring
64285         exponent.
64286         * math/libm-test.inc (erfc_test): Add more tests.
64287         * sysdeps/i386/fpu/libm-test-ulps: Update.
64288         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64291 2012-03-01  Kai Tietz  <ktietz@redhat.com>
64293         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64294         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64295         containing bit-fields.
64296         * soft-fp/extended.h (_FP_UNION_E): Likewise.
64297         * soft-fp/single.h (_FP_UNION_S): Likewise.
64298         * soft-fp/double.h (_FP_UNION_D): Likewise.
64300 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64302         [BZ #13786]
64303         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64304         not include ../strcmp.S.
64305         [USE_AS_STRNCASECMP_L]: Likewise.
64306         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64307         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64308         * sysdeps/i386/i686/multiarch/strncase_l-c.c
64309         (__strncasecmp_l_ia32): Define as alias to
64310         __strncasecmp_l_nonascii.
64312         [BZ #5794]
64313         * math/libm-test.inc (expm1_test): Add test for bug 5794.
64314         * sysdeps/i386/fpu/libm-test-ulps: Update.
64315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64317         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64320 2012-02-29  Jeff Law  <law@redhat.com>
64322         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64323         out of bounds read.
64325 2012-02-29  Marek Polacek  <polacek@redhat.com>
64327         [BZ #13706]
64328         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64329         * elf/Makefile: Add rules to run tst-unused-dep.out.
64331 2012-02-28  David S. Miller  <davem@davemloft.net>
64333         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64334         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64335         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64336         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64337         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64338         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64340 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64342         * math/libm-test.inc (llround_test): Move one test from
64343         lround_test.  Use TEST_f_L in moved test.
64344         (lround_test): Move misplaced test to llround_test.  Add testcase
64345         from bug 2561.
64347 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64349         * sysdeps/x86_64/fpu/e_expf.S: New file.
64350         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64352 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64354         [BZ #13637]
64355         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64356         of remain_len that may cause incomplete multi-byte character and
64357         false match.
64358         * posix/bug-regex33.c: New file.
64359         * posix/Makefile (tests): Add bug-regex33.
64361 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64363         * manual/macros.texi: New file.
64364         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64365         * manual/libc.texinfo: Include macros.texi.
64366         * manual/creatute.texi: Likewise.
64367         * manual/install.texi: Likewise.
64368         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64369         @glibcadj{} in references to the GNU C Library.
64370         * manual/charset.texi: Likewise.
64371         * manual/conf.texi: Likewise.
64372         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64373         when not using those macros.
64374         * manual/creature.texi: Likewise.
64375         * manual/crypt.texi: Likewise.
64376         * manual/errno.texi: Likewise.
64377         * manual/filesys.texi: Likewise.
64378         * manual/header.texi: Likewise.
64379         * manual/install.texi: Likewise.
64380         * manual/intro.texi: Likewise.
64381         * manual/io.texi: Likewise.
64382         * manual/job.texi: Likewise.
64383         * manual/lang.texi: Likewise.
64384         * manual/libc.texiinfo: Likewise.
64385         * manual/llio.texi: Likewise.
64386         * manual/locale.texi: Likewise.
64387         * manual/maint.texi: Likewise.
64388         * manual/math.texi: Likewise.
64389         * manual/memory.texi: Likewise.
64390         * manual/message.texi: Likewise.
64391         * manual/nss.texi: Likewise.
64392         * manual/pattern.texi: Likewise.
64393         * manual/process.texi: Likewise.
64394         * manual/resource.texi: Likewise.
64395         * manual/search.texi: Likewise.
64396         * manual/setjmp.texi: Likewise.
64397         * manual/signal.texi: Likewise.
64398         * manual/socket.texi: Likewise.
64399         * manual/startup.texi: Likewise.
64400         * manual/stdio.texi: Likewise.
64401         * manual/string.texi: Likewise.
64402         * manual/sysinfo.texi: Likewise.
64403         * manual/syslog.texi: Likewise.
64404         * manual/terminal.texi: Likewise.
64405         * manual/time.texi: Likewise.
64406         * manual/users.texi: Likewise.
64407         * INSTALL: Regenerated.
64408         * NOTES: Regenerated.
64409         * sysdeps/gnu/errlist.c: Regenerated.
64411 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64413         * include/dirent.h: Include <dirstream.h> before
64414         <dirent/dirent.h>.
64416 2012-02-28  David S. Miller  <davem@davemloft.net>
64418         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64419         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64420         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64421         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64423 2012-02-27  David S. Miller  <davem@davemloft.net>
64425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64427         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64428         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64431         frame pointer instead of stack pointer relative arg slot.
64432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64433         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64434         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64436 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64438         [BZ #3992]
64439         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64441 2012-02-27  David S. Miller  <davem@davemloft.net>
64443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64447         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64448         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64449         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64450         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64452 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64454         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64455         later.  Allow versions 5-9.
64456         * configure: Regenerated.
64457         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64458         required minimum version and 4.6 as recommended version.  Do not
64459         mention bugs in GCC 2.7 and 2.8.
64460         * INSTALL: Regenerated.
64462 2012-02-27  David S. Miller  <davem@davemloft.net>
64464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64468         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64469         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64470         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64471         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64473         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64474         manipulate bits before adding and subtracting TWO112[sx].
64475         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64477 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64479         [BZ #13775]
64480         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64481         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64482         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64483         being in POSIX, because they are in 1003.1-2008.
64485         * rt/tst-aio.c: Include <fcntl.h>.
64486         * rt/tst-aio7.c: Likewise.
64487         * rt/tst-aio64.c: Likewise.
64489         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64491 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64493         * manual/install.texi (--with-headers): Describe headers as
64494         interface headers, not private headers.
64495         (Specific advice for GNU/Linux systems): Describe use of headers
64496         from "make headers_install", not private headers from older
64497         kernels.
64498         * INSTALL: Regenerated.
64499         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64500         Change to 2.6.19.
64501         * sysdeps/unix/sysv/linux/configure: Regenerated.
64503         * manual/llio.texi (fclean): Remove documentation.
64505         * manual/Makefile (libc-texi-generated): New variable.  Include
64506         version.texi.
64507         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64508         $(libc-texi-generated), not duplicated list of files.
64509         (version.texi, stamp-version): New rules.
64510         (realclean): Remove $(libc-texi-generated), not individual files
64511         from that list.  Do not remove dir-add.texinfo.
64512         * manual/libc.texinfo: Comment out uses of edition numbers and
64513         references to printed manual.  Remove last-updated dates.
64514         (EDITION): Comment out.
64515         (ISBN): Likewise.
64516         (VERSION, UPDATED): Remove.
64517         (version.texi): Include.
64519 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64521         * sysdeps/posix/spawni.c: Include <signal.h>.
64522         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64523         * sysdeps/pthread/aio_fsync.c: Likewise.
64525 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64527         * conform/Makefile (tests): Run only when not cross-compiling and
64528         when fast-check is not defined.
64530         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64531         * conform/data/limits.h-data: Fixes for POSIX2008.
64532         * conform/run-conformtest.sh: Run all tests.
64533         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64534         headers.
64535         * include/bits/dlfcn.h: Likewise.
64536         * include/langinfo.h: Likewise.
64537         * include/monetary.h: Likewise.
64538         * include/sys/poll.h: Likewise.
64540         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64541         for __USE_GNU.
64542         * posix/spawn.h: Define __need_sigset_t.
64543         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64544         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64545         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64546         to get sigevent_t only.
64547         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64548         only for __USE_GNU.
64549         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64550         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64551         process_vm_writev only for __USE_GNU.
64552         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64554         * conform/Makefile: For now ignore errors from run-conformtest.
64555         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64556         POSIX to avoid namespace pollution.  Don't prepend headers.
64557         * conform/data/aio.h-data: Fixes for POSIX testing.
64558         * conform/data/fcntl.h-data: Likewise.
64559         * conform/data/glob.h-data: Likewise.
64560         * conform/data/grp.h-data: Likewise.
64561         * conform/data/pthread.h-data: Likewise.
64562         * conform/data/pwd.h-data: Likewise.
64563         * conform/data/signal.h-data: Likewise.
64564         * conform/data/spawn.h-data: Likewise.
64565         * conform/data/stdio.h-data: Likewise.
64566         * conform/data/stdlib.h-data: Likewise.
64567         * conform/data/stropts.h-data: Likewise.
64568         * conform/data/sys/mman.h-data: Likewise.
64569         * conform/data/sys/stat.h-data: Likewise.
64570         * conform/data/sys/types.h-data: Likewise.
64571         * conform/data/sys/wait.h-data: Likewise.
64572         * conform/data/time.h-data: Likewise.
64573         * conform/data/unistd.h-data: Likewise.
64574         * conform/data/utime.h-data: Likewise.
64576         * io/sys/stat.h: fchmod was always in POSIX.
64577         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64578         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64579         * rt/aio.h: Define __need_timespec before including <time.h>.
64580         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64581         struct.  Add forward declaration of pthread_attr_t and use it in
64582         sigevent.
64583         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64584         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64585         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64586         always remove CLK_TCK definition.
64588 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64590         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64592 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64594         * conform/run-conformtest.sh: New file.
64595         * conform/Makefile: Run run-conformtest for tests.
64596         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64597         support.
64599         * conform/data/uchar.h-data: New file.
64600         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64601         * conform/data/arpa/inet.h-data: Likewise.
64602         * conform/data/assert.h-data: Likewise.
64603         * conform/data/complex.h-data: Likewise.
64604         * conform/data/cpio.h-data: Likewise.
64605         * conform/data/ctype.h-data: Likewise.
64606         * conform/data/dirent.h-data: Likewise.
64607         * conform/data/dlfcn.h-data: Likewise.
64608         * conform/data/errno.h-data: Likewise.
64609         * conform/data/fcntl.h-data: Likewise.
64610         * conform/data/float.h-data: Likewise.
64611         * conform/data/fmtmsg.h-data: Likewise.
64612         * conform/data/fnmatch.h-data: Likewise.
64613         * conform/data/ftw.h-data: Likewise.
64614         * conform/data/glob.h-data: Likewise.
64615         * conform/data/grp.h-data: Likewise.
64616         * conform/data/iconv.h-data: Likewise.
64617         * conform/data/inttypes.h-data: Likewise.
64618         * conform/data/langinfo.h-data: Likewise.
64619         * conform/data/libgen.h-data: Likewise.
64620         * conform/data/limits.h-data: Likewise.
64621         * conform/data/locale.h-data: Likewise.
64622         * conform/data/math.h-data: Likewise.
64623         * conform/data/monetary.h-data: Likewise.
64624         * conform/data/mqueue.h-data: Likewise.
64625         * conform/data/ndbm.h-data: Likewise.
64626         * conform/data/net/if.h-data: Likewise.
64627         * conform/data/netdb.h-data: Likewise.
64628         * conform/data/netinet/in.h-data: Likewise.
64629         * conform/data/nl_types.h-data: Likewise.
64630         * conform/data/poll.h-data: Likewise.
64631         * conform/data/pthread.h-data: Likewise.
64632         * conform/data/pwd.h-data: Likewise.
64633         * conform/data/regex.h-data: Likewise.
64634         * conform/data/sched.h-data: Likewise.
64635         * conform/data/search.h-data: Likewise.
64636         * conform/data/semaphore.h-data: Likewise.
64637         * conform/data/setjmp.h-data: Likewise.
64638         * conform/data/signal.h-data: Likewise.
64639         * conform/data/spawn.h-data: Likewise.
64640         * conform/data/stdarg.h-data: Likewise.
64641         * conform/data/stdio.h-data: Likewise.
64642         * conform/data/stdlib.h-data: Likewise.
64643         * conform/data/string.h-data: Likewise.
64644         * conform/data/strings.h-data: Likewise.
64645         * conform/data/stropts.h-data: Likewise.
64646         * conform/data/sys/ipc.h-data: Likewise.
64647         * conform/data/sys/mman.h-data: Likewise.
64648         * conform/data/sys/msg.h-data: Likewise.
64649         * conform/data/sys/resource.h-data: Likewise.
64650         * conform/data/sys/select.h-data: Likewise.
64651         * conform/data/sys/sem.h-data: Likewise.
64652         * conform/data/sys/shm.h-data: Likewise.
64653         * conform/data/sys/socket.h-data: Likewise.
64654         * conform/data/sys/stat.h-data: Likewise.
64655         * conform/data/sys/statvfs.h-data: Likewise.
64656         * conform/data/sys/time.h-data: Likewise.
64657         * conform/data/sys/timeb.h-data: Likewise.
64658         * conform/data/sys/times.h-data: Likewise.
64659         * conform/data/sys/types.h-data: Likewise.
64660         * conform/data/sys/uio.h-data: Likewise.
64661         * conform/data/sys/un.h-data: Likewise.
64662         * conform/data/sys/utsname.h-data: Likewise.
64663         * conform/data/sys/wait.h-data: Likewise.
64664         * conform/data/syslog.h-data: Likewise.
64665         * conform/data/tar.h-data: Likewise.
64666         * conform/data/termios.h-data: Likewise.
64667         * conform/data/utime.h-data: Likewise.
64668         * conform/data/utmpx.h-data: Likewise.
64669         * conform/data/varargs.h-data: Likewise.
64670         * conform/data/wchar.h-data: Likewise.
64671         * conform/data/wctype.h-data: Likewise.
64672         * conform/data/wordexp.h-data: Likewise.
64674         * include/stropts.h: New file.
64675         * include/uchar.h: New file.
64676         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64677         * include/assert.h: Likewise.
64678         * include/ctype.h: Likewise.
64679         * include/dirent.h: Likewise.
64680         * include/dlfcn.h: Likewise.
64681         * include/fcntl.h: Likewise.
64682         * include/fnmatch.h: Likewise.
64683         * include/glob.h: Likewise.
64684         * include/grp.h: Likewise.
64685         * include/libio.h: Likewise.
64686         * include/locale.h: Likewise.
64687         * include/math.h: Likewise.
64688         * include/net/if.h: Likewise.
64689         * include/netdb.h: Likewise.
64690         * include/netinet/in.h: Likewise.
64691         * include/pthread.h: Likewise.
64692         * include/pwd.h: Likewise.
64693         * include/regex.h: Likewise.
64694         * include/sched.h: Likewise.
64695         * include/search.h: Likewise.
64696         * include/setjmp.h: Likewise.
64697         * include/signal.h: Likewise.
64698         * include/stdio.h: Likewise.
64699         * include/stdlib.h: Likewise.
64700         * include/string.h: Likewise.
64701         * include/sys/cdefs.h: Likewise.
64702         * include/sys/mman.h: Likewise.
64703         * include/sys/msg.h: Likewise.
64704         * include/sys/resource.h: Likewise.
64705         * include/sys/select.h: Likewise.
64706         * include/sys/socket.h: Likewise.
64707         * include/sys/stat.h: Likewise.
64708         * include/sys/statvfs.h: Likewise.
64709         * include/sys/time.h: Likewise.
64710         * include/sys/times.h: Likewise.
64711         * include/sys/uio.h: Likewise.
64712         * include/sys/utsname.h: Likewise.
64713         * include/sys/wait.h: Likewise.
64714         * include/termios.h: Likewise.
64715         * include/time.h: Likewise.
64716         * include/ulimit.h: Likewise.
64717         * include/unistd.h: Likewise.
64718         * include/utime.h: Likewise.
64719         * include/wchar.h: Likewise.
64720         * include/wctype.h: Likewise.
64721         * include/wordexp.h: Likewise.
64723         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64725         * time/time.h: TIME_UTC must be a macro.
64726         Make timespec_get available for ISO C11 only as well.
64728 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
64730         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64731         Reported by Peng Haitao <penght@cn.fujitsu.com>.
64733 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64735         * configure.in: Use -o not -a in test for unsupported multi-arch.
64737 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64739         * manual/texinfo.tex: Update to version 2012-01-19.16.
64741 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64743         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64745 2012-02-24  Roland McGrath  <roland@hack.frob.com>
64747         [BZ #13738]
64748         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64749         * manual/fdl-1.3.texi: New file.
64750         * manual/fdl-1.1.texi: File removed.
64752         [BZ #13738]
64753         * manual/libc.texinfo (FDL_VERSION): New @set.
64754         Use it for mention of FDL in cover text.
64755         (Documentation License): Use it in @include file name.
64757 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64758             Roland McGrath  <roland@hack.frob.com>
64760         [BZ #5461]
64761         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64762         (not LONG_LONG_MAX and LONG_LONG_MIN.
64763         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64764         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64765         name.
64766         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64768 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64770         [BZ #2547]
64771         [BZ #11365]
64772         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64773         manipulate bits before adding and subtracting TWO23[sx].
64774         * math/libm-test.inc (nearbyint_test): Add more tests.
64776 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64778         [BZ #2548]
64779         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64780         bits before adding and subtracting TWO23[sx].
64781         * math/libm-test.inc (rint_test): Add more tests.
64782         (rint_test_tonearest): Likewise.
64783         (rint_test_towardzero): Likewise.
64784         (rint_test_downward): Likewise.
64785         (rint_test_upward: Likewise.
64787 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64789         [BZ #10110]
64790         * include/stdc-predef.h: New file.  Extracted from features.h.
64791         * include/features.h: Include stdc-predef.h.
64792         * Makefile (headers): Add stdc-predef.h.
64793         * CONFORMANCE (Compiler limitations): Update.
64795 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64797         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64799 2012-02-21  David S. Miller  <davem@davemloft.net>
64801         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
64802         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64804 2012-02-20  David S. Miller  <davem@davemloft.net>
64806         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
64807         using a normal save/restore sequence, rather than allocating a
64808         dummy stack frame just to store a frame pointer and restore.
64809         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64811 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64813         * manual/install.texi: Fix stray word in line-wrapped comment.
64815 2012-02-20  David S. Miller  <davem@davemloft.net>
64817         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
64818         both binutils and gcc support GOTDATA.
64820         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
64821         "rd %pc" in the PIC register setup sequences.
64823         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
64824         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
64825         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64826         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
64827         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64828         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64829         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64830         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
64832         (SYSCALL_ERROR_HANDLER): Likewise.
64833         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64834         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64835         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
64836         (SYSCALL_ERROR_HANDLER): Likewise.
64838         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
64839         (HAVE_GCC_GOTDATA): New.
64840         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
64841         relocation support in both binutils and gcc.
64842         * sysdeps/sparc/elf/configure: Regenerate.
64844         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
64845         * sysdeps/sparc/sparc32/elf/configure: Delete.
64846         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
64847         * sysdeps/sparc/sparc64/elf/configure: Delete.
64848         * sysdeps/sparc/elf/configure.in: New file.
64849         * sysdeps/sparc/elf/configure: Generate.
64851         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
64852         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
64853         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64854         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
64855         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
64857 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64859         * manual/install.texi: Do not mention specific glibc version
64860         numbers.
64861         * manual/libc.texinfo (VERSION, UPDATED): Update.
64862         (@copying): Use @copyright{} and range of years.
64864 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
64866         [BZ #13695]
64867         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
64868         [crti.S not in sysdirs] (generated): Do not append.
64869         [crti.S not in sysdirs] (omit-deps): Likewise.
64870         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
64871         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
64872         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
64873         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
64874         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
64875         Likewise.
64876         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
64877         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
64878         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
64879         * csu/defs.awk: Remove file.
64880         * sysdeps/generic/initfini.c: Likewise.
64881         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
64882         variable.
64883         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
64884         Likewise.
64886 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64888         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
64889         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
64890         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
64891         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
64892         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64893         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
64894         <bits/epoll.h>.
64895         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
64896         (__EPOLL_PACKED): Define to empty if not defined by
64897         <bits/epoll.h>.
64898         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
64899         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64900         bits/epoll.h.
64902 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64904         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
64905         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
64906         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
64907         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
64908         <bits/timerfd.h>.
64909         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
64910         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64911         bits/timerfd.h.
64913 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
64915         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
64916         in C locale.
64917         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64918         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64919         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
64920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64922 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
64924         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64925         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64927 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
64929         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
64930         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
64931         defined.
64932         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
64933         Likewise.
64934         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
64935         entry for 2.16.
64937 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
64939         * math/w_acos.c: Use non-signaling floating-point comparisons.
64940         * math/w_acosf.c: Likewise.
64941         * math/w_acosh.c: Likewise.
64942         * math/w_acoshf.c: Likewise.
64943         * math/w_acoshl.c: Likewise.
64944         * math/w_acosl.c: Likewise.
64945         * math/w_asin.c: Likewise.
64946         * math/w_asinf.c: Likewise.
64947         * math/w_asinl.c: Likewise.
64948         * math/w_atanh.c: Likewise.
64949         * math/w_atanhf.c: Likewise.
64950         * math/w_atanhl.c: Likewise.
64951         * math/w_exp2.c: Likewise.
64952         * math/w_exp2f.c: Likewise.
64953         * math/w_exp2l.c: Likewise.
64954         * math/w_j0.c: Likewise.
64955         * math/w_j0f.c: Likewise.
64956         * math/w_j0l.c: Likewise.
64957         * math/w_j1.c: Likewise.
64958         * math/w_j1f.c: Likewise.
64959         * math/w_j1l.c: Likewise.
64960         * math/w_jn.c: Likewise.
64961         * math/w_jnf.c: Likewise.
64962         * math/w_log.c: Likewise.
64963         * math/w_log10.c: Likewise.
64964         * math/w_log10f.c: Likewise.
64965         * math/w_log10l.c: Likewise.
64966         * math/w_log2.c: Likewise.
64967         * math/w_log2f.c: Likewise.
64968         * math/w_log2l.c: Likewise.
64969         * math/w_logf.c: Likewise.
64970         * math/w_logl.c: Likewise.
64971         * math/w_sqrt.c: Likewise.
64972         * math/w_sqrtf.c: Likewise.
64973         * math/w_sqrtl.c: Likewise.
64974         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64975         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
64976         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64977         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64978         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64980 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64982         [BZ #9739]
64983         * manual/string.texi (strnlen): Use correct parameter name in
64984         equivalent expression.
64986 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64988         [BZ #11174]
64989         * manual/users.texi (seteuid): Consistently use neweuid for
64990         argument name.
64992 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
64994         [BZ #13704]
64995         * manual/nss.texi (Services in the NSS configuration): Correct
64996         list of services in example configuration file.
64998 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65000         [BZ #11322]
65001         * manual/arith.texi: Remove statements about negative zero
65002         behaving identically to zero.
65004 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65006         [BZ #5993]
65007         * manual/install.texi: Do not document upgrading from libc5.
65009 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65011         [BZ #4596]
65012         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65014 2012-02-18  David S. Miller  <davem@davemloft.net>
65016         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65017         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65018         %o7 across the call.
65019         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65020         instead.
65021         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65022         SETUP_PIC_REG_LEAF.
65023         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65024         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65025         * sysdeps/sparc/crtn.S: Likewise.
65027 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
65029         * aout/Makefile: Remove.
65031 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
65033         [BZ #13058]
65034         * manual/examples/argp-ex1.c (main): Format definition in GNU
65035         style.
65036         * manual/examples/argp-ex2.c (main): Likewise.
65037         * manual/examples/argp-ex3.c (main): Likewise.
65038         * manual/examples/argp-ex4.c (main): Likewise.
65039         * manual/examples/longopt.c (main): Use new-style prototype
65040         definition.
65041         * manual/examples/strncat.c (main): Specify return type and use
65042         (void) for arguments.
65043         * manual/examples/subopt.c (main): Use char **argv argument.
65045 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65047         [BZ #5077]
65048         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65049         rounding modes.
65051 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
65053         [BZ #6907]
65054         * manual/string.texi (strchr): Change when strchrnul is
65055         recommended.
65057 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
65059         [BZ #174]
65060         * manual/locale.texi (setlocale): Document LOCPATH.
65062 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65064         [BZ #10210]
65065         * manual/process.texi (execle): Move @dots{} before last argument.
65067 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
65069         [BZ #12047]
65070         * manual/charset.texi (Generic Charset Conversion): Fix typo
65071         (LC_TYPE -> LC_CTYPE).
65073 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
65075         [BZ #5805]
65076         * manual/arith.texi (scalbn): Use @var{} on parameter names.
65077         (scalbnf): Likewise.
65078         (scalbnl): Likewise.
65079         (scalbln): Likewise.
65080         (scalblnf): Likewise.
65081         (scalblnl): Likewise.
65082         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65083         (vwarnx): Likewise.
65084         (verr): Likewise.
65085         (verrx): Likewise.
65086         * manual/filesys.texi (telldir): Use braces around return type.
65087         * manual/llio.texi (mmap): Add space after comma.
65088         (mmap64): Likewise.
65089         * manual/math.texi (jn): Use @var{} on parameter names.
65090         (jnf): Likewise.
65091         (jnl): Likewise.
65092         (yn): Likewise.
65093         (ynf): Likewise.
65094         (ynl): Likewise.
65095         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65096         line.
65097         * manual/resource.texi (ulimit): Use @dots{} instead of literal
65098         "...".
65099         (sched_get_priority_min): Remove semicolon on @deftypefun line.
65100         (sched_get_priority_max): Likewise.
65101         * manual/signal.texi (sigvec): Add space after comma.
65102         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65103         names.
65104         (if_indextoname): Likewise.
65105         (if_freenameindex): Likewise.
65106         (sendto): Use ',' instead of '.' in prototype.
65107         * manual/startup.texi (syscall): Use @dots{} instead of literal
65108         "...".
65109         * manual/stdio.texi (__fpending): Separate initial words of
65110         paragraph from @deftypefun line.
65111         * manual/syslog.texi (syslog): Use @dots{} instead of literal
65112         "...".
65113         (vsyslog): Use @var{} on parameter names.
65114         * manual/terminal.texi (stty): Use @var{} on parameter names.
65115         * manual/users.texi (getutmp): Use @var{} on parameter names.
65116         (getutmpx): Likewise.
65118 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65120         [BZ #6884]
65121         * manual/stdio.texi (fopen): Fix typos in description of
65122         ",ccs=STRING".
65124 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
65126         [BZ #4026]
65127         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65128         get clock_id definition.
65130 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
65132         [BZ #4822]
65133         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65134         (madvise): Cast every argument to void on its own.
65136 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65138         [BZ #9902]
65139         * manual/startup.texi (Exit Status): Fix typo.
65141 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65143         [BZ #10140]
65144         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65145         * manual/examples/argp-ex2.c: Likewise.
65146         * manual/examples/argp-ex3.c: Likewise.
65148 2012-02-16  Richard Henderson  <rth@redhat.com>
65150         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65151         * sysdeps/s390/s390-32/initfini.c: Remove.
65152         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65153         * sysdeps/s390/s390-64/initfini.c: Remove.
65155 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65157         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65158         compiler output for sysdeps/generic/initfini.c.
65159         * sysdeps/sh/elf/initfini.c: Remove file.
65161 2012-02-16  David S. Miller  <davem@davemloft.net>
65163         [BZ #11494]
65164         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65166         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65167         * sysdeps/sparc/crti.S: New file.
65168         * sysdeps/sparc/crtn.S: New file.
65169         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65170         * sysdeps/sparc/sparc64/Makefile: Likewise.
65172 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65174         [BZ #3335]
65175         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65177 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65179         [BZ #4822]
65180         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65182         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65183         (write, read, close): Likewise.
65184         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65186 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65188         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65189         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65190         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65191         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65192         <bits/signalfd.h>.
65193         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65195         bits/signalfd.h.
65197 2012-02-14  Marek Polacek  <polacek@redhat.com>
65199         * sysdeps/x86_64/crti.S: New file.
65200         * sysdeps/x86_64/crtn.S: New file.
65201         * sysdeps/x86_64/elf/initfini.c: Remove file.
65203 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65205         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65206         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65207         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65208         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65209         <bits/inotify.h>.
65210         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65212         bits/inotify.h.
65214 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65216         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65217         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65218         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65219         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65220         <bits/eventfd.h>.
65221         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65222         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65223         bits/eventfd.h.
65225 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65227         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65228         __feraiseexcept instead of feraiseexcept.
65230         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65231         nanosleep invocations.
65232         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65233         strings, and add error checking for a nanosleep invocations.
65235 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65237         Replace FSF snail mail address with URLs, as per GNU coding standards.
65238         Most of the snail mail addresses were wrong anyway, and omitting
65239         them makes the source code easier to maintain.  Almost all of the
65240         changes are to license notices and to locale LC_IDENTIFICATION
65241         addresses, except for this one:
65242         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65243         not its snail mail address.
65245 2012-02-09  Richard Henderson  <rth@twiddle.net>
65247         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65248         of kernel-features.h.
65250         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65252 2012-02-08  Marek Polacek  <polacek@redhat.com>
65254         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65255         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65256         * sysdeps/gnu/_G_config.h: Likewise.
65257         * sysdeps/generic/_G_config.h: Likewise.
65259 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65261         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65262         tests.
65263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65265         * sysdeps/powerpc/powerpc32/crti.S: New file.
65266         * sysdeps/powerpc/powerpc32/crtn.S: New file.
65267         * sysdeps/powerpc/powerpc64/crti.S: New file.
65268         * sysdeps/powerpc/powerpc64/crtn.S: New file.
65270         * Makeconfig (have-initfini): Don't set.
65271         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65272         * configure.in (nopic_initfini): Don't substitute.
65273         * config.h.in (HAVE_INITFINI): Don't #undef.
65274         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65275         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65277 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
65279         Support crti.S and crtn.S provided directly by architectures.
65280         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65281         [crti.S in sysdirs] (omit-deps): Likewise.
65282         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65283         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65284         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65285         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65286         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65287         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65288         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65289         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65290         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65291         compiler output for sysdeps/generic/initfini.c.
65292         * sysdeps/i386/elf/Makefile: Remove file.
65293         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65295 2012-02-07  Marek Polacek  <polacek@redhat.com>
65297         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65298         * sysdeps/gnu/_G_config.h: Likewise.
65299         * sysdeps/mach/hurd/_G_config.h: Likewise.
65301 2012-02-07  Marek Polacek  <polacek@redhat.com>
65303         * math/Makefile (tests): Add tst-CMPLX2.
65304         * math/tst-CMPLX2.c: New file.
65306 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
65308         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65310         * math/libm-test.inc (jn_test): Add missing L suffix.
65312 2012-02-06  Marek Polacek  <polacek@redhat.com>
65314         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65315         * sysdeps/i386/fpu/e_powf.S: Likewise.
65316         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65317         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65318         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65319         * sysdeps/i386/fpu/e_pow.S: Likewise.
65320         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65321         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65322         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65323         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65324         * sysdeps/i386/fpu/e_log2.S: Likewise.
65325         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65326         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65327         * sysdeps/i386/fpu/e_powl.S: Likewise.
65328         * sysdeps/i386/fpu/s_log1p.S: Likewise.
65329         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65330         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65331         * sysdeps/i386/fpu/e_logl.S: Likewise.
65332         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65333         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65334         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65335         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65336         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65337         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65338         * sysdeps/i386/fpu/e_log.S: Likewise.
65339         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65340         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65341         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65342         * sysdeps/i386/fpu/e_logf.S: Likewise.
65343         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65344         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65345         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65346         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65347         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65348         * sysdeps/i386/fpu/e_log10.S: Likewise.
65349         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65350         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65351         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65352         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65353         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65354         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65355         * sysdeps/i386/asm-syntax.h: Likewise.
65356         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65357         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65358         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65359         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65360         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65361         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65362         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65363         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65364         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65365         * sysdeps/powerpc/sysdep.h: Likewise.
65366         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65367         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65369 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65371         [BZ #411]
65372         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65374 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65376         * sysdeps/i386/sysdep.h: Include <features.h>.
65377         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65378         version.
65380 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65382         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65383         Define.
65384         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65385         LOAD_PIC_REG_STR.
65387 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65389         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65390         (SETUP_PIC_REG): Use GET_PC_THUNK.
65391         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65392         macro.
65394 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65396         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65397         for non-PIC compilation.
65398         (SETUP_PIC_REG): Add .p2align directive.
65399         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65400         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65401         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65402         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65403         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65404         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65405         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65406         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65407         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65408         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65409         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65410         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65411         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65412         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65413         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65414         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65415         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65416         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65417         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65418         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65419         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65420         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65421         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65422         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65423         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65424         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65425         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65426         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65427         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65428         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65429         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65430         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65431         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65432         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65433         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65434         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65435         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65436         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65437         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65438         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65439         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65441 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65443         * math/tst-CMPLX.c: Include <stdio.h>.
65445 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65447         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65448         float.
65449         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65450         * sysdeps/sparc/bits/mathdef.h: Likewise.
65452 2012-01-31  Marek Polacek  <polacek@redhat.com>
65454         * libio/libio.h: Don't define _PARAMS.
65455         * locale/programs/config.h: Don't define PARAMS.
65456         * stdlib/strtol_l.c: Likewise.
65457         (__strtol_l): Remove PARAMS from the prototype.
65459 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65461         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65462         names.  Just use the correct names.  Remove unnecessary wrapper
65463         functions.
65464         * malloc/arena.c: Likewise.
65465         * malloc/hooks.c: Likewise.
65467         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65468         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65469         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65471 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65473         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65474         into tail calls.
65475         (update_get_addr): New function.
65476         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65477         GET_ADDR_MODULE parameter.
65479 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65481         * crypt/cert.c: Remove __STDC__ conditionals.
65482         * crypt/crypt-entry.c: Likewise.
65483         * crypt/crypt_util.c: Likewise.
65484         * libio/filedoalloc.c: Likewise.
65485         * libio/fileops.c: Likewise.
65486         * libio/genops.c: Likewise.
65487         * libio/iofclose.c: Likewise.
65488         * libio/iofdopen.c: Likewise.
65489         * libio/iofopen.c: Likewise.
65490         * libio/iofopen64.c: Likewise.
65491         * libio/iogetdelim.c: Likewise.
65492         * libio/iopopen.c: Likewise.
65493         * libio/obprintf.c: Likewise.
65494         * libio/oldfileops.c: Likewise.
65495         * libio/oldiofclose.c: Likewise.
65496         * libio/oldiofdopen.c: Likewise.
65497         * libio/oldiofopen.c: Likewise.
65498         * libio/oldiopopen.c: Likewise.
65499         * libio/wfiledoalloc.c: Likewise.
65500         * libio/wgenops.c: Likewise.
65501         * locale/programs/xmalloc.c: Likewise.
65502         * misc/syslog.c: Likewise.
65503         * stdio-common/xbug.c: Likewise.
65504         * string/memchr.c: Likewise.
65505         * string/memcmp.c: Likewise.
65506         * string/memrchr.c: Likewise.
65507         * string/rawmemchr.c: Likewise.
65508         * sysdeps/posix/getcwd.c: Likewise.
65509         * time/strftime_l.c: Likewise.
65511 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65513         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65514         * config.make.in (config-cflags-sse2avx): Define.
65515         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65516         Fix typo.
65518 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65520         * scripts/config.guess: Update from upstream config git repository.
65521         * scripts/config.sub: Likewise.
65523 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65525         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65526         (EM_NUM): Update.
65527         (R_TILEPRO_*, R_TILEGX_*): New macros.
65529         * scripts/firstversions.awk: Fix bug in version range handling.
65531         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65533         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65535         * include/sys/epoll.h: New file.
65536         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65537         libc_hidden_def.
65539 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65541         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65542         Avoid unnecessary __WORDSIZE == 64 test.
65543         (fmaxf): Use VEX format if possible.
65544         (fmax): Likewise.
65545         (fminf): Likewise.
65546         (fmin): Likewise.
65548         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65549         * math/math_private.h: Remove libc_fegetround* and
65550         libc_fesetround*.
65551         * sysdeps/i386/configure.in: Check for -msse2avx.
65552         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65553         also if SSE2AVX is defined.
65554         Remove libc_fegetround* and libc_fesetround*.
65555         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65556         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65557         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65558         of HAS_YMM_USABLE.
65559         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65560         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65561         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65562         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65563         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65565         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65567 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65569         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65570         size is not set.
65571         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65573 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65575         [BZ #13618]
65576         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65577         relocation.
65578         * Makeconfig (libm): Define.
65579         * elf/Makefile: Add rules to build and run tst-relsort1.
65580         * elf/tst-relsort1.c: New file.
65581         * elf/tst-relsort1mod1.c: New file.
65582         * elf/tst-relsort1mod2.c: New file.
65584 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65586         * math/s_ldexp.c: Remove __STDC__ conditionals.
65587         * math/s_ldexpf.c: Likewise.
65588         * math/s_ldexpl.c: Likewise.
65589         * math/s_nextafter.c: Likewise.
65590         * math/s_nexttowardf.c: Likewise.
65591         * math/s_significand.c: Likewise.
65592         * math/s_significandf.c: Likewise.
65593         * math/s_significandl.c: Likewise.
65594         * math/w_jnl.c: Likewise.
65595         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65596         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65597         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65598         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65599         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65600         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65601         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65602         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65603         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65604         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65605         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65606         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65607         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65608         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65609         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65610         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65611         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65612         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65613         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65614         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65615         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65616         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65617         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65618         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65619         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65620         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65621         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65622         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65623         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65624         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65625         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65626         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65627         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65628         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65629         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65630         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65631         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65632         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65633         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65634         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65635         * sysdeps/ieee754/k_standard.c: Likewise.
65636         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65637         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65638         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65639         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65640         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65641         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65642         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65643         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65644         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65645         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65646         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65647         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65648         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65649         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65650         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65651         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65652         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65653         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65654         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65655         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65656         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65657         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65658         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65659         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65660         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65661         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65662         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65663         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65664         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65665         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65666         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65667         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65668         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65669         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65670         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65671         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65672         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65673         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65674         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65675         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65676         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65677         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65678         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65679         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65680         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65681         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65682         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65683         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65684         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65685         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65686         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65687         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65688         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65689         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65690         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65691         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65692         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65693         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65694         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65695         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65696         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65697         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65698         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65699         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65700         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65701         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65702         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65703         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65704         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65705         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65706         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65707         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65708         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65709         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65710         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65711         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65712         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65713         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65714         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65715         * sysdeps/ieee754/s_matherr.c: Likewise.
65716         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65717         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65718         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65719         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65721 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65723         * crypt/md5.h: Remove __STDC__ conditionals.
65724         * libio/libioP.h: Likewise.
65725         * locale/programs/config.h: Likewise.
65726         * sysdeps/generic/sysdep.h: Likewise.
65727         * sysdeps/i386/asm-syntax.h: Likewise.
65728         * sysdeps/s390/asm-syntax.h: Likewise.
65729         * sysdeps/unix/sysdep.h: Likewise.
65730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65733 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65735         * libio/libio.h: Remove __STDC__ conditionals.
65736         * malloc/obstack.h: Likewise.
65737         * math/complex.h: Likewise.
65738         * math/math.h: Likewise.
65739         * sysdeps/generic/_G_config.h: Likewise.
65740         * sysdeps/gnu/_G_config.h: Likewise.
65741         * sysdeps/mach/hurd/_G_config.h: Likewise.
65742         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65743         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65744         * sysdeps/sparc/bits/mathdef.h: Likewise.
65746 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
65748         [BZ #13583]
65749         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65750         Clean up HAS_* macros.
65751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65752         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65753         possible.
65754         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65755         HAS_AVX.
65756         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65757         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65758         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65759         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65760         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65762 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65764         * elf/tst-unique3.cc (gets): Remove declaration.
65765         * elf/tst-unique3lib.cc (gets): Likewise.
65766         * elf/tst-unique3lib2.cc (gets): Likewise.
65767         * elf/tst-unique4.cc (gets): Likewise.
65769 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65771         * include/stdio.h: Add C++ protection.  Add gets declarations and
65772         definitions.
65773         * debug/tst-chk1.c: Don't declare gets here.
65774         * stdio-common/tst-gets.c: Likewise.
65776 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65778         * posix/glob: Remove directory.
65780 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65782         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65784 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65786         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65787         of the non-standard EPFNOSUPPORT.
65789 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65791         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65792         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65793         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65795 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65797         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65799 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
65801         * nscd/aicache.c (addhstaiX): Do not cache negative results of
65802         transient errors.
65803         * nscd/grpcache.c (cache_addgr): Likewise.
65804         * nscd/hstcache.c (cache_addhst): Likewise.
65805         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65806         * nscd/pwdcache.c (cache_addpw): Likewise.
65807         * nscd/servicescache.c (cache_addserv): Likewise.
65809 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
65811         * malloc/malloc.c: Various cleanups.
65812         * malloc/hooks.c: Likewise.
65814         * stdlib/Makefile (tests): Add bug-fmtmsg1.
65815         * stdlib/bug-fmtmsg1.c: New file.
65817         * stdlib/fmtmsg.c (init): Add missing unlock.
65818         Patch by Peng Haitao <penght@cn.fujitsu.com>.
65820 2012-01-12  Marek Polacek  <polacek@redhat.com>
65822         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
65823         and _GNU_SOURCE.
65825 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65827         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
65828         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
65829         macro to ensure uniqueness of label name.
65830         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65831         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65833 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
65835         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
65837         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
65838         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65839         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65840         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
65842 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
65844         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
65846         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
65847         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65848         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65850         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
65852         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
65853         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65854         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65855         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
65857         * math/bits/math-finite.h: Add ldexp support.
65859 2012-01-10  Marek Polacek  <polacek@redhat.com>
65861         * locale/programs/localedef.h (show_archive_content): Add noreturn
65862         attribute.
65864 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
65866         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
65868 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65870         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
65872         * io/Makefile (headers): Add bits/poll2.h.
65874 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
65876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
65877         typo #include statement.
65879 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65881         * include/sys/cdefs.h: Define __attribute_alloc_size.
65882         * catgets/gencat.c: Add alloc_size attribute and apply consistently
65883         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
65884         * elf/pldd.c: Likewise.
65885         * iconv/iconv_charmap.c: Likewise.
65886         * iconv/iconvconfig.c: Likewise.
65887         * iconv/strtab.c: Likewise.
65888         * locale/programs/locale.c: Likewise.
65889         * locale/programs/localedef.h: Likewise.
65890         * locale/programs/simple-hash.c: Likewise.
65891         * nscd/nscd.h: Likewise.
65892         * nss/makedb.c: Likewise.
65893         * sysdeps/generic/ldconfig.h: Likewise.
65894         * locale/programs/localedef.c: Remove xmalloc prototype.
65895         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
65897 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65899         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
65900         appropriate.
65902 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
65904         * math/Makefile (tests): Add tst-CMPLX.
65905         * math/tst-CMPLX.c: New file.
65907         * math/complex.h (CMPLXL): Fix typo.
65909         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
65910         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
65911         GLIBC_2.16.
65912         * debug/tst-chk1.c: Add poll and ppoll tests.
65913         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
65914         * include/sys/poll.h: Add hidden proto for ppoll.
65915         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
65916         * sysdeps/mach/hurd/ppoll.c: Likewise.
65917         * io/ppoll.c: Likewise.
65918         * debug/poll_chk.c: New file.
65919         * debug/ppoll_chk.c: New file.
65920         * include/bits/poll2.h: New file.
65921         * io/bits/poll2.h: New file.
65923         [BZ #1350]
65924         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
65926         * configure.in: static is always set to yes.  Remove.
65927         * config.make.in: Don't set build-static.
65928         * Makeconfig: Remove use of build-static.
65929         * dlfcn/Makefile: Likewise.
65930         * elf/Makefile: Likewise.
65931         * math/Makefile: Likewise.
65932         * misc/Makefile: Likewise.
65933         * nptl/Makefile: Likewise.
65934         * sysdeps/mach/hurd/Makefile: Likewise.
65936         * configure.in: PWD_P is not used anymore.
65937         * config.make.in: Remove PWD_P entry.
65939         * configure.in: Remove last remnants of RANLIB.
65940         No need to check for signed size_t anymore.
65941         Don't set libc_commonpagesize and libc_relro_required here for Alpha
65942         and IA-64.
65943         Remove __builtin_expect test because we require at least gcc 3.4.
65944         * aclocal.m4: Likewise.
65946         * wcsmbs/mbrtoc16.c: Implement using towc function.
65947         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
65948         * wcsmbs/wcsmbsload.c: Likewise.
65949         * iconv/gconv_simple.c: Likewise.
65950         * iconv/gconv_int.h: Likewise.
65951         * iconv/gconv_builtin.h: Likewise.
65952         * iconv/iconv_prog.c: Remove CHAR16 handling.
65954         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
65956         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
65958         * configure.in: Remove --with-elf and --enable-bounded options.
65959         Dont set base_machine for ia64.  More non-ELF conditions removed.
65960         Remove testing and setting of leading underscore information.
65961         * config.make.in (build-bounded): Set to no.
65962         * config.h.in: Remove NO_UNDERSCORES entry.
65963         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
65964         them.
65965         * csu/start.c: Remove !NO_UNDERSCORE code.
65966         * locale/localeinfo.h: Likewise.
65967         * sysdeps/generic/machine-gmon.h: Likewise.
65968         * sysdeps/generic/sysdep.h: Likewise.
65969         * sysdeps/i386/sysdep.h: Likewise.
65970         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65971         * sysdeps/mach/sysdep.h: Likewise.
65972         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65973         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65974         * sysdeps/sh/sysdep.h: Likewise.
65975         * sysdeps/sparc/sparc32/alloca.S: Likewise.
65976         * sysdeps/unix/i386/sysdep.S: Likewise.
65977         * sysdeps/unix/sparc/start.c: Likewise.
65978         * sysdeps/unix/sparc/sysdep.S: Likewise.
65979         * sysdeps/unix/sparc/sysdep.h: Likewise.
65980         * sysdeps/unix/start.c: Likewise.
65981         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65982         * sysdeps/x86_64/sysdep.h: Likewise.
65984 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
65986         [BZ #13553]
65987         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
65988         for non-gcc.
65989         * argp/argp-fmtstream.h: Use const instead __const.
65990         * argp/argp.h: Likewise.
65991         * assert/assert.h: Likewise.
65992         * bits/fenv.h: Likewise.
65993         * bits/sched.h: Likewise.
65994         * bits/sigset.h: Likewise.
65995         * bits/sigthread.h: Likewise.
65996         * catgets/nl_types.h: Likewise.
65997         * conform/data/pthread.h-data: Likewise.
65998         * crypt/crypt-private.h: Likewise.
65999         * crypt/crypt.h: Likewise.
66000         * crypt/crypt_util.c: Likewise.
66001         * ctype/ctype.h: Likewise.
66002         * debug/execinfo.h: Likewise.
66003         * debug/mbsnrtowcs_chk.c: Likewise.
66004         * debug/mbsrtowcs_chk.c: Likewise.
66005         * debug/wcsnrtombs_chk.c: Likewise.
66006         * debug/wcsrtombs_chk.c: Likewise.
66007         * debug/wcstombs_chk.c: Likewise.
66008         * dirent/dirent.h: Likewise.
66009         * dlfcn/dlfcn.h: Likewise.
66010         * elf/neededtest4.c: Likewise.
66011         * grp/grp.h: Likewise.
66012         * gshadow/gshadow.h: Likewise.
66013         * iconv/gconv.h: Likewise.
66014         * iconv/gconv_int.h: Likewise.
66015         * iconv/gconv_simple.c: Likewise.
66016         * iconv/iconv.h: Likewise.
66017         * iconv/loop.c: Likewise.
66018         * iconv/skeleton.c: Likewise.
66019         * include/aio.h: Likewise.
66020         * include/aliases.h: Likewise.
66021         * include/argz.h: Likewise.
66022         * include/arpa/inet.h: Likewise.
66023         * include/assert.h: Likewise.
66024         * include/dirent.h: Likewise.
66025         * include/dlfcn.h: Likewise.
66026         * include/execinfo.h: Likewise.
66027         * include/fcntl.h: Likewise.
66028         * include/fenv.h: Likewise.
66029         * include/glob.h: Likewise.
66030         * include/grp.h: Likewise.
66031         * include/libintl.h: Likewise.
66032         * include/mntent.h: Likewise.
66033         * include/netdb.h: Likewise.
66034         * include/pwd.h: Likewise.
66035         * include/rpc/netdb.h: Likewise.
66036         * include/sched.h: Likewise.
66037         * include/search.h: Likewise.
66038         * include/shadow.h: Likewise.
66039         * include/signal.h: Likewise.
66040         * include/stdio.h: Likewise.
66041         * include/stdlib.h: Likewise.
66042         * include/string.h: Likewise.
66043         * include/sys/socket.h: Likewise.
66044         * include/sys/stat.h: Likewise.
66045         * include/sys/statfs.h: Likewise.
66046         * include/sys/statvfs.h: Likewise.
66047         * include/sys/syslog.h: Likewise.
66048         * include/sys/time.h: Likewise.
66049         * include/sys/uio.h: Likewise.
66050         * include/time.h: Likewise.
66051         * include/unistd.h: Likewise.
66052         * include/utmp.h: Likewise.
66053         * include/wchar.h: Likewise.
66054         * include/wctype.h: Likewise.
66055         * inet/aliases.h: Likewise.
66056         * inet/arpa/inet.h: Likewise.
66057         * inet/netinet/ether.h: Likewise.
66058         * inet/netinet/in.h: Likewise.
66059         * intl/libintl.h: Likewise.
66060         * io/bits/fcntl2.h: Likewise.
66061         * io/fcntl.h: Likewise.
66062         * io/ftw.h: Likewise.
66063         * io/sys/poll.h: Likewise.
66064         * io/sys/stat.h: Likewise.
66065         * io/sys/statfs.h: Likewise.
66066         * io/sys/statvfs.h: Likewise.
66067         * io/utime.h: Likewise.
66068         * libio/bits/stdio.h: Likewise.
66069         * libio/bits/stdio2.h: Likewise.
66070         * libio/libio.h: Likewise.
66071         * libio/libioP.h: Likewise.
66072         * libio/stdio.h: Likewise.
66073         * locale/lc-ctype.c: Likewise.
66074         * locale/locale.h: Likewise.
66075         * login/utmp.h: Likewise.
66076         * malloc/arena.c: Likewise.
66077         * malloc/malloc.c: Likewise.
66078         * malloc/malloc.h: Likewise.
66079         * malloc/mcheck.c: Likewise.
66080         * malloc/mtrace.c: Likewise.
66081         * math/bits/mathcalls.h: Likewise.
66082         * math/fenv.h: Likewise.
66083         * math/math_private.h: Likewise.
66084         * misc/bits/error.h: Likewise.
66085         * misc/bits/syslog.h: Likewise.
66086         * misc/err.h: Likewise.
66087         * misc/error.h: Likewise.
66088         * misc/fstab.h: Likewise.
66089         * misc/mntent.h: Likewise.
66090         * misc/regexp.h: Likewise.
66091         * misc/search.h: Likewise.
66092         * misc/sgtty.h: Likewise.
66093         * misc/sys/mman.h: Likewise.
66094         * misc/sys/syslog.h: Likewise.
66095         * misc/sys/uio.h: Likewise.
66096         * misc/sys/xattr.h: Likewise.
66097         * misc/ttyent.h: Likewise.
66098         * nis/rpcsvc/ypclnt.h: Likewise.
66099         * nss/nss.h: Likewise.
66100         * posix/bits/unistd.h: Likewise.
66101         * posix/fnmatch.h: Likewise.
66102         * posix/glob.h: Likewise.
66103         * posix/sched.h: Likewise.
66104         * posix/spawn.h: Likewise.
66105         * posix/sys/wait.h: Likewise.
66106         * posix/unistd.h: Likewise.
66107         * posix/wordexp.h: Likewise.
66108         * pwd/pwd.h: Likewise.
66109         * resolv/netdb.h: Likewise.
66110         * resource/sys/resource.h: Likewise.
66111         * rt/aio.h: Likewise.
66112         * rt/bits/mqueue2.h: Likewise.
66113         * rt/mqueue.h: Likewise.
66114         * shadow/shadow.h: Likewise.
66115         * signal/signal.h: Likewise.
66116         * socket/send.c: Likewise.
66117         * socket/sendto.c: Likewise.
66118         * socket/sys/socket.h: Likewise.
66119         * stdio-common/printf.h: Likewise.
66120         * stdlib/bits/stdlib.h: Likewise.
66121         * stdlib/fmtmsg.h: Likewise.
66122         * stdlib/monetary.h: Likewise.
66123         * stdlib/stdlib.h: Likewise.
66124         * stdlib/ucontext.h: Likewise.
66125         * streams/stropts.h: Likewise.
66126         * string/argz.h: Likewise.
66127         * string/bits/string2.h: Likewise.
66128         * string/string.h: Likewise.
66129         * string/strings.h: Likewise.
66130         * sunrpc/rpc/auth.h: Likewise.
66131         * sunrpc/rpc/auth_des.h: Likewise.
66132         * sunrpc/rpc/clnt.h: Likewise.
66133         * sunrpc/rpc/netdb.h: Likewise.
66134         * sunrpc/rpc/pmap_clnt.h: Likewise.
66135         * sunrpc/rpc/xdr.h: Likewise.
66136         * sysdeps/generic/inttypes.h: Likewise.
66137         * sysdeps/generic/net/if.h: Likewise.
66138         * sysdeps/generic/sys/swap.h: Likewise.
66139         * sysdeps/gnu/net/if.h: Likewise.
66140         * sysdeps/gnu/utmpx.h: Likewise.
66141         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66142         * sysdeps/i386/i486/bits/string.h: Likewise.
66143         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66144         * sysdeps/s390/bits/string.h: Likewise.
66145         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66146         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66147         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66148         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66149         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66150         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66151         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66152         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66153         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66154         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66155         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66156         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66157         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66158         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66159         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66160         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66161         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66162         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66163         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66164         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66165         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66166         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66167         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66168         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66169         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66170         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66171         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66172         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66173         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66174         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66175         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66176         * sysvipc/sys/ipc.h: Likewise.
66177         * sysvipc/sys/msg.h: Likewise.
66178         * sysvipc/sys/sem.h: Likewise.
66179         * sysvipc/sys/shm.h: Likewise.
66180         * termios/termios.h: Likewise.
66181         * time/sys/time.h: Likewise.
66182         * time/time.h: Likewise.
66183         * wcsmbs/bits/wchar2.h: Likewise.
66184         * wcsmbs/uchar.h: Likewise.
66185         * wcsmbs/wchar.h: Likewise.
66186         * wctype/wctype.h: Likewise.
66188         [BZ #13551]
66189         * Makeconfig: Remove all but ELF support including AIX support.
66190         * Makerules: Likewise.
66191         * config.h.in: Likewise.
66192         * config.make.in: Likewise.
66193         * configure: Likewise.
66194         * configure.in: Likewise.
66195         * csu/Makefile: Likewise.
66196         * csu/version.c: Likewise.
66197         * debug/Makefile: Likewise.
66198         * dlfcn/Makefile: Likewise.
66199         * elf/Makefile: Likewise.
66200         * extra-lib.mk: Likewise.
66201         * iconv/Makefile: Likewise.
66202         * include/libc-symbols.h: Likewise.
66203         * include/shlib-compat.h: Likewise.
66204         * resolv/Makefile: Likewise.
66205         * resolv/res_libc.c: Likewise.
66206         * rt/Makefile: Likewise.
66207         * sysdeps/i386/asm-syntax.h: Likewise.
66208         * sysdeps/i386/sysdep.h: Likewise.
66209         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66210         * sysdeps/mach/sysdep.h: Likewise.
66211         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66212         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66213         * sysdeps/s390/asm-syntax.h: Likewise.
66214         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66215         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66216         * sysdeps/sh/sysdep.h: Likewise.
66217         * sysdeps/unix/sparc/sysdep.h: Likewise.
66218         * sysdeps/wordsize-32/divdi3.c: Likewise.
66219         * sysdeps/x86_64/sysdep.h: Likewise.
66221         * argp/Versions: Remove _argp_unlock_xxx.
66223         [BZ #13559]
66224         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66225         * abilist/libBrokenLocale.abilist: Likewise.
66226         * abilist/libanl.abilist: Likewise.
66227         * abilist/libc.abilist: Likewise.
66228         * abilist/libcrypt.abilist: Likewise.
66229         * abilist/libdl.abilist: Likewise.
66230         * abilist/libm.abilist: Likewise.
66231         * abilist/libnsl.abilist: Likewise.
66232         * abilist/libpthread.abilist: Likewise.
66233         * abilist/libresolv.abilist: Likewise.
66234         * abilist/librt.abilist: Likewise.
66235         * abilist/libthread_db.abilist: Likewise.
66236         * abilist/libutil.abilist: Likewise.
66237         * abilist/libnss_db.abilist: New file.
66239         * scripts/abilist.awk: Add support for indirect functions.
66241         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66243         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66245         * shlib-versions: Remove entries for ports architectures.
66247         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66248         files in ports.
66249         * elf/stackguard-macros.h: Remove support for IA-64.
66250         * elf/tst-auditmod1.c: Likewise.
66251         * sysdeps/generic/ldsodefs.h: Likewise.
66253         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66254         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66255         configure files.
66257         [BZ #13552]
66258         * configure.in: Remove --enable-omitfp support.
66259         * FAQ.in: Adjust.
66260         * config.make.in: Likewise.
66261         * Makeconfig: Likewise.
66262         * manual/install.texi: Likewise.
66264         In case anyone cares, the IA-64 architecture could move to ports.
66265         * sysdeps/ia64/*: Removed.
66266         * sysdeps/unix/sysv/linux/ia64/*: Removed.
66267         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66269         [BZ #13555]
66270         * configure.in: Remove entries for unsupported architectures.
66272         [BZ #13533]
66273         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66274         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
66275         routines.
66276         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66277         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66278         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
66279         fall back to using wcrtomb.
66280         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66281         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
66282         renaming.
66283         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66284         * wcsmbs/tst-c16c32-1.c: New file.
66286         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66287         local variable.
66289         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66291         * elf/tst-unique3.cc: Add explicit declaration of gets.
66292         * elf/tst-unique3lib.cc: Likewise.
66293         * elf/tst-unique3lib2.cc: Likewise.
66294         * elf/tst-unique4.cc: Likewise.
66296         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66298 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
66300         [BZ #13566]
66301         * assert/assert.h (static_assert): Don't define for C++.
66302         * libio/stdio.h (gets): Do declare for C++ <= C++11.
66303         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66305 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
66307         * iconv/loop.c (single loop): Fix assertion in storing of
66308         remaining bytes.
66310         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66312 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
66314         * posix/getconf.c: Update copyright year.
66315         * nss/getent.c: Likewise.
66316         * nss/makedb.c: Likewise.
66317         * iconv/iconvconfig.c: Likewise.
66318         * iconv/iconv_prog.c: Likewise.
66319         * elf/ldconfig.c: Likewise.
66320         * elf/pldd.c: Likewise.
66321         * elf/sotruss.ksh: Likewise.
66322         * catgets/gencat.c: Likewise.
66323         * csu/version.c: Likewise.
66324         * elf/ldd.bash.in: Likewise.
66325         * elf/sprof.c (print_version): Likewise.
66326         * locale/programs/locale.c: Likewise.
66327         * locale/programs/localedef.c: Likewise.
66328         * login/programs/pt_chown.c: Likewise.
66329         * nscd/nscd.c (print_version): Likewise.
66330         * debug/xtrace.sh: Likewise.
66331         * malloc/memusage.sh: Likewise.
66332         * malloc/mtrace.pl: Likewise.
66333         * debug/catchsegv.sh: Likewise.
66335 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
66337         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66338         pure attribute.
66340 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66342         [BZ #13533]
66343         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66344         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66345         transformations.
66346         * iconv/gconv_int.h: Likewise.
66347         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66348         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66349         from libc for GLIBC_2.16.
66350         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66351         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66352         * wcsmbs/uchar.h: Really define mbstate_t.
66353         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66354         * wcsmbs/c16rtomb.c: New file.
66355         * wcsmbs/mbrtoc16.c: New file.
66356         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66357         for C/POSIX locale.
66358         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66359         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66361         * wcsmbs/wchar.h: Add missing __restrict.
66363 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66365         [BZ #13532]
66366         * time/Makefile (routines): Add timespec_get.
66367         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66368         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66369         timespec for ISO C11.
66370         * time/timespec_get.c: New file.
66371         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66372         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66374         [BZ #13531]
66375         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66376         * stdlib/stdlib.h: Declare aligned_alloc.
66377         * Versions.def: Add GLIBC_2.16 for libc.
66378         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66380         [BZ 13527]
66381         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66382         ISO C11.
66384         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66385         code.
66387         [BZ #13528]
66388         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66390         [BZ #13529]
66391         * assert/assert.h (static_assert): Define.
66393         * version.h: Update for 2.16 development version.
66395         [BZ #13526]
66396         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66397         _ISOC11_SOURCE.
66399         * version.h (RELEASE): Bump for 2.15 release.
66400         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66402         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66403         Patch by Marek Polacek <mpolacek@redhat.com>.
66405         * bits/byteswap.h: Protect long long constants with __extension__.
66406         * sysdeps/i386/bits/byteswap.h: Likewise.
66407         * sysdeps/ia64/bits/byteswap.h: Likewise.
66408         * sysdeps/s390/bits/byteswap.h: Likewise.
66409         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66411 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66413         [BZ #13540]
66414         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66415         destination buffer.
66416         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66418 2011-12-23  Marek Polacek  <polacek@redhat.com>
66420         * elf/dl-addr.c (determine_info): Add inline keyword.
66421         * elf/tst-auditmod4b.c (check_avx): Likewise.
66422         * elf/tst-auditmod6b.c (check_avx): Likewise.
66423         * elf/tst-auditmod6c.c (check_avx): Likewise.
66424         * elf/tst-auditmod7b.c (check_avx): Likewise.
66426 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66428         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66429         !__SSE_MATH__.
66431 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66433         [BZ #13540]
66434         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66435         processing for last bytes.
66437 2011-08-06  Bruno Haible  <bruno@clisp.org>
66439         [BZ #13061]
66440         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66441         U+0385, not to U+1FEE.
66443         [BZ #13062]
66444         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66445         entry for U+00A5 U+0301.
66447 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66449         [BZ #13166]
66450         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66451         buffer for the output is too small.
66453         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66454         optimization.
66456         [BZ #13185]
66457         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66458         SSE flags if possible.
66460 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66462         [BZ #13540]
66463         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66464         processing for last bytes.
66466 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66468         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66469         (syscall-list-default-options, syscall-list-default-condition)
66470         (syscall-list-includes): Define.
66471         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66472         list of ABIs and options and #if conditions for each ABI.  Do not
66473         handle common syscalls between ABIs specially.
66474         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66475         Remove.
66476         (syscall-list-variants, syscall-list-32bit-options)
66477         (syscall-list-32bit-condition, syscall-list-64bit-options)
66478         (syscall-list-64bit-condition): Define.
66479         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66480         (syscall-list-variants, syscall-list-32bit-options)
66481         (syscall-list-32bit-condition, syscall-list-64bit-options)
66482         (syscall-list-64bit-condition): Define.
66483         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66484         Remove.
66485         (syscall-list-variants, syscall-list-32bit-options)
66486         (syscall-list-32bit-condition, syscall-list-64bit-options)
66487         (syscall-list-64bit-condition): Define.
66488         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66489         Remove.
66490         (syscall-list-variants, syscall-list-32bit-options)
66491         (syscall-list-32bit-condition, syscall-list-64bit-options)
66492         (syscall-list-64bit-condition): Define.
66494 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66496         * locale/iso-639.def: Add brx entry.
66498         [BZ #13328]
66499         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66500         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66502         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66503         __feraiseexcept_renamed.
66505 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66507         [BZ #13538]
66508         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66509         EPOLLET with unsigned values.
66510         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66511         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66513         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66514         to large cancellation.
66515         * math/s_cacoshf.c: Likewise.
66516         * math/s_cacoshl.c: Likewise.
66518 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66520         [BZ #13305]
66521         [BZ #12786]
66522         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66523         * math/s_cacoshf.c: Likewise.
66524         * math/s_cacoshl.c: Likewise.
66526 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66528         [BZ #13439]
66529         * iconv/gconv.h: Define __GCONV_SWAP.
66530         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66531         * iconvdata/utf-16.c: Likewise.
66532         * iconvdata/utf-32.c: Likewise.
66534 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66536         [BZ #13524]
66537         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66538         numerator after shifting it by one limb.
66540 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66542         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66543         under [__USE_EXTERN_INLINES].
66545 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66547         [BZ #13446]
66548         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66550 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66552         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66553         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66554         optimized code.
66555         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66556         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66557         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66558         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66559         for strncasecmp/strncasecmp_l compilation.
66560         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66561         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66563 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66565         [BZ #13484]
66566         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66567         of __asm__.
66569 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66571         [BZ #13506]
66572         * time/tzfile.c (__tzfile_read): Check values from file header.
66574 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66576         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66577         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66578         * powerpc/powerpc32/dl-start.S: Likewise.
66579         * powerpc/powerpc32/elf/start.S: Likewise.
66580         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66581         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66582         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66583         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66584         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66585         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66586         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66587         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66588         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66589         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66590         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66591         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66592         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66593         * powerpc/powerpc32/memset.S: Likewise.
66594         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66595         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66596         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66597         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66598         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66599         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66600         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66601         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66602         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66603         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66604         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66605         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66606         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66608 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66610         * math/libm-test.inc: Added more nearbyint tests.
66611         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66612         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66613         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66614         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66616 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66618         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66619         FD_CLOEXEC.
66621 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66623         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66624         Add wcscpy-ssse3 wcscpy-c.
66625         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66626         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66627         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66628         * sysdeps/x86_64/wcschr.S: New file.
66629         * sysdeps/x86_64/wcsrchr.S: New file.
66630         * string/test-strcmp.c: Remove checking of wcscmp function for
66631         wrong alignments.
66632         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66633         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66634         wcsrchr-sse2 wcsrchr-c.
66635         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66636         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66637         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66638         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66639         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66640         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66641         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66642         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66643         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66644         * wcsmbc/wcschr.c (WCSCHR): New macro.
66646 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66648         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66649         * wcsmbs/test-wcsrchr.c: New file.
66650         * string/test-strrchr.c: Add wcsrchr support.
66651         (WIDE): New macro.
66652         * wcsmbs/test-wcscpy.c: New file.
66653         * string/test-strcpy.c: Add wcscpy support.
66654         (WIDE): New macro.
66656 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66658         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66659         the inner loop.
66661 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66663         [BZ #13472]
66664         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66666 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66668         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66669         Minor optimizations.
66671         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66672         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66673         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66675 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66677         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66678         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66679         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66680         for gcc to avoid warnings.
66681         * inet/Makefile (tests): Add tst-checks.
66682         * inet/tst-checks.c: New file.
66684         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66685         warning.
66687         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66688         __wmemcmp_sse2.
66690         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66691         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66693         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66695 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66697         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66698         problem.
66700         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66702 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66704         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66705         conditional on GCC version.
66706         (__arch_compare_and_exchange_val_8_acq)
66707         (__arch_compare_and_exchange_val_16_acq)
66708         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66709         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66710         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66712 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66714         * sysdeps/sh/backtrace.c: New file.
66716 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66718         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66719         parenthesis.
66721 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66723         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66724         falling back to utime.
66726 2011-11-30  Andreas Schwab  <schwab@redhat.com>
66728         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66729         expectations for float.
66731 2011-11-29  Andreas Schwab  <schwab@redhat.com>
66733         * locale/weight.h (findidx): Add parameter len.
66734         * locale/weightwc.h (findidx): Likewise.
66735         * posix/fnmatch_loop.c (FCT): Adjust caller.
66736         * posix/regcomp.c (build_equiv_class): Likewise.
66737         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66738         * posix/regexec.c (check_node_accept_bytes): Likewise.
66739         * string/strcoll_l.c (STRCOLL): Likewise.
66740         * string/strxfrm_l.c (STRXFRM): Likewise.
66742 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
66744         * Makefile.in: Remove CVSOPT handling.
66745         * configure.in: Remove use of AC_REVISION.
66746         * iconvdata/Makefile (distribute): No need to filter out CVS.
66747         * scripts/list-sources.sh: Remove CVS, subversion and monotone
66748         handling.
66750 2011-11-16  Andreas Schwab  <schwab@redhat.com>
66752         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66753         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66754         [USE_AS_STRNCASECMP_L]: Likewise.
66755         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66756         NO_TLS_DIRECT_SEG_REFS.
66757         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66758         Fix argument offsets for non-PIC.
66759         [USE_AS_STRNCASECMP_L]: Likewise.
66760         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66761         NO_TLS_DIRECT_SEG_REFS.
66763 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66765         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66766         O_CLOEXEC.
66767         * locale/loadlocale.c (_nl_load_locale): Likewise.
66769 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66771         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66772         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66773         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66774         (SYSCALL_GETTIME): Set errno on error.
66776         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66777         count references to noai6ai_cached.
66779 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66781         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66783         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66784         FD_CLOEXEC for /proc/self/maps.
66786         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66787         FD_CLOEXEC for /proc/meminfo.
66789         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66790         gai.conf.
66792         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66793         FD_CLOEXEC for given file.
66795         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66797         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66798         FD_CLOEXEC for /etc/hosts.
66799         (_gethtent): Likewise.
66801         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
66803         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
66804         cancellation and set FD_CLOEXEC for /etc/netgroup.
66806         * nss/nss_files/files-key.c (search): Don't allow cancellation when
66807         reading /etc/publickey.
66809         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
66810         allow cancellation when reading /etc/group.
66812         * nss/nss_files/files-alias.c (internal_setent): Don't allow
66813         cancellation.
66814         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
66816         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
66817         when using data file.
66819         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
66821         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
66822         (write_nis_obj): Use "c" and "e" in fopen.
66824         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
66826         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
66828         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
66830         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
66832         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
66833         locale.alias.
66835         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
66837         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
66839         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
66841         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
66842         file parsing and set FD_CLOEXEC.
66844 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66846         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
66848 2011-11-14  Andreas Schwab  <schwab@redhat.com>
66850         * malloc/arena.c (arena_get2): Don't call reused_arena when
66851         _int_new_arena failed.
66853 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
66855         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
66856         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
66857         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
66858         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66859         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66860         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
66861         to compile strcasecmp and strncasecmp.
66862         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
66863         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
66865         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
66867 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
66869         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
66870         locale-defines.sym to gen-as-const-headers.
66871         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
66872         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
66873         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
66874         to compile strcasecmp and strncasecmp.
66875         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
66876         strcasecmp_l and strncasecmp_l.
66877         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
66878         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
66879         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
66880         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
66881         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
66882         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
66883         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
66884         * sysdeps/i386/i686/multiarch/strncase.S: New file.
66885         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
66886         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
66887         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
66889 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
66891         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
66892         result of SYSDEP_GETTIME_CPU to retval.
66893         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
66894         parameter list to macro.  Remove trailing semicolon.  Adjust users.
66896         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
66897         variable.
66899         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
66900         mantissa words.
66901         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
66903         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
66904         from unused variable.
66906         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
66907         DWARF definitions.
66908         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
66909         for assembling.
66911         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
66912         over namespaces.
66914         * sunrpc/rpc_prot.c (rejected): Fix case value.
66916         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
66917         unsigned long long int to avoid warnings in shift.
66919         * posix/regex_internal.c (re_string_reconstruct): Actually use result
66920         of use of trans.
66921         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
66922         variable tmp.
66924         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
66925         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
66926         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
66928         * nis/nis_table.c (nis_list): Use variable of correct type for
66929         result of __follow_path call.
66931 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66933         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
66934         of math functions ceil, trunc, floor, round, and sqrt, when
66935         avaliable on the platform.
66936         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
66937         name clash.
66938         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66939         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66940         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66942 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
66944         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
66945         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66947 2011-11-11  Roland McGrath  <roland@hack.frob.com>
66949         * include/unistd.h: Fix __readlink return type.
66950         Reported by Chris Metcalf <cmetcalf@tilera.com>.
66952 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
66954         * stdlib/ucontext.h: Undo last change for makecontext.
66956 2011-11-11  Andreas Schwab  <schwab@redhat.com>
66958         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
66960         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
66961         * setjmp/setjmp.h: Mark functions as non-leaf.
66962         * setjmp/bits/setjmp2.h: Likewise.
66963         * stdlib/ucontext.h: Likewise.
66965 2011-11-10  Andreas Schwab  <schwab@redhat.com>
66967         * malloc/arena.c (_int_new_arena): Don't increment narenas.
66968         (reused_arena): Don't check arena limit.
66969         (arena_get2): Atomically check arena limit.
66971 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
66973         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
66974         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
66976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
66977         instructions.
66979 2011-11-07  Andreas Schwab  <schwab@redhat.com>
66981         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
66982         handler when locking.
66984         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66985         Fix size of allocated buffer.
66987 2011-11-04  Andreas Schwab  <schwab@redhat.com>
66989         [BZ #10103]
66990         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
66991         declarations for long double functions.
66992         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
66994         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
66996 2011-11-03  Andreas Schwab  <schwab@redhat.com>
66998         * nscd/nscd.c (main): Don't start AVC thread until credentials are
66999         installed.
67001         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67002         is disabled.
67004 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67006         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67008 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67010         * include/alloca.h (stackinfo_alloca_round): Define.
67011         (extend_alloca): Use it.
67012         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67013         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67014         here.
67016         * scripts/check-local-headers.sh: Ignore libaudit.h.
67018         * nscd/Makefile (extra-objs): Make recursively expanded.
67020 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
67022         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67023         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67025         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67026         * posix/tst-rfc3484-2.c: Likewise.
67027         * posix/tst-rfc3484-3.c: Likewise.
67029         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67030         process_vm_writev.
67031         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67032         process_vm_writev.
67033         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67034         process_vm_writev from libc using GLIBC_2.15 version.
67036         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67038 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
67040         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67041         stack usage.
67043 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
67045         [BZ #13367]
67046         * nss/getent.c (initgroups_keys): Show error message in case no group
67047         names are given.
67049         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67050         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67051         __bump_nl_timestamp.
67052         * nscd/connections (nscd_init): When host database is served open
67053         netlink socket and request notification about configuration changes.
67054         (main_loop_poll): Track netlink file descriptor and bump timestamp
67055         in case data becomes available.
67056         (main_loop_epoll): Likewise.
67057         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67058         (database_pers_head): Add extra_data fileds.
67059         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67060         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67061         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67062         Adjust caller.
67063         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67064         in6ai data, call __free_in6ai.
67065         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67066         Add -DHAVE_NETLINK.
67067         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
67068         interface information.  Reuse previous data if netlink timestamp
67069         is not changed.
67070         (__bump_nl_timestamp): New function.
67071         (__free_in6ai): New function.
67073 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
67075         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67076         close_not_cancel_no_status here.
67077         (__check_pf): Reorganize code a bit to not call close twice if OOM.
67079 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67081         [BZ #13276]
67082         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67083         return value.
67085         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67086         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67087         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67089 2011-07-03  Andreas Jaeger  <aj@suse.de>
67091         [BZ #10709]
67092         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67093         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67094         * math/libm-test.inc (sin_test): Add test case.
67096 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67098         [BZ #13337]
67099         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67100         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67102         * elf/chroot_canon.c (chroot_canon): Cleanups.
67104         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67106         [BZ #13335]
67107         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67108         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67110         * string/test-strchr.c: Make usable for strchrnul testing.
67111         * string/test-strchrnul.c: New file.
67112         * string/Makefile (strop-tests): Add strchrnul.
67114         * po/it.po: Update from translation team.
67115         * po/es.po: Likewise.
67117 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
67119         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67120         the three constants needed as parameters.  Drop the others.
67121         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67122         __m128i_strloadu_tolower.
67123         Create and initialize variable zero and use it in all the places
67124         where _mm_setzero_si128 was used.
67126         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67127         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67128         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67129         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67130         anymore.
67131         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67132         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67133         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67134         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67135         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67136         __mpranred, __mptan.
67137         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67138         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67139         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67140         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67141         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67142         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67143         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67144         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67145         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67147 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67149         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67150         redefine if SHARED.
67151         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67153         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67154         wide char related routines to wcsmbs subdir.
67156 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67158         [BZ #13344]
67159         * misc/sys/cdefs.h (__THROWNL): Define.
67160         * posix/unistd.h: Use __THREADNL instead of __THREAD
67161         for memory synchronization functions.
67163 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67165         [BZ #13349]
67166         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67167         doesn't exist.
67168         * manual/stdio.texi (Obstack Streams): Node removed.
67170 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67172         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67173         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67174         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67176         * math/math_private.h (math_force_eval): Allow non-addressable
67177         arguments.
67178         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67180 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67182         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67183         file is not needed.
67185         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67186         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67187         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67188         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67189         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67190         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67191         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67192         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67193         Add AVX variants.
67194         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67195         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67196         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67197         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67198         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67199         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67200         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67201         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67202         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67203         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67204         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67205         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67206         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67207         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67208         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67209         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67210         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67211         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67212         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67214         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67215         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67217         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67218         place.  Use VEX encoding when compiling for AVX.
67220 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67222         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67223         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67225         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67227 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67229         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67230         useless if() expression.
67231         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67232         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67233         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67234         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67235         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67236         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67237         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67238         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67239         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67240         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67241         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67242         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67243         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67244         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67245         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67246         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67247         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67248         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67249         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67251         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67253 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67255         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67256         condition.
67257         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67259 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67261         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67262         .text section.  Avoid duplicate constants.
67263         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67264         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67265         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67266         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67267         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67268         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67269         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67270         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67271         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67272         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67273         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67274         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67275         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67276         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67277         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67278         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67279         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67280         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67281         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67282         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67283         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67284         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67285         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67286         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67287         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67288         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67289         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67290         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67291         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67292         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67293         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67294         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67295         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67296         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67297         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67298         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67299         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67300         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67301         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67302         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67303         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67304         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67305         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67306         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67307         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67309 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
67311         * sysdeps/x86_64/dla.h: Move to ...
67312         * sysdeps/x86_64/fpu/dla.h: ...here.
67313         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67314         situations.  Use __builtin_fma only for gcc 4.6 and up.
67316         * config.make.in: Add have-mfma4 entry.
67317         * configure.in: Substitute libc_cv_cc_fma4.
67318         * math/Makefile (dbl-only-routines): Add sincostab.
67319         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67320         Use __sincostab not sincos.
67321         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67322         name is a macro.
67323         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67325         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67326         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
67327         using __copysign.
67328         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
67329         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
67330         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67331         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67332         and __inv.
67333         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67334         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67335         __copysign.
67336         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
67337         define aliases when function name is a macro.
67338         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67339         sysdeps/ieee754/dbl-64/sincos.tbl.
67340         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67341         fma4-enabled routines.
67342         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67343         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67344         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67345         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67346         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67347         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67348         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67349         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67350         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67351         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67352         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67353         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67354         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67355         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67356         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67357         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67358         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67359         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67360         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67361         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67362         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67363         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67364         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67365         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67366         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67367         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67368         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67369         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67370         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67371         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67373         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67374         rename.
67375         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67376         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67377         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67378         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67379         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67380         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67381         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67382         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67384 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67386         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67388 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67390         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67392         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67393         prediction.
67394         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67396         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67397         Remove unused variable magic_bits.
67398         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67400         * string/strnlen.c: Define and use STRNLEN macro.
67401         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67402         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67403         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67404         * wcsmbs/wcslen.c: Define and use WCSLEN.
67405         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67406         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67407         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67408         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67409         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67410         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67411         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67413 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67415         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67416         strnlen-sse2-no-bsf.
67417         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67418         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67419         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67420         Add strnlen support.
67421         (USE_AS_STRNLEN): New macro.
67422         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67423         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67424         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67425         * sysdeps/x86_64/wcslen.S: New file.
67427 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67429         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67430         XMM-moves are used for copying on small sizes.
67432 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67434         * wcsmbs/Makefile (strop-tests): Add wcschr.
67435         * wcsmbs/test-wcschr.c: New file.
67436         * string/test-strchr.c: Update.
67437         Add wcschr support.
67438         (WIDE): New macro.
67440 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67442         * wcsmbs/Makefile (strop-tests): Add wcslen.
67443         * wcsmbs/test-wcslen.c: New file.
67444         * string/test-strlen.c: Update.
67445         Add wcslen support.
67446         (WIDE): New macro.
67448 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67450         * po/it.po: Update from translation team.
67452 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67454         * sysdeps/x86_64/wcscmp.S: Update.
67455         Fix wrong comparison semantics.
67456         wcscmp shall use signed comparison not unsigned.
67457         Don't use substraction to avoid overflow bug.
67458         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67459         * wcsmbc/wcscmp.c: Likewise.
67460         * string/test-strcmp.c: Likewise.
67461         Add new tests to check cases with negative values.
67463 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67465         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67466         * sysdeps/x86_64/dla.h: ...here.  New file.
67467         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67468         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67469         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67471         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67472         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67473         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67474         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67475         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67477 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67479         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67480         __ynl_finite aliases.
67482 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67486         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67487         define DLA_FMA.
67488         [DLA_FMA] (EMULV): Use DLA_FMA.
67489         [DLA_FMA] (MUL12): Use EMULV.
67490         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67491         that are not needed.
67492         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67493         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67494         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67495         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67496         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67497         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67498         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67500 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67502         * math/s_nan.c: Undef __nan.
67503         * math/s_nanf.c: Undef __nanf.
67504         * math/s_nanl.c: Undef __nanl.
67505         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67506         "math_private.h".
67508 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67510         * math/s_catan.c: Add branch predictions.
67511         * math/s_catanf.c: Likewise.
67512         * math/s_catanh.c: Likewise.
67513         * math/s_catanhf.c: Likewise.
67514         * math/s_catanhl.c: Likewise.
67515         * math/s_catanl.c: Likewise.
67516         * math/s_cexp.c: Likewise.
67517         * math/s_cexpf.c: Likewise.
67518         * math/s_cexpl.c: Likewise.
67519         * math/s_clog.c: Likewise.
67520         * math/s_clog10.c: Likewise.
67521         * math/s_clog10f.c: Likewise.
67522         * math/s_clog10l.c: Likewise.
67523         * math/s_clogf.c: Likewise.
67524         * math/s_clogl.c: Likewise.
67525         * math/s_csqrt.c: Likewise.
67526         * math/s_csqrtf.c: Likewise.
67527         * math/s_csqrtl.c: Likewise.
67528         * math/s_ctanf.c: Likewise.
67529         * math/s_ctanh.c: Likewise.
67530         * math/s_ctanhf.c: Likewise.
67531         * math/s_ctanhl.c: Likewise.
67532         * math/s_ctanl.c: Likewise.
67534         * math/math_private.h: Define __nan, __nanf, __nanl.
67535         * math/s_cacosh.c: Include <math_private.h>.
67536         * math/s_cacoshl.c: Likewise.
67537         * math/s_casinh.c: Likewise.
67538         * math/s_casinhf.c: Likewise.
67539         * math/s_casinhl.c: Likewise.
67540         * math/s_ccos.c: Rely entire on ccosh.
67541         * math/s_ccosf.c: Rely entire on ccoshf.
67542         * math/s_ccosl.c: Rely entirely on ccoshl.
67543         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67544         Remove tests for FE_INVALID.
67545         * math/s_ccoshf.c: Likewise.
67546         * math/s_ccoshl.c: Likewise.
67547         * math/s_csin.c: Likewise.
67548         * math/s_csinf.c: Likewise.
67549         * math/s_csinh.c Likewise.
67550         * math/s_csinhf.c: Likewise.
67551         * math/s_csinhl.c: Likewise.
67552         * math/s_csinl.c: Likewise.
67553         * math/s_ctan.c: Likewise.
67554         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67555         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67556         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67558 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67561         compilation problems.
67563         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67564         __builtin_expect.
67566 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67568         * sysdeps/i386/configure.in: Test for -mfma4 option.
67569         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67570         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67571         COMMON_CPUID_INDEX_80000001.
67572         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67573         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67574         use it if FMA3 is not supported.
67575         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67577         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67578         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67580 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67582         [BZ #12892]
67583         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67584         it would create a cycle with a link time dependency.
67586 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67588         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67589         instruction.
67590         * string/Makefile (strop-tests): Add rawmemchr.
67591         * string/test-rawmemchr.c: New file.
67593         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67594         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67595         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67596         when compiling str{,n}casecmp and when AVX is available.  Hook up
67597         new optimized code in initializers.
67599 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67601         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67602         __feraiseexcept instead of feraiseexcept.
67604 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67606         * math/math_private.h: Define defaults for libc_fetestexcept and
67607         libc_feupdateenv.
67608         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67609         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67610         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67611         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67612         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67613         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67614         libc_fetestexcept and libc_feupdateenv.
67616         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67617         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67618         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67619         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67620         libc_feholdexcept_setround.
67622         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67623         Add s_nearbyint-c and s_nearbyintf-c.
67624         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67625         nearbyintf inlines.
67626         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67627         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67628         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67629         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67631         * math/math_private.h: Define defaults for libc_fegetround,
67632         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67633         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67634         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67635         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67636         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67637         standard functions.
67638         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67639         Remove comments and hacks for old compiler versions.
67640         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67641         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67642         libc_feholdexceptl.
67644 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67646         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67647         (__feraiseexcept_renamed): Add __NTH.
67648         (feraiseexcept): Add __NTH.  Rename local variables to fix
67649         namespace violations.
67651 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67653         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67655         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67657         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67658         recently added interfaces.
67659         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67661         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67662         about macro parameter expansion.
67664         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67665         __NO_MATH_INLINES is defined.  Cleanups.
67667         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67668         and __floorf is target has SSE4.1.
67669         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67670         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67671         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67672         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67674         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67675         name.
67676         (floorf): Likewise.
67678         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67680 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67682         * misc/sys/cdefs.h: Fix last change.
67684         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67685         database lookup.
67687 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67689         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67691         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67692         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67693         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67694         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67695         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67696         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67697         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67698         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67699         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67700         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67701         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67702         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67703         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67704         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67705         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67706         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67707         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67708         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67709         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67710         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67711         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67712         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67714         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67715         ceil, ceilf, floor, floorf.
67717         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67718         Perform IRELATIVE relocations last.
67720         * elf/do-rel.h: Add another parameter nrelative, replacing the
67721         local variable with the same name.  Change name of the function
67722         to end in Rel or Rela (uppercase).
67723         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67724         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67725         elf_dynamic_do_##reloc function.
67727 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67729         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67730         is sufficient, at least on modern CPUs.
67732         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67734         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67735         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67737         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67738         __expl_finite.
67739         * math/bits/math-finite.h: Add entries for exp.
67740         * math/e_expl.c: Add __*_finite alias.
67741         * sysdeps/i386/fpu/e_exp.S: Likewise.
67742         * sysdeps/i386/fpu/e_expf.S: Likewise.
67743         * sysdeps/i386/fpu/e_expl.c: Likewise.
67744         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67745         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67746         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67747         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67748         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67749         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67750         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67752         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67753         is sufficient, at least on modern CPUs.
67755         * ctype/ctype-info.c (__ctype_init): Define.
67756         * include/ctype.h (__ctype_init): Declare.
67757         (__ctype_b_loc): The variable is always initialized.
67758         (__ctype_toupper_loc): Likewise.
67759         (__ctype_tolower_loc): Likewise.
67760         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67761         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67763 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67765         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67767         * configure.in: Also look in $cxxmachine/include for C++ system
67768         headers.
67770 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67772         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67773         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67774         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67775         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67776         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67777         (USE_AS_WMEMCMP): New macro.
67778         Fixing indents.
67779         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67780         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67781         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67782         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67783         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67784         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67785         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67786         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67787         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67788         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67789         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67790         (USE_AS_WMEMCMP): New macro.
67791         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67792         * sysdeps/string/test-memcmp.c: Update.
67793         Fix simple_wmemcmp.
67794         Add new tests.
67795         * wcsmbs/wmemcmp.c: Update.
67796         (WMEMCMP): New macro.
67797         Fix overflow bug.
67799 2011-10-12  Andreas Jaeger  <aj@suse.de>
67801         [BZ #13268]
67802         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
67804 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67806         * libio/iofwide.c (do_length): Avoid warning.
67808         * ctype/ctype.h (__isctype_f): Add missing __THROW.
67810 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
67812         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
67814         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
67815         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
67816         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
67817         * sysdeps/i386/i686/fpu/e_log.S: New file.
67818         * sysdeps/i386/i686/fpu/e_logf.S: New file.
67819         * sysdeps/i386/i686/fpu/e_logl.S: New file.
67821         * ctype/ctype.h: Add support for inlined isXXX functions when
67822         compiling C++ code.
67824 2011-10-14  Andreas Schwab  <schwab@redhat.com>
67826         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67828         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
67830 2011-10-13  Roland McGrath  <roland@hack.frob.com>
67832         [BZ #13291]
67833         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
67835 2011-10-13  Andreas Schwab  <schwab@redhat.com>
67837         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
67838         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
67839         feraiseexcept.
67841         * sysdeps/x86_64/memrchr.S: Check for zero size.
67843         * string/stratcliff.c: Add memrchr tests.
67845 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67847         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67848         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
67849         rawmemchr-sse2 rawmemchr-sse2-bsf.
67850         * sysdeps/i386/i686/multiarch/memchr.S: New file.
67851         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
67852         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
67853         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
67854         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
67855         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
67856         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
67857         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
67858         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
67859         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
67860         * string/memrchr.c (MEMRCHR): New macro.
67862 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
67864         Add integration with gcc's -ffinite-math-only and optimize wrapper
67865         functions in libm.
67866         * Versions.def: Define GLIBC_2.15 version for libm.
67867         * math/Makefile (headers): Add bits/math-finite.h.
67868         * math/bits/math-finite.h: New file.
67869         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
67870         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
67871         * math/e_acoshl.c: Add __*_finite alias.
67872         * math/e_acosl.c: Likewise.
67873         * math/e_asinl.c: Likewise.
67874         * math/e_atan2l.c: Likewise.
67875         * math/e_atanhl.c: Likewise.
67876         * math/e_coshl.c: Likewise.
67877         * math/e_exp10.c: Likewise.
67878         * math/e_exp10f.c: Likewise.
67879         * math/e_exp10l.c: Likewise.
67880         * math/e_exp2l.c: Likewise.
67881         * math/e_fmodl.c: Likewise.
67882         * math/e_gammal_r.c: Likewise.
67883         * math/e_hypotl.c: Likewise.
67884         * math/e_j0l.c: Likewise.
67885         * math/e_j1l.c: Likewise.
67886         * math/e_jnl.c: Likewise.
67887         * math/e_lgammal_r.c: Likewise.
67888         * math/e_log10l.c: Likewise.
67889         * math/e_log2l.c: Likewise.
67890         * math/e_logl.c: Likewise.
67891         * math/e_powl.c: Likewise.
67892         * math/e_sinhl.c: Likewise.
67893         * math/e_sqrtl.c: Likewise.
67894         * math/e_scalb.c: Completely rewritten and optimized.
67895         * math/e_scalbf.c: Likewise.
67896         * math/e_scalbl.c: Likewise.
67897         * math/w_acos.c: Likewise.
67898         * math/w_acosf.c: Likewise.
67899         * math/w_acosl.c: Likewise.
67900         * math/w_acosh.c: Likewise.
67901         * math/w_acoshf.c: Likewise.
67902         * math/w_acoshl.c: Likewise.
67903         * math/w_asin.c: Likewise.
67904         * math/w_asinf.c: Likewise.
67905         * math/w_asinl.c: Likewise.
67906         * math/w_atan2.c: Likewise.
67907         * math/w_atan2f.c: Likewise.
67908         * math/w_atan2l.c: Likewise.
67909         * math/w_atanh.c: Likewise.
67910         * math/w_atanhf.c: Likewise.
67911         * math/w_atanhl.c: Likewise.
67912         * math/w_exp10.c: Likewise.
67913         * math/w_exp10f.c: Likewise.
67914         * math/w_exp10l.c: Likewise.
67915         * math/w_fmod.c: Likewise.
67916         * math/w_fmodf.c: Likewise.
67917         * math/w_fmodl.c: Likewise.
67918         * math/w_j0.c: Likewise.
67919         * math/w_j0f.c: Likewise.
67920         * math/w_j0l.c: Likewise.
67921         * math/w_j1.c: Likewise.
67922         * math/w_j1f.c: Likewise.
67923         * math/w_j1l.c: Likewise.
67924         * math/w_jn.c: Likewise.
67925         * math/w_jnf.c: Likewise.
67926         * math/w_log.c: Likewise.
67927         * math/w_logf.c: Likewise.
67928         * math/w_logl.c: Likewise.
67929         * math/w_log10.c: Likewise.
67930         * math/w_log10f.c: Likewise.
67931         * math/w_log10l.c: Likewise.
67932         * math/w_log2.c: Likewise.
67933         * math/w_log2f.c: Likewise.
67934         * math/w_log2l.c: Likewise.
67935         * math/w_pow.c: Likewise.
67936         * math/w_powf.c: Likewise.
67937         * math/w_powl.c: Likewise.
67938         * math/w_remainder.c: Likewise.
67939         * math/w_remainderf.c: Likewise.
67940         * math/w_remainderl.c: Likewise.
67941         * math/w_scalb.c: Likewise.
67942         * math/w_scalbf.c: Likewise.
67943         * math/w_scalbl.c: Likewise.
67944         * math/w_sqrt.c: Likewise.
67945         * math/w_sqrtf.c: Likewise.
67946         * math/w_sqrtl.c: Likewise.
67947         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
67948         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
67949         used.
67950         * math/math_private.h: Declare __kernel_standard_f.
67951         * math/w_cosh.c: Remove cruft and optimize a bit.
67952         * math/w_coshf.c: Likewise.
67953         * math/w_coshl.c: Likewise.
67954         * math/w_exp2.c: Likewise.
67955         * math/w_exp2f.c: Likewise.
67956         * math/w_exp2l.c: Likewise.
67957         * math/w_hypot.c: Likewise.
67958         * math/w_hypotf.c: Likewise.
67959         * math/w_hypotl.c: Likewise.
67960         * math/w_lgamma.c: Likewise.
67961         * math/w_lgamma_r.c: Likewise.
67962         * math/w_lgammaf.c: Likewise.
67963         * math/w_lgammaf_r.c: Likewise.
67964         * math/w_lgammal.c: Likewise.
67965         * math/w_lgammal_r.c: Likewise.
67966         * math/w_sinh.c: Likewise.
67967         * math/w_sinhf.c: Likewise.
67968         * math/w_sinhl.c: Likewise.
67969         * math/w_tgamma.c: Likewise.
67970         * math/w_tgammaf.c: Likewise.
67971         * math/w_tgammal.c: Likewise.
67972         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67973         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67974         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
67975         Minor optimizations.  Pretty printing.  Remove cruft.
67976         * sysdeps/i386/fpu/e_acosf.S: Likewise.
67977         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67978         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67979         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67980         * sysdeps/i386/fpu/e_acosl.c: Likewise.
67981         * sysdeps/i386/fpu/e_asin.S: Likewise.
67982         * sysdeps/i386/fpu/e_asinf.S: Likewise.
67983         * sysdeps/i386/fpu/e_atan2.S: Likewise.
67984         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
67985         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
67986         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67987         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67988         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67989         * sysdeps/i386/fpu/e_exp10.S: Likewise.
67990         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
67991         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
67992         * sysdeps/i386/fpu/e_exp2.S: Likewise.
67993         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
67994         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
67995         * sysdeps/i386/fpu/e_fmod.S: Likewise.
67996         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
67997         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
67998         * sysdeps/i386/fpu/e_hypot.S: Likewise.
67999         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68000         * sysdeps/i386/fpu/e_log.S: Likewise.
68001         * sysdeps/i386/fpu/e_log10.S: Likewise.
68002         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68003         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68004         * sysdeps/i386/fpu/e_log2.S: Likewise.
68005         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68006         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68007         * sysdeps/i386/fpu/e_logf.S: Likewise.
68008         * sysdeps/i386/fpu/e_logl.S: Likewise.
68009         * sysdeps/i386/fpu/e_pow.S: Likewise.
68010         * sysdeps/i386/fpu/e_powf.S: Likewise.
68011         * sysdeps/i386/fpu/e_powl.S: Likewise.
68012         * sysdeps/i386/fpu/e_remainder.S: Likewise.
68013         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68014         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68015         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68016         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68017         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68018         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68019         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68020         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68021         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68022         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68023         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68024         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68025         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68026         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68027         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68028         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68029         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68030         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68031         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68032         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68033         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68034         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68035         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68036         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68037         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68038         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68039         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68040         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68041         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68042         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68043         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68044         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68045         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68046         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68047         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68048         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68049         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68050         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68051         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68052         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68053         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68054         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68055         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68056         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68057         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68058         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68059         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68060         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68061         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68062         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68063         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68064         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68065         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68066         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68067         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68068         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68069         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68070         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68071         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68072         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68073         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68074         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68075         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68076         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68077         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68078         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68079         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68080         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68081         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68082         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68083         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68084         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68085         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68086         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68087         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68088         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68089         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68090         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68091         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68092         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68093         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68094         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68095         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68096         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68097         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68098         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68099         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68100         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68101         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68102         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68103         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68104         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68105         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68106         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68107         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68108         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68109         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68110         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68111         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68112         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68113         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68114         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68115         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68116         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68117         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68118         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68119         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68120         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68121         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68122         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68123         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68124         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68125         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68126         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68127         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68128         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68129         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68130         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68131         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
68132         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68133         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68134         (__isnanf): Likewise.
68135         (__isinf_ns): Likewise.
68136         (__isinf_nsf): Likewise.
68137         (__finite): Likewise.
68138         (__finitef): Likewise.
68139         (__ieee754_sqrt): Define as macro.
68140         (__ieee754_sqrtf): Define as macro.
68141         (__ieee754_sqrtl): Define as macro.
68142         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68143         inlined copy.
68144         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68145         __FINITE_MATH_ONLY__ consistent.
68146         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68148 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68150         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68151         of rawmemchr.
68153         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68155 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68157         * po/ja.po: Update from translation team.
68159 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68161         * locale/programs/locarchive.c (prepare_address_space): New function.
68162         (create_archive, enlarge_archive, open_archive): Use it.
68164         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68165         inside [SHARED], where it is used.
68167         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68169         * nss/getent.c (netgroup_keys): Remove unused variable.
68170         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68172 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68174         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68175         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68176         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68177         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68178         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68179         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68180         * math/Makefile (libm-calls): Add s_isinf_ns.
68181         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68182         * math/multc3.c: Likewise.
68183         * math/s_casin.c: Likewise.
68184         * math/s_casinf.c: Likewise.
68185         * math/s_casinl.c: Likewise.
68186         * math/s_ccos.c: Likewise.
68187         * math/s_ccosf.c: Likewise.
68188         * math/s_ccosl.c: Likewise.
68189         * math/s_ctan.c: Likewise.
68190         * math/s_ctanf.c: Likewise.
68191         * math/s_ctanh.c: Likewise.
68192         * math/s_ctanhf.c: Likewise.
68193         * math/s_ctanhl.c: Likewise.
68194         * math/s_ctanl.c: Likewise.
68195         * math/w_fmod.c: Likewise.
68196         * math/w_fmodf.c: Likewise.
68197         * math/w_fmodl.c: Likewise.
68198         * math/w_remainder.c: Likewise.
68199         * math/w_remainderf.c: Likewise.
68200         * math/w_remainderl.c: Likewise.
68201         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68202         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68203         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68204         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68205         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68206         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68207         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68208         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68210         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68211         of the number.
68212         * stdio-common/printf_fphex.c: Likewise.
68213         * stdio-common/printf_size.c: Likewise.
68215         * math/e_exp10.c: Include math_private.h using <...> not "...".
68216         * math/e_exp10f.c: Likewise.
68217         * math/e_exp10l.c: Likewise.
68218         * math/e_exp2l.c: Likewise.
68219         * math/e_j0l.c: Likewise.
68220         * math/e_j1l.c: Likewise.
68221         * math/e_jnl.c: Likewise.
68222         * math/e_lgammal_r.c: Likewise.
68223         * math/e_rem_pio2l.c: Likewise.
68224         * math/e_scalb.c: Likewise.
68225         * math/e_scalbf.c: Likewise.
68226         * math/e_scalbl.c: Likewise.
68227         * math/k_cosl.c: Likewise.
68228         * math/k_sinl.c: Likewise.
68229         * math/k_tanl.c: Likewise.
68230         * math/s_cacoshf.c: Likewise.
68231         * math/s_catan.c: Likewise.
68232         * math/s_catanf.c: Likewise.
68233         * math/s_catanh.c: Likewise.
68234         * math/s_catanhf.c: Likewise.
68235         * math/s_catanhl.c: Likewise.
68236         * math/s_catanl.c: Likewise.
68237         * math/s_ccosh.c: Likewise.
68238         * math/s_ccoshf.c: Likewise.
68239         * math/s_ccoshl.c: Likewise.
68240         * math/s_cexp.c: Likewise.
68241         * math/s_cexpf.c: Likewise.
68242         * math/s_cexpl.c: Likewise.
68243         * math/s_clog.c: Likewise.
68244         * math/s_clog10.c: Likewise.
68245         * math/s_clog10f.c: Likewise.
68246         * math/s_clog10l.c: Likewise.
68247         * math/s_clogf.c: Likewise.
68248         * math/s_clogl.c: Likewise.
68249         * math/s_csin.c: Likewise.
68250         * math/s_csinf.c: Likewise.
68251         * math/s_csinh.c: Likewise.
68252         * math/s_csinhf.c: Likewise.
68253         * math/s_csinhl.c: Likewise.
68254         * math/s_csinl.c: Likewise.
68255         * math/s_csqrt.c: Likewise.
68256         * math/s_csqrtf.c: Likewise.
68257         * math/s_csqrtl.c: Likewise.
68258         * math/s_ctan.c: Likewise.
68259         * math/s_ctanf.c: Likewise.
68260         * math/s_ctanh.c: Likewise.
68261         * math/s_ctanhf.c: Likewise.
68262         * math/s_ctanhl.c: Likewise.
68263         * math/s_ctanl.c: Likewise.
68264         * math/s_ldexp.c: Likewise.
68265         * math/s_ldexpf.c: Likewise.
68266         * math/s_ldexpl.c: Likewise.
68267         * math/s_significand.c: Likewise.
68268         * math/s_significandf.c: Likewise.
68269         * math/s_significandl.c: Likewise.
68270         * math/w_acos.c: Likewise.
68271         * math/w_acosf.c: Likewise.
68272         * math/w_acosh.c: Likewise.
68273         * math/w_acoshf.c: Likewise.
68274         * math/w_acoshl.c: Likewise.
68275         * math/w_acosl.c: Likewise.
68276         * math/w_asin.c: Likewise.
68277         * math/w_asinf.c: Likewise.
68278         * math/w_asinl.c: Likewise.
68279         * math/w_atan2.c: Likewise.
68280         * math/w_atan2f.c: Likewise.
68281         * math/w_atan2l.c: Likewise.
68282         * math/w_atanh.c: Likewise.
68283         * math/w_atanhf.c: Likewise.
68284         * math/w_atanhl.c: Likewise.
68285         * math/w_cosh.c: Likewise.
68286         * math/w_coshf.c: Likewise.
68287         * math/w_coshl.c: Likewise.
68288         * math/w_dremf.c: Likewise.
68289         * math/w_exp10.c: Likewise.
68290         * math/w_exp10f.c: Likewise.
68291         * math/w_exp10l.c: Likewise.
68292         * math/w_exp2.c: Likewise.
68293         * math/w_exp2f.c: Likewise.
68294         * math/w_fmod.c: Likewise.
68295         * math/w_fmodf.c: Likewise.
68296         * math/w_fmodl.c: Likewise.
68297         * math/w_hypot.c: Likewise.
68298         * math/w_hypotf.c: Likewise.
68299         * math/w_hypotl.c: Likewise.
68300         * math/w_j0.c: Likewise.
68301         * math/w_j0f.c: Likewise.
68302         * math/w_j0l.c: Likewise.
68303         * math/w_j1.c: Likewise.
68304         * math/w_j1f.c: Likewise.
68305         * math/w_j1l.c: Likewise.
68306         * math/w_jn.c: Likewise.
68307         * math/w_jnf.c: Likewise.
68308         * math/w_jnl.c: Likewise.
68309         * math/w_lgamma.c: Likewise.
68310         * math/w_lgamma_r.c: Likewise.
68311         * math/w_lgammaf.c: Likewise.
68312         * math/w_lgammaf_r.c: Likewise.
68313         * math/w_lgammal.c: Likewise.
68314         * math/w_lgammal_r.c: Likewise.
68315         * math/w_log.c: Likewise.
68316         * math/w_log10.c: Likewise.
68317         * math/w_log10f.c: Likewise.
68318         * math/w_log10l.c: Likewise.
68319         * math/w_log2.c: Likewise.
68320         * math/w_log2f.c: Likewise.
68321         * math/w_log2l.c: Likewise.
68322         * math/w_logf.c: Likewise.
68323         * math/w_logl.c: Likewise.
68324         * math/w_pow.c: Likewise.
68325         * math/w_powf.c: Likewise.
68326         * math/w_powl.c: Likewise.
68327         * math/w_remainder.c: Likewise.
68328         * math/w_remainderf.c: Likewise.
68329         * math/w_remainderl.c: Likewise.
68330         * math/w_scalb.c: Likewise.
68331         * math/w_scalbf.c: Likewise.
68332         * math/w_scalbl.c: Likewise.
68333         * math/w_sinh.c: Likewise.
68334         * math/w_sinhf.c: Likewise.
68335         * math/w_sinhl.c: Likewise.
68336         * math/w_sqrt.c: Likewise.
68337         * math/w_sqrtf.c: Likewise.
68338         * math/w_sqrtl.c: Likewise.
68339         * math/w_tgamma.c: Likewise.
68340         * math/w_tgammaf.c: Likewise.
68341         * math/w_tgammal.c: Likewise.
68343         * po/ja.po: Update from translation team.
68345 2011-09-29  Andreas Jaeger  <aj@suse.de>
68347         [BZ #13179]
68348         * sunrpc/netname.c (netname2host): Fix logic.
68350         [BZ #6779]
68351         [BZ #6783]
68352         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68353         correctly.
68354         * math/w_remainder.c (__remainder): Likewise.
68355         * math/w_remainderf.c (__remainderf): Likewise.
68356         * math/libm-test.inc (remainder_test): Add test cases.
68358 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68360         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68361         sdiv_qrnnd.
68363 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68365         * string/test-memcmp.c: Avoid unncessary #defines.
68366         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68368 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68370         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68371         Use new sse2 version for core i3 - i7 as it's faster
68372         than sse42 version.
68373         (bit_Prefer_PMINUB_for_stringop): New.
68374         * sysdeps/x86_64/rawmemchr.S: Update.
68375         Replace with faster SSE2 version.
68376         * sysdeps/x86_64/memrchr.S: New file.
68377         * sysdeps/x86_64/memchr.S: Update.
68378         Replace with faster SSE2 version.
68380 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68382         * elf/dl-load.c (lose): Add cast to avoid warning.
68384 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68386         * po/ca.po: Update from translation team.
68388         * inet/getnetgrent_r.c: Hook up nscd.
68389         * nscd/Makefile (routines): Add nscd_netgroup.
68390         (nscd-modules): Add netgroupcache.
68391         (CFLAGS-netgroupcache.c): Define.
68392         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68393         (cache_search): Add const to second parameter.
68394         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68395         INNETGR.
68396         (dbs): Add netgrdb entry.
68397         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68398         (verify_persistent_db): Handle netgrdb.
68399         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68400         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68401         GETFDNETGR.
68402         (netgroup_response_header): Define.
68403         (innetgroup_response_header): Define.
68404         (datahead): Add netgroup_response_header and innetgroup_response_header
68405         elements.
68406         * nscd/nscd.conf: Add entries for netgroup cache.
68407         * nscd/nscd.h (dbtype): Add netgrdb.
68408         (_PATH_NSCD_NETGROUP_DB): Define.
68409         (netgroup_iov_disabled): Declare.
68410         (xmalloc, xcalloc, xrealloc): Move declarations here.
68411         (cache_search): Adjust prototype.
68412         Add netgroup-related prototypes.
68413         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68414         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68415         (__nscd_innetgr): Declare.
68416         * nscd/selinux.c (perms): Use access_vector_t as element type and
68417         add netgroup-related initializers.
68418         * nscd/netgroupcache.c: New file.
68419         * nscd/nscd_netgroup.c: New file.
68420         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68421         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68422         For four parameters use innetgr.
68423         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68424         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68425         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68426         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68428         * nscd/connections.c (register_traced_file): Don't register file
68429         for disabled databases.
68431 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68433         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68435         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68436         from tree and freeing node.
68438 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68440         * nss/nsswitch.c (__nss_database_lookup): Handle
68441         nss_parse_service_list out of memory case.
68443 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68445         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68446         out of memory case.
68448 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68450         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68451         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68452         pass it down.
68453         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68454         elf_machine_rela, elf_machine_lazy_rel.
68455         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68456         (ELF_DYNAMIC_DO_REL): Likewise.
68457         (ELF_DYNAMIC_DO_RELA): Likewise.
68458         (ELF_DYNAMIC_RELOCATE): Likewise.
68459         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68460         to ELF_DYNAMIC_DO_REL.
68461         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68462         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68463         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68464         elf_machine_rela.
68465         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68466         skip_ifunc, don't call ifunc function if non-zero.
68467         (elf_machine_rela): Likewise.
68468         (elf_machine_lazy_rel): Likewise.
68469         (elf_machine_lazy_rela): Likewise.
68470         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68471         (elf_machine_lazy_rel): Likewise.
68472         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68473         Likewise.
68474         (elf_machine_lazy_rel): Likewise.
68475         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68476         Likewise.
68477         (elf_machine_lazy_rel): Likewise.
68478         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68479         (elf_machine_lazy_rel): Likewise.
68480         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68481         (elf_machine_lazy_rel): Likewise.
68482         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68483         (elf_machine_lazy_rel): Likewise.
68484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68485         (elf_machine_lazy_rel): Likewise.
68486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68487         (elf_machine_lazy_rel): Likewise.
68488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68489         (elf_machine_lazy_rel): Likewise.
68491 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68493         * nss/nss_files/files-init.c (_nss_files_init): Use static
68494         initialization for all the *_traced_file variables.
68496 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68498         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68500 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68502         [BZ #13226]
68503         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68505 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68507         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68508         Reread the line before reparsing it.
68510 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68512         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68514 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68515             Maxim Kuvyrkov  <maxim@codesourcery.com>
68516             Joseph Myers  <joseph@codesourcery.com>
68518         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68519         if needed for __stack_chk_guard.
68521 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68523         * sysdeps/posix/spawni.c (script_execute): Always define it.
68524         It will be optimized away if unused.
68525         (maybe_script_execute): New function.
68526         (__spawni): Call it.
68528         * Makerules: Don't include tls.make.
68529         (config-tls): Always set to thread.
68530         * tls.make.c: File removed.
68532 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68534         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68535         * config.make.in (CPPFLAGS-config): New substituted variable.
68537 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68539         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68541         [BZ #13192]
68542         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68543         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68545 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68547         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68548         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68550         (CALL_FAIL): Likewise.
68551         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68552         (CALL_FAIL): Macro removed.
68553         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68555 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68557         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68558         for __FINITE_MATH_ONLY__ == 1.
68560 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68562         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68563         __ieee754_sqrt instead of sqrt.
68564         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68565         __ieee754_sqrtf instead of sqrtf.
68566         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68567         __floorf instead of floorf.
68568         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68569         __floorf, __truncf instead of floorf, truncf.
68571 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68573         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68575         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68576         __extern_always_inline.
68577         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68578         32-bit.
68580 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68582         * elf/rtld.c (dl_main): Also relocate in dependency order when
68583         doing symbol dependency testing.
68585 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68588         Always define `refsym'.
68590 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68592         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68593         (__FD_ELT): Renamed from __FDELT.
68594         * misc/bits/select2.h (__FD_ELT): Likewise.
68595         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68596         __FD_MASK instead of __FDELT, __FDMASK.
68597         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68598         Likewise.
68599         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68600         Likewise.
68602         * elf/Makefile (gen-ldd): Fix pattern.
68604         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68605         (init_tls): Likewise.
68607 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68609         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68611 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68613         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68614         `struct cmsghdr *' instead of `void *'.
68615         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68616         Likewise.
68618 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68620         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68621         if non-absolute.
68622         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68623         ldd_rewrite_script.
68625 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68627         * configure.in: Remove --with-tls option.
68628         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68629         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68630         out in case it is missing.
68631         * sysdeps/ia64/elf/configure.in: Likewise.
68632         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68633         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68634         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68635         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68636         * sysdeps/sh/elf/configure.in: Likewise.
68637         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68638         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68639         * sysdeps/x86_64/elf/configure.in: Likewise.
68640         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68641         * sysdeps/mach/hurd/tls.h: Likewise.
68643         [BZ #13067]
68644         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68646         [BZ #13090]
68647         * configure.in: Fix use of AC_INIT.
68649         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68651 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68653         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68654         __set_errno.
68655         * malloc/hooks.c: Likewise.
68657         [BZ #11929]
68658         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68659         variables statically.
68660         (narenas): Initialize.
68661         (list_lock): Initialize.
68662         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68663         initializtion of main_arena and list_lock.  Small cleanups.
68664         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68665         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68666         Add initializers to main_arena and mp_.
68667         (malloc_state): Remove pagesize member.  Change all users to use
68668         GLRO(dl_pagesize).
68670         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68671         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68672         is always initialized.
68674         * malloc/malloc.c: Removed unused configurations and dead code.
68675         * malloc/arena.c: Likewise.
68676         * malloc/hooks.c: Likewise.
68677         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68679         * include/tls.h: Removed.  USE___THREAD must always be defined.
68680         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68681         * elf/dl-libc.c: Likewise.
68682         * elf/dl-tsd.c: Likewise.
68683         * include/errno.h: Likewise.
68684         * include/netdb.h: Likewise.
68685         * include/resolv.h: Likewise.
68686         * inet/herrno-loc.c: Likewise.
68687         * inet/herrno.c: Likewise.
68688         * malloc/arena.c: Likewise.
68689         * malloc/hooks.c: Likewise.
68690         * malloc/malloc.c: Likewise.
68691         * resolv/res-state.c: Likewise.
68692         * resolv/res_libc.c: Likewise.
68693         * sysdeps/i386/dl-machine.h: Likewise.
68694         * sysdeps/ia64/dl-machine.h: Likewise.
68695         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68696         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68697         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68698         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68699         * sysdeps/sh/dl-machine.h: Likewise.
68700         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68701         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68702         * sysdeps/unix/i386/sysdep.S: Likewise.
68703         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68704         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68705         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68708         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68709         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68710         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68711         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68713         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68714         * sysdeps/x86_64/dl-machine.h: Likewise.
68715         * tls.make.c: Likewise.
68717         * configure.in: Remove --with-__thread option.  Make tests for
68718         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68719         tls_model attribute fail if no support is available.  Remove
68720         USE_IN_LIBIO.
68721         * Makeconfig: Adjust for dropped configure option.  All features are
68722         now mandatory.
68723         * Makerules: Likewise.
68724         * Versions.def: Likewise.
68725         * argp/argp-fmtstream.c: Likewise.
68726         * argp/argp-fmtstream.h: Likewise.
68727         * argp/argp-help.c: Likewise.
68728         * assert/assert.c: Likewise.
68729         * config.h.in: Likewise.
68730         * config.make.in: Likewise.
68731         * configure: Likewise.
68732         * configure.in: Likewise.
68733         * csu/Versions: Likewise.
68734         * csu/init.c: Likewise.
68735         * elf/tst-audit2.c: Likewise.
68736         * elf/tst-tls10.c: Likewise.
68737         * elf/tst-tls10.h: Likewise.
68738         * elf/tst-tls11.c: Likewise.
68739         * elf/tst-tls12.c: Likewise.
68740         * elf/tst-tls14.c: Likewise.
68741         * elf/tst-tlsmod11.c: Likewise.
68742         * elf/tst-tlsmod12.c: Likewise.
68743         * elf/tst-tlsmod13.c: Likewise.
68744         * elf/tst-tlsmod13a.c: Likewise.
68745         * elf/tst-tlsmod14a.c: Likewise.
68746         * elf/tst-tlsmod15b.c: Likewise.
68747         * elf/tst-tlsmod16a.c: Likewise.
68748         * elf/tst-tlsmod16b.c: Likewise.
68749         * elf/tst-tlsmod7.c: Likewise.
68750         * elf/tst-tlsmod8.c: Likewise.
68751         * elf/tst-tlsmod9.c: Likewise.
68752         * gmon/gmon.c: Likewise.
68753         * grp/fgetgrent_r.c: Likewise.
68754         * grp/putgrent.c: Likewise.
68755         * hurd/fopenport.c: Likewise.
68756         * include/libc-symbols.h: Likewise.
68757         * include/tls.h: Likewise.
68758         * intl/gettextP.h: Likewise.
68759         * intl/loadinfo.h: Likewise.
68760         * locale/global-locale.c: Likewise.
68761         * locale/localeinfo.h: Likewise.
68762         * mach/devstream.c: Likewise.
68763         * malloc/arena.c: Likewise.
68764         * malloc/set-freeres.c: Likewise.
68765         * misc/err.c: Likewise.
68766         * misc/getttyent.c: Likewise.
68767         * misc/mntent_r.c: Likewise.
68768         * posix/getopt.c: Likewise.
68769         * posix/wordexp.c: Likewise.
68770         * pwd/fgetpwent_r.c: Likewise.
68771         * resolv/Versions: Likewise.
68772         * resolv/res_hconf.c: Likewise.
68773         * shadow/fgetspent_r.c: Likewise.
68774         * shadow/putspent.c: Likewise.
68775         * stdio-common/printf_fphex.c: Likewise.
68776         * stdio-common/tmpfile.c: Likewise.
68777         * stdlib/abort.c: Likewise.
68778         * stdlib/fmtmsg.c: Likewise.
68779         * sunrpc/auth_unix.c: Likewise.
68780         * sunrpc/clnt_perr.c: Likewise.
68781         * sunrpc/clnt_tcp.c: Likewise.
68782         * sunrpc/clnt_udp.c: Likewise.
68783         * sunrpc/clnt_unix.c: Likewise.
68784         * sunrpc/openchild.c: Likewise.
68785         * sunrpc/svc_simple.c: Likewise.
68786         * sunrpc/svc_tcp.c: Likewise.
68787         * sunrpc/svc_udp.c: Likewise.
68788         * sunrpc/svc_unix.c: Likewise.
68789         * sunrpc/xdr.c: Likewise.
68790         * sunrpc/xdr_array.c: Likewise.
68791         * sunrpc/xdr_rec.c: Likewise.
68792         * sunrpc/xdr_ref.c: Likewise.
68793         * sunrpc/xdr_stdio.c: Likewise.
68795 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68797         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68799 2011-07-03  Andreas Jaeger  <aj@suse.de>
68801         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
68802         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
68803         regenerate with gen-libm-tests.pl.
68805 2010-05-12  Petr Baudis  <pasky@suse.cz>
68807         [BZ #11589]
68808         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
68809         around j0() zero points by switching to j1().
68810         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68811         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68813         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68815 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68817         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
68818         instead of 0.
68819         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
68820         instead of 0.
68821         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68822         Patch in part by Pavel Roskin <proski@gnu.org>.
68824         [BZ #13138]
68825         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
68826         realloc.
68827         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
68828         Free memory block if necessary.
68830         [BZ #12847]
68831         * libio/genops.c (INTDEF): For string streams the _lock pointer can
68832         be NULL.  Don't lock in this case.
68834 2011-09-09  Roland McGrath  <roland@hack.frob.com>
68836         * elf/elf.h (ELFOSABI_GNU): New macro.
68837         (ELFOSABI_LINUX): Define to that.
68839 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
68841         * string/strncat.c (strncat): Undef the symbol in case it has been
68842         defined in bits/string.h.
68844 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68846         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
68848         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
68849         link map.
68851 2011-08-17  Andreas Jaeger  <aj@suse.de>
68853         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
68855 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
68856             Ian Lance Taylor  <iant@google.com>
68858         * math/libm-test.inc (lround_test): New testcase.
68859         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
68861 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
68863         * Makefile: Remove support for automatic cvs check-ins.
68864         * Makerules: Likewise.
68865         * config.make.in: Likewise.
68866         * configure.in: Likewise.
68867         * intl/Makefile: Likewise.
68868         * locale/Makefile: Likewise.
68869         * po/Makefile: Likewise.
68870         * posix/Makefile: Likewise.
68871         * sysdeps/gnu/Makefile: Likewise.
68872         * sysdeps/mach/hurd/Makefile: Likewise.
68873         * sysdeps/sparc/sparc32/Makefile: Likewise.
68875         [BZ #13118]
68876         * posix/Makefile (bug-regex32-ENV): Define.
68877         Patch by John Stanley <jpsinthemix@verizon.net>.
68879         * misc/Makefile (headers): Add bits/select2.h.
68880         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
68881         * misc/bits/select2.h: New file.
68882         * include/bits/select2.h: New file.
68883         * debug/Makefile (routines): Add fdelt_chk.
68884         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
68885         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
68886         FD_ISSET.
68887         * debug/fdelt_chk.c: New file.
68889         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
68890         * wcsmbs/test-wmemcmp.c: Likewise.
68891         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
68892         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
68894 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68896         * string/Makefile (strop-tests): Add memcmp.
68897         * string/test-wmemcmp.c: New file.
68898         * string/test-memcmp.c: Add wmemcmp support.
68900 2011-09-08  Roland McGrath  <roland@hack.frob.com>
68902         [BZ #13153]
68903         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
68904         2011-07-19 change.
68906         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
68907         garbage value in a __mach_port_mod_refs call in the cases of the
68908         task-self and thread-self ports.
68910 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68912         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
68914 2011-09-08  Andreas Schwab  <schwab@redhat.com>
68916         * elf/dl-load.c (lose): Check for non-null L.
68918 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68920         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
68922         * elf/dl-libc.c (dlerror_run): Pass back error code from
68923         dl_catch_error.
68925         [BZ #13123]
68926         * elf/dl-load.c (lose): Free l_origin if it is valid.
68928         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
68929         names.
68930         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
68931         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
68932         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68933         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
68934         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
68935         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
68937 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68939         * sysdeps/powerpc/fpu/e_hypot.c: New file.
68940         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
68941         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
68942         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
68943         * sysdeps/powerpc/fpu/k_cosf.c: New file.
68944         * sysdeps/powerpc/fpu/k_sinf.c: New file.
68945         * sysdeps/powerpc/fpu/s_cosf.c: New file.
68946         * sysdeps/powerpc/fpu/s_sinf.c: New file.
68947         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
68948         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
68950 2011-08-15  Alan Modra  <amodra@gmail.com>
68952         [BZ #13092]
68953         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
68954         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
68955         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
68956         ppc_mcount to static-only-routines.
68957         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
68958         __mcount_internal.
68959         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
68960         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
68962 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
68964         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
68965         for finite and infinity parameters.
68967 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68969         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
68970         and add nop instructions for throughput optimization.
68971         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68973 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
68975         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
68976         aligned copy for power7 with vector-scalar instructions.
68977         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
68979 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
68981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
68982         AVX check.
68984 2011-09-07  Andreas Schwab  <schwab@redhat.com>
68986         [BZ #13144]
68987         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
68988         last change.
68990 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
68992         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68993         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
68994         syscall wrapper around clock_gettime in __vdso_clock_gettime.
68995         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
68996         clock_gettime.
68998 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69000         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69001         Forgot to demangle the pointer.
69003         * sysdeps/i386/sysdep.h: Define atom_text_section.
69004         * sysdeps/x86_64/sysdep.h: Likewise.
69005         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69006         section with atom_text_section.
69007         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69008         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69009         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69010         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69011         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69013         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69014         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69015         already be defined.  Change to take two parameters and don't assign
69016         result to variable.  Adjust all users.
69017         Define INTERNAL_GETTIME if not already defined.
69018         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69019         call.
69020         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69021         HAVE_CLOCK_GETTIME_VSYSCALL.
69022         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69024         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69025         gettimeofday vsyscall, just use time.
69027 2011-09-06  Andreas Schwab  <schwab@redhat.com>
69029         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69030         <errno.h>.
69032 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69034         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69035         syscall on x86-64.
69036         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69037         syscall.
69038         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69039         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69040         syscall if possible.
69042 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69044         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69045         e_ident.  Don't pass to find_mapsXX.
69046         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69048 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69051         strchr-sse2-no-bsf strrchr-sse2-no-bsf
69052         * sysdeps/x86_64/multiarch/strchr.S: Update.
69053         Check bit_slow_BSF bit.
69054         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69055         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69056         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69058 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69060         [BZ #13134]
69061         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69062         before glibc 2.15.
69063         (tryshell): Define.
69064         (__spawni): Change last parameter to be flag.  Test
69065         SPAWN_XFLAGS_USE_PATH flag to use path or not.
69066         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69067         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69068         * posix/spawni.c: Likewise.
69069         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69070         * posix/spawnp.c: Likewise.  Change normal version to use
69071         SPAWN_XFLAGS_USE_PATH.
69072         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69073         SPAWN_XFLAGS_TRY_SHELL.
69075         [BZ #13150]
69076         * posix/glob.h: Remove gcc 1.x support.
69078         [BZ #13068]
69079         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69081 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69083         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69084         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69085         strrchr-sse2-bsf
69086         * sysdeps/i386/i686/multiarch/strchr.S: New file.
69087         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69088         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69089         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69090         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69091         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69093 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69095         * sysdeps/x86_64/wcscmp.S: New file.
69097         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69098         wcscmp-c wcscmp-sse2
69099         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69100         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69101         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69102         * wcsmbs/wcscmp.c: Allow renaming.
69104 2011-09-05  David S. Miller  <davem@davemloft.net>
69106         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69107         stack slot, rather than the struct return pointer slot.
69108         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69109         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69111         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69113 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69115         * po/ja.po: Update from translation team.
69117         [BZ #13144]
69118         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69119         kernel in 64-bit binaries.
69121 2011-09-01  David S. Miller  <davem@davemloft.net>
69123         * elf/elf.h (HWCAP_SPARC_*): Move to..
69124         * sysdeps/sparc/sysdep.h: this new file and add new values.
69125         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69126         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69127         _DL_HWCAP_COUNT to 24.
69128         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69129         entries.
69130         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69131         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69132         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69133         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69134         instead of magic constants.
69135         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69137 2011-08-31  David S. Miller  <davem@davemloft.net>
69139         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69140         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69141         Reimplement to do errno handling inline.
69142         (SYSCALL_ERROR_HANDLER): New macro.
69143         (__SYSCALL_STRING): Do not do errno handling in asm.
69144         (__CLONE_SYSCALL_STRING): Delete.
69145         (__INTERNAL_SYSCALL_STRING): Delete.
69146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69147         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69148         (PSEUDO): Reimplement to do errno handling inline.
69149         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69150         (SYSCALL_ERROR_HANDLER): New macro.
69151         (__SYSCALL_STRING): Do not do errno handling in asm.
69152         (__CLONE_SYSCALL_STRING): Delete.
69153         (__INTERNAL_SYSCALL_STRING): Delete.
69154         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69155         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69156         i386.
69157         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69158         (inline_syscall*): Add 'err' argument.
69159         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69160         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69161         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69162         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69164         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69165         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69167 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69169         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69171 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69173         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69174         directive.
69176 2011-08-24  David S. Miller  <davem@davemloft.net>
69178         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69180 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69182         * elf/Makefile: Add rules to build and run unload8 test.
69183         * elf/unload8.c: New file.
69184         * elf/unload8mod1.c: New file.
69185         * elf/unload8mod1x.c: New file.
69186         * elf/unload8mod2.c: New file.
69187         * elf/unload8mod3.c: New file.
69189         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69190         it wasn't used.
69192 2011-08-23  David S. Miller  <davem@davemloft.net>
69194         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69195         subtract stack bias.
69196         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69197         %sp not %fp in calculations.
69198         (_JMPBUF_UNWINDS_ADJ): Likewise.
69200         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69201         (aio_suspend): Call it to force an exception region around the
69202         AIO_MISC_WAIT() invocation.
69204 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69206         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69207         backslash.
69209 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69211         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69212         protection macro.
69213         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69214         and <dl-machine.h>.
69215         (Elf64_FuncDesc): Remove.
69217 2011-08-22  David S. Miller  <davem@davemloft.net>
69219         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69220         sigaltstack check, add missing cfi directives.
69221         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69222         missing cfi directives, and sigaltstack handling.
69224 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69226         [BZ #11724]
69227         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69228         object is seen twice.
69229         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69231         * elf/Makefile (distribute): Add tst-initorder2.c.
69232         (tests): Add tst-initorder2.
69233         (modules-names): Add tst-initorder2a tst-initorder2b
69234         tst-initorder2c tst-initorder2d.  Add rules to build them.
69235         ($(objpfx)tst-initorder2.out): New rule.
69236         * elf/tst-initorder2.c: New file.
69237         * elf/tst-initorder2.exp: New file.
69239 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69241         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69243         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69244         dependencies back to end of function.
69246         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69247         $(elfobjdir)/ld.so.
69249 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69251         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69252         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69253         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69254         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69255         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69256         of __vdso_gettimeofday.
69257         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69258         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69259         attribute_hidden.
69260         (_libc_vdso_platform_setup): Remove initialization of
69261         __vdso_gettimeofday and __vdso_time.
69263 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69265         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69266         and fgetc_unlocked.
69267         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69268         getc_unlocked.
69270         * elf/dl-open.c (add_to_global): Report additions to the global scope
69271         for LD_DEBUG=scopes.
69272         (dl_open_worker): Also print scope of newly loaded dependencies.
69273         (_dl_show_scope): Indicate if there is no scope.
69275         [BZ #13114]
69276         * stdio-common/Makefile (tests): Add bug24.
69277         * stdio-common/bug24.c: New file.
69279 2011-08-19  Andreas Jaeger  <aj@suse.de>
69281         [BZ #13114]
69282         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69283         non-existant file when using close-on-exec mode.
69285 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69287         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69288         the very first instruction.
69290         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69291         the CFI state in the end.
69292         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69293         inclusion of dl-trampoline.h.
69294         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69296 2011-08-19  Andreas Schwab  <schwab@redhat.com>
69298         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69299         expectations for long double.
69301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69302         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69304 2011-08-14  David S. Miller  <davem@davemloft.net>
69306         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69307         artificual limit depends upon the system page size.
69309 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69311         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69312         * resolv/Makefile: Define CFLAGS-libresolv.
69314 2011-08-17  Andreas Schwab  <schwab@redhat.com>
69316         * nss/makedb.c (compute_tables): Make variables used in nested
69317         function static.
69319 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69321         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69322         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69323         if buffer was too small.
69325         * elf/pldd.c (main): Attach to all threads in the process.
69326         Rewrite /proc handling to use *at functions.
69328 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
69330         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69331         specifies first scope to show.
69332         (dl_open_worker): Update callers.  Move printing scope of new
69333         object to before the relocation.
69334         * elf/rtld.c (dl_main): Update _dl_show_scope call.
69335         * sysdeps/generic/ldsodefs.h: Update declaration.
69337         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69338         string for the scope number.
69340 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69342         * nscd/servicescache.c (cache_addserv): Make sure written is always
69343         initialized.
69345 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69347         * sysdeps/i386/i486/bits/atomic.h
69348         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69349         statement expression, so as to suppress "set but not used" warning.
69350         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69352         * string/strncat.c (STRNCAT): Use prototype definition.
69354         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69355         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69356         -Iprograms here.
69357         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69358         (localedef-modules): Add localedef.
69359         (locale-modules): Add locale.
69361         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69362         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69363         to avoid a warning.
69365 2011-08-14  David S. Miller  <davem@davemloft.net>
69367         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69368         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69370 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69372         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69373         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69374         * elf/rtld.c (dl_main): Set l_name of vDSO.
69375         Call _dl_show_scope when DL_DEBUG_SCOPES.
69376         (process_dl_debug): Recognize scopes flag and also set it for all.
69377         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69378         Declare _dl_show_scope.
69380         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69381         (do_dlopen): Pass caller_dlopen to dl_open.
69382         (__libc_dlopen_mode): Initialize caller_dlopen.
69384         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69385         of libc.  Make tolower call locale-independent.  Optimize a bit by
69386         using isdigit instead of isalnum.
69387         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69389 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69391         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69392         was a dependency or dynamically loaded.
69394 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69396         * intl/l10nflist.c: Allow architecture-specific pop function.
69397         * sysdeps/x86_64/l10nflist.c: New file.
69399         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69400         classification.
69402 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69404         * include/dirent.h: Add libc_hidden_proto for scandirat and
69405         scandirat64.  Don't declare __scandirat64.
69406         * dirent/scandirat.c: Add libc_hidden_def.
69407         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69408         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69410 2011-08-10  David S. Miller  <davem@davemloft.net>
69412         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69413         enum.
69414         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69415         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69416         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69418 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69420         * Versions.def [libc]: Add GLIBC_2.15.
69421         * dirent/Makefile (routines): Add scandirat and scandirat64.
69422         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69423         GLIBC_2.15.
69424         * dirent/dirent.h: Declare scandirat and scandirat64.
69425         * dirent/scandirat.c: New file.
69426         * dirent/scandirat64.c: New file.
69427         * sysdeps/wordsize-64/scandirat.c: New file.
69428         * sysdeps/wordsize-64/scandirat64.c: New file.
69429         * dirent/opendir.c: Define opendirat.
69430         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69431         using scandirat.
69432         * dirent/scandir64.c: Adjust for scandir.c change.
69433         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69434         __scandirat64, and __scandir_cancel_handler.
69435         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69436         additional parameter and use openat instead of open (outside of ld.so).
69437         Add new __opendir as wrapper around __opendirat.
69438         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69439         here without requiring old scandirat implementation.
69441 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69443         * dirent/scandir.c (cancel_handler): Renamed to
69444         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69445         defined.  Adjust users.
69446         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69447         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69449 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69451         * string/test-string.h (IMPL): Use __STRING to expand name and then
69452         stringify it.
69454         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69455         of cleanups.
69457 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69459         * string/Makefile: Update.
69460         (strop-tests): Append strncat.
69461         * string/test-wcscmp.c: New file.
69462         New comprehensive test for wcscmp.
69463         * string/test-strcmp.c: Update.
69464         (WIDE): New define.
69466 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69468         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69469         line.
69471 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69474         encoding to ACE if AI_IDN.
69476 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69478         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69479         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69481 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69483         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69484         Fix overflow bug in strncat.
69485         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69487         * string/test-strncat.c: Update.
69488         Add new tests for checking overflow bugs.
69490 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69492         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69493         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69494         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69495         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69496         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69497         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69498         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69499         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69500         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69502         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69503         (USE_AS_STRCAT): Define.
69504         Add strcat and strncat support.
69505         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69507 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69509         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69510         __n bigger than INT_MAX+1.
69511         (__strncmp_g): Likewise.
69513 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69515         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69516         * libio/stido.h: Likewise.
69518         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69519         (AF_NFC): Define.
69520         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69521         (AF_NFC): Define.
69523         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69524         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69525         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69526         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69527         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69529         [BZ #13021]
69530         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69531         installed.
69533         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69534         typo.
69535         (_dl_x86_64_save_sse): Likewise.
69537 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69539         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69540         OSXSAVE.
69541         (_dl_x86_64_save_sse): Likewise.
69543         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69545         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69547 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69549         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69550         change.
69551         (_dl_x86_64_save_sse): Use correct AVX check.
69553 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69555         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69556         bug in strncpy/strncat.
69557         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69559 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69561         * string/tester.c (test_strcat): Add tests for different alignments
69562         of source and destination.
69563         (test_strncat): Likewise.
69565 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69567         [BZ #12852]
69568         * posix/glob.c (glob): Check passed in values before using them in
69569         expressions to avoid some overflows.
69570         (glob_in_dir): Likewise.
69572         [BZ #13007]
69573         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69574         check for AVX enablement so that we don't crash with old kernels and
69575         new hardware.
69576         * elf/tst-audit4.c: Add same checks here.
69577         * elf/tst-audit6.c: Likewise.
69579         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69581 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69583         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69585 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69587         * po/cs.po: Update from translation team.
69588         * po/bg.po: Likewise.
69590 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69592         * misc/sys/cdefs.h: Add support for const attribute.
69593         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69594         to gnu_dev_{major,minor,makedev} functions.
69596 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69598         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69600 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69602         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69603         strlen results.
69605 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69607         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69608         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69609         register in order to avoid conflicts with the soft frame pointer
69610         being held in r11 when necessary.
69611         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69612         (INTERNAL_VSYSCALL_NCS): Likewise.
69614 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69616         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69617         * elf/dl-fini.c (_dl_fini): Adjust caller.
69618         * elf/dl-close.c (_dl_close_worker): Likewise.
69619         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69621 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69623         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69624         "aux_cache->nlibs < 0".
69626         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69627         in the reload-count case.
69629 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69631         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69632         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69633         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69634         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69635         * sysdeps/x86_64/multiarch/strcat.S: New file.
69636         * sysdeps/x86_64/multiarch/strncat.S: New file.
69637         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69638         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69639         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69640         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69641         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69642         (USE_AS_STRCAT): Define.
69643         Add strcat and strncat support.
69644         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69645         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69646         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69647         * string/strncat.c: Update.
69648         (USE_AS_STRNCAT): Define.
69649         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69650         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69651         and i7.
69652         * sysdeps/x86_64/multiarch/init-arch.h
69653         (bit_Prefer_PMINUB_for_stringop): New.
69654         (index_Prefer_PMINUB_for_stringop): Likewise.
69655         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69656         bit_Prefer_PMINUB_for_stringop.
69658 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69660         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69661         buffer64.
69662         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69663         of casting of buffer.
69664         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69665         buffer32 and buffer64.
69666         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69667         writes instead of casting of buffer.
69668         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69669         buffer32.
69670         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69671         casting of buffer.
69673 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69675         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69677 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69679         * nscd/nscd.c (termination_handler): Don't do anything for a database
69680         if it has not yet been initialized.
69682 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69684         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69686 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69688         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69690 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69692         * po/nl.po: Update from translation team.
69693         * po/sv.po: Likewise.
69695 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69697         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69698         now disallowed by GCC.
69700         * configure.in (use-default-link): Default to yes if a test -shared
69701         link meets our qualifications.
69702         * configure: Regenerated.
69704         * config.make.in (output-format): New variable.
69705         * configure.in: Check for ld --print-output-format support.
69706         * configure: Regenerated.
69707         * Makerules ($(common-objpfx)format.lds)
69708         [$(output-format) != unknown]: Just use $(output-format),
69709         instead of the linker-script munging.
69711 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69713         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69714         of $(common-objpfx)shlib.lds.
69715         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69717         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69718         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69720         * configure.in (-z relro check): Adjust test code to add a large
69721         writable data section after it.
69722         * configure: Regenerated.
69724 2011-07-11  Roland McGrath  <roland@hack.frob.com>
69726         * configure.in (-z relro check): Fix test code to make the variable
69727         truly const.
69728         * configure: Regenerated.
69730 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
69732         * nscd/nscd.h (struct traced_file): Define.
69733         (struct database_dyn): Remove inotify_descr, reset_res, and filename
69734         elements.  Add traced_files.
69735         (inotify_fd): Declare.
69736         (register_traced_file): Declare.
69737         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69738         (inotify_fd): Export.
69739         (resolv_conf_descr): Remove.
69740         (nscd_init): Move inotify descriptor creation to main.
69741         Don't register files for notification here.
69742         (register_traced_file): New function.
69743         (invalidate_cache): Don't use reset_res to determine whether to call
69744         res_init, go through the list of registered files.
69745         (main_loop_poll): The inotify descriptors are now stored in the
69746         structures for the traced files.
69747         (main_loop_epoll): Likewise.
69748         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
69749         to __nss_disable_nscd.
69750         * nscd/cache.c (prune_cache): There is no single inotify descriptor
69751         for a database anymore.  Check the records for all the registered
69752         files instead.
69753         * nss/Makefile (libnss_files-routines): Add files-init.
69754         (libnss_db-routines): Add db-init.
69755         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69756         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69757         * nss/nss_db/db-init.c: New file.
69758         * nss/nss_files/files-init.c: New file.
69759         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69760         __nss_lookup_function.
69761         (__nss_lookup_function): Call nss_load_library.
69762         (nss_load_all_libraries): New function.
69763         (__nss_disable_nscd): Take parameter with callback function for files
69764         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69765         used for the cached services.
69766         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69767         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69768         options for features to all the files in nscd.
69770         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69772 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69774         * csu/elf-init.c (__libc_csu_init): Comment typo.
69776 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69778         * po/pl.po: Update from translation team.
69779         * po/ja.po: Likewise.
69780         * po/ru.po: Likewise.
69781         * po/ko.po: Likewise.
69782         * po/fr.po: Likewise.
69784 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69786         * configure.in (.ctors/.dtors header and trailer check):
69787         Use an empirical test on a built program.
69788         * configure: Regenerated.
69790         * configure.in (-z relro check): Use an empirical test on a built DSO.
69791         Detect, but do not require, on ia64.
69792         * configure: Regenerated.
69794         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69795         Update tests that use readelf to use $READELF instead.
69796         * configure: Regenerated.
69798 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
69800         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
69801         if the result is not used.
69803 2011-07-05  Andreas Jaeger  <aj@suse.de>
69805         [BZ#9696]
69806         * stdlib/tst-strtod.c: Add testcase.
69808 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
69810         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
69811         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
69812         The latter has a higher limit.  Take additional parameter to pass to
69813         the new function.
69814         (__pathconf): Pass file to __statfs_link_max.
69815         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
69816         __statfs_link_max.
69817         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
69818         __statfs_link_max.
69820         [BZ #12868]
69821         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
69822         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69823         Handle Lustre.
69824         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
69825         (__statfs_filesize_max): Likewise.
69826         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
69828 2011-07-05  Andreas Jaeger  <aj@suse.de>
69830         * resolv/res_comp.c (dn_skipname): Remove unused variable.
69832 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
69834         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
69835         `status' variable.
69836         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
69837         Likewise.
69839 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
69841         * Makefile (strop-tests): Add strncat.
69842         * string/test-strncat.c: New file.
69844 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
69846         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
69848 2011-06-21  Andreas Jaeger  <aj@suse.de>
69850         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
69851         Copy rule from iconvdata/Makefile.
69853 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69855         [BZ #12922]
69856         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
69857         but no long options are defined, just return 'W'.
69859 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
69861         [BZ #9696]
69862         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
69864 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
69866         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
69867         netgroups to read.
69868         (innetgr): Likewise.
69870 2011-07-05  Roland McGrath  <roland@hack.frob.com>
69872         * config.make.in (install_root): Default to $(DESTDIR).
69874 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
69876         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
69878 2011-07-02  Roland McGrath  <roland@hack.frob.com>
69880         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
69882         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
69883         containing directory rather than embedding absolute directory names.
69885         * scripts/check-local-headers.sh: Rewritten using awk.
69886         Match by word, not by line.  Print error messages for matches.
69887         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
69889         * Makerules [shlib-lds-flags empty]:
69890         ($(common-objpfx)libc_pic.opts): New target.
69891         ($(common-objpfx)libc_pic.os.clean): New target.
69892         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
69894         * config.make.in (OBJCOPY): New variable.
69895         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
69896         * configure: Regenerated.
69898         * config.make.in (use-default-link): New variable.
69899         * configure.in (use_default_link): Grok --with-default-link to set it.
69900         * configure: Regenerated.
69901         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
69902         (shlib-lds, shlib-lds-flags): Define to empty.
69904         * Makerules (shlib-lds): New variable.
69905         (shlib-lds-flags): New variable.
69906         (build-shlib, build-moduile, build-module-asneeded): Use it.
69907         ($(common-objpfx)libc.so): Use $(shlib-lds).
69908         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
69909         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
69911         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
69912         DT_FLAGS/DT_FLAGS_1 with zero flags.
69914         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
69915         linker script munging.
69917 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
69919         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
69920         as 128-bit value.
69921         * crypt/sha512.c (sha512_process_block): Perform total addition using
69922         128-bit if possible.
69923         (__sha512_finish_ctx): Likewise.
69924         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
69925         as 64-bit value.
69926         * crypt/sha256.c (SWAP64): Define.
69927         (sha256_process_block): Perform total addition using 64-bit if
69928         possible.
69929         (__sha256_finish_ctx): Likewise.
69931 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
69933         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
69934         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69935         * nscd/hstcache.c (cache_addhst): Likewise.
69936         * nscd/grpcache.c (cache_addgr): Likewise.
69937         * nscd/aicache.c (addhstaiX): Likewise.
69938         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
69940 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
69942         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
69943         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69944         * nscd/hstcache.c (cache_addhst): Likewise.
69945         * nscd/grpcache.c (cache_addgr): Likewise.
69946         * nscd/aicache.c (addhstaiX): Likewise.
69948 2011-07-01  Andreas Schwab  <schwab@redhat.com>
69950         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
69951         domain only when needed.
69953 2011-06-30  Andreas Schwab  <schwab@redhat.com>
69955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
69956         is always restored.
69958 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
69960         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
69961         are re-adding the entry.
69962         * nscd/servicescache.c (cache_addserv): Likewise.
69964 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
69966         * sysdeps/generic/dl-irel.h: fix protection against multiple
69967         inclusions.
69968         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
69970 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
69972         [BZ #12935]
69973         * malloc/memusage.sh: Fix quoting in message.
69974         * debug/xtrace.sh: Likewise.
69976         * configure.in: Remove support for --experimental-malloc option, make
69977         it the default.
69978         * config.make.in: Likewise.
69979         * malloc/Makefile: Likewise.
69981 2011-06-27  Andreas Schwab  <schwab@redhat.com>
69983         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
69984         two-byte characters.
69986 2011-06-27  Roland McGrath  <roland@hack.frob.com>
69988         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
69989         AC_CACHE_CHECK invocation.
69990         * configure: Regenerated.
69992         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
69994 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
69996         [BZ #12350]
69997         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
69998         bit from old_res_options.
70000         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70002         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70003         value type for setfct.
70005 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
70007         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70008         __gettimeofday instead of gettimeofday.
70010 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
70012         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70014 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
70016         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70018         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70019         info.
70021 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70024         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70025         strcpy-sse2-unaligned strncpy-sse2-unaligned
70026         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70027         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70028         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70029         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70030         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70031         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70032         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70033         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70034         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70035         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70036         (STRCPY): Support SSE2 and SSSE3 versions.
70038 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
70040         [BZ #12874]
70041         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70042         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70043         kernels which artificially limit size of requests.
70045 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70047         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70048         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70049         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70050         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70051         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70052         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70053         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70054         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70055         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70056         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70057         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70058         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70059         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70060         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70061         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70063         Enable unaligned load optimization for Intel Core i3, i5 and i7
70064         processors.
70065         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70066         Define.
70067         (index_Fast_Unaligned_Load): Define.
70068         (HAS_FAST_UNALIGNED_LOAD): Define.
70070 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
70072         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70074 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70076         [BZ #12907]
70077         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70078         until it is clear that the information is realy needed.
70079         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70081 2011-06-22  Andreas Schwab  <schwab@redhat.com>
70083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70085 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70087         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70088         /sys/devices/system/cpu/online if it is usable.
70090         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70091         reading the information from the /proc filesystem to once a second.
70093 2011-06-21  Andreas Jaeger  <aj@suse.de>
70095         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70096         NULL after inclusion of kernel headers.
70098 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
70100         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70101         calls to internal_setent.
70103         [BZ #12885]
70104         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70105         addresses using gethostbyname4_r ignore IPv4 addresses.
70107         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70108         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
70110         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70112 2011-06-20  David S. Miller  <davem@davemloft.net>
70114         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70115         inclusions.
70116         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70118         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70119         (elf_irel): Use it.
70120         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70121         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70122         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70123         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70124         * sysdeps/x86_64/dl-irel.h: Likewise.
70126         * elf/dl-runtime.c: Use elf_ifunc_invoke.
70127         * elf/dl-sym.c: Likewise.
70129 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70131         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
70132         need to dereference resplen2.
70134 2011-06-14  Andreas Schwab  <schwab@redhat.com>
70136         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70138 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70140         * Makeconfig: Define vardbdir and inst_vardbdir.
70141         * nss/Makefile: Add rules to install db-Makefile.
70143         * nss/nss_db/db-XXX.c: Cleanup.
70145         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70146         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70147         GLIBC_PRIVATE.
70148         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70149         * nss/makedb.c: Implement -g option to specify that value strings
70150         are generated and should not be added to table iterated over for
70151         get*ent calls.
70152         * nss/nss_db/db-initgroups.c: New file.
70154         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70155         interface.
70157         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70158         (internal_getgrouplist): Adjust to name change.
70159         Update use_initgroups_entry if this is not the first call.
70160         * nss/databases.def: Add initgroups entry.
70162         * nss/makedb.c (compute_tables): Check result of multiple hash table
70163         sizes to minimize maximum chain length.
70165 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70167         * Versions.def: Add entry for libnss_db.
70168         * shlib-versions: Likewise.
70169         * nss/Makefile: Add rules to build libnss_db.
70170         * nss/Versions: Add libnss_db information.  Organize libnss_files
70171         entries better.
70172         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70173         makedb progra.  Some minor improvements to generate smaller files.
70174         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70175         here from...
70176         * nss/makedb.c: ...here.
70177         Improve database format to be smaller and require less memory at
70178         runtime.
70179         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70180         db anymore.
70181         * nss/nss_db/db-netgrp.c: Likewise.
70182         * nss/nss_db/db-open.c: Likewise.
70183         * nss/nss_files/flies-XXX.x: Adjust comments.
70184         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70185         * nss/nss_files/files-grp.c: Likewise.
70186         * nss/nss_files/files-hosts.c: Likewise.
70187         * nss/nss_files/files-network.c: Likewise.
70188         * nss/nss_files/files-proto.c: Likewise.
70189         * nss/nss_files/files-pwd.c: Likewise.
70190         * nss/nss_files/files-rpc.c: Likewise.
70191         * nss/nss_files/files-service.c: Likewise.
70192         * nss/nss_files/files-sgrp.c: Likewise.
70193         * nss/nss_files/files-spwd.c: Likewise.
70194         * nss/nss_db/db-alias.c: Removed.
70195         * nss/nss_db/dummy-db.h: Removed.
70197 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70199         * nss/makedb.c: Rewritten to not use database library.
70200         * nss/Makefile: Update to build new makedb program.
70202 2011-06-14  Andreas Jaeger  <aj@suse.de>
70204         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70205         memset declaration.
70207 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70210         tmpbuf.
70212 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70214         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70215         * elf/Makefile ($(objpfx)ld.so): Likewise.
70217         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70218         Don't list ld.so twice in dependencies.
70220         * posix/bug-regex31.c: Include <stdlib.h>.
70222         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70224         * nis/nss_compat/compat-spwd.c
70225         (getspent_next_nss_netgr): Remove unused variable.
70226         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70228         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70229         nonmembers" output to use the right array.
70231         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70233         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70235         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70236         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70237         * catgets/gencat.c (read_input_file): Likewise.
70238         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70240         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70241         variable definition inside #if's controlling its use.
70243         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70245         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70247         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70249         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70250         unreachable code.
70252         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70254         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70255         * configure: Regenerated.
70257         * Makerules: Revert last change.
70258         * elf/Makefile: Likewise.
70260 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70262         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70263         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70264         (reloc-link): Likewise.
70266 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
70268         * elf/Makefile: Add rules to build pldd.
70269         * elf/pldd.c: New file.
70270         * elf/pldd-xx.c: New file.
70272 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
70274         * version.h: Update for 2.15 development version.
70276 2011-06-07  David S. Miller  <davem@davemloft.net>
70278         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70279         ifuncs.
70280         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70281         elf_machine_lazy_rel): Likewise.
70282         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70283         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70284         elf_machine_lazy_rel): Likewise.
70285         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70286         dl_hwcap via passed in argument.
70287         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70288         Likewise.
70290 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70292         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
70294 2011-06-06  Roland McGrath  <roland@hack.frob.com>
70296         [BZ #12849]
70297         * manual/fdl-1.1.texi: New file, verbatim from:
70298         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70299         * manual/lgpl-2.1.texi: New file, verbatim from:
70300         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70301         * manual/Makefile (licenses): New variable, list those new file names.
70302         (texis): Use it.
70303         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70305         * manual/fdl.texi: File removed.
70306         * manual/lesser.texi: File removed.
70307         * manual/libc.texinfo (Copying, Documentation License):
70308         Use new @include file names, put @appendix directive before @include.
70310 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
70312         [BZ #12841]
70313         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70314         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70315         (mq_open): Add __NTH.
70317 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
70319         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70320         Assume Intel Core i3/i5/i7 processor if AVX is available.
70322 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70324         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70325         typo.
70327 2011-05-31  Andreas Schwab  <schwab@redhat.com>
70329         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70330         memory.  Use alloca_account.  Fix memory leak when retrying.
70332 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70334         * version.h (RELEASE): Bump for 2.14 release.
70335         * include/features.h (__GLIBC_MINOR__): Bump to 14.
70337         * config.make.in (RANLIB): Remove entry.
70339 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70341         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70342         (libc.pot): Work around missing support for .ksh extension in xgettext.
70344         [BZ #12684]
70345         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70346         if both request failed.
70347         (send_dg): In case of server errors clear resplen or *resplen2.
70349         [BZ #12454]
70350         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70351         when there are multiple maps.
70352         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70353         (_dl_fini): Remove test here.
70355         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70357 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70359         [BZ #12350]
70360         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70361         bit from old_res_options.
70362         (gaih_inet): Likewise.
70364         [BZ #11099]
70365         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70366         as signed.
70368         * resolv/res_init.c (res_setoptions): Make the code more compact.
70370         [BZ #11558]
70371         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70372         set RES_USEVC.
70374         [BZ #11634]
70375         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70377         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70379         [BZ #11781]
70380         * malloc/malloc.h: Declare malloc hook variables as volatile.
70382         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70383         in last patch.
70385         [BZ #11799]
70386         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70387         raise in the comment.
70388         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70389         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70390         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70392 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70394         [BZ #12811]
70395         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70396         grow the buffers more if it already has to be sufficient.
70397         (build_wcs_upper_buffer): Likewise.
70398         * posix/regexec.c (check_matching): Likewise.
70399         (clean_state_log_if_needed): Likewise.
70400         (extend_buffers): Don't enlarge buffers beyond size of the input
70401         buffer.
70402         Patches mostly by Emil Wojak <emil@wojak.eu>.
70403         * posix/bug-regex32.c: New file.
70404         * posix/Makefile (tests): Add bug-regex32.
70406         * locale/findlocale.c (_nl_find_locale): Return right away if
70407         _nl_explode_name failed.
70408         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70410         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70412         * debug/xtrace.sh: Unify messages.
70413         * malloc/memusage.sh: Likewise.
70415         [BZ #12813]
70416         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70417         time symbol from vDSO.  Substitute with vsyscall if not available.
70418         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70419         __vdso_time.
70421         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70422         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70423         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70424         Add sendmmsg and internal_sendmmsg.
70425         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70426         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70427         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70429         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70430         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70431         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70433 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70435         [BZ #12813]
70436         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70437         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70438         available.
70439         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70440         __vdso_getcpu.
70442         [BZ #12814]
70443         * iconvdata/Makefile (tests): Add bug-iconv9.
70444         * iconvdata/bug-iconv9.c: New file.
70446 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70448         [BZ #12814]
70449         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70451 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70453         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70454         (struct user_regs_struct): Change intcs field back to cs.
70456 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70458         * po/ja.po: Update from translation team.
70460 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70462         [BZ #12795]
70463         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70464         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70466 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70468         * stdlib/longlong.h: Update from GCC.
70470 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70472         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70473         parameter name.
70474         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70475         Add parameter name.
70476         (__sysconf): Pass it down.
70478 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70480         [BZ #12671]
70481         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70482         some situations.
70483         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70484         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70485         add in in __libc_use_alloca calls.  Adjust callers.
70486         (glob): Use malloc in some situations.
70488         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70489         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70490         pltexit.
70492 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70494         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70495         and CLOCK_BOOTTIME_ALARM.
70497         [BZ #12782]
70498         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70499         is returned.
70501         * string/_strerror.c (__strerror_r): Print negative errors as signed
70502         numbers.
70504         [BZ #12777]
70505         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70506         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70507         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70509         * configure.in: Fix typo in redirection and correct removal of test
70510         files in two cases.
70512         [BZ #12788]
70513         * locale/setlocale.c (new_composite_name): Fix test to check for
70514         identical name of all categories.
70516         [BZ #12792]
70517         * libio/filedoalloc.c (local_isatty): New function.
70518         (_IO_file_doallocate): Use local_isatty.
70519         * stdio-common/perror.c (perror): In case a new stream is used
70520         forward the stream error.
70521         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70522         error flag.
70524 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70526         [BZ #11884]
70527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70528         alloca.
70529         * include/alloca.h (extend_alloca_account): Define.
70531         [BZ #11857]
70532         * posix/regex.h: Fix comments with documentation of user-accessible
70533         fields after compilation and describe correct free'ing of pattern
70534         after re_compile_pattern.
70535         Patch by Reuben Thomas <rrt@sc3d.org>.
70537 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70539         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70540         and -mno-altivec to prevent the compiler from using Altivec and/or
70541         VSX instructions when the corresponding registers are not available.
70543 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70545         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70547 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70549         * libio/freopen.c (freopen): Use __dup2, not dup2.
70550         * libio/freopen64.c (freopen64): Likewise.
70552 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70554         [BZ #12775]
70555         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70556         * math/Makefile (tests): Add test-powl.
70557         (CFLAGS-test-powl.c): Define.
70558         * math/test-powl.c: New file.
70560 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70562         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70564 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70566         [BZ #11837]
70567         * iconvdata/gb18030.c: Update to GB18020-2005.
70569 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70571         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70572         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70573         Patch by Aharon Robbins <arnold@skeeve.com>.
70575         [BZ #11892]
70576         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70577         on the stack.
70579         [BZ #11895]
70580         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70581         through underflows.
70583         [BZ #12766]
70584         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70585         point to strings before performing equality test for error_one_per_line
70586         mode.
70588         [BZ #11697]
70589         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70591         [BZ #11820]
70592         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70593         (struct user_fpregs_struct): Avoid __uint*_t types.
70595         [BZ #6420]
70596         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70597         symbol info.  Use it instead of calling _dl_addr locally.
70598         (lock_and_info): New function.
70599         (tr_freehook): Call lock_and_info and pass symbol info as additional
70600         parameter to tr_where.
70601         (tr_mallochook): Likewise.
70602         (tr_reallochook): Likewise.
70603         (tr_memalignhook): Likewise.
70605         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70606         used and couldn't be at all thread-safe.
70608 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70610         * libio/freopen.c (freopen): Don't close old file descriptor
70611         before the new one is opened.  Instead dup the new file descriptor
70612         to the old one after the new stream is created.
70613         * libio/freopen64.c (freopen64): Likewise.
70614         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70615         * libio/fileops.c (_IO_new_file_close_it): Handle new
70616         _IO_FLAGS2_NOCLOSE flag.
70617         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70618         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70619         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70620         _IO_FLAGS2_NOCLOSE flag.
70621         * include/unistd.h: Add hidden_proto for dup3.
70622         Define __have_dup3.
70623         * io/dup3.c: Define hidden symbol.
70624         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70626         [BZ #7101]
70627         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70628         when an incomplete long option is used.
70629         * posix/tst-getopt_long1.c: New file.
70630         * posix/Makefile (tests): Add tst-getopt_long1.
70632         [BZ #10138]
70633         * scripts/config.guess: Update from autoconf-2.68.
70634         * scripts/config.sub: Likewise.
70636         [BZ #10157]
70637         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70638         tests into ...
70639         (has_cpuclock): ...this.  New function.
70640         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70641         macro here based on has_cpuclock code.
70643         [BZ #10149]
70644         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70645         First byte (not low byte) is now always NUL.
70646         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70648         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70649         Use non-cancelable interfaces.
70651         [BZ #9809]
70652         * locale/iso-639.def: Add entry for Sorani.
70654         [BZ #11901]
70655         * include/stdlib.h: Move include protection to the right place.
70656         Define abort_msg_s.  Declare __abort_msg with it.
70657         * stdlib/abort.c (__abort_msg): Adjust type.
70658         * assert/assert.c (__assert_fail_base): New function.  Majority
70659         of code from __assert_fail.  Allocate memory for __abort_msg with
70660         mmap.
70661         (__assert_fail): Now call __assert_fail_base.
70662         * assert/assert-perr.c: Remove bulk of implementation.  Use
70663         __assert_fail_base.
70664         * include/assert.hL Declare __assert_fail_base.
70665         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70666         mmap.
70667         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70669 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70671         [BZ #11952]
70672         [BZ #12453]
70673         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70674         until all modules are registered in the DTV.
70675         * elf/Makefile: Add rules to build and run tst-tls19.
70676         * elf/tst-tls19.c: New file.
70677         * elf/tst-tls19mod1.c: New file.
70678         * elf/tst-tls19mod2.c: New file.
70679         * elf/tst-tls19mod3.c: New file.
70680         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70682         [BZ #12083]
70683         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70684         correctly.
70686         [BZ #12601]
70687         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70688         two-byte sequence errors.
70689         * iconvdata/Makefile (tests): Add bug-iconv8.
70690         * iconvdata/bug-iconv8.c: New file.
70692         [BZ #12626]
70693         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70694         buf2 definition.
70696         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70698         [BZ #12432]
70699         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70700         (dummy_getcfa): New function.
70701         (init): Get _Unwind_GetCFA address, use dummy if not found.
70702         (backtrace_helper): In recursion check, also check whether CFA changes.
70703         (__backtrace): Completely initialize arg.
70705         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70706         storing incomplete byte sequence in state object.  Avoid testing for
70707         guaranteed too small input if we know there is enough data available.
70709 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70711         * Makeconfig (+link-pie): Indent.
70712         * Rules (binaries-pie): Define if $(have-fpie) and
70713         $(build-shared).
70714         (binaries-shared): Also filter out $(binaries-pie).
70715         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70716         * nscd/Makefile (others-pie): Add nscd.
70717         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70718         ($(objpfx)nscd): Remove command override.
70719         * login/Makefile (others-pie): Add pt_chown.
70720         ($(objpfx)pt_chown): Remove command override.
70721         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70722         remove command overrides.
70724 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
70726         * libio/tst_putwc.c: Fix error messages.
70728         [BZ #12724]
70729         * libio/fileops.c (_IO_new_file_close_it): Always flush when
70730         currently writing and seek to current position when not.
70731         * libio/Makefile (tests): Add bug-fclose1.
70732         * libio/bug-fclose1.c: New file.
70734 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
70736         [BZ #12511]
70737         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70738         don't set DF_1_NODELETE here.
70739         (do_lookup_x): When entering new entry test for copy relocation
70740         and if necessary set DF_1_NODELETE flag.
70741         * elf/tst-unique4.cc: New file.
70742         * elf/tst-unique4.h: New file.
70743         * elf/tst-unique4lib.cc: New file.
70744         * elf/Makefile: Add rules to build and run tst-unique4.
70745         Patch by Piotr Bury <pbury@goahead.com>.
70747 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
70749         [BZ #12052]
70750         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70752         [BZ #12625]
70753         * misc/mntent_r.c (addmntent): Flush the stream after the output
70755         [BZ #12393]
70756         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70757         (is_trusted_path_normalize): Skip initial colon.  Append slash
70758         to empty buffer.  Duplicate is_trusted_path code but allow
70759         constructed patch to be prefix.
70760         (is_dst): Allow $ORIGIN followed by /.
70761         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70762         Correct testing of result of is_trusted_path_normalize
70763         (decompose_rpath): Fix warning.
70765 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70767         [BZ #11257]
70768         * grp/initgroups.c (internal_getgrouplist): When we found the service
70769         list through the initgroups entry in nsswitch.conf do not always
70770         continue on a successful lookup.  Don't always use the
70771         __nss_group_database value if it is set.
70772         * nss/nsswitch.conf (initgroups): Change action for successful db
70773         lookup to continue for compatibility.
70775 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70777         [BZ #11532]
70778         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70779         and CP774 modules.
70780         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70781         and CP774 modules.
70782         * iconvdata/tst-tables.sh: Likewise.
70783         * iconvdata/cp770.c: New file.
70784         * iconvdata/cp771.c: New file.
70785         * iconvdata/cp772.c: New file.
70786         * iconvdata/cp773.c: New file.
70787         * iconvdata/cp774.c: New file.
70788         * iconvdata/testdata/CP770: New file.
70789         * iconvdata/testdata/CP770..UTF8: New file.
70790         * iconvdata/testdata/CP771: New file.
70791         * iconvdata/testdata/CP771..UTF8: New file.
70792         * iconvdata/testdata/CP772: New file.
70793         * iconvdata/testdata/CP772..UTF8: New file.
70794         * iconvdata/testdata/CP773: New file.
70795         * iconvdata/testdata/CP773..UTF8: New file.
70796         * iconvdata/testdata/CP774: New file.
70797         * iconvdata/testdata/CP774..UTF8: New file.
70799         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
70800         END CHARMAP line.
70801         * iconvdata/gen-8bit-gap.sh: Likewise.
70802         * iconvdata/gen-8bit.sh: Likewise.
70804         * locale/iso-639.def: Add ary entry.
70806         [BZ #11258]
70807         * locale/C-translit.h.in: Add U20A1 transliteration.
70809         [BZ #12178]
70810         * locale/iso-639.def: Add wae entry.
70811         Patch by Kevin Bortis <bortis@translate-wae.ch>.
70813         [BZ #12545]
70814         * locale/programs/localedef.c (construct_output_path): Use ssize_t
70815         for n.
70817         [BZ #12711]
70818         * locale/C-translit.h.in: Add entry for U20B9.
70819         Patch by pravin.d.s@gmail.com.
70821 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
70823         [BZ #12713]
70824         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
70825         ENAMETOOLONG use generic getcwd.
70826         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
70827         in rtld.  Use *stat64.
70828         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
70829         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
70830         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
70831         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
70832         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
70833         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
70834         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
70835         __fstatat64 macros.
70836         * include/dirent.h: Add libc_hidden_proto for rewinddir.
70837         * dirent/rewinddir.c: Add libc_hidden_def.
70838         * sysdeps/mach/hurd/rewinddir.c: Likewise.
70839         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
70841         * include/dirent.h (__alloc_dir): Add flags parameter.
70842         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
70843         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70844         __alloc_dir.
70845         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
70846         from fdopendir if O_CLOEXEC is already set.
70848 2011-03-15  Alan Modra  <amodra@gmail.com>
70850         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
70851         l_tls_firstbyte_offset non-zero.  Save padding offset in
70852         l_tls_firstbyte_offset for later use.
70853         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
70854         freeing static tls block.
70856 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
70858         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
70859         where #ifdef was intended.  The intent is to prevent ARG_MAX from
70860         being defined by the kernel headers.
70862 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
70864         [BZ #12734]
70865         * resolv/resolv.h: Define RES_NOTLDQUERY.
70866         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
70867         no-tld-query and set RES_NOTLDQUERY.
70868         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
70869         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
70870         modern BIND to search name as TLD unless forbidden.
70872 2011-05-07  Petr Baudis  <pasky@suse.cz>
70873             Ulrich Drepper  <drepper@gmail.com>
70875         [BZ #12393]
70876         * elf/dl-load.c (fillin_rpath): Move trusted path check...
70877         (is_trusted_path): ...to here.
70878         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
70879         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
70880         using is_trusted_path_normalize() in setuid scripts.
70882 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70884         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
70885         __BEGIN/__END_DECLS.
70887 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
70889         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
70890         NSS_STATUS_NOTFOUND if no record was found.
70892 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70894         * sunrpc/Makefile (headers): Add rpc/netdb.h.
70895         (headers-not-in-tirpc): Remove rpc/netdb.h
70896         * resolv/netdb.h: Revert last change.
70898 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70900         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
70901         circular dependency between libgcc.a and libc.a.
70903 2011-05-05  Andreas Schwab  <schwab@redhat.com>
70905         * resolv/netdb.h: Don't include <rpc/netdb.h>.
70906         * nis/Makefile: Don't install rpcsvc/*.
70907         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
70908         instead of <rpc/types.h>.
70909         (MAXHOSTNAMELEN): Define.
70911 2011-05-03  Andreas Schwab  <schwab@redhat.com>
70913         * elf/ldconfig.c (add_dir): Don't crash on empty path.
70915 2011-04-28  Maciej Babinski  <mbabinski@google.com>
70917         [BZ #12714]
70918         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
70919         gethostbyname4_r when IPv6 results are possible.
70921 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
70923         [BZ #12723]
70924         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
70925         _PC_PIPE_BUF handling.
70927 2011-04-30  Bruno Haible  <bruno@clisp.org>
70929         [BZ #12717]
70930         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
70931         * resolv/netdb.h (getnameinfo): Change type of flags parameter
70932         to 'int'.
70933         * inet/getnameinfo.c (getnameinfo): Likewise.
70935 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
70937         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
70938         to groups setting in database lookup.
70939         * nss/nsswitch.conf: Add initgroups entry.
70941 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
70943         [BZ #12685]
70944         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
70945         mode string.
70946         Patch by Eric Blake <eblake@redhat.com>.
70948 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
70950         * sunrpc/Makefile (need-export-routines): Add svc_run.
70951         (routines): Remove svc_run.
70952         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
70953         * sunrpc/clnt_perr.c (clnt_perrno): Export.
70954         * sunrpc/svc_run.c (svc_run): Likewise.
70955         * sunrpc/svc_udp.c (svcudp_create): Likewise.
70957 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
70959         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
70960         problem in reallocation in last patch.
70962 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
70964         * sunrpc/Makefile: Move inclusion of Rules.
70966 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70968         * nss/nss_files/files-initgroups.c: New file.
70969         * nss/Makefile (libnss_files-routines): Add files-initgroups.
70970         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
70971         _nss_files_initgroups_dyn.
70973 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
70975         * elf/elf.h (R_ARM_IRELATIVE): Define.
70977 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
70979         * po/ru.po: Update from translation team.
70981 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
70983         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
70984         dependencies.
70986 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
70988         [BZ #12653]
70989         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
70990         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
70991         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70992         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70993         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70995 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
70997         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
70998         differing bytes.
70999         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71000         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71001         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71003 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71005         [BZ #12420]
71006         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71007         storing it.
71008         * stdlib/bug-getcontext.c: New file.
71009         * stdlib/Makefile: Add rules to build and run bug-getcontext.
71011 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71013         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71014         instructions into .machine "z9-109".
71015         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71016         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71018 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71020         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71021         between environment variables and auxiliary vector.
71023 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
71025         * Makefile: Add rules to build linkobj/libc.so.
71026         * include/libc-symbols.h: Define libc_hidden_nolink.
71027         * include/rpc/auth.h: Mark functions which are to be hidden.
71028         * include/rpc/auth_des.h: Likewise.
71029         * include/rpc/auth_unix.h: Likewise.
71030         * include/rpc/clnt.h: Likewise.
71031         * include/rpc/des_crypt.h: Likewise.
71032         * include/rpc/key_prot.h: Likewise.
71033         * include/rpc/pmap_clnt.h: Likewise.
71034         * include/rpc/pmap_prot.h: Likewise.
71035         * include/rpc/pmap_rmt.h: Likewise.
71036         * include/rpc/rpc_msg.h: Likewise.
71037         * include/rpc/svc.h: Likewise.
71038         * include/rpc/svc_auth.h: Likewise.
71039         * include/rpc/xdr.h: Likewise.
71040         * nis/Makefile: Link all DSOs against linkobj/libc.so.
71041         * nss/Makefile: Likewise.
71042         * sunrpc/Makefile: Don't install headers.  Build library with normal
71043         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
71044         * sunrpc/auth_des.c: Hide exported symbols by default, export some
71045         for the compat linking library.  Remove use of INTDEF/INTUSE.
71046         * sunrpc/auth_none.c: Likewise.
71047         * sunrpc/auth_unix.c: Likewise.
71048         * sunrpc/authdes_prot.c: Likewise.
71049         * sunrpc/authuxprot.c: Likewise.
71050         * sunrpc/clnt_gen.c: Likewise.
71051         * sunrpc/clnt_perr.c: Likewise.
71052         * sunrpc/clnt_raw.c: Likewise.
71053         * sunrpc/clnt_simp.c: Likewise.
71054         * sunrpc/clnt_tcp.c: Likewise.
71055         * sunrpc/clnt_udp.c: Likewise.
71056         * sunrpc/clnt_unix.c: Likewise.
71057         * sunrpc/des_crypt.c: Likewise.
71058         * sunrpc/des_soft.c: Likewise.
71059         * sunrpc/get_myaddr.c: Likewise.
71060         * sunrpc/key_call.c: Likewise.
71061         * sunrpc/key_prot.c: Likewise.
71062         * sunrpc/netname.c: Likewise.
71063         * sunrpc/pm_getmaps.c: Likewise.
71064         * sunrpc/pm_getport.c: Likewise.
71065         * sunrpc/pmap_clnt.c: Likewise.
71066         * sunrpc/pmap_prot.c: Likewise.
71067         * sunrpc/pmap_prot2.c: Likewise.
71068         * sunrpc/pmap_rmt.c: Likewise.
71069         * sunrpc/publickey.c: Likewise.
71070         * sunrpc/rpc_cmsg.c: Likewise.
71071         * sunrpc/rpc_common.c: Likewise.
71072         * sunrpc/rpc_dtable.c: Likewise.
71073         * sunrpc/rpc_prot.c: Likewise.
71074         * sunrpc/rpc_thread.c: Likewise.
71075         * sunrpc/rtime.c: Likewise.
71076         * sunrpc/svc.c: Likewise.
71077         * sunrpc/svc_auth.c: Likewise.
71078         * sunrpc/svc_authux.c: Likewise.
71079         * sunrpc/svc_raw.c: Likewise.
71080         * sunrpc/svc_run.c: Likewise.
71081         * sunrpc/svc_simple.c: Likewise.
71082         * sunrpc/svc_tcp.c: Likewise.
71083         * sunrpc/svc_udp.c: Likewise.
71084         * sunrpc/svc_unix.c: Likewise.
71085         * sunrpc/svcauth_des.c: Likewise.
71086         * sunrpc/xcrypt.c: Likewise.
71087         * sunrpc/xdr.c: Likewise.
71088         * sunrpc/xdr_array.c: Likewise.
71089         * sunrpc/xdr_float.c: Likewise.
71090         * sunrpc/xdr_intXX_t.c: Likewise.
71091         * sunrpc/xdr_mem.c: Likewise.
71092         * sunrpc/xdr_rec.c: Likewise.
71093         * sunrpc/xdr_ref.c: Likewise.
71094         * sunrpc/xdr_sizeof.c: Likewise.
71095         * sunrpc/xdr_stdio.c: Likewise.
71097 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
71099         [BZ #12650]
71100         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71101         * sysdeps/ia64/dl-tls.h: Likewise.
71102         * sysdeps/powerpc/dl-tls.h: Likewise.
71103         * sysdeps/s390/dl-tls.h: Likewise.
71104         * sysdeps/sh/dl-tls.h: Likewise.
71105         * sysdeps/sparc/dl-tls.h: Likewise.
71106         * sysdeps/x86_64/dl-tls.h: Likewise.
71107         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71109 2011-03-14  Andreas Schwab  <schwab@redhat.com>
71111         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71112         rpath element also skip the following colon.
71113         (expand_dynamic_string_token): Add is_path parameter and pass
71114         down to DL_DST_REQUIRED and _dl_dst_substitute.
71115         (decompose_rpath): Call expand_dynamic_string_token with
71116         non-zero is_path.  Ignore empty rpaths.
71117         (_dl_map_object_from_fd): Call expand_dynamic_string_token
71118         with zero is_path.
71120 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
71122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71123         Make cancelable.
71125 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
71127         [BZ #12655]
71128         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71129         Patch by Filipe David Manana <fdmanana@apache.org>.
71131 2011-04-07  Andreas Schwab  <schwab@redhat.com>
71133         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71134         Maintain aligned stack.
71135         (CHECK_RSP): Remove unused macro.
71137 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71139         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71140         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71142 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71144         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71146         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71148 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71150         [BZ #12518]
71151         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71152         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71153         * sysdeps/x86_64/memmove.c: New file.
71154         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71155         (memcpy): Renamed to ...
71156         (__new_memcpy): This.
71157         (memcpy): Provide GLIBC_2_14 memcpy.
71158         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71159         (memcpy): Provide GLIBC_2_2_5 memcpy.
71161 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71163         [BZ #12631]
71164         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71166 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71168         * misc/syncfs.c: New file.
71169         * misc/Makefile (routines): Add syncfs.
71170         * posix/unistd.h: Declare syncfs.
71171         * sysdeps/unix/syscalls.list: Add syncfs.
71173 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71175         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71176         open_by_handle_at.
71177         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71178         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71179         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71180         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71181         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71182         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71183         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71185 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71187         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71188         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71189         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71190         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71191         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71192         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71193         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71195         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71196         sync_file_range.c with -fexceptions.
71197         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71198         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71199         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71200         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71201         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71202         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71203         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71204         sync_file_range as cancellation point
71205         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71206         now a wrapper around __call_sync_file_range with cancellation handling.
71207         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71208         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71209         function name to __call_sync_file_range.
71210         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71211         Add call_sync_file_range.
71213 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71216         bits/timex.h.
71218 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71220         * iconv/iconv.h: Fix typo in comment.
71221         * io/fcntl.h: Likewise.
71222         * libio/stdio.h: Likewise.
71223         * posix/spawn.h: Likewise.
71224         * posix/unistd.h: Likewise.
71225         * stdlib/stdlib.h: Likewise.
71226         * time/time.h: Likewise.
71227         * wcsmbs/wchar.h: Likewise.
71229         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71230         open_by_handle): Add.
71231         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71232         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71233         Augment a few comments.
71234         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71235         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71236         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71237         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71238         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71239         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71240         open_by_handle.
71242         * io/fcntl.h (AT_EMPTY_PATH): Define.
71244 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71246         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71247         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71248         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71249         to...
71250         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71251         * Versions.def: Add GLIBC_2.14.
71252         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71253         Export.
71255 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71257         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71258         round counter.
71259         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71261 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71263         [BZ #12597]
71264         * string/test-strncmp.c (do_page_test): New function.
71265         (check2): Likewise.
71266         (test_main): Call check2.
71267         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71269 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
71271         [BZ #12587]
71272         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71273         Handle cache information in CPU leaf 4.
71274         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71276 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
71278         [BZ #12583]
71279         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71280         character representation.
71281         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71283 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
71285         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71286         END(__isnan) to END(__isnanf) to match function entry point/label
71287         EALIGN(__isnanf,...).
71289 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
71291         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71293 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
71295         [BZ #12510]
71296         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71297         copy from the symbol referenced in the relocation to initialize the
71298         used variable.
71299         Patch by Piotr Bury <pbury@goahead.com>.
71300         * elf/Makefile: Add rules to build and tst-unique3.
71301         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71302         * elf/tst-unique3.cc: New file.
71303         * elf/tst-unique3.h: New file.
71304         * elf/tst-unique3lib.cc: New file.
71305         * elf/tst-unique3lib2.cc: New file.
71307         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71309 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
71311         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71312         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
71313         to _start.
71315 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
71317         * elf/dl-load.c (_dl_map_object): If we are looking for the first
71318         to-be-loaded object along a path to loader is ld.so.
71320 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71321             Ulrich Drepper  <drepper@gmail.com>
71323         * sysdeps/x86_64/memset.S: After aligning destination, code
71324         branches to different locations depending on the value of
71325         misalignment, when multiarch is enabled. Fix this.
71327 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71329         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71330         Set _x86_64_preferred_memory_instruction for AMD processsors.
71331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71332         Set bit_Prefer_SSE_for_memop for AMD processors.
71334 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
71336         * libio/fmemopen.c (fmemopen): Optimize a bit.
71338 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71340         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71342 2011-03-03  Roland McGrath  <roland@redhat.com>
71344         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71346 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71348         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71349         __bzero_ultra1 instead of __memset_ultra1.
71351 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71352             Ulrich Drepper  <drepper@gmail.com>
71354         [BZ #12509]
71355         * include/link.h (struct link_map): Add l_orig_initfini.
71356         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71357         returning unsuccessfully.
71358         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71359         close of a file loaded at startup, restore the original l_initfini
71360         list.
71361         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71362         list, store the pointer.
71363         * elf/Makefile ($(objpfx)noload-mem): New rule.
71364         (noload-ENV): Define.
71365         (tests): Add $(objpfx)noload-mem.
71366         * elf/noload.c: Include <memcheck.h>.
71367         (main): Call mtrace.  Close all opened handles.
71369 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71371         [BZ #12454]
71372         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71373         dependencies are missing.
71375 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71377         Fix __if_freereq crash: Unlike the generic version which uses free,
71378         Hurd needs munmap.
71379         * sysdeps/mach/hurd/ifreq.h: New file.
71381 2011-01-27  Petr Baudis  <pasky@suse.cz>
71382             Ulrich Drepper  <drepper@gmail.com>
71384         [BZ 12445]#
71385         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71386         to extend_alloca().
71387         * stdio-common/bug23.c: New file.
71388         * stdio-common/Makefile (tests): Add bug23.
71390 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71391             Ulrich Drepper  <drepper@gmail.com>
71393         [BZ #12489]
71394         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71395         before performing relro protection.  At old place add assertion
71396         to make sure nothing changed.
71398 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71399             Glauber de Oliveira Costa  <glommer@gmail.com>
71401         * elf/elf.h: Add new ARM TLS relocs.
71403 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71406         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71407         cast from r3.
71408         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71409         'tests' variable.
71410         * sysdeps/wordsize-64/tst-writev.c: New file.
71412 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71414         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71415         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71416         insns in _dl_start to prevent a TOC reference before relocs are
71417         resolved.
71419 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71421         [BZ #12469]
71422         * Makeconfig: Remove RANLIB definition.
71423         * Makerules: Don't use RANLIB.
71424         * aclocal.m4: Remove ranlib test.
71425         * configure.in: No need to check for ranlib.
71426         * elf/rtld-Rules: Don't use RANLIB.
71428 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71430         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71431         protection macro.
71432         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71433         inclusion protection macro.
71435         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71436         SIGRTMIN and SIGRTMAX and print information in that case only when
71437         SIGRTMIN is defined.
71439 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71441         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71442         arginfo fn returning -1.
71444         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71445         and thousands string is zero terminated.
71447 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71449         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71450         sysdeps/unix/sysv/linux/bits/socket.h.
71452 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71454         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71455         (__CPU_COUNT): Remove old macros.
71456         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71457         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71458         (__CPU_ALLOC, __CPU_FREE): Add macros.
71459         (__sched_cpualloc, __sched_cpufree): Add declarations.
71461 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71463         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71464         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71465         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71466         (readdhstai): Return value of addhstaiX call.
71467         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71468         (addgrbyX): Return value returned by cache_addgr.
71469         (readdgrbyname): Return value returned by addgrbyX.
71470         (readdgrbygid): Likewise.
71471         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71472         (addpwbyX): Return value returned by cache_addpw.
71473         (readdpwbyname): Return value returned by addhstbyX.
71474         (readdpwbyuid): Likewise.
71475         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71476         (addservbyX): Return value returned by cache_addserv.
71477         (readdservbyname): Return value returned by addservbyX:
71478         (readdservbyport): Likewise.
71479         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71480         (addhstbyX): Return value returned by cache_addhst.
71481         (readdhstbyname): Return value returned by addhstbyX.
71482         (readdhstbyaddr): Likewise.
71483         (readdhstbynamev6): Likewise.
71484         (readdhstbyaddrv6): Likewise.
71485         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71486         (readdinitgroups): Return value returned by addinitgroupsX.
71487         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71488         (prune_cache): Keep track of timeout value of re-added entries.
71489         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71490         * nscd/nscd.h: Adjust prototypes of readd* functions.
71492 2011-02-04  Roland McGrath  <roland@redhat.com>
71494         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71495         (nis_stats): Likewise.
71496         * nis/nis_modify.c (nis_modify): Likewise.
71497         * nis/nis_remove.c (nis_remove): Likewise.
71498         * nis/nis_add.c (nis_add): Likewise.
71500         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71502         * posix/fnmatch_loop.c: Add some consts.
71504         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71506 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71508         [BZ #12460]
71509         * config.make.in (config-cflags-novzeroupper): Define.
71510         * configure.in: Substitute libc_cv_cc_novzeroupper.
71511         * elf/Makefile (AVX-CFLAGS): Define.
71512         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71513         (CFLAGS-tst-auditmod4a.c): Likewise.
71514         (CFLAGS-tst-auditmod4b.c): Likewise.
71515         (CFLAGS-tst-auditmod6b.c): Likewise.
71516         (CFLAGS-tst-auditmod6c.c): Likewise.
71517         (CFLAGS-tst-auditmod7b.c): Likewise.
71518         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71520 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71522         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71523         function to the callback.
71524         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71526 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71528         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71529         of errno.
71531 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71533         [BZ #11724]
71534         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71535         of constructors.
71536         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71537         of destructors.
71538         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71540         [BZ #11724]
71541         * elf/Makefile: Add rules to build and run new test.
71542         * elf/tst-initorder.c: New file.
71543         * elf/tst-initorder.exp: New file.
71544         * elf/tst-initordera1.c: New file.
71545         * elf/tst-initordera2.c: New file.
71546         * elf/tst-initordera3.c: New file.
71547         * elf/tst-initordera4.c: New file.
71548         * elf/tst-initorderb1.c: New file.
71549         * elf/tst-initorderb2.c: New file.
71550         * elf/tst-order-a1.c: New file.
71551         * elf/tst-order-a2.c: New file.
71552         * elf/tst-order-a3.c: New file.
71553         * elf/tst-order-a4.c: New file.
71554         * elf/tst-order-b1.c: New file.
71555         * elf/tst-order-b2.c: New file.
71556         * elf/tst-order-main.c: New file.
71557         New test case by George Gensure <werkt0@gmail.com>.
71559 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71562         decoding ACE if AI_CANONIDN.
71564 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71566         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71568 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71570         * version.h (RELEASE): Bump for 2.13 release.
71571         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71573         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71575         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71576         MADV_NOHUGEPAGE.
71577         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71578         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71579         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71580         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71581         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71582         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71584         * posix/getconf.c: Update copyright year.
71585         * catgets/gencat.c: Likewise.
71586         * csu/version.c: Likewise.
71587         * debug/catchsegv.sh: Likewise.
71588         * debug/xtrace.sh: Likewise.
71589         * elf/ldconfig.c: Likewise.
71590         * elf/ldd.bash.in: Likewise.
71591         * elf/sprof.c (print_version): Likewise.
71592         * iconv/iconv_prog.c: Likewise.
71593         * iconv/iconvconfig.c: Likewise.
71594         * locale/programs/locale.c: Likewise.
71595         * locale/programs/localedef.c: Likewise.
71596         * malloc/memusage.sh: Likewise.
71597         * malloc/mtrace.pl: Likewise.
71598         * nscd/nscd.c (print_version): Likewise.
71599         * nss/getent.c: Likewise.
71601         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71602         PF_CAIF, and PF_ALG.
71603         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71605 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71607         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71608         (modules-names): Use them.
71609         (ifunc-test-modules, ifunc-pie-tests): Define.
71610         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71611         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71612         (test-extras): Likewise.
71613         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71614         $(compile-command.c).
71615         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71616         (all-built-dso): Define.
71617         (check-textrel.out, check-execstack.out): Depend on it.
71619         * configure.in: Don't override --enable-multi-arch.
71621 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71623         [BZ #6812]
71624         * nscd/hstcache.c (tryagain): Define.
71625         (cache_addhst): Return tryagain not notfound for temporary errors.
71626         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71627         failed.
71629 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71631         [BZ #10563]
71632         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71633         to make the syscall.
71634         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71636         [BZ #12378]
71637         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71638         and fall back to matching as normal character if the string ends before
71639         the matching ']' is found.  This is what POSIX requires.
71640         * posix/testfnm.c: Adjust test result.
71641         * posix/globtest.sh: Adjust test result.  Add new test.
71642         * posix/tst-fnmatch.input: Likewise.
71643         * posix/tst-fnmatch2.c: Add new test.
71645 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71647         * elf/Makefile (check-execstack): Revert last change.  Depend on
71648         check-execstack.h.
71649         (check-execstack.h): New target.
71650         (generated): Add check-execstack.h.
71651         * elf/check-execstack.c: Include "check-execstack.h".
71652         (main): Revert last change.
71653         (handle_file): Return zero if GNU_STACK is absent and
71654         DEFAULT_STACK_PERMS doesn't include PF_X.
71656 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71658         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71659         in child fails because the descriptor is already closed.
71660         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71661         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71662         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71664         [BZ #12397]
71665         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71666         syscall.
71668         [BZ #10484]
71669         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71670         temporary buffer used to handle multi lookups locally.
71671         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71673 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71675         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71676         loader is ld.so.
71678 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71680         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71681         alignment for SSE2.
71683 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71685         [BZ #12394]
71686         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71687         characters.  When rounding increased number of integer digits recompute
71688         number of groups.
71689         * stdio-common/tst-grouping.c: New file.
71690         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71692 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71694         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71695         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71697         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71698         void.
71699         * bits/select.h: Likewise.
71701 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71703         * po/ja.po: Update from translation team.
71705 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71707         [BZ #11155]
71708         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71709         implementation just like for lxstat, fxstatat, et al.
71711 2010-12-27  Jim Meyering  <meyering@redhat.com>
71713         [BZ #12348]
71714         * posix/regexec.c (build_trtable): Return failure indication upon
71715         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71717 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71719         [BZ #12201]
71720         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71721         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71722         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71723         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71725         [BZ #12207]
71726         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71728         [BZ #12204]
71729         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71730         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71732 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
71734         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71735         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71736         script has SORT_BY_INIT_PRIORITY.
71737         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71738         NO_CTORS_DTORS_SECTIONS is defined.
71739         * elf/soinit.c: Likewise.
71740         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71741         NO_CTORS_DTORS_SECTIONS is defined.
71742         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71743         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71744         * sysdeps/sh/init-first.c: Likewise.
71745         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71747 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
71749         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71750         always use the slow path.
71752 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
71754         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71755         similar rule which adds the sysdep directories to the header search in
71756         order to pick up the correct platform stackinfo.h.
71757         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71758         perform test if it is, otherwise return successfully without testing.
71759         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71760         DEFAULT_STACK_PERMS define in stackinfo.h.
71761         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71762         defined in stackinfo.h.
71763         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71764         DEFAULT_STACK_PERMS defined in stackinfo.h.
71765         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71766         * sysdeps/ia64/stackinfo.h: Likewise.
71767         * sysdeps/s390/stackinfo.h: Likewise.
71768         * sysdeps/sh/stackinfo.h: Likewise.
71769         * sysdeps/sparc/stackinfo.h: Likewise.
71770         * sysdeps/x86_64/stackinfo.h: Likewise.
71771         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71772         PF_X for powerpc64.  Retain PF_X for powerpc32.
71774 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71776         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71777         accurately.
71778         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71779         GETDENTS_64BIT_ALIGNED.
71781 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71783         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71785 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71787         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71788         _GNU_SOURCE.
71790         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71791         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71792         Remove __restrict.
71793         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71794         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71796 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71798         [BZ #11655]
71799         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
71800         are initialized.
71802 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
71804         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
71806 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
71808         * po/it.po: Update from translation team.
71810 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
71812         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
71813         unused codes.
71815 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
71817         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
71819 2010-11-24  Andreas Schwab  <schwab@redhat.com>
71821         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
71822         specially.
71823         (gaih_getanswer_slice): Likewise.
71825 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
71827         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
71829 2010-05-31  Petr Baudis  <pasky@suse.cz>
71831         [BZ #11149]
71832         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
71833         silently even in the chroot mode.
71835 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
71837         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
71838         last patch a bit.  Pretty printing
71840 2010-05-31  Petr Baudis <pasky@suse.cz>
71842         [BZ #10085]
71843         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
71844         initialization of skip_initgroups_dyn.
71846 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
71848         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
71849         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71851 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
71853         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
71855 2010-11-11  Andreas Schwab  <schwab@redhat.com>
71857         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
71858         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
71859         (tst-fnmatch-ENV): Set MALLOC_TRACE.
71860         ($(objpfx)tst-fnmatch-mem): New rule.
71861         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
71862         * posix/tst-fnmatch.c (main): Call mtrace.
71864 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
71866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71867         Support Intel processor model 6 and model 0x2c.
71869 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
71871         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
71872           signed comparison.
71874 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
71876         [BZ #12205]
71877         * string/test-strncasecmp.c (check_result): New function.
71878         (do_one_test): Use it.
71879         (check1): New function.
71880         (test_main): Use it.
71881         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
71882         Support strcasecmp and strncasecmp.
71884 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
71886         [BZ #12194]
71887         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
71888         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71890 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71892         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
71893         IFUNC support.
71894         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71895         memset-x86-64.
71896         * sysdeps/x86_64/multiarch/bzero.S: New file.
71897         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
71898         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
71899         * sysdeps/x86_64/multiarch/memset.S: New file.
71900         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
71901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71902         Set bit_Prefer_SSE_for_memop for Intel processors.
71903         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
71904         Define.
71905         (index_Prefer_SSE_for_memop): Define.
71906         (HAS_PREFER_SSE_FOR_MEMOP): Define.
71908 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
71910         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
71911         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
71913 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
71915         [BZ #12191]
71916         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71917         (__x86_64_raw_data_cache_size_half): Likewise.
71918         (__x86_64_raw_shared_cache_size): Likewise.
71919         (__x86_64_raw_shared_cache_size_half): Likewise.
71921         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
71922         (__x86_64_raw_data_cache_size_half): Likewise.
71923         (__x86_64_raw_shared_cache_size): Likewise.
71924         (__x86_64_raw_shared_cache_size_half): Likewise.
71925         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
71926         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
71927         and __x86_64_raw_shared_cache_size_half.  Round
71928         __x86_64_data_cache_size_half, __x86_64_data_cache_size
71929         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
71930         to multiple of 256 bytes.
71932 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
71934         [BZ #12167]
71935         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
71936         of inacessible symlinks.  Verify result of symlink before returning it.
71937         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
71938         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
71940 2010-10-28  Erich Ritz  <erichritz@gmail.com>
71942         * math/math.h (isinf): Fix typo in comment.
71944 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
71946         * po/da.po: Update from translation team.
71948 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
71950         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
71951         is added to the list.
71953 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71954             Ulrich Drepper  <drepper@gmail.com>
71956         * elf/dl-object.c (_dl_new_object): Don't append the new object to
71957         the global list here.  Move code to...
71958         (_dl_add_to_namespace_list): ...here.  New function.
71959         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
71960         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
71961         * elf/dl-load.c (lose): Don't remove the element from the list.
71962         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
71963         (_dl_map_object): Likewise.
71965 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
71967         [BZ #12159]
71968         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
71969         into all bytes of SSE register.
71970         Patch by Richard Li <richardpku@gmail.com>.
71972 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
71974         [BZ #12140]
71975         * malloc/malloc.c (_int_free): Fill correct number of bytes when
71976         perturbing.
71978 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
71980         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
71981         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
71982         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71983         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
71985         submachine.
71986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
71988 2010-10-22  Andreas Schwab  <schwab@redhat.com>
71990         * include/dlfcn.h (__RTLD_SECURE): Define.
71991         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
71992         mode & __RTLD_SECURE instead.
71993         (open_path): Rename preloaded parameter to secure.
71994         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
71995         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
71996         * elf/dl-deps.c (openaux): Likewise.
71997         * elf/rtld.c (struct map_args): Remove is_preloaded.
71998         (map_doit): Don't use it.
71999         (dl_main): Likewise.
72000         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72001         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72003 2010-09-09  Andreas Schwab  <schwab@redhat.com>
72005         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72006         (sysd-rules-targets): Remove duplicates.
72007         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72008         rtld-%.$o dependency.
72010 2010-10-18  Andreas Schwab  <schwab@redhat.com>
72012         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72013         _dl_map_object do it.
72015 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
72017         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72018         fast fma builtins, define the macros in the C99 standard.
72019         (FP_FAST_FMAF): Likewise.
72020         (FP_FAST_FMAL): Likewise.
72021         * sysdeps/x86_64/bits/mathdef.h: Likewise.
72023         * bits/mathdef.h: Update copyright year.
72024         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72026 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
72028         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72029         builtins, define the macros in the C99 standard.
72030         (FP_FAST_FMAF): Likewise.
72031         (FP_FAST_FMAL): Likewise.
72032         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72033         multiply/add.
72034         (FP_FAST_FMAF): Likewise.
72036 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
72038         [BZ #3268]
72039         * math/libm-test.inc (fma_test): Some new testcases.
72040         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72041         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72042         y and infinite z.  Do multiplication by C already in long double.
72043         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72044         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72045         y and infinite z.  Do bitwise or of inexact bit into u.d.
72046         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72047         * sysdeps/i386/fpu/s_fmaf.S: Removed.
72048         * sysdeps/i386/fpu/s_fma.S: Removed.
72049         * sysdeps/i386/fpu/s_fmal.S: Removed.
72051 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
72053         [BZ #3268]
72054         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72055         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72056         computation is not scheduled after fetestexcept.  Fix value
72057         of minimum denormal long double.
72059 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
72061         [BZ #3268]
72062         * math/libm-test.inc (fma_test): Add some more tests.
72063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72064         correctly.
72066 2010-10-15  Andreas Schwab  <schwab@redhat.com>
72068         * scripts/data/localplt-s390-linux-gnu.data: New file.
72069         * scripts/data/localplt-s390x-linux-gnu.data: New file.
72071 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
72073         [BZ #3268]
72074         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72075         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72076         instead of dbl-64.
72077         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72078         inlines.
72079         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72080         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72081         if one of x and y is very large and the other is subnormal.
72082         * sysdeps/s390/fpu/s_fmaf.c: New file.
72083         * sysdeps/s390/fpu/s_fma.c: New file.
72084         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72085         * sysdeps/powerpc/fpu/s_fma.S: New file.
72086         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72087         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72088         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72090 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
72092         [BZ #3268]
72093         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72094         fma tests.
72095         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72096         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72097         * sysdeps/i386/i686/multiarch/s_fma.c: Include
72098         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72099         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72100         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72101         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72103 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
72105         [BZ #12078]
72106         * posix/regcomp.c (parse_branch): One more memory leak plugged.
72107         * posix/bug-regex31.input: Add test case.
72109 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72111         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72112         * posix/bug-regex31.input: New file.
72114         [BZ #12078]
72115         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72116         (parse_sub_exp): Fix last change, use postorder.
72118         * posix/bug-regex31.c: New file.
72119         * posix/Makefile: Add rules to build and run bug-regex31.
72121         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72123         [BZ #12078]
72124         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72126         [BZ #12108]
72127         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72128         to have entries in sys_siglist.
72130         [BZ #12093]
72131         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72132         be NULL.
72134 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
72136         [BZ #3268]
72137         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72138         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72139         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72140         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72141         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72142         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72143         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72144         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72145         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72146         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72147         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72148         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72149         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72150         * math/ftestexcept.c (fetestexcept): Likewise.
72151         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72152         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72153         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72154         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72155         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72156         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72157         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72159 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72161         [BZ #12107]
72162         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72163         newline.
72165 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72167         * string/bug-strstr1.c: New file.
72168         * string/Makefile: Add rules to build and run bug-strstr1.
72170 2010-10-05  Eric Blake  <eblake@redhat.com>
72172         [BZ #12092]
72173         * string/str-two-way.h (two_way_long_needle): Always clear memory
72174         when skipping input due to the shift table.
72176 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72178         [BZ #12005]
72179         * malloc/mcheck.c: Handle large requests.
72181         [BZ #12077]
72182         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72183         for strncmp and strncasecmp.
72184         * string/stratcliff.c: Add tests for strcmp and strncmp.
72185         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72187 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72189         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72190         __set_fpscr.
72192 2010-09-30  Andreas Jaeger  <aj@suse.de>
72194         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72195         (CGROUP_SUPER_MAGIC): Define.
72196         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72197         Handle btrfs and cgroup file systems.
72198         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72199         Likewise.
72201 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72203         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72204         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72206 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72208         [BZ #12067]
72209         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72210         trying to locate the ELF header.
72212 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72214         [BZ #11611]
72215         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72216         Mask out sign-bit copies when constructing f_fsid.
72218 2010-09-24  Petr Baudis <pasky@suse.cz>
72220         * debug/stack_chk_fail_local.c: Add missing licence exception.
72221         * debug/warning-nop.c: Likewise.
72223 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72225         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72226         implementing getdents64 using getdents syscall, set d_type if
72227         __ASSUME_GETDENTS32_D_TYPE.
72229 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72231         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72232         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72234 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72236         [BZ #12037]
72237         * posix/unistd.h: Undo change of feature selection for ftruncate from
72238         2010-01-11.
72240 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72242         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72243         detection.
72245 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72247         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72248         fanotify_mark.
72249         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72251 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72253         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72254         variables after CHECK_SP call.
72255         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72257 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72258             Ulrich Drepper  <drepper@redhat.com>
72260         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72261         re-relocationg ld.so.
72262         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72263         _dl_init_paths call.
72264         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72265         here anymore.
72267 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
72269         * resolv/res_init.c (__res_vinit): Count the default server we added.
72271 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
72272             Ulrich Drepper  <drepper@redhat.com>
72274         [BZ #11968]
72275         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72276         (____longjmp_chk): Use %ebx for saving value across system call.
72277         Add unwind info.
72279 2010-09-06  Andreas Schwab  <schwab@redhat.com>
72281         * manual/Makefile: Don't mix pattern rules with normal rules.
72283 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72285         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72286         operation.
72287         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72288         * libio/iofopncook.c (_IO_cookie_init): Likewise.
72289         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72290         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72291         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72292         Likewise.
72294 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
72296         [BZ #11979]
72297         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72298         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72300 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
72302         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72303         * sysdeps/x86_64/addmul_1.S: Likewise.
72304         * sysdeps/x86_64/lshift.S: Likewise.
72305         * sysdeps/x86_64/mul_1.S: Likewise.
72306         * sysdeps/x86_64/rshift.S: Likewise.
72307         * sysdeps/x86_64/sub_n.S: Likewise.
72308         * sysdeps/x86_64/submul_1.S: Likewise.
72310 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72312         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72313         Define __sched_param instead of SCHED_* and sched_param when
72314         <bits/sched.h> is included with __need_schedparam defined.
72315         * bits/sched.h [__need_schedparam]
72316         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72317         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72318         (__defined_schedparam): Define to 1.
72319         (__sched_param): New structure, identical to sched_param.
72320         (__need_schedparam): Undefine.
72322 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
72324         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72325         (epoll_create1): Declare.
72327         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72329 2010-08-31  Andreas Schwab  <schwab@redhat.com>
72331         [BZ #7066]
72332         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72333         shifting retval into place.
72335 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
72337         * nis/rpcsvc/nis.h: Update copyright notice.
72338         * nis/rpcsvc/nis.x: Likewise.
72339         * nis/rpcsvc/nis_callback.h: Likewise.
72340         * nis/rpcsvc/nis_callback.x: Likewise.
72341         * nis/rpcsvc/nis_object.x: Likewise.
72342         * nis/rpcsvc/nis_tags.h: Likewise.
72343         * nis/rpcsvc/yp.h: Likewise.
72344         * nis/rpcsvc/yp.x: Likewise.
72345         * nis/rpcsvc/ypupd.h: Likewise.
72346         * nis/yp_xdr.c: Likewise.
72347         * nis/ypupdate_xdr.c: Likewise.
72349         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72350         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72351         (pmap_getport): Use __libc_rpc_getport.
72352         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72353         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72354         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72356 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72359         fanotify_mark.
72361 2010-08-27  Roland McGrath  <roland@redhat.com>
72363         * sysdeps/i386/i686/multiarch/Makefile
72364         (CFLAGS-varshift.c): New variable.
72366 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72368         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72369         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72371         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72373         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72375 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72377         * sysdeps/x86_64/strlen.S: Unroll the loop.
72378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72379         strlen-sse2 strlen-sse2-bsf.
72380         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72381         __strlen_no_bsf if bit_Slow_BSF is set.
72382         (__strlen_sse42): Removed.
72383         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72384         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72386 2010-08-25  Roland McGrath  <roland@redhat.com>
72388         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72389         * sysdeps/x86_64/multiarch/varshift.c: New file.
72390         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72391         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72392         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72393         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72395 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72397         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72398         strlen-sse2 strlen-sse2-bsf.
72399         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72400         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72401         (__strlen_sse2): Removed.
72402         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72403         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72405         bit_Slow_BSF for Atom.
72406         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72407         (index_Slow_BSF): Define.
72408         (HAS_SLOW_BSF): Define.
72410 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72412         [BZ #10851]
72413         * resolv/res_init.c (__res_vinit): When no server address at all
72414         is given default to loopback.
72416 2010-08-24  Roland McGrath  <roland@redhat.com>
72418         * configure.in: Remove config-name.h generation.
72419         * configure: Regenerated.
72420         * config-name.in: File removed.
72421         * scripts/config-uname.sh: New file.
72422         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72423         ($(objdir)config-name.h): New target.
72425         * sunrpc/rpc_parse.h: Avoid nested comment.
72427 2010-08-24  Richard Henderson  <rth@redhat.com>
72428             Ulrich Drepper  <drepper@redhat.com>
72429             H.J. Lu  <hongjiu.lu@intel.com>
72431         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72432         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72433         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72434         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72435         _mm_alignr_epi8 with _mm_loadu_si128.
72436         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72437         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72438         (__m128i_shift_right): Removed.
72439         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72440         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72441         * sysdeps/x86_64/multiarch/varshift.h: New file.
72442         * sysdeps/x86_64/multiarch/varshift.S: New file.
72444 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72446         * configure.in: Move assembler checks to before sysdep dir checking.
72448 2010-08-20  Petr Baudis  <pasky@suse.cz>
72450         * LICENSES: Sync the sunrpc license.
72452 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72454         * sunrpc/auth_des.c: Update copyright notice once again.
72455         * sunrpc/auth_none.c: Likewise.
72456         * sunrpc/auth_unix.c: Likewise.
72457         * sunrpc/authdes_prot.c: Likewise.
72458         * sunrpc/authuxprot.c: Likewise.
72459         * sunrpc/bindrsvprt.c: Likewise.
72460         * sunrpc/clnt_gen.c: Likewise.
72461         * sunrpc/clnt_perr.c: Likewise.
72462         * sunrpc/clnt_raw.c: Likewise.
72463         * sunrpc/clnt_simp.c: Likewise.
72464         * sunrpc/clnt_tcp.c: Likewise.
72465         * sunrpc/clnt_udp.c: Likewise.
72466         * sunrpc/clnt_unix.c: Likewise.
72467         * sunrpc/des_crypt.c: Likewise.
72468         * sunrpc/des_soft.c: Likewise.
72469         * sunrpc/get_myaddr.c: Likewise.
72470         * sunrpc/getrpcport.c: Likewise.
72471         * sunrpc/key_call.c: Likewise.
72472         * sunrpc/key_prot.c: Likewise.
72473         * sunrpc/openchild.c: Likewise.
72474         * sunrpc/pm_getmaps.c: Likewise.
72475         * sunrpc/pm_getport.c: Likewise.
72476         * sunrpc/pmap_clnt.c: Likewise.
72477         * sunrpc/pmap_prot.c: Likewise.
72478         * sunrpc/pmap_prot2.c: Likewise.
72479         * sunrpc/pmap_rmt.c: Likewise.
72480         * sunrpc/rpc/auth.h: Likewise.
72481         * sunrpc/rpc/auth_unix.h: Likewise.
72482         * sunrpc/rpc/clnt.h: Likewise.
72483         * sunrpc/rpc/des_crypt.h: Likewise.
72484         * sunrpc/rpc/key_prot.h: Likewise.
72485         * sunrpc/rpc/netdb.h: Likewise.
72486         * sunrpc/rpc/pmap_clnt.h: Likewise.
72487         * sunrpc/rpc/pmap_prot.h: Likewise.
72488         * sunrpc/rpc/pmap_rmt.h: Likewise.
72489         * sunrpc/rpc/rpc.h: Likewise.
72490         * sunrpc/rpc/rpc_des.h: Likewise.
72491         * sunrpc/rpc/rpc_msg.h: Likewise.
72492         * sunrpc/rpc/svc.h: Likewise.
72493         * sunrpc/rpc/svc_auth.h: Likewise.
72494         * sunrpc/rpc/types.h: Likewise.
72495         * sunrpc/rpc/xdr.h: Likewise.
72496         * sunrpc/rpc_clntout.c: Likewise.
72497         * sunrpc/rpc_cmsg.c: Likewise.
72498         * sunrpc/rpc_common.c: Likewise.
72499         * sunrpc/rpc_cout.c: Likewise.
72500         * sunrpc/rpc_dtable.c: Likewise.
72501         * sunrpc/rpc_hout.c: Likewise.
72502         * sunrpc/rpc_main.c: Likewise.
72503         * sunrpc/rpc_parse.c: Likewise.
72504         * sunrpc/rpc_parse.h: Likewise.
72505         * sunrpc/rpc_prot.c: Likewise.
72506         * sunrpc/rpc_sample.c: Likewise.
72507         * sunrpc/rpc_scan.c: Likewise.
72508         * sunrpc/rpc_scan.h: Likewise.
72509         * sunrpc/rpc_svcout.c: Likewise.
72510         * sunrpc/rpc_tblout.c: Likewise.
72511         * sunrpc/rpc_util.c: Likewise.
72512         * sunrpc/rpc_util.h: Likewise.
72513         * sunrpc/rpcinfo.c: Likewise.
72514         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72515         * sunrpc/rpcsvc/key_prot.x: Likewise.
72516         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72517         * sunrpc/rpcsvc/mount.x: Likewise.
72518         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72519         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72520         * sunrpc/rpcsvc/rex.x: Likewise.
72521         * sunrpc/rpcsvc/rstat.x: Likewise.
72522         * sunrpc/rpcsvc/rusers.x: Likewise.
72523         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72524         * sunrpc/rpcsvc/spray.x: Likewise.
72525         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72526         * sunrpc/rtime.c: Likewise.
72527         * sunrpc/svc.c: Likewise.
72528         * sunrpc/svc_auth.c: Likewise.
72529         * sunrpc/svc_authux.c: Likewise.
72530         * sunrpc/svc_raw.c: Likewise.
72531         * sunrpc/svc_run.c: Likewise.
72532         * sunrpc/svc_simple.c: Likewise.
72533         * sunrpc/svc_tcp.c: Likewise.
72534         * sunrpc/svc_udp.c: Likewise.
72535         * sunrpc/svc_unix.c: Likewise.
72536         * sunrpc/svcauth_des.c: Likewise.
72537         * sunrpc/xcrypt.c: Likewise.
72538         * sunrpc/xdr.c: Likewise.
72539         * sunrpc/xdr_array.c: Likewise.
72540         * sunrpc/xdr_float.c: Likewise.
72541         * sunrpc/xdr_mem.c: Likewise.
72542         * sunrpc/xdr_rec.c: Likewise.
72543         * sunrpc/xdr_ref.c: Likewise.
72544         * sunrpc/xdr_sizeof.c: Likewise.
72545         * sunrpc/xdr_stdio.c: Likewise.
72547         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72548         handling.
72550 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72552         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72554 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72556         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72557         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72558         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72559         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72560         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72561         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72562         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72563         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72564         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72565         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72566         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72567         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72568         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72569         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72571 2010-07-26  Anton Blanchard  <anton@samba.org>
72573         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72574         * malloc/arena.c (heap_trim): Likewise.
72576 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72578         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72579         here.  Not...
72580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72581         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72583 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72585         * sysdeps/i386/elf/Makefile: New file.
72587 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72589         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72590         from fanotify_init.
72591         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72592         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72594 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72596         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72597         of strncasecmp_l.
72598         * sysdeps/multiarch/strcmp.S: Likewise.
72600 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72602         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72603         strncase_l-nonascii.
72604         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72605         Add strncase_l-ssse3.
72606         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72607         * sysdeps/x86_64/strcmp.S: Likewise.
72608         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72609         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72610         * sysdeps/x86_64/strncase.S: New file.
72611         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72612         * sysdeps/x86_64/strncase_l.S: New file.
72613         * string/Makefile (strop-tests): Add strncasecmp.
72614         * string/test-strncasecmp.c: New file.
72616         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72617         warning.
72619         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72620         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72622 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72624         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72626 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72628         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72629         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72630         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72632 2010-05-01  Alan Modra  <amodra@gmail.com>
72634         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72635         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72636         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72637         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72638         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72639         tidying.  Don't tail-call __sigjmp_save for static lib.
72640         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72641         save location.
72642         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72643         (CALL_MCOUNT): Add eh info, and nop after bl.
72644         (TAIL_CALL_SYSCALL_ERROR): New macro.
72645         (PSEUDO_RET): Use it.
72646         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72647         Correct save location of integer regs and cr.
72648         (_dl_profile_resolve): Correct cr save location.  Delete nops
72649         after bl when SHARED.  Reduce cfi size a little by better
72650         placement of cfi directives.
72651         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72652         make a stack frame.  Instead use parm save area as a temp.
72653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72654         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72656         Don't make a stack frame for parent, use parm save area.
72657         Increase child stack frame to 112 bytes.  Don't save unused reg,
72658         and adjust reg usage.  Set up cfi on error recovery and
72659         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72661         (__makecontext): Add dummy nop after jump to exit.
72662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72663         Use correct parm save area and cr save, reduce stack frame.
72664         Correct cfi for possible PSEUDO_RET frame setup.
72665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72666         Branch to local label emitted by PSEUDO_RET rather than
72667         __syscall_error.
72669 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72671         [BZ #11904]
72672         * locale/programs/locale.c (print_assignment): New function.
72673         (show_locale_vars): Use it.
72675 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72677         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72678         field.
72679         (struct statfs64): Likewise.
72680         (_STATFS_F_FLAGS): Define.
72681         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72682         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72683         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72684         (ST_VALID): Define locally.
72685         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72686         __statvfs_getflags, use the provided value.
72687         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72688         __ASSUME_STATFS_F_FLAGS.
72690         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72692         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72693         Add sys/fanotify.h.
72694         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72695         fanotify_mask for GLIBC_2.13.
72696         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72697         fanotify_init and fanotify_mark.
72698         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72699         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72701         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72702         Add prlimit.
72703         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72704         prlimit64 for GLIBC_2.13.
72705         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72706         prlimit64.
72707         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72708         syscall.
72709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72710         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72711         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72712         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72713         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72714         add prlimit alias.
72715         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72717         [BZ #11903]
72718         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72719         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72721         * nss/Makefile: Add rules to build and run tst-nss-test1.
72722         * shlib-versions: Add entry for libnss_test1.
72723         * nss/nss_test1.c: New file.
72724         * nss/tst-nss-test1.c: New file.
72726         * nss/nsswitch.c (__nss_database_custom): Define new variable.
72727         (__nss_configure_lookup): Set appropriate entry in
72728         __nss_configure_lookup to true.
72729         * nss/nsswitch.h: Define enum with indeces of databases in
72730         databases and __nss_database_custom arrays.  Declare
72731         __nss_database_custom.
72732         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72733         to avoid using nscd when custom rules are installed.
72734         * nss/getXXbyYY_r.c: Likewise.
72735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72737         * nss/nss_files/files-parse.c: Whitespace fixes.
72739 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
72741         [BZ #11883]
72742         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72743         * posix/fnmatch_loop.c: Likewise.
72745 2010-07-17  Andi Kleen  <ak@linux.intel.com>
72747         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72748         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72749         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72750         * Versions.def [GLIBC_2.13]: Add.
72752 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
72754         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72755         Also fail if tpwd after pwuid call is NULL.
72757 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72759         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72760         when converting to ms.
72762 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72764         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72765         EOPNOTSUPP errors with ENOTTY.
72766         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72767         EOPNOTSUPP errors with ENOTTY.
72769 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72771         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72772         Add strcasecmp_l-ssse3.
72773         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72774         strcasecmp.
72775         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72776         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72777         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72779 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72781         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72783         * string/Makefile (strop-tests): Add strcasecmp.
72784         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72785         strcasecmp_l-nonascii.
72786         (gen-as-const-headers): Add locale-defines.sym.
72787         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72788         * sysdeps/x86_64/strcasecmp.S: New file.
72789         * sysdeps/x86_64/strcasecmp_l.S: New file.
72790         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72791         * sysdeps/x86_64/locale-defines.sym: New file.
72792         * string/test-strcasecmp.c: New file.
72794         * string/test-strcasestr.c: Test both ends of the range of characters.
72795         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72797 2010-07-29  Roland McGrath  <roland@redhat.com>
72799         [BZ #11856]
72800         * manual/locale.texi (Yes-or-No Questions): Fix example code.
72802 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
72804         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
72805         for ld.so.
72807 2010-07-27  Andreas Schwab  <schwab@redhat.com>
72809         * manual/memory.texi (Malloc Tunable Parameters): Document
72810         M_PERTURB.
72812 2010-07-26  Roland McGrath  <roland@redhat.com>
72814         [BZ #11840]
72815         * configure.in (-fgnu89-inline check): Set and substitute
72816         gnu89_inline, not libc_cv_gnu89_inline.
72817         * configure: Regenerated.
72818         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
72820 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
72822         * string/test-strnlen.c: New file.
72823         * string/Makefile (strop-tests): Add strnlen.
72824         * string/tester.c (test_strnlen): Add a few more test cases.
72825         * string/tst-strlen.c: Better error reporting.
72827         * sysdeps/x86_64/strnlen.S: New file.
72829 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
72831         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
72832         lower-latency instructions.
72834 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
72836         * string/test-strcasestr.c: New file.
72837         * string/test-strstr.c: New file.
72838         * string/Makefile (strop-tests): Add strstr and strcasestr.
72839         * string/str-two-way.h: Don't undefine MAX.
72840         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
72842 2010-07-21  Andreas Schwab  <schwab@redhat.com>
72844         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72845         strcasestr-nonascii.
72846         (CFLAGS-strcasestr-nonascii.c): Define.
72847         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
72848         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
72849         Remove unused attribute.
72851 2010-07-20  Roland McGrath  <roland@redhat.com>
72853         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
72854         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
72855         ld.so.cache was broken.  With it, there is no way to disable dsocaps
72856         like LD_HWCAP_MASK can disable hwcaps.
72858 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
72860         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
72862 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
72864         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
72865         call in strcasestr.
72866         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
72867         __strcasestr_sse42_nonascii.
72868         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
72869         strcasestr-nonascii.c.
72870         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
72872 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
72874         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
72875         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
72876         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
72877         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
72879 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
72881         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
72882         fcntl.
72884 2010-07-06  Andreas Schwab  <schwab@redhat.com>
72886         [BZ #11577]
72887         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
72888         dl_signal_cerror.
72890 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
72892         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
72893         _PC_PIPE_BUF using F_GETPIPE_SZ.
72895 2010-07-05  Roland McGrath  <roland@redhat.com>
72897         * manual/arith.texi (Rounding Functions): Fix rint description
72898         implicit in round description.
72900 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
72902         * elf/Makefile: Fix linking for a few tests to make recent linker
72903         happy.
72905 2010-06-30  Andreas Schwab  <schwab@redhat.com>
72907         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72908         $(common-objpfx)libc_nonshared.a.
72910 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
72912         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
72913         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
72914         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72915         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72916         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
72917         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
72918         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72919         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
72921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
72922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
72923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
72924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
72925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
72926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
72927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
72928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
72929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
72930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
72931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
72932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
72933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72934         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
72935         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
72936         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
72937         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
72938         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
72939         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
72940         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
72941         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
72942         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
72943         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
72944         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
72945         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
72946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
72947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
72948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
72949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
72950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
72951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
72952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
72953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
72954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
72955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
72956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
72957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
72958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
72959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
72961 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
72963         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
72964         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
72965         * string/memmove.c (memmove): Renamed to ...
72966         (MEMMOVE): ...this.  Default to memmove.
72967         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
72968         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
72969         (END_CHK): Define.
72970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72971         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
72972         mempcpy-ssse3-back memmove-ssse3-back.
72973         * sysdeps/x86_64/multiarch/bcopy.S: New file .
72974         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
72975         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
72976         * sysdeps/x86_64/multiarch/memcpy.S: New file.
72977         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
72978         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
72979         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
72980         * sysdeps/x86_64/multiarch/memmove.c: New file.
72981         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
72982         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
72983         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
72984         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
72985         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
72986         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
72987         Define.
72988         (index_Fast_Copy_Backward): Define.
72989         (HAS_ARCH_FEATURE): Define.
72990         (HAS_FAST_REP_STRING): Define.
72991         (HAS_FAST_COPY_BACKWARD): Define.
72993 2010-06-21  Andreas Schwab  <schwab@redhat.com>
72995         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72996         Restore proper fallback handling.
72998 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73000         [BZ #11701]
73001         * posix/group_member.c (__group_member): Correct checking loop.
73003         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73004         OOM in getpwuid_r correctly.  Return error number when the caller
73005         should return, otherwise -1.
73006         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73007         call returning > 0 value.
73008         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73010 2010-06-07  Andreas Schwab  <schwab@redhat.com>
73012         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73013         libc_nonshared.a from targets in modules-names.
73015 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
73017         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73018         requires it.
73020 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
73022         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73023         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73024         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73025         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73027 2010-06-02  Andreas Schwab  <schwab@redhat.com>
73029         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73031 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
73033         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73034         and F_GETPIPE_SZ.
73035         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73036         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73037         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73038         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73039         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73040         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73042 2010-06-14  Roland McGrath  <roland@redhat.com>
73044         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73046 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
73048         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73049         __REDIRECT followed by __THROW.
73050         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73051         * posix/getopt.h (getopt): Likewise.
73053 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73055         * hurd/lookup-at.c (__file_name_lookup_at): Accept
73056         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
73057         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73058         in AT_FLAGS.
73059         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73060         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73062 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
73064         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73066 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
73068         [BZ #11640]
73069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73070         Properly check family and model.
73072 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
73074         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73076 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
73078         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73080 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
73082         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73083         symbol reference.
73085 2010-05-19  Andreas Schwab  <schwab@redhat.com>
73087         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73088         symbol reference.
73090 2010-05-21  Andreas Schwab  <schwab@redhat.com>
73092         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73093         and internal_recvmmsg.
73094         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73095         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73096         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73097         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73099         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73100         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73101         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73103 2010-05-20  Andreas Schwab  <schwab@redhat.com>
73105         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73107 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
73109         POWER7 optimizations.
73110         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73111         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73113 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
73115         * version.h: Update for 2.13 development version.
73117 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
73119         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73120         exceptions.  Return 0.
73122 2010-05-07  Roland McGrath  <roland@redhat.com>
73124         * elf/ldconfig.c (main): Add a const.
73126 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
73128         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73129         (args_options): Add no-idn option.
73130         (ahosts_keys_int): Add idn_flags to ai_flags.
73131         (parse_option): Handle 'i' option to clear idn_flags.
73133         * malloc/malloc.c (_int_free): Possible race in the most recently
73134         added check.  Only act on the data if no current modification
73135         happened.
73137 See ChangeLog.17 for earlier changes.